@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ════════════════════════════════════════
   CSS VARIABLES
   ════════════════════════════════════════ */
:root {
    --primary: #001E4F;
    --accent: #00AEEF;
    --accent-hover: #0099D4;
    --bg: #F5F7FA;
    --card: #FFFFFF;
    --text: #1a1a1a;
    --muted: #666666;
    --border: #E5E7EB;
    --error: #EF4444;
    --success: #10B981;
    --radius: 12px;
}

/* ════════════════════════════════════════
   RESET
   ════════════════════════════════════════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

/* ════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════ */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes esFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes esPulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0,174,239,0.5), 0 0 24px 4px rgba(0,174,239,0.35);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(0,174,239,0), 0 0 34px 10px rgba(0,174,239,0.55);
    }
}

@keyframes esSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ════════════════════════════════════════
   APP LAYOUT
   ════════════════════════════════════════ */
.app-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-content {
    flex: 1;
    padding-bottom: 70px;
}

.public-layout {
    min-height: 100vh;
}

.admin-layout {
    min-height: 100vh;
    background: var(--bg);
}

/* ════════════════════════════════════════
   APP LOADING / BRAND
   ════════════════════════════════════════ */
.app-loading {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-brand {
    text-align: center;
}

    .loading-brand h1 {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .loading-brand p {
        color: var(--muted);
    }

.brand-edu {
    color: var(--primary);
    font-weight: 700;
}

.brand-smart {
    color: var(--accent);
    font-weight: 700;
}

/* ════════════════════════════════════════
   TOP NAV
   ════════════════════════════════════════ */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

    .top-nav .brand {
        font-size: 22px;
        text-decoration: none;
    }

.nav-links {
    display: flex;
    gap: 24px;
}

    .nav-links a {
        text-decoration: none;
        color: var(--muted);
        font-size: 13px;
        font-weight: 500;
        padding: 6px 0;
        border-bottom: 2px solid transparent;
        transition: color 0.2s, border-color 0.2s;
        white-space: nowrap;
    }

        .nav-links a:hover, .nav-links a.nav-active {
            color: var(--primary);
            border-bottom-color: var(--accent);
        }

.logout-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

    .logout-btn:hover {
        color: var(--error);
        border-color: var(--error);
    }

/* ════════════════════════════════════════
   BOTTOM NAV
   ════════════════════════════════════════ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 6px 0 8px;
    z-index: 100;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--muted);
    font-size: 10px;
    padding: 4px 0;
    gap: 2px;
    transition: color 0.2s;
}

    .nav-item.active {
        color: var(--accent);
    }

    .nav-item:hover {
        color: var(--primary);
    }

.nav-icon {
    font-size: 18px;
    line-height: 1;
}

.nav-label {
    font-weight: 600;
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .nav-links, .logout-btn {
        display: none;
    }

    .bottom-nav {
        display: flex;
    }

    .app-content {
        padding-bottom: 70px;
    }
}

@media (min-width: 769px) {
    .bottom-nav {
        display: none;
    }

    .app-content {
        padding-bottom: 24px;
    }
}

/* ════════════════════════════════════════
   AUTH PAGES
   ════════════════════════════════════════ */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    text-align: center;
}

    .auth-card .logo {
        height: 48px;
        margin-bottom: 24px;
    }

    .auth-card h2 {
        color: var(--primary);
        margin-bottom: 24px;
    }

.auth-subtitle {
    color: var(--muted);
    margin-bottom: 24px;
}

.auth-link {
    margin-top: 16px;
    font-size: 14px;
    color: var(--muted);
}

    .auth-link a {
        color: var(--accent);
        font-weight: 600;
        text-decoration: none;
    }

@media (max-width: 480px) {
    .auth-card {
        padding: 24px 20px;
    }
}

/* ════════════════════════════════════════
   FORMS
   ════════════════════════════════════════ */
.form-group {
    text-align: left;
    margin-bottom: 16px;
}

    .form-group label {
        display: block;
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 6px;
        color: var(--muted);
    }

    .form-group input, .form-group select {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid var(--border);
        border-radius: 8px;
        font-size: 15px;
        transition: border-color 0.2s;
    }

        .form-group input:focus, .form-group select:focus {
            outline: none;
            border-color: var(--accent);
        }

    .form-group select {
        background: white;
        color: var(--text);
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
        cursor: pointer;
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.loading-inline {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    font-size: 14px;
    background: var(--bg);
}

/* ════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════ */
.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

    .btn-primary:hover {
        opacity: 0.9;
    }

    .btn-primary:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-secondary {
    padding: 12px 24px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.btn-accent {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

    .btn-accent:hover {
        background: var(--accent-hover);
    }

.btn-outline {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-outline:hover {
        background: var(--primary);
        color: white;
    }

.btn-accent-outline {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--accent);
    background: transparent;
    color: var(--accent);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .btn-accent-outline:hover {
        background: var(--accent);
        color: white;
    }

.back-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
}

.back-btn-dark {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.btn-verify {
    padding: 12px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.btn-pay {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 12px;
}

    .btn-pay:hover {
        background: var(--accent-hover);
    }

    .btn-pay:disabled {
        background: var(--border);
        color: var(--muted);
        cursor: default;
    }

.btn-pay-disabled {
    width: 100%;
    padding: 14px;
    background: rgba(0,174,239,0.2);
    color: rgba(255,255,255,0.4);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: not-allowed;
    display: block;
}

.btn-payment {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 14px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
}

    .btn-payment:hover {
        opacity: 0.9;
    }

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: #25D366;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s;
}

    .btn-whatsapp:hover {
        opacity: 0.9;
    }

.btn-whatsapp-get {
    width: 100%;
    padding: 14px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-bottom: 12px;
}

    .btn-whatsapp-get:hover {
        opacity: 0.9;
    }

/* ════════════════════════════════════════
   BANNERS & BADGES
   ════════════════════════════════════════ */
.error-banner {
    background: #FEE2E2;
    color: #991B1B;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.success-banner {
    background: #D1FAE5;
    color: #065F46;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.coming-soon-msg {
    background: rgba(0,174,239,0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin-top: 12px;
}

.coming-soon-tag {
    position: absolute;
    top: -8px;
    right: 12px;
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
}

/* ════════════════════════════════════════
   UTILITIES
   ════════════════════════════════════════ */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--muted);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}

    .empty-state p {
        margin-bottom: 16px;
    }

.no-results-card {
    text-align: center;
    padding: 48px 24px;
    background: var(--card);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin: 24px 16px;
}

.no-results-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.no-results-card h3 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 8px;
}

.no-results-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.progress-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    margin: 12px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.4s;
}

/* ═══════════════════════════════════════════
   LANDING — UNIFIED (replaces all old land- CSS)
═══════════════════════════════════════════ */
.land {
    width: 100%;
    overflow-x: hidden;
    color: #001E4F;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ── Wordmark ── */
.land-wordmark {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: #001E4F;
}

    .land-wordmark span {
        color: #00AEEF;
        font-style: italic;
        font-weight: 700;
    }

.land-wordmark--white {
    color: #fff;
}

    .land-wordmark--white span {
        color: #00AEEF;
    }

/* ── Pills ── */
.land-pill {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.land-pill--blue {
    background: #E6F6FD;
    color: #0092C8;
}

.land-pill--dark {
    background: rgba(0,174,239,0.16);
    color: #4FC7F5;
}

/* ── Shared section inner ── */
.land-section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

/* ── Accent ── */
.land-accent {
    color: #00AEEF;
}

/* ── H1 / H2 ── */
.land-h1 {
    margin: 24px 0 0;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.land-h2 {
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.03em;
    font-weight: 800;
    margin: 0;
}

.land-h2--white {
    color: #fff;
}

/* ── Buttons ── */
.land-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.land-btn-primary {
    background: #001E4F;
    color: #fff;
    padding: 16px 34px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
    display: inline-block;
}

    .land-btn-primary:hover {
        background: #00AEEF;
        color: #fff;
    }

.land-btn-outline {
    border: 1.5px solid #C9D4E2;
    color: #001E4F;
    padding: 16px 34px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
    display: inline-block;
}

    .land-btn-outline:hover {
        border-color: #00AEEF;
        color: #00AEEF;
    }

.land-btn-accent {
    background: #00AEEF;
    color: #fff;
    padding: 16px 34px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    display: inline-block;
}

    .land-btn-accent:hover {
        background: #fff;
        color: #001E4F;
    }

.land-btn-outline-white {
    border: 1.5px solid rgba(255,255,255,0.35);
    color: #fff;
    padding: 16px 34px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
    display: inline-block;
}

    .land-btn-outline-white:hover {
        border-color: #00AEEF;
        color: #00AEEF;
    }

/* ── Tags ── */
.land-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
}

.land-tag {
    background: #F5F7FA;
    color: #4A5D78;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 999px;
}

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
.land-nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #E8EDF3;
}

.land-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.land-nav-links {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
    flex: 1;
    justify-content: center;
}

    .land-nav-links a {
        color: #001E4F;
        font-size: 15px;
        font-weight: 500;
        text-decoration: none;
        transition: color 0.15s;
    }

        .land-nav-links a:hover {
            color: #00AEEF;
        }

.land-nav-auth {
    display: flex;
    align-items: center;
    gap: 14px;
}

.land-nav-signin {
    color: #001E4F;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 8px;
    text-decoration: none;
    transition: color 0.15s;
}

    .land-nav-signin:hover {
        color: #00AEEF;
    }

.land-nav-cta {
    background: #001E4F;
    color: #fff;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}

    .land-nav-cta:hover {
        background: #00AEEF;
        color: #fff;
    }

.land-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid #E8EDF3;
    background: #fff;
    cursor: pointer;
    padding: 0 12px;
}

    .land-burger span {
        display: block;
        height: 2px;
        background: #001E4F;
        border-radius: 2px;
    }

.land-mobile-menu {
    border-top: 1px solid #E8EDF3;
    padding: 18px clamp(20px,4vw,48px) 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #fff;
}

    .land-mobile-menu a {
        color: #001E4F;
        font-size: 16px;
        font-weight: 500;
        text-decoration: none;
    }

.land-mobile-cta {
    background: #001E4F;
    color: #fff !important;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.land-hero {
    background: #fff;
    padding: clamp(48px,6vw,88px) clamp(20px,4vw,48px) clamp(56px,6vw,96px);
}

.land-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: clamp(32px,4vw,64px);
    align-items: center;
}

.land-hero-sub {
    margin: 22px 0 0;
    max-width: 520px;
    font-size: clamp(16px,1.3vw,18px);
    line-height: 1.65;
    color: #5A6B84;
}

.land-btn-row {
    margin-top: 32px;
}

.land-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: min(520px, 64vw);
    border-radius: 16px;
    background: radial-gradient(circle at 50% 62%, #E6F6FD 0%, #F5F7FA 62%, #fff 100%);
}

.land-hero-img {
    width: min(100%, 520px);
    height: auto;
    display: block;
    filter: drop-shadow(0 24px 48px rgba(0,30,79,0.16));
}

.land-hero-bubble {
    position: absolute;
    left: clamp(-4px, 1vw, 12px);
    bottom: clamp(16px, 3vw, 42px);
    background: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 18px 44px rgba(0,30,79,0.14);
    max-width: 250px;
}

.land-bubble-text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: #001E4F;
}

.land-bubble-tags {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

    .land-bubble-tags span {
        background: #F0F5FA;
        color: #4A5D78;
        font-size: 11px;
        font-weight: 600;
        padding: 6px 11px;
        border-radius: 999px;
    }

/* ═══════════════════════════════════════════
   EDUFEST
═══════════════════════════════════════════ */
.land-edufest {
    background: #001E4F;
    padding: clamp(56px,6vw,100px) clamp(20px,4vw,48px);
}

.land-edufest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px,1fr));
    gap: clamp(36px,4.5vw,68px);
    align-items: center;
}

.land-edufest-sub {
    margin: 20px 0 0;
    max-width: 520px;
    font-size: 17px;
    line-height: 1.65;
    color: #A9BDD8;
}

.land-edufest-details {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
    gap: 14px;
    max-width: 520px;
}

.land-detail-card {
    background: #0A2C64;
    border: 1px solid #12376F;
    border-radius: 16px;
    padding: 20px;
}

.land-detail-label {
    color: #8FA9CC;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.land-detail-val {
    margin-top: 8px;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
}

.land-edufest-note {
    margin-top: 22px;
    color: #8FA9CC;
    font-size: 14px;
}

.land-edufest-images {
    display: grid;
    gap: 16px;
}

.land-edufest-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 24px 56px rgba(0,0,0,0.35);
}

/* ═══════════════════════════════════════════
   SMART STUDENT ID CARDS
═══════════════════════════════════════════ */
.land-cards-section {
    background: #F5F7FA;
    padding: clamp(56px,6vw,100px) clamp(20px,4vw,48px);
}

.land-cards-header {
    max-width: 820px;
}

.land-cards-sub {
    margin: 20px 0 0;
    font-size: 17px;
    line-height: 1.65;
    color: #5A6B84;
}

.land-cards-grid {
    margin-top: clamp(36px,4vw,60px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px,1fr));
    gap: clamp(28px,3.5vw,56px);
    align-items: center;
}

.land-cards-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(0,30,79,0.10);
}

.land-cards-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.land-feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.land-feature-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #E6F6FD;
    color: #00AEEF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.land-feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #001E4F;
}

.land-feature-desc {
    margin-top: 6px;
    font-size: 15px;
    color: #5A6B84;
    line-height: 1.6;
}

.land-cta-card {
    background: #001E4F;
    border-radius: 16px;
    padding: 28px;
}

.land-cta-card-title {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.land-cta-card-desc {
    margin: 10px 0 0;
    color: #A9BDD8;
    font-size: 15px;
    line-height: 1.6;
}

.land-cta-card .land-btn-accent {
    margin-top: 20px;
    display: inline-block;
    padding: 15px 30px;
    font-size: 15px;
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.land-contact {
    background: #fff;
    padding: clamp(56px,6vw,100px) clamp(20px,4vw,48px);
}

.land-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px,1fr));
    gap: clamp(36px,4.5vw,68px);
    align-items: start;
}

.land-contact-sub {
    margin: 20px 0 0;
    max-width: 500px;
    font-size: 17px;
    line-height: 1.65;
    color: #5A6B84;
}

.land-contact-details {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.land-contact-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.land-contact-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 14px;
    background: #F0F5FA;
    color: #00AEEF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.land-contact-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #8494AB;
}

.land-contact-val {
    margin-top: 3px;
    font-size: 17px;
    font-weight: 600;
    color: #001E4F;
}

/* Contact form */
.land-contact-form {
    background: #F5F7FA;
    border-radius: 16px;
    padding: clamp(24px,3vw,38px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.land-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .land-form-group label {
        font-size: 13px;
        font-weight: 600;
        color: #4A5D78;
    }

    .land-form-group input,
    .land-form-group select,
    .land-form-group textarea {
        width: 100%;
        padding: 15px 18px;
        border-radius: 12px;
        border: 1px solid #DFE6EF;
        background: #fff;
        font-size: 15px;
        color: #001E4F;
        outline: none;
        transition: border-color 0.15s;
        font-family: 'Inter', sans-serif;
    }

        .land-form-group input:focus,
        .land-form-group select:focus,
        .land-form-group textarea:focus {
            border-color: #00AEEF;
        }

    .land-form-group textarea {
        resize: vertical;
    }

.land-form-submit {
    width: 100%;
    background: #001E4F;
    color: #fff;
    border: none;
    padding: 17px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    font-family: 'Inter', sans-serif;
}

    .land-form-submit:hover {
        background: #00AEEF;
    }

.land-form-success {
    text-align: center;
    padding: 40px 20px;
    color: #001E4F;
}

    .land-form-success h3 {
        font-size: 18px;
        font-weight: 700;
        line-height: 1.5;
    }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.land-footer {
    background: #001E4F;
    padding: clamp(48px,5.5vw,80px) clamp(20px,4vw,48px) 28px;
}

.land-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 40px;
}

.land-footer-brand p {
    margin: 14px 0 0;
    color: #A9BDD8;
    font-size: 15px;
    line-height: 1.65;
}

.land-footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.land-footer-col-title {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.land-footer-col a {
    color: #A9BDD8;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.15s;
}

    .land-footer-col a:hover {
        color: #00AEEF;
    }

.land-footer-bar {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #12376F;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    color: #8FA9CC;
    font-size: 14px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
    .land-nav-links {
        display: none;
    }

    .land-nav-signin {
        display: none;
    }

    .land-nav-cta {
        display: none;
    }

    .land-burger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .land-btn-row {
        flex-direction: column;
    }

    .land-btn-primary,
    .land-btn-outline,
    .land-btn-accent,
    .land-btn-outline-white {
        text-align: center;
        width: 100%;
    }

    .land-hero-bubble {
        left: 8px;
        right: 8px;
        max-width: none;
    }
}


/* ════════════════════════════════════════
   REGISTRATION STEPS
   ════════════════════════════════════════ */
.reg-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
}

.reg-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.reg-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s;
}

.reg-step.active .reg-step-dot {
    background: var(--primary);
    color: white;
}

.reg-step span {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
}

.reg-step.active span {
    color: var(--primary);
}

.reg-step-line {
    width: 40px;
    height: 2px;
    background: var(--border);
    margin: 0 4px;
    margin-bottom: 18px;
}

.reg-step-header {
    text-align: center;
    margin-bottom: 24px;
}

    .reg-step-header h2 {
        color: var(--primary);
        font-size: 22px;
        font-weight: 800;
        margin-bottom: 4px;
    }

    .reg-step-header p {
        color: var(--muted);
        font-size: 14px;
    }

.country-select-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.country-select-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 8px;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

    .country-select-card:hover {
        border-color: var(--accent);
        background: rgba(0,174,239,0.04);
    }

    .country-select-card.selected {
        border-color: var(--accent);
        background: rgba(0,174,239,0.08);
    }

.country-flag {
    font-size: 28px;
}

.country-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

.country-campus {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
}

.syllabus-toggle {
    display: flex;
    background: var(--bg);
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}

.syllabus-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

    .syllabus-btn.active {
        background: var(--primary);
        color: white;
    }

.reg-btn-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

    .reg-btn-row .btn-outline {
        flex: 0 0 auto;
        width: auto;
        padding: 14px 20px;
    }

    .reg-btn-row .btn-primary {
        flex: 1;
    }

/* ════════════════════════════════════════
   DASHBOARD
   ════════════════════════════════════════ */
.dash-page {
    background: #f5f6f8;
    min-height: 100vh;
    font-family: 'Inter', system-ui, sans-serif;
    padding-bottom: 80px;
    max-width: 480px;
    margin: 0 auto;
    overflow-x: hidden; /* add this line */
}

.dash-loading {
    text-align: center;
    padding: 60px 20px;
    color: #001E4F;
}

.dash-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 0;
}

.dash-brand {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.3px;
}

.dash-brand-edu {
    color: #001E4F;
}

.dash-brand-smart {
    color: #00AEEF;
}

.dash-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e5e5e5;
    color: #001E4F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

.dash-subject-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 18px 0;
    padding: 10px 14px;
    background: #e5e5e5;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

    .dash-subject-pill:hover {
        background: #d8d8d8;
    }

.dash-subject-text {
    font-size: 12.5px;
    font-weight: 800;
    color: #001E4F;
    letter-spacing: 0.03em;
}

.dash-subject-swap {
    color: #001E4F;
    font-size: 15px;
}

.dash-greeting {
    padding: 20px 18px 0;
}

.dash-date {
    color: rgba(0,30,79,0.4);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 0 6px;
}

.dash-hello {
    color: #001E4F;
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.3px;
}

.dash-name {
    color: #00AEEF;
}

.dash-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: #001E4F;
    font-size: 11.5px;
    font-weight: 700;
}

.dash-section {
    padding: 20px 18px 0;
}

.dash-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.dash-section-title {
    color: #001E4F;
    font-weight: 800;
    font-size: 15.5px;
}

.dash-section-link {
    color: #0077AA;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}

.lesson-card-new {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a2a5c 0%, #001E4F 55%, #00008F 100%);
    min-height: 190px;
    box-shadow: 0 8px 22px rgba(0,30,79,0.18);
    cursor: pointer;
    transition: transform 0.2s;
}

    .lesson-card-new:hover {
        transform: translateY(-2px);
    }

.lesson-card-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0,174,239,0.25) 1px, transparent 1px);
    background-size: 16px 16px;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.25) 40%, black 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.25) 40%, black 100%);
}

.lesson-card-content {
    position: relative;
    z-index: 2;
    padding: 16px;
}

.lesson-topic-chip {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
    font-size: 10.5px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 100px;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.lesson-card-title {
    color: white;
    font-weight: 800;
    font-size: 21px;
    margin: 12px 0 0;
    line-height: 1.15;
    max-width: 190px;
}

.lesson-card-why {
    color: rgba(255,255,255,0.6);
    font-size: 12.5px;
    margin: 6px 0 0;
    max-width: 180px;
    line-height: 1.4;
}

.lesson-duration-chip {
    display: inline-flex;
    margin-top: 14px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 100px;
}

.lesson-empty {
    padding: 32px;
    text-align: center;
    color: rgba(0,30,79,0.4);
    background: white;
    border-radius: 18px;
}

.review-cards-row {
    display: flex;
    gap: 10px;
}

.review-card {
    flex: 1;
    background: #e5e5e5;
    border-radius: 14px;
    padding: 12px 14px;
}

.review-topic {
    color: rgba(0,30,79,0.45);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.review-title {
    color: #001E4F;
    font-weight: 800;
    font-size: 13.5px;
    margin-top: 6px;
    line-height: 1.3;
}

.review-overdue {
    color: #c0392b;
    font-size: 11px;
    font-weight: 700;
    margin-top: 8px;
}

.progress-card-new {
    background: #00AEEF;
    border-radius: 18px;
    padding: 16px;
}

.progress-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-subject-tag {
    background: rgba(0,0,80,0.12);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 100px;
}

.progress-week {
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.progress-stats {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.progress-stat {
    flex: 1;
    background: rgba(0,0,80,0.15);
    border-radius: 14px;
    padding: 12px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.progress-stat-val {
    color: white;
    font-weight: 800;
    font-size: 18px;
}

    .progress-stat-val.streak {
        color: #ffd23f;
    }

.progress-stat-lbl {
    color: rgba(255,255,255,0.8);
    font-size: 10.5px;
    font-weight: 800;
}

.progress-syllabus {
    margin-top: 14px;
}

.progress-syllabus-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
    color: white;
    font-weight: 700;
    font-size: 12.5px;
}

.progress-bar-track {
    height: 6px;
    background: rgba(0,0,80,0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: #001E4F;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.dash-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: white;
    border-top: 1px solid rgba(0,30,79,0.08);
    padding: 14px 0 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 50;
}

.dash-nav-item {
    font-size: 20px;
    color: rgba(0,30,79,0.35);
    text-decoration: none;
    transition: all 0.2s;
}

    .dash-nav-item.active {
        color: #001E4F;
    }

    .dash-nav-item:hover {
        color: #001E4F;
    }

.dash-nav-fab {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #001E4F;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00AEEF;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,30,79,0.25);
    transition: transform 0.2s;
}

    .dash-nav-fab:hover {
        transform: scale(1.05);
    }

/* ════════════════════════════════════════
   LESSON PAGE
   ════════════════════════════════════════ */
.lesson-page {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: #00008F;
    font-family: 'Inter', system-ui, sans-serif;
    display: flex;
    flex-direction: column;
}

.lesson-loading {
    text-align: center;
    padding: 60px 20px;
    color: white;
}

.lesson-video-section {
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}

.lesson-video-player {
    position: relative;
    height: 460px;
    background: linear-gradient(160deg, #1a2060, #0d1440);
    overflow: hidden;
    flex-shrink: 0;
}

.lesson-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lesson-lisa-video {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 105%;
    width: auto;
    object-fit: cover;
}

.lesson-video-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.lesson-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,100,0.55) 0%, transparent 22%, transparent 70%, rgba(0,0,100,0.5) 100%);
    pointer-events: none;
}

.lesson-video-header {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.lesson-back-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.lesson-video-title {
    color: white;
    font-weight: 800;
    font-size: 15.5px;
}

.lesson-play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s;
}

    .lesson-play-btn:hover {
        background: rgba(255,255,255,0.28);
    }

.play-triangle {
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 17px solid white;
    margin-left: 4px;
}

.pause-bars {
    display: flex;
    gap: 4px;
    align-items: center;
}

    .pause-bars span {
        display: block;
        width: 4px;
        height: 18px;
        background: white;
        border-radius: 2px;
    }

.lesson-sheet {
    position: relative;
    margin-top: -20px;
    background: white;
    border-radius: 22px 22px 0 0;
    padding: 22px 20px 100px;
    flex: 1;
    z-index: 1;
}

.lesson-sheet-title {
    color: #001E4F;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.3px;
    margin: 0 0 4px;
}

.lesson-sheet-sub {
    color: rgba(0,30,79,0.6);
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 14px;
}

.lesson-sheet-text {
    color: rgba(0,30,79,0.65);
    font-size: 13px;
    line-height: 1.65;
    margin: 0;
}

.lesson-feedback-row {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin: 16px 0;
    font-size: 18px;
}

.lesson-feedback-icon {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

    .lesson-feedback-icon:hover {
        opacity: 1;
    }

.teacher-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0,174,239,0.06);
    border: 1px solid rgba(0,174,239,0.25);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.teacher-photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00AEEF;
}

.teacher-photo-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #00AEEF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}

.teacher-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.teacher-name {
    font-weight: 700;
    font-size: 13.5px;
    color: #001E4F;
}

.teacher-school {
    font-size: 11.5px;
    color: rgba(0,30,79,0.5);
}

.teacher-verified {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #00AEEF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.lesson-btn-row {
    display: flex;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    padding: 12px 20px 28px;
    background: white;
    border-top: 1px solid rgba(0,30,79,0.06);
    z-index: 10;
}

.lesson-btn-outline {
    flex: 1;
    text-align: center;
    border: 1.5px solid #001E4F;
    color: #001E4F;
    font-weight: 800;
    font-size: 13.5px;
    padding: 13px;
    border-radius: 100px;
    background: none;
    cursor: pointer;
    transition: all 0.2s;
}

    .lesson-btn-outline:hover {
        background: #001E4F;
        color: white;
    }

.lesson-btn-primary {
    flex: 1;
    text-align: center;
    background: #00AEEF;
    color: white;
    font-weight: 800;
    font-size: 13.5px;
    padding: 13px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

    .lesson-btn-primary:hover {
        background: #0099D4;
    }

    .lesson-btn-primary:disabled {
        background: #ccc;
        cursor: default;
    }

.lisa-help-bubble {
    position: fixed;
    right: 16px;
    bottom: 96px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lisa-bubble-text {
    background: #001830;
    border: 1px solid #00AEEF;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 7px 11px;
    border-radius: 14px 14px 2px 14px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.lisa-bubble-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #00AEEF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,174,239,0.4);
}

.quiz-page-dark {
    min-height: 100vh;
    background: #00008F;
    padding: 20px 20px 100px;
    color: white;
}

.quiz-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.lesson-back-btn-dark {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
}

.quiz-title {
    font-weight: 800;
    font-size: 17px;
}

.quiz-counter {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

.quiz-progress {
    margin-bottom: 24px;
}

.quiz-question {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    margin: 24px 0;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    border: 1.5px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    cursor: pointer;
    color: white;
    transition: all 0.15s;
}

    .quiz-option.selected {
        border-color: #00AEEF;
        background: rgba(0,174,239,0.15);
    }

.quiz-option-letter {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.quiz-submit {
    position: fixed;
    bottom: 28px;
    left: 20px;
    right: 20px;
    max-width: 440px;
    margin: 0 auto;
}

.results-page-dark {
    min-height: 100vh;
    background: #00008F;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: white;
    gap: 12px;
}

.results-icon {
    font-size: 64px;
}

.results-score {
    font-size: 48px;
    font-weight: 800;
    color: #00AEEF;
}

.results-msg {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin: 0;
}

.results-sub {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    margin: 0 0 24px;
}

/* ════════════════════════════════════════
   TOPICS PAGE
   ════════════════════════════════════════ */
.topics-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 20px;
}

.track-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

    .track-card h3 {
        color: var(--primary);
    }

.mastery-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.subtopic-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    cursor: pointer;
    font-size: 15px;
}

    .subtopic-row:hover {
        color: var(--accent);
    }

.chevron {
    color: var(--muted);
    font-size: 20px;
}

/* ════════════════════════════════════════
   DIAGNOSTIC PAGE
   ════════════════════════════════════════ */
.diagnostic-page {
    max-width: 700px;
    margin: 0 auto;
    padding: 24px 20px;
    min-height: 100vh;
    background: var(--primary);
    color: white;
}

.diag-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

    .diag-header .back-btn {
        background: rgba(255,255,255,0.1);
        border: none;
        color: white;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 18px;
        cursor: pointer;
    }

.diag-title {
    flex: 1;
    text-align: center;
}

.diag-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--accent);
    margin: 0;
}

.diag-counter {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.subtopic-chip {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: rgba(200,235,255,0.9);
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin: 16px 0;
}

.diag-question {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-align: center;
    line-height: 1.5;
    margin: 16px 0 24px;
}

.diagnostic-page .option {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    margin-bottom: 12px;
}

    .diagnostic-page .option:hover {
        border-color: var(--accent);
    }

    .diagnostic-page .option.selected {
        border-color: var(--accent);
        background: rgba(0,174,239,0.15);
    }

.diagnostic-page .option-letter {
    background: rgba(255,255,255,0.1);
    color: white;
}

.diagnostic-page .option span:last-child {
    color: white;
}

.diagnostic-page .feedback.correct {
    background: rgba(0,174,239,0.3);
    color: white;
}

.diagnostic-page .feedback.wrong {
    background: rgba(255,107,107,0.3);
    color: white;
}

.diagnostic-page .submit-btn {
    margin-top: 24px;
    background: var(--accent);
    color: white;
}

    .diagnostic-page .submit-btn:disabled {
        background: rgba(255,255,255,0.15);
        color: rgba(255,255,255,0.4);
    }

/* ════════════════════════════════════════
   WEAKNESS MAP
   ════════════════════════════════════════ */
.weakness-page {
    max-width: 700px;
    margin: 0 auto;
    min-height: 100vh;
}

.weakness-header {
    background: var(--primary);
    padding: 32px 20px 40px;
    text-align: center;
    color: white;
}

.weakness-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.weakness-subtitle {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    margin-bottom: 20px;
}

.score-circle {
    width: 110px;
    height: 110px;
    border-radius: 55px;
    background: rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.score-pct {
    font-size: 34px;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.score-lbl {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.weakness-content {
    padding: 24px 16px;
}

.section-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    margin-top: 8px;
}

.weak-tag {
    color: #FF6B6B;
}

.strong-tag {
    color: var(--accent);
}

.result-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid;
    margin-bottom: 8px;
}

.weak-card {
    background: #FFF5F5;
    border-color: #FFCCCC;
}

.strong-card {
    background: #F0F9FF;
    border-color: #BAE6FD;
}

.result-card-left {
    flex: 1;
}

.result-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.result-name {
    font-size: 14px;
    color: var(--primary);
}

.score-badge {
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
}

.weak-badge {
    background: #FFEEEE;
    color: #CC3333;
}

.strong-badge {
    background: #E0F2FE;
    color: #0077AA;
}

.view-lesson {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    cursor: pointer;
}

    .view-lesson:hover {
        opacity: 0.8;
    }

.weakness-actions {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 40px;
}

/* ════════════════════════════════════════
   SELECT SUBJECT
   ════════════════════════════════════════ */
.select-subject-page {
    max-width: 700px;
    margin: 0 auto;
    padding: 24px 20px;
    min-height: 100vh;
}

.select-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.select-title {
    color: var(--primary);
    font-size: 22px;
    font-weight: 700;
}

.select-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--muted);
    margin-bottom: 10px;
}

.subject-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--card);
    border-radius: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.15s;
}

    .subject-row:hover {
        transform: translateY(-1px);
    }

.subject-row-active {
    border: 2px solid var(--accent);
    background: rgba(0,174,239,0.05);
}

.subject-row-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.subject-row-name {
    font-weight: 600;
    color: var(--primary);
    font-size: 15px;
}

.subject-row-form {
    font-size: 12px;
    color: var(--muted);
}

.subject-active-badge {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.subject-chevron {
    color: var(--muted);
    font-size: 22px;
}

.available-row {
    opacity: 0.85;
}

    .available-row:hover {
        opacity: 1;
    }

.add-badge {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.form-filter-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.form-filter-btn {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

    .form-filter-btn.active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

/* ════════════════════════════════════════
   GET TOKEN PAGE
   ════════════════════════════════════════ */
.gettoken-page {
    min-height: 100vh;
    background: var(--bg);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 16px 48px;
}

.gettoken-card {
    width: 100%;
    max-width: 480px;
}

.gettoken-header {
    margin: 24px 0;
    text-align: center;
}

    .gettoken-header h2 {
        font-size: 24px;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 4px;
    }

    .gettoken-header p {
        color: var(--muted);
        font-size: 14px;
    }

.gettoken-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

    .gettoken-divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: var(--border);
    }

    .gettoken-divider span {
        background: var(--bg);
        padding: 0 12px;
        color: var(--muted);
        font-size: 13px;
        position: relative;
    }

.step-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--muted);
    margin-bottom: 6px;
    margin-top: 16px;
}

.token-row {
    display: flex;
    gap: 8px;
}

    .token-row input {
        flex: 1;
    }

.token-verified {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.field-hint {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
}

.howto-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    padding-bottom: 8px;
}

    .step-content h3 {
        font-size: 16px;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 8px;
    }

.step-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.step-connector {
    width: 2px;
    height: 20px;
    background: var(--border);
    margin: 8px 0 8px 17px;
}

.package-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--card);
    border-radius: 12px;
    border: 1.5px solid var(--accent);
    margin-bottom: 16px;
}

.package-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.package-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
}

.package-desc {
    font-size: 12px;
    color: var(--muted);
}

.package-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
}

    .package-price small {
        font-size: 12px;
        font-weight: 400;
        color: var(--muted);
    }

.includes-card {
    background: var(--card);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    border: 1px solid var(--border);
}

.includes-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.includes-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text);
}

.includes-check {
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
}

.proof-fields {
    background: var(--card);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.proof-field {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .proof-field:last-child {
        border-bottom: none;
    }

.proof-label {
    font-size: 13px;
    color: var(--muted);
}

    .proof-label::before {
        content: '•';
        color: var(--accent);
        margin-right: 8px;
    }

.payment-methods {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 20px;
}

.linkwa-coming-soon {
    position: relative;
    margin-top: 4px;
}

/* ════════════════════════════════════════
   PAYMENT RETURN
   ════════════════════════════════════════ */
.payment-return-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--bg);
}

.verifying-state, .success-state, .failed-state {
    text-align: center;
    max-width: 360px;
}

.verify-spinner {
    width: 56px;
    height: 56px;
    border: 4px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 24px;
}

.success-icon, .failed-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.verifying-state h2, .success-state h2, .failed-state h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.verifying-state p, .success-state p, .failed-state p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 24px;
}

/* ════════════════════════════════════════
   QUIZ (shared)
   ════════════════════════════════════════ */
.option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

    .option:hover {
        border-color: var(--accent);
    }

    .option.selected {
        border-color: var(--accent);
        background: rgba(0,174,239,0.08);
    }

.option-letter {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg);
    font-weight: 600;
    font-size: 14px;
}

.feedback {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 12px 0;
    font-weight: 500;
}

    .feedback.correct {
        background: #D1FAE5;
        color: #065F46;
    }

    .feedback.wrong {
        background: #FEE2E2;
        color: #991B1B;
    }

/* ════════════════════════════════════════
   ADMIN
   ════════════════════════════════════════ */
.admin-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 24px 20px 48px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.admin-sub {
    color: var(--muted);
    font-size: 13px;
}

.admin-logout {
    padding: 8px 16px;
    font-size: 13px;
}

.admin-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border);
}

.admin-tab {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

    .admin-tab.active, .admin-tab:hover {
        color: var(--primary);
        border-bottom-color: var(--accent);
    }

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.admin-stat-card {
    background: var(--card);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    border: 1.5px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .admin-stat-card.used {
        border-color: #FFCCCC;
        background: #FFF5F5;
    }

    .admin-stat-card.available {
        border-color: #BAE6FD;
        background: #F0F9FF;
    }

.stat-big {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
}

.admin-stat-card.used .stat-big {
    color: #CC3333;
}

.admin-stat-card.available .stat-big {
    color: #0077AA;
}

.stat-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.admin-section {
    background: var(--card);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.admin-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.generate-form {
    max-width: 500px;
}

.filter-row {
    display: flex;
    gap: 8px;
}

    .filter-row select {
        padding: 8px 12px;
        border-radius: 8px;
        border: 1px solid var(--border);
        font-size: 13px;
        background: var(--bg);
        color: var(--text);
    }

.tokens-table-wrap {
    overflow-x: auto;
}

.tokens-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    .tokens-table th {
        text-align: left;
        padding: 10px 12px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        color: var(--muted);
        border-bottom: 2px solid var(--border);
    }

    .tokens-table td {
        padding: 12px;
        border-bottom: 1px solid var(--border);
        color: var(--text);
    }

    .tokens-table tr:last-child td {
        border-bottom: none;
    }

    .tokens-table tr:hover td {
        background: var(--bg);
    }

.token-code {
    font-family: monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary);
}

.token-date {
    color: var(--muted);
    font-size: 13px;
}

.status-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

    .status-badge.available {
        background: #E0F2FE;
        color: #0077AA;
    }

    .status-badge.used {
        background: #FFEEEE;
        color: #CC3333;
    }

.upload-progress {
    margin-bottom: 16px;
}

@media (max-width: 480px) {
    .admin-stats {
        gap: 8px;
    }

    .stat-big {
        font-size: 28px;
    }
}


/* ── Add Subjects page ── */
.subjects-card {
    max-width: 420px;
}

.reg-logo {
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 8px;
}

.logo-edu {
    color: var(--primary);
}

.logo-smart {
    color: var(--accent);
    font-style: italic;
}

.reg-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 6px;
}

.reg-sub {
    text-align: center;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 24px;
}

/* Trial slot grid */
.trial-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 8px;
}

.trial-slot {
    aspect-ratio: 1;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.15s;
}

.trial-slot--filled {
    background: var(--accent);
    color: #fff;
}

.trial-slot--empty {
    background: rgba(0, 174, 239, 0.08);
    border: 2px dashed rgba(0, 174, 239, 0.35);
}

.slot-code {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
}

.slot-plus {
    font-size: 26px;
    font-weight: 300;
    color: rgba(0, 174, 239, 0.4);
}

.slot-remove {
    position: absolute;
    top: 6px;
    right: 7px;
    background: rgba(255,255,255,0.25);
    border: none;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.slots-label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.limit-notice {
    background: rgba(0, 174, 239, 0.08);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    text-align: center;
    margin: 12px 0;
}

.btn-full {
    width: 100%;
}

.trial-note {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════
   DESKTOP / MOBILE VISIBILITY SPLIT
═══════════════════════════════════════════════════════ */
.desktop-landing {
    display: none;
}

.mobile-landing {
    display: block;
}

@media (min-width: 900px) {
    .desktop-landing {
        display: block;
    }

    .mobile-landing {
        display: none;
    }
}


/* ═══════════════════════════════════════════════════════
   DESKTOP LANDING — BASE TOKENS
═══════════════════════════════════════════════════════ */
.desktop-landing {
    --dl-navy: #001E4F;
    --dl-accent: #00AEEF;
    --dl-accent2: #0099D4;
    --dl-bg: #F5F7FA;
    --dl-white: #FFFFFF;
    --dl-muted: #6B7A99;
    font-family: 'Inter', sans-serif;
    color: var(--dl-navy);
    background: var(--dl-bg);
}


/* ═══════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════ */
.dl-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 30, 79, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dl-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 68px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.dl-nav-links {
    display: flex;
    gap: 32px;
    flex: 1;
}

    .dl-nav-links a {
        color: rgba(255,255,255,0.65);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.15s;
    }

        .dl-nav-links a:hover {
            color: #fff;
        }

.dl-nav-auth {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dl-btn-ghost {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.85);
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}

    .dl-btn-ghost:hover {
        border-color: rgba(255,255,255,0.6);
        color: #fff;
    }

.dl-btn-accent {
    background: var(--dl-accent);
    border: none;
    color: #fff;
    padding: 9px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

    .dl-btn-accent:hover {
        background: var(--dl-accent2);
        transform: translateY(-1px);
    }

.dl-btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 10px;
}


/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.dl-hero {
    background: var(--dl-navy);
    padding-top: 68px; /* nav height */
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

    /* subtle grid texture */
    .dl-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(0,174,239,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,174,239,0.04) 1px, transparent 1px);
        background-size: 60px 60px;
        pointer-events: none;
    }

.dl-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px 120px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.dl-eyebrow {
    display: inline-block;
    background: rgba(0,174,239,0.15);
    color: var(--dl-accent);
    border: 1px solid rgba(0,174,239,0.3);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.dl-headline {
    font-size: clamp(40px, 4vw, 58px);
    font-weight: 900;
    color: #fff;
    line-height: 1.08;
    margin: 0 0 20px;
    letter-spacing: -1.5px;
}

.dl-headline-accent {
    color: var(--dl-accent);
}

.dl-hero-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 480px;
}

.dl-hero-cta-row {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 20px;
}

.dl-hero-trust {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 32px;
}

    .dl-hero-trust span {
        display: flex;
        align-items: center;
        gap: 4px;
    }

.dl-campus-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dl-campus-pill {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
}

.dl-campus-live {
    background: rgba(0,174,239,0.2);
    color: var(--dl-accent);
    border: 1px solid rgba(0,174,239,0.4);
}

.dl-campus-soon {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.1);
}


/* ── Phone mockup ── */
.dl-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.dl-phone-mockup {
    width: 260px;
    background: #0a1628;
    border-radius: 36px;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 0 8px rgba(0,174,239,0.06), 0 40px 80px rgba(0,0,0,0.5);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.dl-phone-screen {
    padding: 20px 16px 24px;
}

.dl-mock-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.dl-mock-logo {
    font-size: 16px;
    font-weight: 900;
    color: var(--dl-navy);
    background: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: -0.5px;
}

    .dl-mock-logo span {
        color: var(--dl-accent);
    }

.dl-mock-avatar {
    width: 30px;
    height: 30px;
    background: var(--dl-navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.dl-mock-pill {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    border-radius: 8px;
    margin-bottom: 14px;
    text-align: center;
}

.dl-mock-card {
    background: var(--dl-accent);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.dl-mock-lisa {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 110px;
    object-fit: contain;
    opacity: 0.9;
}

.dl-mock-card-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.dl-mock-card-title {
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.dl-mock-card-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.65);
    margin-top: 6px;
    position: relative;
    z-index: 1;
}

.dl-mock-greeting {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 2px;
}

    .dl-mock-greeting span {
        color: var(--dl-accent);
    }

.dl-mock-sub {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 12px;
}

.dl-mock-dots {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}

.dot--active {
    background: var(--dl-accent);
    width: 18px;
    border-radius: 3px;
}

/* Floating stat cards */
.dl-float-card {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0,30,79,0.18);
    z-index: 3;
}

.dl-float-1 {
    top: 40px;
    left: -30px;
}

.dl-float-2 {
    bottom: 60px;
    right: -30px;
}

.dl-float-icon {
    font-size: 22px;
}

.dl-float-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

    .dl-float-text strong {
        font-size: 16px;
        font-weight: 900;
        color: var(--dl-navy);
    }

    .dl-float-text span {
        font-size: 11px;
        color: var(--dl-muted);
    }

/* Wave divider */
.dl-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

    .dl-wave svg {
        width: 100%;
        display: block;
    }


/* ═══════════════════════════════════════════════════════
   SECTIONS — SHARED
═══════════════════════════════════════════════════════ */
.dl-section {
    padding: 100px 0;
    background: var(--dl-bg);
}

.dl-section--light {
    background: #fff;
}

.dl-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.dl-section-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dl-accent);
    margin-bottom: 12px;
}

.dl-section-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 900;
    color: var(--dl-navy);
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin: 0 0 16px;
}

.dl-section-sub {
    font-size: 16px;
    color: var(--dl-muted);
    margin-bottom: 48px;
}


/* ═══════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════ */
.dl-steps-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 56px;
}

.dl-step {
    flex: 1;
    text-align: center;
    padding: 0 16px;
}

.dl-step-num {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(0,174,239,0.4);
    margin-bottom: 12px;
}

.dl-step-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.dl-step h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--dl-navy);
    margin: 0 0 10px;
    line-height: 1.3;
}

.dl-step p {
    font-size: 14px;
    color: var(--dl-muted);
    line-height: 1.65;
    margin: 0;
}

.dl-step-arrow {
    font-size: 22px;
    color: rgba(0,174,239,0.3);
    padding-top: 52px;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}


/* ═══════════════════════════════════════════════════════
   LISA FEATURE
═══════════════════════════════════════════════════════ */
.dl-lisa-section {
    background: var(--dl-navy);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

    .dl-lisa-section::before {
        content: '';
        position: absolute;
        top: -200px;
        right: -200px;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(0,174,239,0.12) 0%, transparent 70%);
        pointer-events: none;
    }

.dl-lisa-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: center;
}

.dl-lisa-image {
    display: flex;
    justify-content: center;
}

    .dl-lisa-image img {
        width: 320px;
        filter: drop-shadow(0 20px 60px rgba(0,174,239,0.3));
    }

.dl-lisa-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dl-lisa-feat {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feat-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.dl-lisa-feat div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dl-lisa-feat strong {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.dl-lisa-feat span {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════
   CURRICULA
═══════════════════════════════════════════════════════ */
.dl-curric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.dl-curric-card {
    border-radius: 16px;
    padding: 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1.5px solid transparent;
}

.dl-curric--live {
    background: rgba(0,174,239,0.06);
    border-color: rgba(0,174,239,0.25);
}

.dl-curric--building {
    background: #fff;
    border-color: rgba(0,30,79,0.08);
}

.dl-curric-flag {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.dl-curric-badge {
    display: inline-block;
    background: rgba(0,174,239,0.15);
    color: var(--dl-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 8px;
}

.dl-curric-badge--soon {
    background: rgba(0,30,79,0.06);
    color: var(--dl-muted);
}

.dl-curric-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--dl-navy);
    margin: 0 0 8px;
}

.dl-curric-card p {
    font-size: 13px;
    color: var(--dl-muted);
    line-height: 1.6;
    margin: 0;
}


/* ═══════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════ */
.dl-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
    align-items: stretch;
}

.dl-price-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1.5px solid rgba(0,30,79,0.08);
    display: flex;
    flex-direction: column;
    position: relative;
}

.dl-price-card--featured {
    background: var(--dl-navy);
    border-color: var(--dl-accent);
    transform: scale(1.03);
    box-shadow: 0 20px 60px rgba(0,30,79,0.2);
}

.dl-price-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dl-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 100px;
    white-space: nowrap;
}

.dl-price-header {
    margin-bottom: 24px;
}

    .dl-price-header h3 {
        font-size: 16px;
        font-weight: 700;
        margin: 0 0 12px;
        color: inherit;
    }

.dl-price-card--featured .dl-price-header h3 {
    color: rgba(255,255,255,0.7);
}

.dl-price-amount {
    font-size: 42px;
    font-weight: 900;
    color: var(--dl-navy);
    letter-spacing: -1.5px;
    line-height: 1;
    margin-bottom: 4px;
}

.dl-price-card--featured .dl-price-amount {
    color: #fff;
}

.dl-price-period {
    font-size: 13px;
    color: var(--dl-muted);
}

.dl-price-card--featured .dl-price-period {
    color: rgba(255,255,255,0.5);
}

.dl-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .dl-price-features li {
        font-size: 14px;
        color: var(--dl-navy);
        display: flex;
        align-items: center;
        gap: 8px;
    }

.dl-price-card--featured .dl-price-features li {
    color: rgba(255,255,255,0.8);
}

.dl-price-features li.muted {
    color: var(--dl-muted);
    opacity: 0.6;
}

.dl-price-btn {
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    margin-top: auto;
}

.dl-price-btn--accent {
    background: var(--dl-accent);
    border: none;
    color: #fff;
}

    .dl-price-btn--accent:hover {
        background: var(--dl-accent2);
    }

.dl-price-btn--ghost {
    background: transparent;
    border: 1.5px solid rgba(0,30,79,0.15);
    color: var(--dl-navy);
}

    .dl-price-btn--ghost:hover {
        border-color: var(--dl-accent);
        color: var(--dl-accent);
    }


/* ═══════════════════════════════════════════════════════
   FOOTER CTA
═══════════════════════════════════════════════════════ */
.dl-footer-cta {
    background: linear-gradient(135deg, var(--dl-navy) 0%, #002a6e 100%);
    padding: 80px 40px;
    text-align: center;
}

.dl-footer-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.dl-footer-cta h2 {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.8px;
}

.dl-footer-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 32px;
}


/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.dl-footer {
    background: #000e2a;
    padding: 60px 0 32px;
}

.dl-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: start;
}

.dl-footer-brand p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin: 8px 0 0;
    line-height: 1.5;
}

.dl-footer-links {
    display: flex;
    gap: 60px;
}

.dl-footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .dl-footer-col h4 {
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: rgba(255,255,255,0.35);
        margin: 0 0 4px;
    }

    .dl-footer-col a {
        font-size: 14px;
        color: rgba(255,255,255,0.5);
        text-decoration: none;
        transition: color 0.15s;
    }

        .dl-footer-col a:hover {
            color: #fff;
        }

.trial-info-box {
    background: rgba(0,174,239,0.06);
    border: 1px solid rgba(0,174,239,0.2);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trial-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--primary);
    line-height: 1.5;
}

    .trial-info-row a {
        color: var(--accent);
        font-weight: 700;
        text-decoration: none;
    }

/* ═══════════════════════════════════════════
   DASHBOARD PAGE
═══════════════════════════════════════════ */
.dash-page {
    background: #F5F7FA;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    padding-bottom: 40px;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
}

.dash-loading {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0,30,79,0.1);
    border-top-color: #00AEEF;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* ── Top bar ── */
.dash-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 0;
}

.dash-topbar-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-icon-btn {
    background: none;
    border: none;
    color: rgba(0,30,79,0.45);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

    .dash-icon-btn:hover {
        color: #001E4F;
    }

.dash-avatar-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #001E4F;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s;
}

    .dash-avatar-btn:hover {
        transform: scale(1.05);
    }

/* ── Subject pill ── */
.dash-subject-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 18px 0;
    padding: 11px 14px;
    background: #e5e5e5;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

    .dash-subject-pill:hover {
        background: #d8d8d8;
    }

.dash-subject-text {
    font-size: 12.5px;
    font-weight: 800;
    color: #001E4F;
    letter-spacing: 0.03em;
}

.dash-subject-swap {
    color: #001E4F;
    font-size: 16px;
}

/* ═══════════════════════════════════════════
   CAROUSEL
═══════════════════════════════════════════ */
.dash-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    height: 440px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Cards ── */
.carousel-card {
    position: absolute;
    width: 240px;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.carousel-card--center {
    background: #00AEEF;
    transform: translateX(0) scale(1) translateY(0);
    z-index: 3;
    box-shadow: 0 16px 48px rgba(0,174,239,0.35);
}

.carousel-card--left {
    background: #001E4F;
    transform: translateX(-155px) scale(0.86);
    z-index: 2;
    opacity: 0.85;
}

.carousel-card--right {
    background: #a8d8f0;
    transform: translateX(155px) scale(0.86);
    z-index: 2;
    opacity: 0.85;
}

.carousel-card--hidden {
    transform: translateX(0) scale(0.75);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

.carousel-empty {
    background: rgba(0,30,79,0.08);
    align-items: center;
    justify-content: center;
}

.carousel-empty-text {
    color: rgba(0,30,79,0.4);
    font-size: 14px;
    font-weight: 600;
}

/* ── Card content ── */
.carousel-lisa {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    height: 72%;
    object-fit: contain;
    z-index: 1;
}

.carousel-card-bottom {
    position: relative;
    z-index: 2;
}

.carousel-chip {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.carousel-title {
    color: #fff;
    font-weight: 900;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.carousel-why {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.carousel-num {
    position: absolute;
    bottom: 80px;
    left: 20px;
    font-size: 72px;
    font-weight: 900;
    color: rgba(255,255,255,0.25);
    line-height: 1;
    z-index: 1;
}

.carousel-duration {
    color: rgba(255,255,255,0.65);
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Arrows ── */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(0,30,79,0.3);
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    padding: 8px;
    transition: color 0.15s;
    line-height: 1;
}

    .carousel-arrow:hover {
        color: #001E4F;
    }

.carousel-arrow--left {
    left: 4px;
}

.carousel-arrow--right {
    right: 4px;
}

/* ── Greeting ── */
.dash-greeting-new {
    text-align: center;
    padding: 20px 18px 0;
}

.dash-hello-new {
    font-size: 32px;
    font-weight: 900;
    color: #001E4F;
    letter-spacing: -0.5px;
    margin: 0 0 4px;
}

.dash-name-accent {
    color: #00AEEF;
}

.dash-lessons-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: rgba(0,30,79,0.4);
    margin: 0;
}

/* ── Dots ── */
.carousel-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 14px;
}

.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0,30,79,0.15);
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-dot--active {
    background: #001E4F;
    width: 20px;
    border-radius: 4px;
}

/* ── Floating chat button ── */
.dash-fab {
    position: fixed;
    bottom: 32px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #001E4F;
    border: none;
    color: #00AEEF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,30,79,0.3);
    z-index: 40;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .dash-fab:hover {
        transform: scale(1.08);
        box-shadow: 0 8px 24px rgba(0,30,79,0.4);
    }

/* ── Trial banners ── */
.dash-trial-info {
    margin: 16px 18px 0;
    background: rgba(0,174,239,0.08);
    border: 1px solid rgba(0,174,239,0.2);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #00AEEF;
    text-align: center;
}

.dash-trial-warning {
    margin: 16px 18px 0;
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.25);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #991B1B;
    text-align: center;
}

    .dash-trial-warning a {
        color: #00AEEF;
        font-weight: 800;
        text-decoration: none;
    }

/* ═══════════════════════════════════════════
   FLYOUT PROFILE PANEL
═══════════════════════════════════════════ */
.flyout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    z-index: 50;
    animation: fadeIn 0.2s ease-out;
}

.flyout-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 88%;
    max-width: 340px;
    background: #fff;
    z-index: 51;
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.25s ease-out;
    overflow-y: auto;
}

.flyout-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(0,30,79,0.06);
}

.flyout-region {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: rgba(0,30,79,0.35);
}

/* ── Profile card ── */
.flyout-profile-card {
    margin: 16px;
    background: #001E4F;
    border-radius: 16px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

    .flyout-profile-card::before {
        content: '';
        position: absolute;
        top: -40px;
        right: -40px;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background: rgba(0,174,239,0.15);
        pointer-events: none;
    }

.flyout-profile-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.flyout-profile-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.flyout-name {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.flyout-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}

.flyout-plan-badge {
    display: inline-block;
    background: rgba(0,174,239,0.2);
    border: 1px solid rgba(0,174,239,0.4);
    color: #00AEEF;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 100px;
    margin-top: 6px;
    letter-spacing: 0.3px;
}

.flyout-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flyout-profile-btn {
    width: 100%;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
    text-align: center;
}

    .flyout-profile-btn:hover {
        background: rgba(255,255,255,0.18);
    }

/* ── Stats ── */
.flyout-section {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0,30,79,0.06);
}

.flyout-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.flyout-section-title {
    font-size: 14px;
    font-weight: 800;
    color: #001E4F;
}

.flyout-section-meta {
    font-size: 11px;
    font-weight: 700;
    color: #00AEEF;
    letter-spacing: 0.5px;
}

.flyout-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.flyout-stat {
    background: #F5F7FA;
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.flyout-stat-val {
    font-size: 22px;
    font-weight: 900;
    color: #001E4F;
    line-height: 1;
}

.flyout-stat-total {
    font-size: 13px;
    font-weight: 600;
    color: rgba(0,30,79,0.35);
}

.flyout-stat-lbl {
    font-size: 10px;
    font-weight: 700;
    color: rgba(0,30,79,0.4);
    letter-spacing: 0.5px;
}

/* ── Recent chats ── */
.flyout-all-btn {
    background: rgba(0,174,239,0.08);
    border: none;
    color: #00AEEF;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    cursor: pointer;
}

.flyout-chat-row {
    padding: 11px 0;
    border-bottom: 1px solid rgba(0,30,79,0.06);
    font-size: 13px;
    color: #001E4F;
    font-weight: 500;
}

    .flyout-chat-row:last-child {
        border-bottom: none;
    }

/* ── Bottom ── */
.flyout-bottom {
    padding: 16px 20px 32px;
    margin-top: auto;
}

.flyout-new-chat {
    width: 100%;
    padding: 14px;
    background: #001E4F;
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s;
}

    .flyout-new-chat:hover {
        background: #00AEEF;
    }

.chat-quota {
    text-align: center;
    font-size: 11px;
    color: rgba(0,30,79,0.35);
    padding: 4px 0 8px;
}

    .chat-quota a {
        color: #00AEEF;
        font-weight: 700;
        text-decoration: none;
    }

/* ═══════════════════════════════════════════
   CHAT PAGE
═══════════════════════════════════════════ */
.chat-page {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.chat-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 12px;
    background: #fff;
    border-bottom: 1px solid rgba(0,30,79,0.06);
    flex-shrink: 0;
}

.chat-topbar-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-date-sep {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: rgba(0,30,79,0.35);
    padding: 12px 0 8px;
    flex-shrink: 0;
}

/* ── Messages ── */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 40px 24px;
    text-align: center;
}

.chat-empty-lisa {
    width: 120px;
    margin-bottom: 16px;
}

.chat-empty-text {
    font-size: 15px;
    color: rgba(0,30,79,0.5);
    line-height: 1.6;
}

/* ── Bubbles ── */
.chat-bubble-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.chat-bubble-row--user {
    flex-direction: row-reverse;
}

.chat-bubble-row--lisa {
    flex-direction: row;
}

.chat-lisa-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(0,174,239,0.2);
}

    .chat-lisa-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }

.chat-bubble {
    max-width: 78%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.6;
}

.chat-bubble--user {
    background: #001E4F;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-bubble--lisa {
    background: #F5F7FA;
    color: #001E4F;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(0,30,79,0.08);
}

.chat-bubble--image {
    padding: 8px;
}

.chat-homework-img {
    width: 100%;
    max-width: 260px;
    border-radius: 12px;
    display: block;
    border: 2px solid rgba(0,30,79,0.15);
}

/* ── Markdown rendering ── */
.chat-markdown p {
    margin: 0 0 8px;
}

    .chat-markdown p:last-child {
        margin-bottom: 0;
    }

.chat-markdown strong {
    color: #001E4F;
    font-weight: 800;
}

.chat-list-item {
    display: flex;
    gap: 10px;
    margin: 6px 0;
    align-items: flex-start;
}

.chat-list-num {
    background: #001E4F;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.chat-rule {
    background: rgba(0,174,239,0.08);
    border-left: 3px solid #00AEEF;
    padding: 8px 12px;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    font-weight: 600;
    color: #001E4F;
    margin: 8px 0;
}

/* ── Typing indicator ── */
.chat-typing {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 4px 0;
}

    .chat-typing span {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: rgba(0,30,79,0.25);
        animation: chatTyping 1.2s ease-in-out infinite;
    }

        .chat-typing span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .chat-typing span:nth-child(3) {
            animation-delay: 0.4s;
        }

@keyframes chatTyping {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

/* ── Input bar ── */
.chat-input-bar {
    padding: 10px 16px 24px;
    background: #fff;
    border-top: 1px solid rgba(0,30,79,0.06);
    flex-shrink: 0;
}

.chat-image-preview {
    position: relative;
    display: inline-block;
    margin-bottom: 8px;
}

    .chat-image-preview img {
        height: 60px;
        border-radius: 10px;
        border: 2px solid rgba(0,174,239,0.3);
    }

.chat-image-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #001E4F;
    color: #fff;
    border: none;
    font-size: 9px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F5F7FA;
    border: 1.5px solid rgba(0,30,79,0.1);
    border-radius: 100px;
    padding: 10px 12px 10px 16px;
    transition: border-color 0.15s;
}

    .chat-input-row:focus-within {
        border-color: rgba(0,174,239,0.4);
    }

.chat-sparkle {
    color: #00AEEF;
    font-size: 16px;
    flex-shrink: 0;
}

.chat-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #001E4F;
    outline: none;
    font-family: 'Inter', sans-serif;
}

    .chat-input::placeholder {
        color: rgba(0,30,79,0.35);
    }

.chat-camera-btn {
    color: rgba(0,30,79,0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.15s;
    flex-shrink: 0;
}

    .chat-camera-btn:hover {
        color: #001E4F;
    }

.chat-send-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #001E4F;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, transform 0.1s;
}

    .chat-send-btn:hover:not(:disabled) {
        background: #00AEEF;
        transform: scale(1.05);
    }

    .chat-send-btn:disabled {
        background: rgba(0,30,79,0.15);
        cursor: not-allowed;
    }

/* ═══════════════════════════════════════════
   LOGIN PAGE
═══════════════════════════════════════════ */
.login-page {
    min-height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    font-family: 'Inter', sans-serif;
}

.login-card {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.login-logo {
    margin-bottom: 12px;
}

.login-sub {
    color: #666;
    font-size: 14px;
    margin-bottom: 28px;
    text-align: center;
}

.login-card .form-group {
    width: 100%;
    margin-bottom: 14px;
    text-align: left;
}

    .login-card .form-group label {
        color: #001E4F;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 6px;
        display: block;
    }

    .login-card .form-group input {
        width: 100%;
        padding: 13px 16px;
        background: #F5F7FA;
        border: 1.5px solid #E5E7EB;
        border-radius: 10px;
        font-size: 15px;
        color: #001E4F;
        transition: border-color 0.2s;
        font-family: 'Inter', sans-serif;
    }

        .login-card .form-group input::placeholder {
            color: #aaa;
        }

        .login-card .form-group input:focus {
            outline: none;
            border-color: #00AEEF;
            background: #fff;
        }

.login-btn-primary {
    width: 100%;
    padding: 14px;
    background: #001E4F;
    color: #fff;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    margin-bottom: 12px;
    transition: background 0.2s;
    background: #00AEEF;
}

    .login-btn-primary:hover:not(:disabled) {
        background: #0099D4;
    }

    .login-btn-primary:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.login-btn-outline {
    width: 100%;
    padding: 13px;
    background: transparent;
    border: 1.5px solid #001E4F;
    color: #001E4F;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    transition: border-color 0.2s, background 0.2s;
}

    .login-btn-outline:hover {
        border-color: #00AEEF;
        color: #00AEEF;
        background: transparent;
    }

.login-forgot {
    color: #00AEEF;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 32px;
}

    .login-forgot:hover {
        opacity: 0.8;
    }

.login-legal {
    color: rgba(0,30,79,0.3);
    font-size: 12px;
    text-align: center;
    margin: 0;
}

/* ═══════════════════════════════════════════
   REGISTER PAGE
═══════════════════════════════════════════ */
.reg-page {
    min-height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    font-family: 'Inter', sans-serif;
}

.reg-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
}

.reg-logo-wrap {
    text-align: center;
    margin-bottom: 24px;
}

.reg-step-line.active {
    background: var(--primary);
}

.reg-step-dot {
    transition: all 0.2s;
}

/* ═══════════════════════════════════════════
   LESSON PAGE — NEW DESIGN
═══════════════════════════════════════════ */
.lesson-page-new {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: #fff;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    position: relative;
}

.lesson-loading-new {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Top bar ── */
.lesson-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 12px;
    background: #fff;
    border-bottom: 1px solid rgba(0,30,79,0.06);
    flex-shrink: 0;
}

.lesson-brand {
    display: flex;
    align-items: center;
}

.lesson-topbar-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Breadcrumb ── */
.lesson-breadcrumb {
    text-align: center;
    padding: 8px 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: rgba(0,30,79,0.4);
    border-bottom: 1px solid rgba(0,30,79,0.06);
    flex-shrink: 0;
}

/* ── Scrollable content ── */
.lesson-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 18px 0;
}

/* ── Title ── */
.lesson-title {
    font-size: 24px;
    font-weight: 900;
    color: #001E4F;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 20px;
}

.lesson-number-tag {
    font-size: 20px;
    font-weight: 700;
    color: rgba(0,30,79,0.4);
    margin-left: 6px;
}

/* ── Video ── */
.lesson-video-wrap {
    border-radius: 16px;
    overflow: hidden;
    background: #0a1628;
    margin-bottom: 20px;
    position: relative;
}

.lesson-video-player-new {
    width: 100%;
    display: block;
    max-height: 240px;
    object-fit: cover;
}

.lesson-video-controls {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
}

.lesson-play-btn-new {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0,174,239,0.85);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* ── Formula / key concept box ── */
.lesson-formula-box {
    background: rgba(0,174,239,0.08);
    border-radius: 16px;
    padding: 24px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.lesson-formula-text {
    font-size: 24px;
    font-weight: 900;
    color: #001E4F;
    text-align: center;
    letter-spacing: -0.5px;
}

/* ── Lesson body text ── */
.lesson-text-body {
    font-size: 14px;
    color: rgba(0,30,79,0.65);
    line-height: 1.7;
    margin: 0 0 20px;
}

/* ── Feedback row ── */
.lesson-feedback-row-new {
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 16px 0;
}

.lesson-feedback-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.15s, transform 0.15s;
    padding: 4px;
}

    .lesson-feedback-btn:hover,
    .lesson-feedback-btn.active {
        opacity: 1;
        transform: scale(1.15);
    }

/* ── Fixed bottom bar ── */
.lesson-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-top: 1px solid rgba(0,30,79,0.08);
    padding: 12px 18px 28px;
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 20;
}

.lesson-back-pill {
    padding: 12px 24px;
    background: transparent;
    border: 1.5px solid #001E4F;
    color: #001E4F;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}

    .lesson-back-pill:hover {
        background: #001E4F;
        color: #fff;
    }

.lesson-quiz-btn {
    flex: 1;
    padding: 13px;
    background: #001E4F;
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

    .lesson-quiz-btn:hover:not(:disabled) {
        background: #00AEEF;
    }

    .lesson-quiz-btn:disabled {
        background: rgba(0,30,79,0.2);
        cursor: not-allowed;
    }

/* ═══════════════════════════════════════════
   QUIZ
═══════════════════════════════════════════ */
.quiz-header-new {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}

.quiz-label {
    font-size: 22px;
    font-weight: 900;
    color: #001E4F;
}

.quiz-number-badge {
    font-size: 22px;
    font-weight: 900;
    color: #001E4F;
}

.quiz-progress-bar {
    height: 4px;
    background: rgba(0,30,79,0.08);
    border-radius: 2px;
    margin-bottom: 20px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: #00AEEF;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.quiz-question-text {
    font-size: 14px;
    color: rgba(0,30,79,0.65);
    line-height: 1.6;
    margin: 0 0 20px;
}

.quiz-options-new {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-option-new {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #001E4F;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.15s;
    text-align: left;
    width: 100%;
}

    .quiz-option-new:hover {
        background: #002a6e;
    }

.quiz-option-new--selected {
    background: #00AEEF;
}

.quiz-option-letter-new {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quiz-option-text {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   RESULTS
═══════════════════════════════════════════ */
.results-page-new {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    text-align: center;
    gap: 12px;
}

.results-icon-new {
    font-size: 64px;
}

.results-score-new {
    font-size: 52px;
    font-weight: 900;
    color: #00AEEF;
    letter-spacing: -2px;
}

.results-msg-new {
    font-size: 20px;
    font-weight: 800;
    color: #001E4F;
    margin: 0;
}

.results-sub-new {
    font-size: 14px;
    color: rgba(0,30,79,0.5);
    margin: 0 0 16px;
}

.results-btn-row {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 320px;
}

/* ═══════════════════════════════════════════
   TOPICS PAGE — NEW DESIGN
═══════════════════════════════════════════ */
.topics-page-new {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: #F5F7FA;
    font-family: 'Inter', sans-serif;
    padding-bottom: 80px;
}

.topics-header {
    padding: 20px 18px 12px;
    background: #fff;
    border-bottom: 1px solid rgba(0,30,79,0.06);
}

.topics-title {
    font-size: 26px;
    font-weight: 900;
    color: #001E4F;
    letter-spacing: -0.5px;
    margin: 0 0 4px;
}

.topics-sub {
    font-size: 13px;
    color: rgba(0,30,79,0.45);
    margin: 0;
    font-weight: 500;
}

.topics-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.topics-empty {
    text-align: center;
    padding: 60px 24px;
    color: rgba(0,30,79,0.4);
    font-size: 14px;
}

/* ── Track list ── */
.topics-list {
    padding: 16px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.topic-track-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,30,79,0.06);
    border: 1px solid rgba(0,30,79,0.06);
}

/* ── Track header ── */
.topic-track-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    cursor: pointer;
    transition: background 0.15s;
}

    .topic-track-header:hover {
        background: rgba(0,30,79,0.02);
    }

.topic-track-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topic-track-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(0,174,239,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.topic-track-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.topic-track-name {
    font-size: 15px;
    font-weight: 800;
    color: #001E4F;
    line-height: 1.2;
}

.topic-track-meta {
    font-size: 12px;
    color: rgba(0,30,79,0.4);
    font-weight: 500;
}

.topic-track-chevron {
    font-size: 20px;
    color: rgba(0,30,79,0.3);
    transition: transform 0.2s;
    font-weight: 300;
}

    .topic-track-chevron.expanded {
        transform: rotate(90deg);
    }

/* ── Progress bar ── */
.topic-progress-bar {
    height: 3px;
    background: rgba(0,30,79,0.06);
    overflow: hidden;
}

.topic-progress-fill {
    height: 100%;
    background: #00AEEF;
    transition: width 0.4s ease;
}

/* ── Subtopics list ── */
.topic-subtopics {
    border-top: 1px solid rgba(0,30,79,0.06);
    padding: 8px 0;
}

.topic-subtopic-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px 13px 20px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(0,30,79,0.04);
}

    .topic-subtopic-row:last-child {
        border-bottom: none;
    }

    .topic-subtopic-row:hover {
        background: rgba(0,174,239,0.04);
    }

.topic-subtopic-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.topic-subtopic-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,174,239,0.3);
    flex-shrink: 0;
}

.topic-subtopic-name {
    font-size: 14px;
    font-weight: 600;
    color: #001E4F;
    line-height: 1.3;
}

.topic-subtopic-arrow {
    font-size: 18px;
    color: rgba(0,30,79,0.25);
    font-weight: 300;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   WEAKNESS MAP — NEW DESIGN
═══════════════════════════════════════════ */
.weakness-page-new {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: #F5F7FA;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.weakness-loading {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Empty state ── */
.weakness-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
    gap: 12px;
}

.weakness-empty-icon {
    font-size: 56px;
}

.weakness-empty h3 {
    font-size: 22px;
    font-weight: 800;
    color: #001E4F;
    margin: 0;
}

.weakness-empty p {
    font-size: 14px;
    color: rgba(0,30,79,0.5);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 0 8px;
}

/* ── Score hero ── */
.wm-score-hero {
    background: #001E4F;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

    .wm-score-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(0,174,239,0.08) 1.5px, transparent 1.5px);
        background-size: 18px 18px;
        pointer-events: none;
    }

.wm-score-ring {
    position: relative;
    flex-shrink: 0;
}

.wm-score-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wm-score-pct {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.wm-score-lbl {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.5px;
}

.wm-score-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.wm-score-name {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.3px;
}

.wm-score-detail {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.wm-score-grade {
    display: inline-block;
    background: rgba(0,174,239,0.2);
    border: 1px solid rgba(0,174,239,0.4);
    color: #00AEEF;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    margin-top: 4px;
    width: fit-content;
}

/* ── Content ── */
.wm-content {
    padding: 16px;
}

.wm-section-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 12px 4px 8px;
}

.wm-label-weak {
    color: #EF4444;
}

.wm-label-strong {
    color: #00AEEF;
}

.wm-result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 8px;
    border: 1px solid transparent;
}

.wm-card-weak {
    background: #FFF5F5;
    border-color: #FFCCCC;
}

.wm-card-strong {
    background: #F0F9FF;
    border-color: #BAE6FD;
}

.wm-result-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.wm-result-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.wm-dot-weak {
    background: #EF4444;
}

.wm-dot-strong {
    background: #00AEEF;
}

.wm-result-name {
    font-size: 13px;
    font-weight: 600;
    color: #001E4F;
    line-height: 1.3;
}

.wm-result-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wm-score-badge {
    font-size: 12px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 100px;
}

.wm-badge-weak {
    background: #FEE2E2;
    color: #991B1B;
}

.wm-badge-strong {
    background: #E0F2FE;
    color: #0077AA;
}

.wm-view-btn {
    background: none;
    border: none;
    color: #00AEEF;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════
   SHARE CARD MODAL
═══════════════════════════════════════════ */
.share-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: fadeIn 0.2s ease-out;
}

.share-modal {
    width: 100%;
    max-width: 480px;
    background: #001E4F;
    border-radius: 28px 28px 0 0;
    padding: 24px 20px 40px;
    animation: slideUp 0.3s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* ── The shareable card ── */
.share-card {
    width: 300px;
    height: 480px;
    background: #001E4F;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(0,174,239,0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.share-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.share-card-pattern {
    width: 100%;
    height: 100%;
}

.share-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px 20px;
    height: 100%;
}

/* Logo */
.share-card-logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.share-logo-edu {
    color: #fff;
}

.share-logo-smart {
    color: #00AEEF;
    font-style: italic;
}

.share-logo-campus {
    font-size: 16px;
    color: #00AEEF;
    margin-left: 2px;
}

/* Lisa */
.share-card-lisa {
    width: 100px;
    object-fit: contain;
    margin: -4px 0 -12px;
    filter: drop-shadow(0 8px 24px rgba(0,174,239,0.3));
}

/* Score circle */
.share-card-score-wrap {
    position: relative;
    margin: 4px 0;
}

.share-card-score-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.share-card-pct {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.share-card-score-lbl {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.5px;
}

/* Name */
.share-card-name {
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    margin-top: 4px;
    letter-spacing: -0.3px;
}

.share-card-grade {
    font-size: 13px;
    font-weight: 700;
    color: #00AEEF;
    margin-bottom: 12px;
}

/* Stats */
.share-card-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 12px 20px;
    width: 100%;
    justify-content: space-between;
}

.share-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.share-stat-val {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.share-stat-lbl {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.3px;
}

.share-stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,0.12);
}

/* CTA */
.share-card-cta {
    margin-top: auto;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    text-align: center;
}

    .share-card-cta strong {
        color: #00AEEF;
    }

/* ── Share actions ── */
.share-hint {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-align: center;
    margin: 0;
}

.share-whatsapp-btn {
    width: 100%;
    max-width: 280px;
    padding: 14px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.15s;
}

    .share-whatsapp-btn:hover {
        opacity: 0.9;
    }

.share-close-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
    padding: 10px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s;
}

    .share-close-btn:hover {
        border-color: rgba(255,255,255,0.5);
        color: #fff;
    }