        /* ============ MAIN CONTENT ============ */
        main {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ========== TOP BANNER STYLES ========== */
        .top-banner {
            background: linear-gradient(135deg, #3B7EC7, #5B9FE0);
            color: #fff;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 2000;
            transition: transform 0.4s ease, opacity 0.4s ease;
            box-shadow: 0 2px 12px rgba(0,0,0,0.15);
        }
        .top-banner.hidden {
            transform: translateY(-100%);
            opacity: 0;
            pointer-events: none;
        }
        .banner-container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 10px 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
            text-align: center;
        }
        .banner-text {
            margin: 0;
            font-size: 0.95rem;
            font-weight: 500;
            flex: 1 1 auto;
            line-height: 1.6;
        }
        .banner-btn {
            background: #fff;
            color: var(--primary-dark);
            padding: 8px 20px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 0.88rem;
            white-space: nowrap;
            transition: all 0.2s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        .banner-btn:hover {
            background: #f0f7ff;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        .banner-close {
            background: none;
            border: none;
            color: #fff;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 4px 8px;
            line-height: 1;
            transition: opacity 0.2s;
            flex-shrink: 0;
        }
        .banner-close:hover {
            opacity: 0.7;
        }


        /* ============ HERO SECTION ============ */
        .hero {
            padding: 60px 0 50px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
            min-height: calc(85vh - var(--header-height));
            position: relative;
        }
        .hero-content {
            flex: 1;
            max-width: 600px;
        }
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(59, 126, 199, 0.08);
            color: var(--primary-dark);
            font-weight: 600;
            font-size: 0.85rem;
            padding: 7px 16px;
            border-radius: 50px;
            margin-bottom: 20px;
            border: 1px solid rgba(59, 126, 199, 0.15);
        }
        .hero-badge .dot {
            width: 8px;
            height: 8px;
            background: #22c55e;
            border-radius: 50%;
            animation: pulse-dot 2s infinite;
        }
        @keyframes pulse-dot {
            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
            }
            50% {
                box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
            }
        }
        .hero h1 {
            font-size: clamp(2rem, 4.5vw, 3.2rem);
            font-weight: 900;
            color: var(--text-dark);
            line-height: 1.3;
            margin-bottom: 16px;
            letter-spacing: -0.5px;
        }
        .hero h1 .highlight {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            color: transparent;
        }
        .hero-description {
            font-size: 1.1rem;
            color: var(--text-muted);
            margin-bottom: 28px;
            line-height: 1.9;
            max-width: 520px;
        }
        .hero-cta-group {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            align-items: center;
        }
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--telegram);
            color: #fff;
            text-decoration: none;
            padding: 15px 28px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1rem;
            transition: all var(--transition-smooth);
            box-shadow: 0 6px 24px rgba(0, 136, 204, 0.3);
            border: none;
            cursor: pointer;
            white-space: nowrap;
        }
        .btn-primary:hover {
            background: var(--telegram-hover);
            box-shadow: 0 10px 32px rgba(0, 136, 204, 0.4);
            transform: translateY(-3px);
        }
        .btn-primary svg {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
        }
        .btn-secondary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #fff;
            color: var(--primary-dark);
            text-decoration: none;
            padding: 14px 26px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all var(--transition-smooth);
            border: 2px solid var(--border-soft);
            white-space: nowrap;
        }
        .btn-secondary:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }
        .hero-visual {
            flex: 0 0 380px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .hero-illustration {
            width: 100%;
            max-width: 380px;
            aspect-ratio: 1 / 1;
            background: radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.9) 0%, rgba(240, 246, 252, 0.7) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            box-shadow: var(--shadow-lg), 0 0 0 20px rgba(59, 126, 199, 0.04), 0 0 0 50px rgba(59, 126, 199, 0.02);
        }
        .hero-illustration .chat-bubbles {
            display: flex;
            flex-direction: column;
            gap: 12px;
            align-items: center;
        }
        .chat-bubble {
            background: #fff;
            border-radius: 18px;
            padding: 14px 20px;
            font-weight: 500;
            font-size: 0.9rem;
            box-shadow: var(--shadow-sm);
            position: relative;
            color: var(--text-dark);
            max-width: 200px;
            text-align: center;
        }
        .chat-bubble:nth-child(1) {
            align-self: flex-end;
            background: #e8f4fd;
            border-bottom-left-radius: 4px;
        }
        .chat-bubble:nth-child(2) {
            align-self: flex-start;
            border-bottom-right-radius: 4px;
            background: #fff;
        }
        .chat-bubble:nth-child(3) {
            align-self: flex-end;
            background: #dcedfa;
            border-bottom-left-radius: 4px;
        }
        .hero-floating-circle {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
        }
        .hero-floating-circle.c1 {
            width: 60px;
            height: 60px;
            background: rgba(74, 144, 217, 0.12);
            top: 5%;
            left: 5%;
            animation: float-slow 6s ease-in-out infinite;
        }
        .hero-floating-circle.c2 {
            width: 40px;
            height: 40px;
            background: rgba(59, 126, 199, 0.1);
            bottom: 10%;
            right: 8%;
            animation: float-slow 8s ease-in-out infinite reverse;
        }
        @keyframes float-slow {
            0%,
            100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-22px);
            }
        }

        /* ============ SECTION TITLES ============ */
        .section-title {
            text-align: center;
            margin-bottom: 44px;
        }
        .section-title h2 {
            font-size: clamp(1.5rem, 3vw, 2.2rem);
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 8px;
            letter-spacing: -0.3px;
        }
        .section-title p {
            color: var(--text-muted);
            font-size: 1rem;
            max-width: 550px;
            margin: 0 auto;
            line-height: 1.8;
        }
        .section-divider {
            width: 50px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
            border-radius: 4px;
            margin: 12px auto 0;
        }

        /* ============ FEATURES SECTION ============ */
        .features {
            padding: 50px 0 60px;
        }
        .features-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 22px;
        }
        .feature-card {
            background:var(--bg-white);
            border-radius: var(--radius-lg);
            padding: 30px 24px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-soft);
            transition: all var(--transition-smooth);
            position: relative;
            overflow: hidden;
        }
        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-light));
            border-radius: 0 0 var(--radius-lg) var(--radius-lg);
            transform: scaleX(0);
            transition: transform var(--transition-smooth);
            transform-origin: center;
        }
        .feature-card:hover {
            box-shadow: var(--shadow-lg);
            transform: translateY(-6px);
            border-color: transparent;
        }
        .feature-card:hover::before {
            transform: scaleX(1);
        }
        .feature-icon {
            width: 60px;
            height: 60px;
            margin: 0 auto 18px;
            background: var(--bg-soft);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all var(--transition-smooth);
        }
        .feature-card:hover .feature-icon {
            background: rgba(59, 126, 199, 0.1);
            transform: scale(1.08);
        }
        .feature-icon svg {
            width: 28px;
            height: 28px;
            color: var(--primary);
        }
        .feature-card h3 {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 8px;
        }
        .feature-card p {
            font-size: 0.88rem;
            color: var(--text-muted);
            line-height: 1.7;
        }

        /* ============ TESTIMONIALS ============ */
        .testimonials {
            padding: 50px 0 60px;
            background: var(--bg-soft);
            margin: 0 -24px;
            padding-left: 24px;
            padding-right: 24px;
            border-radius: var(--radius-xl);
        }
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px;
            max-width: var(--max-width);
            margin: 0 auto;
        }
        .testimonial-card {
            background: var(--bg-white);
            border-radius: var(--radius-lg);
            padding: 24px;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-soft);
            position: relative;
            transition: all var(--transition-smooth);
        }
        .testimonial-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-3px);
        }
        .testimonial-card .quote-icon {
            font-size: 2.5rem;
            color: rgba(59, 126, 199, 0.2);
            line-height: 1;
            margin-bottom: 8px;
        }
        .testimonial-card blockquote {
            font-size: 0.9rem;
            color: var(--text-body);
            line-height: 1.8;
            margin-bottom: 16px;
            font-style: normal;
            quotes: none;
        }
        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 10px;
            border-top: 1px solid var(--border-soft);
            padding-top: 14px;
        }
        .testimonial-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-light), var(--primary));
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 700;
            font-size: 0.9rem;
            flex-shrink: 0;
        }
        .testimonial-author-info strong {
            display: block;
            font-size: 0.9rem;
            color: var(--text-dark);
        }
        .testimonial-author-info span {
            font-size: 0.75rem;
            color: var(--text-muted);
        }








        /* ========== ROADMAP SECTION ========== */
.roadmap-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.roadmap-container {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
    padding: 0 20px;
}

/* Vertial line (centered) */
.roadmap-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--border-soft);
    z-index: 0;
}

/* Fill part of the line (controlled by JS) */
.roadmap-line-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
    transition: height 0.1s linear; /* smooth while scrolling */
    will-change: height;
}

/* Steps wrapper */
.roadmap-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 48px;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Visible when line fill reaches step (or manual class) */
.roadmap-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Alternating sides */
.step-right {
    flex-direction: row;
    justify-content: flex-end;
    padding-right: calc(50% + 30px); /* aligns card to the right of line */
}
.step-left {
    flex-direction: row-reverse;
    justify-content: flex-end;
    padding-left: calc(50% + 30px); /* aligns card to the left of line */
}

/* Step marker (circle with number) */
.step-marker {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 2;
    box-shadow: 0 0 0 6px var(--bg-white);
    transition: background 0.3s, box-shadow 0.3s;
}

/* Card */
.step-card {
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    max-width: 320px;
    text-align: right; /* for Persian RTL, if needed */
}
.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.step-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}
.step-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}
.step-link:hover {
    text-decoration: underline;
}

/* Responsive: stack linearly on mobile, line remains on the left */
@media (max-width: 768px) {
    .roadmap-line {
        left: 24px;
        transform: none;
    }
    .roadmap-step {
        margin-bottom: 36px;
    }
    .step-right, .step-left {
        flex-direction: row;
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 60px; /* space for line and marker */
    }
    .step-marker {
        left: 24px;
        transform: translate(-50%, 0);
    }
    .step-card {
        max-width: 100%;
        width: 100%;
    }
}













/* ========== TRUST BAR ========== */
.trust-bar {
    background: var(--bg-soft);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    border-radius: 2rem;
    padding: 40px 24px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.trust-bar.visible {
    opacity: 1;
    transform: translateY(0);
}

.trust-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.trust-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.trust-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* Dark mode (already inherits variables) */

@media (max-width: 600px) {
    .trust-container {
        flex-direction: column;
        gap: 16px;
    }
    .trust-number {
        font-size: 1.8rem;
    }
}





/* ========== WORD OF THE DAY ========== */
.word-day-section {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 24px;
}

.word-card {
    background: linear-gradient(135deg, #f4f8fc 0%, #e9f2fa 100%);
    border-radius: 16px;
    padding: 24px 22px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    text-align: left;
    position: relative;
    transition: transform 0.2s;
}
.word-card:hover {
    transform: translateY(-2px);
}

.word-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.word-badge {
    background: #3B7EC7;
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.word-date {
    font-size: 0.75rem;
    color: #6b7280;
}

.word-term {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 8px 0 4px;
}

.word-phonetic {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
    display: block;
    margin-bottom: 12px;
}

.word-example {
    font-size: 0.9rem;
    color: #3a3a4a;
    line-height: 1.6;
    margin-bottom: 16px;
    border-left: 3px solid #3B7EC7;
    padding-left: 12px;
}

.word-speak-btn {
    background: #fff;
    border: 1px solid #3B7EC7;
    color: #3B7EC7;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.word-speak-btn:hover {
    background: #3B7EC7;
    color: #fff;
}
.word-phonetic-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.word-persian {
    font-size: 0.95rem;
    color: #4b5563;
    background: #e5eff9;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 500;
}

html.dark .word-persian {
    background: #2d3748;
    color: #cbd5e1;
}

/* Dark mode overrides */
html.dark .word-card {
    background: linear-gradient(135deg, #1e1e30 0%, #25253b 100%);
    border-color: #2d2f45;
}
html.dark .word-term {
    color: #ecf0f5;
}
html.dark .word-example {
    color: #cfd8e6;
}
html.dark .word-speak-btn {
    background: #1e1e30;
    border-color: #61a3e0;
    color: #61a3e0;
}
html.dark .word-speak-btn:hover {
    background: #61a3e0;
    color: #fff;
}





        /* ========== LEVEL QUIZ STYLES ========== */
      /* ========== ENGLISH LEVEL TEST – MINIMAL & RESPONSIVE ========== */
.level-test-section {
    max-width: 680px;
    margin: 0 auto;
    padding: 20px 16px;
}
.test-container {
    background: var(--bg-soft);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(3, 123, 209, 0.595);
    border: 1px solid #e2e8f0;
    padding: 32px 24px;
    position: relative;
    font-family: iran;
}
.test-screen { display: none; }
.test-screen.active { display: block; }
h2 { font-size: 1.8rem; font-weight: 700; color: var(--text-body); margin-bottom: 10px; }
p { color: var(--text-dark); margin-bottom: 20px; }

/* Buttons */
.btn-primary2 {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #3B7EC7; color: #fff; border: none; padding: 14px 28px;
    border-radius: 50px; font-weight: 600; font-size: 1rem; cursor: pointer;
    width: 100%; transition: background 0.2s;
    font-family: iran;
}
.btn-primary2:hover { background: #2A5F9E; }
.btn-outline {
    background: transparent; border: 2px solid #e2e8f0; color: #3b4a5a;
    padding: 12px 24px; border-radius: 50px; font-weight: 600; cursor: pointer;
    transition: all 0.2s;
    font-family: iran;
}
.btn-outline:hover { border-color: #3B7EC7; color: #3B7EC7; }

/* Confirmation modal */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-card {
    background: var(--bg-soft); border-radius: 16px; padding: 28px 24px;
    max-width: 360px; width: 90%; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    font-family: iran;
}
.modal-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.modal-actions .btn-primary { width: auto; padding: 10px 28px; }

/* Timer */
.timer-bar {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 1.4rem; font-weight: 700; color: var(--text-body); margin-bottom: 20px;
}
.timer-icon { width: 22px; height: 22px; color: #3B7EC7; }

/* Progress */
.progress-wrapper { margin-bottom: 24px; }
.progress-bg { width: 100%; height: 6px; background: var(--bg-white); border-radius: 6px; overflow: hidden; margin-bottom: 4px; }
.progress-fill { height: 100%; background: linear-gradient(to right, #3B7EC7, #5B9FE0); border-radius: 6px; transition: width 0.3s; }
.progress-label { font-size: 0.8rem; color: #6b7280; display: block; text-align: right; }

/* Question & options */
.question { font-size: 1.1rem; font-weight: 600; color: var(--text-body); margin-bottom: 18px; }
.options { display: flex; flex-direction: column; gap: 10px; }
.option-btn {
    background: var(--bg-white); border: 2px solid #e2e8f0; border-radius: 12px;
    padding: 14px 18px; font-family: inherit; font-size: 0.95rem; text-align: left;
    cursor: pointer; transition: all 0.2s;
}
.option-btn:hover { border-color: #3B7EC7; background: #f0f7ff; }
.option-btn.selected { border-color: #3B7EC7; background: #e5f0ff; }
.option-btn.correct { border-color: #22c55e; background: #f0fdf4; }
.option-btn.wrong { border-color: #ef4444; background: #fef2f2; }
.next-btn { margin-top: 20px; }
.next-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Result */
.result-badge {
    width: 80px; height: 80px; background: linear-gradient(135deg, #3B7EC7, #5B9FE0);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 800; color: var(--text-body); margin: 0 auto 16px;
}
.result-title { font-size: 1.6rem; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.result-score { color: #6b7280; margin-bottom: 20px; }
.result-details {
    background: var(--bg-soft); border-radius: 16px; padding: 20px; text-align: left;
    border: 1px solid #e2e8f0; margin-bottom: 20px;
}
.result-details h4 { color: var(--text-dark); margin-bottom: 10px; }
.can-do-list { list-style: none; padding: 0; }
.can-do-list li { padding: 6px 0; border-bottom: 1px solid #e2e8f0; font-size: 0.9rem; color: var(--text-body); }
.can-do-list li:last-child { border-bottom: none; }

/* Responsive */
@media (max-width: 500px) {
    .test-container { padding: 24px 16px; }
    h2 { font-size: 1.5rem; }
    .modal-card { padding: 24px 18px; }
}




      /* Dark mode adjustments */
      html.dark .learning-hub {
          background: #121220;
      }
      html.dark .pillar-content h3,
      html.dark .pillar-content h4 {
          color: #ecf0f5;
      }
      html.dark .pillar-content ul li {
          color: #cfd8e6;
      }
      html.dark .blog-card {
          background: #1e1e30;
          border-color: #2d2f45;
      }

      /* Responsive */
      @media (max-width: 768px) {
          .blog-grid {
              grid-template-columns: 1fr;
              padding: 0 12px;
          }
          .pillar-content {
              padding: 0 12px;
          }
          .blog-card-image {
              height: 100px;
              font-size: 2.2rem;
          }
          .blog-card h3 {
              font-size: 0.95rem;
          }
      }

        /* ============ FAQ SECTION ============ */
        .faq-section {
            padding: 50px 0 60px;
        }
        .faq-list {
            max-width: 750px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .faq-item {
            background: #fff;
            border: 1px solid var(--border-soft);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: all var(--transition-smooth);
            box-shadow: var(--shadow-sm);
        }
        .faq-item:hover {
            box-shadow: var(--shadow-md);
        }
        .faq-item.open {
            border-color: rgba(59, 126, 199, 0.3);
            box-shadow: var(--shadow-md), 0 0 0 3px rgba(59, 126, 199, 0.05);
        }
        .faq-question {
            width: 100%;
            background: none;
            border: none;
            cursor: pointer;
            padding: 18px 22px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            font-family: var(--font-family);
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-dark);
            text-align: right;
            transition: color var(--transition-fast);
            line-height: 1.6;
        }
        .faq-question:hover {
            color: var(--primary);
        }
        .faq-icon {
            flex-shrink: 0;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--bg-soft);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all var(--transition-smooth);
            font-size: 1.2rem;
            color: var(--primary);
            font-weight: 700;
            line-height: 1;
        }
        .faq-item.open .faq-icon {
            background: var(--primary);
            color: #fff;
            transform: rotate(45deg);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 0 22px;
            font-size: 0.92rem;
            color: var(--text-muted);
            line-height: 1.9;
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
            padding: 0 22px 20px;
        }

        /* ============ SEO CONTENT SECTION ============ */
        .seo-content {
            padding: 50px 0 60px;
            background: var(--bg-soft);
            border-top: 1px solid var(--border-soft);
        }
        .seo-content .content-wrapper {
            max-width: 800px;
            margin: 0 auto;
        }
        .seo-content h2 {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 16px;
            text-align: center;
        }
        .seo-content h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text-dark);
            margin: 24px 0 10px;
        }
        .seo-content p {
            font-size: 0.95rem;
            color: var(--text-muted);
            line-height: 2;
            margin-bottom: 12px;
            text-align: justify;
        }
        .seo-content .keyword-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin: 28px 0 20px;
        }
        .seo-content .keyword-pill {
            background: var(--bg-soft);
            color: var(--primary-dark);
            padding: 8px 18px;
            border-radius: 50px;
            font-weight: 500;
            font-size: 0.85rem;
            border: 1px solid rgba(59, 126, 199, 0.15);
            transition: all var(--transition-fast);
            text-decoration: none;
        }
        .seo-content .keyword-pill:hover {
            background: rgba(59, 126, 199, 0.08);
            border-color: var(--primary);
        }



        /* ========== TEACHER RECRUITING STYLES ========== */
        .recruit-section {
            padding: 50px 0 60px;
            background: var(--bg-soft);
        }

        .recruit-container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 24px;
        }

        .recruit-info-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 40px;
        }

        .recruit-info-card {
            background: var(--bg-white);
            border-radius: var(--radius-lg);
            padding: 28px 22px;
            text-align: center;
            box-shadow: var(--shadow-sm);
            border: 1px solid var(--border-soft);
            transition: all var(--transition-smooth);
        }

        .recruit-info-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }

        .recruit-info-card .recruit-icon {
            font-size: 2.5rem;
            margin-bottom: 12px;
        }

        .recruit-info-card h3 {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 8px;
        }

        .recruit-info-card p {
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.8;
        }

        /* Form wrapper */
        .recruit-form-wrapper {
            background: var(--bg-white);
            border-radius: var(--radius-xl);
            padding: 32px 28px;
            max-width: 580px;
            margin: 0 auto;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--border-soft);
        }

        .form-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 20px;
            text-align: center;
            color: var(--text-dark);
        }

        .input-group {
            margin-bottom: 16px;
            text-align: right;
        }

        .input-group label {
            display: block;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 6px;
            color: var(--text-dark);
        }

        .input-group input,
        .input-group select,
        .input-group textarea {
            width: 100%;
            padding: 12px 14px;
            border: 2px solid var(--border-soft);
            border-radius: var(--radius-md);
            font-family: var(--font-family);
            font-size: 0.9rem;
            color: var(--text-body);
            background: var(--bg-white);
            transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
        }

        .input-group input:focus,
        .input-group select:focus,
        .input-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(59, 126, 199, 0.1);
        }

        #submit-teacher-btn {
            width: 100%;
            justify-content: center;
            margin-top: 8px;
            position: relative;
        }

        .btn-spinner {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .form-message {
            text-align: center;
            padding: 14px;
            border-radius: var(--radius-sm);
            margin-top: 16px;
            font-weight: 500;
            font-size: 0.9rem;
        }

        .success-message {
            background: var(--bg-soft);
            color: #065f46;
            border: 1px solid #a7f3d0;
        }

        .error-message {
            background: var(--bg-soft);
            color: #991b1b;
            border: 1px solid #fecaca;
        }

        /* Dark mode overrides
        html.dark .recruit-info-card,
        html.dark .recruit-form-wrapper {
            background: #1e1e30;
            border-color: #2d2f45;
        }
        html.dark .input-group input,
        html.dark .input-group select,
        html.dark .input-group textarea {
            background: #121220;
            border-color: #2d2f45;
            color: #cfd8e6;
        }
        html.dark .input-group input:focus,
        html.dark .input-group select:focus,
        html.dark .input-group textarea:focus {
            border-color: var(--primary);
        }
        html.dark .success-message {
            background: #022c22;
            color: #a7f3d0;
            border-color: #065f46;
        }
        html.dark .error-message {
            background: #450a0a;
            color: #fecaca;
            border-color: #7f1d1d;
        } */

        /* Responsive */
        @media (max-width: 768px) {
            .recruit-info-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }
            .recruit-form-wrapper {
                padding: 24px 18px;
            }
        }

        /* ============ FOOTER ============ */
        .site-footer {
            background: #1a1a2e;
            color: #cbd5e1;
            padding: 44px 24px 28px;
            margin-top: 20px;
        }
        .footer-inner {
            max-width: var(--max-width);
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
        }
        .footer-col h4 {
            color: #fff;
            font-size: 1.05rem;
            font-weight: 700;
            margin-bottom: 16px;
        }
        .footer-col ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .footer-col ul a {
            color: #cbd5e1;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color var(--transition-fast);
        }
        .footer-col ul a:hover {
            color: #fff;
        }
        .footer-telegram-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--telegram);
            color: #fff;
            text-decoration: none;
            padding: 12px 22px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all var(--transition-smooth);
            margin-top: 8px;
            box-shadow: 0 4px 16px rgba(0, 136, 204, 0.35);
        }
        .footer-telegram-btn:hover {
            background: #fff;
            color: var(--telegram);
            box-shadow: 0 6px 22px rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }
        .footer-bottom {
            max-width: var(--max-width);
            margin: 28px auto 0;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            font-size: 0.8rem;
            color: #94a3b8;
            line-height: 1.8;
        }

        /* ============ RESPONSIVE ============ */
        @media (max-width: 1024px) {
            .hero {
                flex-direction: column;
                text-align: center;
                padding: 40px 0;
                gap: 30px;
                min-height: auto;
            }
            .hero-content {
                max-width: 100%;
            }
            .hero-description {
                max-width: 100%;
                margin: 0 auto 24px;
            }
            .hero-cta-group {
                justify-content: center;
            }
            .hero-visual {
                flex: 0 0 auto;
                width: 100%;
                max-width: 300px;
                margin: 0 auto;
            }
            .hero-illustration {
                max-width: 280px;
                box-shadow: var(--shadow-lg), 0 0 0 12px rgba(59, 126, 199, 0.04), 0 0 0 32px rgba(59, 126, 199, 0.02);
            }
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .testimonials-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .footer-inner {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .header-cta {
                display: none;
            }
            .main-nav {
                display: none;
            }
            .hamburger {
                display: flex;
            }
            .hero {
                padding: 28px 0 36px;
                gap: 20px;
            }
            .hero h1 {
                font-size: 1.7rem;
            }
            .hero-description {
                font-size: 0.95rem;
            }
            .hero-cta-group {
                flex-direction: column;
                align-items: stretch;
            }
            .btn-primary,
            .btn-secondary {
                justify-content: center;
                text-align: center;
            }
            .hero-visual {
                max-width: 220px;
            }
            .hero-illustration {
                max-width: 200px;
                box-shadow: var(--shadow-md), 0 0 0 8px rgba(59, 126, 199, 0.04), 0 0 0 20px rgba(59, 126, 199, 0.02);
            }
            .chat-bubble {
                font-size: 0.72rem;
                padding: 10px 14px;
                border-radius: 12px;
                max-width: 140px;
            }
            .hero-floating-circle.c1 {
                width: 36px;
                height: 36px;
            }
            .hero-floating-circle.c2 {
                width: 26px;
                height: 26px;
            }
            .features-grid {
                grid-template-columns: 1fr 1fr;
                gap: 14px;
            }
            .feature-card {
                padding: 20px 14px;
            }
            .feature-card h3 {
                font-size: 0.9rem;
            }
            .feature-card p {
                font-size: 0.78rem;
            }
            .feature-icon {
                width: 46px;
                height: 46px;
            }
            .feature-icon svg {
                width: 22px;
                height: 22px;
            }
            .testimonials-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }
            .testimonials {
                margin: 0 -12px;
                padding: 36px 12px;
                border-radius: var(--radius-md);
            }
            .faq-question {
                font-size: 0.9rem;
                padding: 14px 16px;
            }
            .faq-answer {
                font-size: 0.82rem;
            }
            .faq-item.open .faq-answer {
                padding: 0 16px 16px;
            }
            .seo-content p {
                text-align: right;
                font-size: 0.85rem;
            }
            .footer-inner {
                grid-template-columns: 1fr;
                gap: 24px;
                text-align: center;
            }
            .footer-col ul {
                align-items: center;
            }
            .site-footer {
                padding: 32px 16px 20px;
            }
        }

        @media (max-width: 480px) {
            .features-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }
            .feature-card {
                display: flex;
                align-items: center;
                gap: 14px;
                text-align: right;
                padding: 16px 18px;
            }
            .feature-card::before {
                height: 100%;
                width: 4px;
                top: 0;
                right: 0;
                left: auto;
                border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
                transform: scaleY(0);
            }
            .feature-card:hover::before {
                transform: scaleY(1);
            }
            .feature-icon {
                margin: 0;
                flex-shrink: 0;
                width: 44px;
                height: 44px;
            }
            .hero h1 {
                font-size: 1.5rem;
            }
            .hero-visual {
                max-width: 170px;
            }
            .hero-illustration {
                max-width: 160px;
            }
            .chat-bubble {
                font-size: 0.65rem;
                padding: 8px 10px;
                max-width: 110px;
                border-radius: 10px;
            }
            .header-inner {
                padding: 0 12px;
            }
            main {
                padding: 0 12px;
            }
            .logo-text .brand {
                font-size: 1.1rem;
            }
            .logo-icon {
                width: 34px;
                height: 34px;
                font-size: 1rem;
            }
        }