:root {
    --primary: #4f46e5;
    --primary-dark: #1e1b4b;
    --secondary: #7c3aed;
    --accent: #f59e0b;
    --success: #10b981;
    --bg-main: #ffffff;
    --bg-alt: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border: #e2e8f0;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow-main: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

/* Premium Mesh Background */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #ffffff;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
    background-size: 100% 100%;
    opacity: 0.03;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ══ HERO SECTION ══════════════════════════════════════════════════════════ */
.hero-section {
    text-align: center;
    padding: 80px 5% 60px;
    max-width: 780px;
    margin: 0 auto;
}

/* Announcement badge pill */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f0f0f8;
    border: 1px solid #ddd8f8;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e1b4b;
    margin-bottom: 36px;
    animation: badgePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.hero-badge-star {
    color: #4f46e5;
    font-size: 1rem;
}

@keyframes badgePop {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Main headline */
.hero-headline {
    font-size: clamp(2.6rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #0f172a;
    margin-bottom: 28px;
    animation: heroFadeUp 0.7s 0.1s cubic-bezier(0.2, 0, 0.2, 1) both;
}

/* Subtitle */
.hero-subtitle {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto 44px;
    font-family: 'Inter', sans-serif;
    animation: heroFadeUp 0.7s 0.2s cubic-bezier(0.2, 0, 0.2, 1) both;
}

/* CTA buttons row */
.hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    animation: heroFadeUp 0.7s 0.3s cubic-bezier(0.2, 0, 0.2, 1) both;
}

.hero-btn-primary {
    background: #1e1b4b;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 18px 48px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    max-width: 360px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 8px 24px rgba(30, 27, 75, 0.25);
    letter-spacing: -0.3px;
}

.hero-btn-primary:hover {
    background: #312e81;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(30, 27, 75, 0.35);
}

.hero-btn-primary:active {
    transform: translateY(0);
}

.hero-btn-secondary {
    background: transparent;
    color: #0f172a;
    border: 2px solid #d1d5db;
    border-radius: 999px;
    padding: 16px 48px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    max-width: 360px;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    letter-spacing: -0.3px;
}

.hero-btn-secondary:hover {
    border-color: #4f46e5;
    color: #4f46e5;
    transform: translateY(-2px);
    background: #f8f7ff;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .hero-section {
        padding: 60px 5% 40px;
        overflow-x: hidden;
    }

    .hero-headline {
        letter-spacing: -1px;
        font-size: 2.4rem;
        word-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 8px 14px;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
        max-width: 100%;
        height: auto;
    }
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -1px;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 0.5rem;
    display: flex;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.lang-select {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.lang-select:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.login-btn-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    background: var(--primary-dark);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.login-btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: #000;
}

.menu-trigger {
    font-size: 2rem;
    color: var(--primary-dark);
    display: flex;
    cursor: pointer;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.benefit-bullet {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.bullet-inner {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.benefit-text h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.benefit-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
}

/* Mockup CSS */
.mockup-container {
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-top: 4rem;
    max-width: 900px;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.mh-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mh-avatar {
    width: 40px;
    height: 40px;
    background: #e0e7ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
}

.mh-title strong {
    font-size: 1rem;
    color: var(--text-main);
}

.mh-title span {
    font-size: 0.8rem;
    color: #94a3b8;
}

.badge-graded {
    background: #dcfce7;
    color: #166534;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mockup-body {
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: #f8fafc;
}

.mockup-paper {
    flex: 1.5;
    min-width: 300px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.paper-label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 800;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 1.5rem;
}

.paper-label span {
    color: var(--primary);
}

.paper-content-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.handwriting-line {
    height: 12px;
    background: #f1f5f9;
    border-radius: 99px;
}

.mockup-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.score-card {
    background: #4f46e5;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    padding: 2rem;
    border-radius: 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.score-left span,
.score-right span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.score-left strong {
    font-size: 4rem;
    line-height: 1;
}

.score-right strong {
    font-size: 1.75rem;
}

.rubric-eval {
    background: #fff;
    border-radius: 20px;
    padding: 1.75rem;
    border: 1px solid var(--border);
}

.rubric-eval h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #64748b;
}

.eval-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.max-sub {
    color: #94a3b8;
    font-weight: 400;
}

.eval-bar {
    height: 10px;
    background: #f1f5f9;
    border-radius: 99px;
    overflow: hidden;
}

.eval-fill {
    height: 100%;
    background: #4f46e5;
}

/* How It Works */
.how-it-works-section {
    padding: 8rem 5%;
    background: #fff;
    position: relative;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    font-weight: 800;
    margin-bottom: 5rem;
    letter-spacing: -1.5px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--primary-dark);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}

.step-card {
    padding: 2.5rem;
    border-radius: 32px;
    background: var(--bg-alt);
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.step-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Info Section (Green Bell) */
.info-card-section {
    padding: 4rem 5%;
    max-width: 800px;
    margin: 0 auto;
}

.info-card-white {
    background: #fff;
    border-radius: 32px;
    padding: 3rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.04);
}

.ic-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ic-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: #fff;
}

.bg-green {
    background: #10b981;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.ic-title-box h3 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
}

.ic-title-box span {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

.ic-body p {
    font-size: 1.15rem;
    color: #334155;
    margin-bottom: 2rem;
}

.ic-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ic-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #0f172a;
}

.ic-list ion-icon {
    font-size: 1.5rem;
    color: #10b981;
}

/* Student ID Section */
.id-section {
    padding: 4rem 5%;
    max-width: 800px;
    margin: 0 auto;
}

.id-card-navy {
    background: #0f172a;
    border-radius: 32px;
    padding: 3.5rem;
    color: #fff;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.3);
}

.id-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.id-card-header ion-icon {
    font-size: 2rem;
}

.id-card-header h3 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.id-card-navy p {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.id-display-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.id-text {
    font-size: 2.4rem;
    font-weight: 800;
    font-family: 'Inter', monospace;
}

.copy-btn {
    background: #fff;
    color: #0f172a;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover {
    background: #e2e8f0;
}

.id-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.id-footer strong {
    font-size: 2.5rem;
}

.id-footer span {
    font-size: 1rem;
    opacity: 0.7;
    max-width: 300px;
}

/* Learning Assistant Section */
.learning-assistant-section {
    padding: 8rem 5%;
    text-align: center;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e0e7ff;
    color: var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 99px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.la-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.la-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 4rem;
}

.ai-tutor-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem;
    text-align: left;
    border-radius: 40px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.08);
}

.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
}

.atc-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.atc-icon-box {
    width: 80px;
    height: 80px;
    background: #0f172a;
    color: #fff;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
}

.atc-head-text h3 {
    font-size: 2rem;
    font-weight: 800;
}

.atc-head-text span {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.atc-body p {
    font-size: 1.25rem;
    color: #334155;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.atc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.atc-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.atc-list ion-icon {
    font-size: 1.6rem;
    color: var(--primary);
    flex-shrink: 0;
}

/* Teacher Section */
.teacher-section {
    padding: 8rem 5%;
    text-align: center;
    background: #fff;
}

.bg-orange-light {
    background: #fff7ed;
    color: #ea580c;
}

.teacher-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.teacher-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.teacher-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.teacher-card {
    background: #fff;
    border-radius: 32px;
    padding: 3rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
    height: 100%;
}

.teacher-card:hover {
    transform: translateY(-5px);
}

.tc-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.tc-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    color: #fff;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-orange {
    background: #f97316;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
}

.bg-blue {
    background: #2563eb;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.bg-green-shield {
    background: #10b981;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.tc-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
}

.teacher-card p {
    font-size: 1.15rem;
    color: #4b5563;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.tc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tc-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: #111827;
}

/* Simple 3-Step Process (Navy Vertical) */
.process-section {
    padding: 4rem 5%;
}

.process-container-navy {
    background: #0f172a;
    border-radius: 48px;
    padding: 6rem 2rem;
    color: #fff;
    text-align: center;
    box-shadow: 0 40px 100px -20px rgba(15, 23, 42, 0.4);
}

.process-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1rem;
}

.process-subtitle {
    font-size: 1.4rem;
    opacity: 0.7;
    margin-bottom: 5rem;
}

.vertical-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6rem;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.vertical-steps::before {
    content: '';
    position: absolute;
    top: 100px;
    bottom: 100px;
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.v-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-step-num {
    width: 100px;
    height: 100px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: #0f172a;
}

.v-step-icon-box {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.v-step h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.v-step p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 400px;
    line-height: 1.5;
}

/* Footer */
.site-footer {
    padding: 6rem 5%;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
}

.site-footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .teacher-cards-grid {
        grid-template-columns: 1fr;
    }

    .process-title {
        font-size: 2.2rem;
    }

    .v-step-num {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .section-title,
    .la-title,
    .teacher-title {
        font-size: 2.5rem;
    }

    .main-nav {
        padding: 1rem 1.5rem;
    }

    .lang-select span,
    .login-btn-header span {
        display: none;
    }

    .ai-tutor-card {
        padding: 2rem;
    }

    .id-card-navy {
        padding: 2rem;
    }

    .id-text {
        font-size: 1.8rem;
    }
}