/* ================================
   GLOBAL STYLES
   ================================ */

:root {
    --primary-color: #2C3E50;
    --secondary-color: #34495E;
    --accent-color: #6FA86F;
    --accent-warm: #D4A574;
    --success: #77A878;
    --warning: #E8B88E;
    --danger: #D9746E;
    --white: #FFFFFF;
    --light-bg: #F8F6F1;
    --text-dark: #2C3E50;
    --text-light: #6B7280;
    --border-light: #E8E6E1;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   TYPOGRAPHY
   ================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
    font-size: 1rem;
}

/* ================================
   BUTTONS
   ================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-warm) 100%);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    background: rgba(255, 255, 255, 0.2);
}

.btn-login {
    background: white;
    color: var(--accent-color);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.btn-login:hover {
    background: #F8F9FA;
    box-shadow: var(--shadow-md);
}

.btn-logout {
    background: var(--danger);
    color: white;
}

.btn-logout:hover {
    background: #A93226;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* ================================
   NAVIGATION
   ================================ */

.navbar {
    background: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.logo i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-greeting {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.75) 0%, rgba(52, 73, 94, 0.75) 50%, rgba(59, 82, 95, 0.75) 100%), url('img/school1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    transition: background 0.8s ease-in-out;
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInLeft 0.8s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideDown 0.6s ease;
}

.hero-badge i {
    font-size: 1rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 0, 0, 0.2);
    color: white;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-feature i {
    font-size: 1.25rem;
    color: #9AC7D9;
}

.hero-visual {
    animation: fadeInRight 0.8s ease;
}

.hero-card-container {
    position: relative;
    height: 400px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    position: absolute;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.hero-card-main {
    width: 100%;
    height: 280px;
    animation: slideUp 0.8s ease;
}

.hero-card-secondary {
    width: 85%;
    height: 200px;
    bottom: 0;
    right: 20px;
    animation: slideUp 0.8s ease 0.2s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    color: #9AC7D9;
    margin-bottom: 1rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.card-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.card-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-stat .stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.25rem;
}

.card-stat .stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    display: block;
}

.card-header-small {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-placeholder {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 120px;
    gap: 0.75rem;
}

.chart-bar {
    width: 35px;
    background: linear-gradient(180deg, var(--accent-color), rgba(111, 168, 111, 0.3));
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.hero-card:hover .chart-bar {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* ================================
   QUICK STATS SECTION
   ================================ */

.quick-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8F9FA 0%, white 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.stat-card:nth-child(1) {
    border-color: var(--primary-color);
}

.stat-card:nth-child(2) {
    border-color: var(--accent-color);
}

.stat-card:nth-child(3) {
    border-color: var(--accent-warm);
}

.stat-card:nth-child(4) {
    border-color: var(--secondary-color);
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.stat-card:nth-child(1) .stat-icon {
    background: rgba(44, 62, 80, 0.2);
    color: var(--primary-color);
}

.stat-card:nth-child(2) .stat-icon {
    background: rgba(111, 168, 111, 0.2);
    color: var(--accent-color);
}

.stat-card:nth-child(3) .stat-icon {
    background: rgba(212, 165, 116, 0.2);
    color: var(--accent-warm);
}

.stat-card:nth-child(4) .stat-icon {
    background: rgba(52, 73, 94, 0.2);
    color: var(--secondary-color);
}

.stat-card:hover .stat-icon {
    transform: scale(1.15) rotate(5deg);
}

.stat-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.stat-card p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================================
   SECTION HEADER
   ================================ */

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #888;
}

/* ================================
   FEATURES SECTION
   ================================ */

.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-item {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border-top: 4px solid transparent;
}

.feature-item:nth-child(1) {
    border-top-color: var(--primary-color);
}

.feature-item:nth-child(2) {
    border-top-color: var(--accent-color);
}

.feature-item:nth-child(3) {
    border-top-color: var(--accent-warm);
}

.feature-item:nth-child(4) {
    border-top-color: var(--secondary-color);
}

.feature-item:nth-child(5) {
    border-top-color: var(--accent-color);
}

.feature-item:nth-child(6) {
    border-top-color: var(--accent-warm);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--border-light);
    position: absolute;
    top: 15px;
    right: 20px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item:nth-child(1) .feature-icon {
    color: var(--primary-color);
}

.feature-item:nth-child(2) .feature-icon {
    color: var(--accent-color);
}

.feature-item:nth-child(3) .feature-icon {
    color: var(--accent-warm);
}

.feature-item:nth-child(4) .feature-icon {
    color: var(--secondary-color);
}

.feature-item:nth-child(5) .feature-icon {
    color: var(--accent-color);
}

.feature-item:nth-child(6) .feature-icon {
    color: var(--accent-warm);
}

.feature-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-item p {
    color: #888;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #666;
}

.feature-list i {
    color: var(--success);
    font-size: 0.9rem;
}

/* ================================
   HOW IT WORKS SECTION
   ================================ */

.how-it-works {
    padding: 80px 0;
    background: var(--border-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.step-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-card p {
    color: #888;
}

/* ================================
   BENEFITS SECTION
   ================================ */

.benefits {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.benefit-card:nth-child(1) {
    border-color: var(--primary-color);
}

.benefit-card:nth-child(2) {
    border-color: var(--accent-color);
}

.benefit-card:nth-child(3) {
    border-color: var(--accent-warm);
}

.benefit-card:nth-child(4) {
    border-color: var(--secondary-color);
}

.benefit-card:nth-child(5) {
    border-color: var(--accent-color);
}

.benefit-card:nth-child(6) {
    border-color: var(--accent-warm);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card:nth-child(1) .benefit-icon {
    color: var(--primary-color);
}

.benefit-card:nth-child(2) .benefit-icon {
    color: var(--accent-color);
}

.benefit-card:nth-child(3) .benefit-icon {
    color: var(--accent-warm);
}

.benefit-card:nth-child(4) .benefit-icon {
    color: var(--secondary-color);
}

.benefit-card:nth-child(5) .benefit-icon {
    color: var(--accent-color);
}

.benefit-card:nth-child(6) .benefit-icon {
    color: var(--accent-warm);
}

.benefit-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #888;
}

/* ================================
   FAQ SECTION
   ================================ */

.faq {
    padding: 80px 0;
    background: var(--border-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: var(--transition);
    border-bottom: 2px solid var(--border-light);
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, rgba(111, 168, 111, 0.1), rgba(212, 165, 116, 0.1));
    border-bottom-color: var(--accent-color);
}

.faq-question:hover {
    background: var(--border-light);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    flex: 1;
}

.faq-question i {
    color: var(--accent-color);
    transition: var(--transition);
    font-size: 0.9rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    display: none;
    color: #666;
    background: rgba(255, 255, 255, 0.5);
}

.faq-item.active .faq-answer {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   CTA SECTION
   ================================ */

.cta-section {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 50%, #3B525F 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   FOOTER
   ================================ */

.footer {
    background: var(--text-dark);
    color: white;
}

.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-brand .logo {
    color: white;
    -webkit-text-fill-color: white;
    margin-bottom: 1rem;
    background: none;
}

.footer-brand .logo i {
    color: var(--accent-warm);
    background: none;
    -webkit-text-fill-color: var(--accent-warm);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(111, 168, 111, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-warm));
    color: white;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--accent-warm);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-bottom p {
    margin-bottom: 1rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--accent-color);
}

/* ================================
   ANIMATIONS
   ================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-card-container {
        height: 300px;
    }

    .hero-card-main {
        height: 220px;
    }

    .hero-card-secondary {
        width: 80%;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 60px 0;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .hero-features {
        gap: 1rem;
    }

    .hero-card-container {
        height: 320px;
        margin-top: 1rem;
    }

    .hero-card-main {
        height: 240px;
    }

    .hero-card-secondary {
        width: 85%;
        height: 180px;
    }

    .btn,
    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .nav-profile {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .user-greeting {
        font-size: 0.85rem;
    }

    .quick-stats {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .stat-card h3 {
        font-size: 1.1rem;
    }

    .stat-card p {
        font-size: 0.85rem;
    }

    .feature-item,
    .benefit-card {
        padding: 1.5rem;
    }

    .features-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .navbar .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .btn,
    .btn-lg {
        padding: 10px 16px;
        font-size: 0.9rem;
        width: 100%;
    }

    .hero {
        padding: 40px 0;
        min-height: auto;
    }

    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 20px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .hero-features {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .hero-feature {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .hero-feature i {
        font-size: 1rem;
    }

    .hero-card-container {
        height: 260px;
        margin-top: 0.5rem;
    }

    .hero-card-main {
        height: 200px;
        padding: 1rem;
    }

    .hero-card-main h3 {
        font-size: 1rem;
    }

    .hero-card-secondary {
        width: 80%;
        height: 140px;
        padding: 0.75rem;
        bottom: 20px;
    }

    .quick-stats {
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }

    .stat-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .stat-card h3 {
        font-size: 1rem;
    }

    .stat-card p {
        font-size: 0.85rem;
    }

    .features {
        padding: 40px 0;
    }

    .feature-item {
        padding: 1.5rem;
    }

    .feature-number {
        font-size: 2rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-item h3 {
        font-size: 1.1rem;
    }

    .how-it-works {
        padding: 40px 0;
    }

    .step-card {
        padding: 1.5rem;
    }

    .benefits {
        padding: 40px 0;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-icon {
        font-size: 2.5rem;
    }

    .faq {
        padding: 40px 0;
    }

    .faq-grid {
        gap: 1rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .cta-section {
        padding: 40px 0;
    }

    .cta-content h2 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }

    .cta-content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .cta-buttons {
        gap: 0.75rem;
    }

    .footer-top {
        padding: 40px 0 30px;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .footer-brand .logo {
        font-size: 1.2rem;
    }

    .footer-links h4,
    .footer-contact h4 {
        font-size: 1rem;
    }

    .footer-links li,
    .footer-contact li {
        font-size: 0.85rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding: 1rem 0;
        font-size: 0.8rem;
    }
}
