
/* =========================================
   国际化教研视觉排版 (Academic & Interactive)
   ========================================= */


* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
    --navbar-height: 58px;
    --dock-height: 58px;
    --capture-height: 48px;
    --elevator-height: 44px;
    --fixed-actions-gap: 10px;
    --fixed-actions-total: 132px;
}

body {
    margin: 0; background-color: var(--bg-page); color: var(--text-main);
    font-family: var(--font-sans); line-height: 1.7; -webkit-font-smoothing: antialiased;
}

/* 优雅的入场动画类 */
.fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   公式引擎
   ========================================= */
.math { font-family: var(--font-serif); font-size: 1.1em; font-style: italic; font-weight: 600; padding: 0 4px; }
.math sup { font-size: 0.7em; vertical-align: super; }
.frac { display: inline-flex; flex-direction: column; align-items: center; vertical-align: middle; margin: 0 0.15em; font-size: 0.85em; line-height: 1.2; }
.frac .top { border-bottom: 2px solid currentColor; padding: 0 0.1em; }
.frac .bot { padding: 0 0.1em; }

/* =========================================
   顶部导航条
   ========================================= */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: hsl(var(--color-surface) / 95%); backdrop-filter: blur(12px);
    border-bottom: var(--border-soft); box-shadow: var(--shadow-nav);
    padding: 14px 24px; display: flex; justify-content: space-between; align-items: center;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--edu-blue); }
.brand-icon {
    background: var(--edu-blue); color: white; width: 30px; height: 30px;
    display: flex; justify-content: center; align-items: center; border-radius: 6px; font-weight: 900;
}
.nav-btn {
    background: var(--edu-accent); color: white; border: none; padding: 8px 20px;
    border-radius: var(--radius-pill); font-size: 14px; font-weight: 700; cursor: pointer; transition: 0.2s;
}
.nav-btn:hover { background: hsl(30 71% 44%); transform: translateY(-1px); }

/* =========================================
   大标题首屏
   ========================================= */
.hero-section {
    padding: 80px 20px 60px; max-width: 900px; margin: 0 auto; text-align: center;
}
.hero-tag {
    display: inline-block; padding: 6px 16px; background: var(--edu-blue-light);
    color: var(--edu-blue); border-radius: var(--radius-pill); font-size: 14px; font-weight: 700; margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(36px, 7vw, 60px); font-weight: 900; line-height: 1.2;
    margin: 0 0 20px; color: var(--edu-blue); letter-spacing: -0.02em;
}
.hero-desc {
    font-size: clamp(16px, 3vw, 20px); color: var(--text-desc); font-weight: 500;
    max-width: 720px; margin: 0 auto; line-height: 1.8;
}

/* =========================================
   卡卡说：教学理念文章排版
   ========================================= */
.editorial-container { max-width: 800px; margin: 40px auto 80px; padding: 0 24px; }
.ed-title {
    font-family: var(--font-serif); font-size: 32px; color: var(--text-main);
    border-bottom: 3px solid var(--edu-blue-light); padding-bottom: 12px; margin-bottom: 32px;
}
.creative-note-title {
    text-align: center;
    margin-bottom: 30px;
}
.creative-note-mark {
    display: inline-block;
    font-family: "HanziPen SC", "STXingkai", "Kaiti SC", "Comic Sans MS", cursive;
    font-size: 18px;
    font-weight: 800;
    color: var(--edu-accent);
    transform: rotate(-3deg);
    border-bottom: 2px solid hsl(var(--color-edu-accent) / 45%);
    padding: 0 8px 4px;
    margin-bottom: 4px;
}
.ed-title.creative-title {
    font-family: "HanziPen SC", "STXingkai", "Kaiti SC", var(--font-serif), serif;
    font-size: clamp(36px, 7vw, 58px);
    color: var(--edu-blue);
    border-bottom: 0;
    padding-bottom: 0;
    margin: 0;
    line-height: 1.1;
    letter-spacing: 0;
    text-shadow: 0 8px 26px hsl(var(--color-edu-blue) / 12%);
}
.creative-note-title p {
    margin: 10px 0 0;
    color: var(--text-desc);
    font-size: 15px;
    font-weight: 700;
}
.ed-card {
    background: var(--surface); border: var(--border-soft); border-radius: var(--radius-md);
    padding: 40px; box-shadow: var(--shadow-card);
}
.ed-point { margin-bottom: 32px; }
.ed-point:last-child { margin-bottom: 0; }
.ed-point h4 {
    font-size: 18px; font-weight: 700; color: var(--edu-blue); margin: 0 0 12px;
    display: flex; align-items: center; gap: 8px;
}
.ed-point h4::before { content: "●"; color: var(--edu-accent); font-size: 14px; }
.ed-point p { margin: 0; font-size: 16px; color: var(--text-desc); }
.highlight { background: hsl(35 100% 95%); padding: 0 4px; font-weight: 600; color: hsl(32 76% 35%); border-radius: 4px; }

.course-matrix-section {
    max-width: 1040px;
    margin: 0 auto 76px;
    padding: 0 24px;
}
.section-head.compact {
    margin-bottom: 24px;
}
.course-matrix-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}
.course-matrix-card {
    position: relative;
    display: flex;
    min-height: 168px;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    padding: 18px;
    color: var(--text-main);
    text-decoration: none;
    background: linear-gradient(180deg, hsl(0 0% 100%), hsl(var(--color-edu-blue-light) / 52%));
    border: 1px solid hsl(var(--color-edu-blue) / 12%);
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.course-matrix-card::after {
    content: "";
    position: absolute;
    right: -28px;
    top: -42px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: hsl(var(--color-edu-accent) / 12%);
}
.course-matrix-card.active {
    color: #fff;
    background: linear-gradient(145deg, var(--edu-blue), hsl(215 84% 28%));
    border-color: hsl(var(--color-edu-accent) / 70%);
}
.matrix-grade {
    width: max-content;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    color: var(--edu-blue);
    background: #fff;
    border: 1px solid hsl(var(--color-edu-blue) / 12%);
}
.course-matrix-card strong {
    position: relative;
    z-index: 1;
    font-size: 18px;
    line-height: 1.35;
}
.course-matrix-card small {
    position: relative;
    z-index: 1;
    color: var(--text-desc);
    line-height: 1.55;
}
.course-matrix-card em {
    position: relative;
    z-index: 1;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
    color: var(--edu-accent);
}
.course-matrix-card.active small,
.course-matrix-card.active em {
    color: hsl(36 100% 88%);
}

/* =========================================
   6月与7月模块介绍卡片
   ========================================= */
.module-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
.mod-card {
    background: var(--surface); border: var(--border-soft); border-radius: var(--radius-md);
    padding: 40px; box-shadow: var(--shadow-card); transition: 0.3s;
}
.mod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.mod-card.june { border-top: 6px solid var(--edu-blue); }
.mod-card.july { border-top: 6px solid var(--edu-green); }
.mod-header { margin-bottom: 24px; }
.mod-header h3 { font-family: var(--font-serif); font-size: 26px; margin: 0 0 8px; color: var(--text-main); }
.mod-header p { font-size: 15px; color: var(--text-muted); margin: 0; font-weight: 600; }
.mod-content { font-size: 16px; color: var(--text-desc); }
.mod-content ul { padding-left: 20px; margin: 16px 0; }
.mod-content li { margin-bottom: 12px; }
.mod-content strong { color: var(--text-main); }
.grape-box {
    background: var(--bg-page); border: 1px dashed var(--edu-green); border-radius: 12px;
    padding: 16px; margin-top: 16px; font-size: 14.5px;
}
.grape-box strong { color: var(--edu-green); }

/* =========================================
   在线学情测验 UI
   ========================================= */
.quiz-section { max-width: 860px; margin: 0 auto 80px; padding: 0 20px; }
.quiz-wrapper {
    background: var(--surface); border: var(--border-soft); border-radius: var(--radius-lg);
    padding: 40px; box-shadow: var(--shadow-card);
}
.quiz-title { text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.quiz-desc { text-align: center; color: var(--text-desc); margin-bottom: 40px; }

.score-hud {
    background: var(--bg-page); border: var(--border-soft); border-radius: var(--radius-md);
    padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px;
}
.score-hud span { font-weight: 700; color: var(--text-main); }
.progress-dots { display: flex; gap: 6px; }
.p-dot { width: 10px; height: 10px; border-radius: 2px; background: hsl(214 20% 86%); transition: 0.3s; }
.p-dot.done { background: var(--edu-accent); }

.q-card { padding-bottom: 40px; border-bottom: var(--border-soft); margin-bottom: 40px; }
.q-card:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.q-title-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.q-title { font-size: 18px; font-weight: 700; color: var(--text-main); }
.q-badge { padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.badge-m { background: var(--edu-blue-light); color: var(--edu-blue); }
.badge-e { background: var(--edu-green-light); color: var(--edu-green); }

.q-text { font-size: 16px; color: var(--text-main); margin-bottom: 24px; }
.opts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.opt-btn {
    background: var(--surface); border: 1px solid hsl(214 20% 86%); border-radius: var(--radius-sm);
    padding: 16px; font-size: 15px; font-weight: 500; color: var(--text-main); text-align: left;
    cursor: pointer; transition: 0.2s;
}
.opt-btn:hover { border-color: var(--edu-blue); background: var(--surface-hover); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.opt-btn.correct { background: var(--correct-bg); border-color: var(--correct); color: var(--correct); font-weight: 700; }
.opt-btn.wrong { background: var(--wrong-bg); border-color: var(--wrong); color: var(--wrong); animation: shake 0.4s; }
@keyframes shake { 0%, 100% {transform: translateX(0);} 25% {transform: translateX(-4px);} 75% {transform: translateX(4px);} }

.ans-panel {
    margin-top: 24px; padding: 24px; background: var(--surface-hover);
    border-left: 4px solid var(--edu-accent); border-radius: 0 var(--radius-md) var(--radius-md) 0;
    display: none; animation: fadeIn 0.4s ease;
}
.ans-panel.show { display: block; }
@keyframes fadeIn { from {opacity:0; transform:translateY(10px);} to {opacity:1; transform:translateY(0);} }
.ans-panel h5 { margin: 0 0 8px; font-size: 16px; color: var(--text-main); }
.ans-panel p { margin: 0; font-size: 15px; color: var(--text-desc); }

.btn-tts {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--surface); border: 1px solid var(--edu-green); color: var(--edu-green);
    padding: 8px 16px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700;
    cursor: pointer; margin-bottom: 20px; transition: 0.2s;
}
.btn-tts:hover { background: var(--edu-green-light); }
.btn-tts.playing { background: var(--edu-green); color: white; }

/* =========================================
   16课时双轨教学计划 (清晰、务实)
   ========================================= */
.syllabus-section { max-width: 1000px; margin: 0 auto 80px; padding: 0 20px; }
.sy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.track-col { background: var(--surface); border: var(--border-soft); border-radius: var(--radius-md); box-shadow: var(--shadow-card); overflow: hidden; }
.track-header { padding: 24px; text-align: center; color: white; }
.bg-blue { background: var(--edu-blue); }
.bg-green { background: var(--edu-green); }
.track-header h3 { font-family: var(--font-serif); font-size: 22px; margin: 0 0 6px; }
.track-header p { margin: 0; font-size: 14px; opacity: 0.9; }

.module-box { border-bottom: var(--border-soft); }
.module-box:last-child { border-bottom: none; }
.mod-label { background: var(--bg-page); padding: 10px 20px; font-size: 14px; font-weight: 700; color: var(--text-main); border-bottom: var(--border-soft); }
.lesson-row { display: flex; gap: 16px; padding: 16px 20px; border-bottom: 1px dashed hsl(214 32% 91%); }
.lesson-row:last-child { border-bottom: none; }
.l-idx { flex: 0 0 32px; font-family: var(--font-serif); font-weight: 700; color: var(--text-muted); font-size: 15px; }
.l-txt h5 { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: var(--text-main); }
.l-txt p { margin: 0; font-size: 13.5px; color: var(--text-desc); line-height: 1.5; }

/* 师资与承诺 */
.teacher-section { max-width: 800px; margin: 0 auto 100px; padding: 0 20px; }
.teacher-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.t-card { background: var(--surface); border: var(--border-soft); border-radius: var(--radius-md); padding: 32px; text-align: center; box-shadow: var(--shadow-card); }
.t-card h4 { font-size: 20px; margin: 0 0 8px; }
.t-title { display: inline-block; background: var(--bg-page); padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; color: var(--text-desc); margin-bottom: 16px; }
.school-logo-row {
    width: 100%;
    min-height: 138px;
    margin: 6px auto 24px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.school-logo-row img {
    max-width: min(360px, 92%);
    max-height: 124px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: saturate(1.18) contrast(1.08);
}
.school-logo-xjtu img {
    width: 118px;
    height: 118px;
}
.school-logo-snnu img {
    max-width: min(390px, 94%);
    max-height: 120px;
}
.t-card p { font-size: 15px; color: var(--text-desc); margin: 0; }
.teacher-grid .t-card p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--edu-blue);
    text-align: center;
    line-height: 1.85;
    font-weight: 650;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.72), rgba(255, 255, 255, 0));
    border-top: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 10px;
    padding: 14px 18px 0;
}
.kaka-core-card { border-left: 4px solid var(--edu-accent); }

.kaka-powered-seal {
    max-width: 720px;
    margin: -58px auto 96px;
    padding: 22px 24px;
    text-align: center;
    border-radius: 22px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    background:
        radial-gradient(circle at 18% 12%, rgba(249, 115, 22, 0.12), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 246, 255, 0.88));
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.08);
}

.kaka-powered-seal span,
.router-powered span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--edu-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.kaka-powered-seal strong,
.router-powered strong {
    display: block;
    margin-top: 12px;
    color: var(--text-main);
    font-size: clamp(18px, 4.8vw, 26px);
    line-height: 1.25;
    letter-spacing: 0;
}

.kaka-powered-seal small,
.router-powered small {
    display: block;
    margin-top: 8px;
    color: var(--edu-accent);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.02em;
}

/* 表单与意向采集 */
.lead-lock-state {
    text-align: center;
    color: rgba(255, 255, 255, 0.86);
    font-size: 11px;
    margin-top: 2px;
    min-height: 16px;
    font-weight: 600;
}
.lead-window-note {
    display: none;
    margin-top: 4px;
    color: #1e3a8a;
    background: rgba(59, 130, 246, 0.14);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 11px;
    line-height: 1.6;
    max-width: 260px;
}
.form-delivery-note {
    margin: 10px 0 0;
    color: var(--edu-blue);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
    text-align: center;
}
.form-advanced { display: none; margin-top: 8px; }
.form-advanced.show { display: block; }
.form-mini-field {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
}
.intent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}
.form-tips {
    margin-bottom: 16px;
    background: var(--bg-page);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 12px 14px;
    color: #334155;
    font-size: 13px;
    line-height: 1.7;
}
.form-step-title {
    margin-top: 14px;
    margin-bottom: 12px;
    padding-left: 10px;
    border-left: 4px solid var(--edu-blue);
    color: var(--edu-blue);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.01em;
}
.lead-questionnaire-sheet {
    border: 1px dashed var(--edu-blue-light);
    background: #f8fbff;
    border-radius: 12px;
    padding: 10px 12px 14px;
    margin-bottom: 14px;
}
.lead-questionnaire-title {
    color: var(--edu-blue);
    font-weight: 800;
    margin-bottom: 8px;
    font-size: 14px;
}
.lead-matrix-wrap {
    overflow-x: auto;
    margin-top: 4px;
}
.lead-matrix {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    min-width: 320px;
    table-layout: fixed;
}
.lead-matrix thead th {
    text-align: left;
    color: #1d4ed8;
    background: #dbeafe;
    padding: 8px 10px;
    font-weight: 700;
}
.lead-matrix th,
.lead-matrix td {
    border: 1px solid #dbeafe;
    padding: 8px 10px;
    word-break: break-word;
}
.lead-matrix td:last-child,
.lead-matrix th:last-child {
    text-align: center;
}
.checkbox-grid {
    display: grid;
    gap: 8px;
}
.checkbox-grid-2 {
    grid-template-columns: 1fr 1fr;
    font-size: 14px;
}
.checkbox-grid-3 {
    grid-template-columns: 1fr 1fr;
    font-size: 13px;
}
.checkbox-grid label {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
}
.checkbox-grid input[type="checkbox"] {
    margin-top: 3px;
}
.form-toggle-btn {
    width: 100%;
    border: 1px dashed var(--edu-blue);
    color: var(--edu-blue);
    background: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    cursor: pointer;
}
/* =========================================
   底部悬浮控制台
   ========================================= */
.bottom-dock {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
    width: calc(100% - 40px); max-width: 760px;
    background: hsl(var(--color-surface) / 98%); border: var(--border-soft);
    border-radius: var(--radius-pill); padding: 12px 20px;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: var(--shadow-float); z-index: 100;
}
.dock-text { font-size: 15px; font-weight: 700; color: var(--text-main); margin-left: 12px; }
.dock-btns { display: flex; gap: 12px; }
.btn-action {
    border: none; padding: 12px 24px; border-radius: var(--radius-pill);
    font-size: 14px; font-weight: 700; cursor: pointer; transition: 0.2s; white-space: nowrap;
}
.btn-kaka { background: var(--surface); border: 1px solid var(--edu-blue); color: var(--edu-blue); }
.btn-kaka:hover { background: var(--edu-blue-light); }
.btn-mumu { background: var(--edu-blue); color: white; border: 1px solid var(--edu-blue); }
.btn-mumu:hover { background: hsl(209 100% 16%); }

.toast {
    position: fixed; top: 80px; left: 50%; transform: translate(-50%, -20px);
    background: var(--text-main); color: white; padding: 14px 28px;
    border-radius: var(--radius-pill); font-size: 14px; font-weight: 600;
    z-index: 200; opacity: 0; visibility: hidden; transition: 0.3s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* 响应式 */
@media (max-width: 768px) {
    .hero-title { font-size: 34px; }
    .opts-grid, .sy-grid, .teacher-grid { grid-template-columns: 1fr; }
    .school-logo-row {
        min-height: 112px;
        margin-bottom: 20px;
    }
    .school-logo-row img {
        max-height: 100px;
    }
    .school-logo-xjtu img {
        width: 98px;
        height: 98px;
    }
    .school-logo-snnu img {
        max-width: min(330px, 94%);
        max-height: 96px;
    }
    .teacher-grid .t-card p {
        padding: 12px 12px 0;
        line-height: 1.75;
    }
    .lead-matrix {
        min-width: 260px;
        font-size: 11px;
    }
    .checkbox-grid-2,
    .checkbox-grid-3 {
        grid-template-columns: 1fr;
    }
    .intent-grid {
        grid-template-columns: 1fr;
    }
    .bottom-dock { flex-direction: column; gap: 16px; border-radius: var(--radius-md); padding: 20px; }
    .dock-btns { width: 100%; display: grid; grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .form-toggle-btn { font-size: 12px; padding: 9px 10px; }
}
@media print {
    body { background: white !important; }
    .navbar, .bottom-dock, .btn-tts { display: none !important; }
    .quiz-wrapper, .track-col, .ed-card, .mod-card { box-shadow: none; border: 1px solid hsl(0 0% 80%); break-inside: avoid; }
    .ans-panel { display: block !important; }
}


/* =========================================
   Glassmorphism & Marketing Enhancements
   ========================================= */
.navbar {
    background: hsla(var(--color-surface), 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hero-section {
    background: radial-gradient(circle at top right, hsl(var(--color-edu-blue-light) / 50%), transparent 400px),
                radial-gradient(circle at bottom left, hsl(var(--color-edu-green-light) / 50%), transparent 400px);
    border-radius: var(--radius-lg);
    margin-top: 20px;
    padding-bottom: 80px;
}

@keyframes ctaPulse {
    0% { box-shadow: 0 0 0 0 hsl(var(--color-edu-accent) / 60%); }
    70% { box-shadow: 0 0 0 12px hsl(var(--color-edu-accent) / 0%); }
    100% { box-shadow: 0 0 0 0 hsl(var(--color-edu-accent) / 0%); }
}

.cta-pulse {
    animation: ctaPulse 2s infinite;
    background: linear-gradient(135deg, hsl(var(--color-edu-accent)), hsl(25, 80%, 55%));
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.quiz-wrapper {
    background: linear-gradient(180deg, hsl(var(--color-surface)), hsl(var(--color-surface-hover)));
    border-top: 4px solid hsl(var(--color-edu-blue));
}

.opt-btn {
    position: relative;
    overflow: hidden;
}

.opt-btn::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: hsla(var(--color-edu-blue), 0.05);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.opt-btn:hover::after {
    width: 300px;
    height: 300px;
}

/* =========================================
   Navbar Links & Dropdown Ecosystem
   ========================================= */
.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-right: auto;
    margin-left: 32px;
}
.nav-item {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: color 0.2s;
}
.nav-item:hover {
    color: var(--edu-blue);
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: hsla(var(--color-surface), 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    min-width: 220px;
    box-shadow: var(--shadow-float);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    z-index: 101;
    border: var(--border-soft);
    margin-top: 12px;
}
.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease;
}
.dropdown-content a {
    color: var(--text-desc);
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}
.dropdown-content a:hover, .dropdown-content a.active {
    background: var(--surface-hover);
    color: var(--edu-blue);
    font-weight: 600;
}

/* =========================================
   AI 时代教育洞察与家长评论 (Social Proof)
   ========================================= */
.ai-era-section {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 0 20px;
    text-align: center;
}

.ai-comments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.comment-card {
    background: var(--surface);
    border: var(--border-soft);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    box-shadow: var(--shadow-card);
    text-align: left;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px hsla(214, 32%, 20%, 0.1);
}

.comment-card.highlight-card {
    border-top: 4px solid var(--edu-blue);
    background: linear-gradient(180deg, hsl(214 20% 98%), var(--surface));
}

.c-user {
    font-size: 15px;
    font-weight: 700;
    color: var(--edu-blue);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.user-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--surface);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: block;
}

.avatar-wrapper::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid var(--surface);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.avatar-wrapper.xhs-badge::after {
    background: #ff2442;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
    background-size: 80% 80%;
    background-position: center;
    background-repeat: no-repeat;
}

.avatar-wrapper.dy-badge::after {
    background: #161823;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300f2fe"><path d="M12 2v14a3 3 0 1 1-3-3 3 3 0 0 1 0 .2V16a1 1 0 1 0 1 1V2h5v4h-3V2z"/></svg>');
    background-size: 80% 80%;
    background-position: center;
    background-repeat: no-repeat;
}
.community-pill {
    display: inline-flex;
    align-items: center;
    height: 18px;
    margin-right: 6px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    color: #fff;
    font-weight: 700;
    transform: translateY(-1px);
}
.community-pill.xhs-pill {
    background: #ff2442;
}
.community-pill.dy-pill {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
}


.comment-card p {
    font-size: 15px;
    color: var(--text-desc);
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}

/* =========================================
   ProText 动态视效区块 (Three.js Container)
   ========================================= */
.protext-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #ffffff; /* 干净的学术风背景 */
    box-shadow: 0 12px 32px hsla(214, 32%, 80%, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid hsla(214, 20%, 86%, 0.8);
}

#three-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.protext-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-main);
    padding: 40px;
    max-width: 760px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.protext-overlay h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: var(--edu-blue);
}

.gradient-text {
    background: linear-gradient(135deg, var(--edu-blue), var(--edu-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 4px;
}

.protext-overlay p {
    font-size: 17px;
    color: var(--text-desc);
    margin: 0;
    line-height: 1.7;
    font-weight: 500;
}

/* =========================================
   全局响应式修补
   ========================================= */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .ai-comments-grid {
        grid-template-columns: 1fr;
    }
    .protext-container {
        height: auto;
        min-height: 400px;
        padding: 20px;
    }
    .protext-overlay {
        padding: 30px 20px;
    }
    .protext-overlay h2 {
        font-size: 26px;
    }
    .protext-overlay p {
        font-size: 15px;
    }
}

/* =========================================
   Custom Plan Modal & Floating Button
   ========================================= */
.floating-capture-btn {
    position: fixed;
    bottom: 90px;
    right: 24px;
    background: linear-gradient(135deg, var(--edu-accent), #f43f5e);
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.4);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.floating-capture-btn.locked {
    filter: none;
    opacity: 1;
    cursor: pointer;
}

.floating-capture-btn.locked:hover {
    transform: none;
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.4);
}

.floating-capture-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(244, 63, 94, 0.6);
}

.floating-capture-btn span {
    white-space: nowrap;
}

body.access-review .floating-capture-btn {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.24);
}

body.access-gated .floating-capture-btn {
    background: linear-gradient(135deg, #334155, #64748b);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.24);
}

.access-guard-overlay {
    position: fixed;
    inset: 0;
    z-index: 10004;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.access-guard-card {
    width: min(420px, 100%);
    padding: 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 26px 74px rgba(15, 23, 42, 0.22);
    text-align: center;
}

.access-guard-card h3 {
    margin: 0 0 10px;
    color: var(--text-main);
    font-size: 22px;
}

.access-guard-card p {
    margin: 0;
    color: var(--text-desc);
    line-height: 1.7;
    font-size: 15px;
}

.access-guard-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.access-guard-actions button {
    flex: 1;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
}

.access-guard-actions .guard-primary {
    background: var(--edu-blue);
    color: #fff;
}

.access-guard-actions .guard-secondary {
    background: rgba(37, 99, 235, 0.09);
    color: var(--edu-blue);
}

@media (max-width: 768px) {
    .kaka-powered-seal {
        margin: -52px 18px 72px;
        padding: 18px 16px;
        border-radius: 18px;
    }

    .kaka-powered-seal strong {
        font-size: 20px;
        line-height: 1.25;
    }

    .kaka-powered-seal small {
        font-size: 12px;
    }

    .access-guard-card {
        width: min(100%, 360px);
        padding: 22px 18px;
        border-radius: 20px;
    }

    .access-guard-actions {
        flex-direction: column;
    }
}

.capture-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 15, 36, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10005;
    padding: 20px;
}

.capture-content {
    background: #ffffff;
    color: #1a1f36;
    padding: 32px;
    border-radius: var(--radius-md);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.capture-watermark {
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 3;
    color: rgba(15, 23, 54, 0.24);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    pointer-events: none;
}

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

.close-modal {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.close-modal:hover {
    color: #333;
}

.form-group label {
    color: #333;
}
.form-row {
    display: flex;
    gap: 16px;
}

/* Glassmorphic Kaka Terminal Styles */
.kaka-terminal {
    background: rgba(13, 17, 23, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', Courier, monospace;
    overflow: hidden;
    margin: 20px auto;
    max-width: 800px;
    width: 100%;
}

.terminal-header {
    background: rgba(30, 35, 45, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.terminal-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-dots .dot.red { background: #ff5f56; }
.terminal-dots .dot.yellow { background: #ffbd2e; }
.terminal-dots .dot.green { background: #27c93f; }

.terminal-title {
    color: #8b949e;
    font-size: 13px;
    font-weight: 500;
}

.terminal-actions .action-btn {
    color: #58a6ff;
    font-size: 13px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.terminal-actions .action-btn:hover {
    opacity: 0.8;
}

.terminal-body {
    padding: 20px;
    min-height: 250px;
    max-height: 400px;
    overflow-y: auto;
    color: #58a6ff;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
}

.terminal-welcome {
    color: #8b949e;
    margin-bottom: 15px;
}

.terminal-welcome p {
    margin: 4px 0;
    font-size: 13px;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.terminal-prompt {
    color: #3fb950;
    margin-right: 8px;
    font-weight: bold;
    white-space: nowrap;
}

#terminal-input {
    background: transparent;
    border: none;
    color: #f0f6fc;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    flex: 1;
}

.terminal-output {
    margin: 8px 0;
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 13px;
}

.terminal-output.cmd {
    color: #f0f6fc;
}

.terminal-output.res {
    color: #58a6ff;
}

.terminal-output.err {
    color: #f85149;
}

.terminal-shortcuts {
    background: rgba(30, 35, 45, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    justify-content: flex-start;
}

.terminal-shortcuts button {
    background: rgba(56, 139, 253, 0.15);
    border: 1px solid rgba(56, 139, 253, 0.4);
    border-radius: 6px;
    color: #58a6ff;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    padding: 6px 12px;
    transition: all 0.2s;
}

.terminal-shortcuts button:hover {
    background: rgba(56, 139, 253, 0.3);
    color: #f0f6fc;
    transform: translateY(-1px);
}

/* Roadmap & Profile Switcher styles */
.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.roadmap-card {
    background: linear-gradient(180deg, #fff, hsl(214 20% 98%));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-card);
    min-width: 0;
}

.roadmap-card h4 {
    margin: 0 0 10px;
    color: var(--text-main);
    font-size: 18px;
}

.roadmap-card p {
    margin: 0 0 8px;
    color: var(--text-desc);
    font-size: 14px;
    line-height: 1.6;
}

.roadmap-card-active,
.roadmap-card.active {
    border-color: var(--edu-blue) !important;
    box-shadow: 0 14px 24px hsla(214, 100%, 58%, 0.16);
    transform: translateY(-2px);
}

.roadmap-card-active .milestone-badge,
.roadmap-card.active .milestone-badge {
    background: linear-gradient(135deg, hsl(209 100% 23%), hsl(214 75% 46%));
    color: #fff;
}

.milestone {
    font-weight: 700;
    font-size: 12px;
    color: var(--edu-blue);
    letter-spacing: 0.01em;
}

.milestone-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.2;
    color: var(--edu-blue);
    background: var(--edu-blue-light);
    border: 1px solid hsla(214 100% 46% / 0.25);
    font-weight: 700;
}

.roadmap-tabs button.active {
    background: var(--edu-blue) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
    border-color: var(--edu-blue) !important;
}

.profile-tab-btn.active {
    background: rgba(59, 130, 246, 0.15) !important;
    color: var(--edu-blue) !important;
    border-color: var(--edu-blue) !important;
}

.student-profile-card {
    transition: all 0.4s ease;
}

@media (max-width: 768px) {
    .roadmap-timeline {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    .roadmap-tabs {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .student-profile-card {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 20px !important;
    }
    
    .profile-right {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px dashed var(--border-soft) !important;
        padding-top: 24px !important;
    }
    
    .profile-tabs {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
}

/* =========================================
   Mobile QA: fixed actions without content overlap
   ========================================= */
@media (max-width: 768px) {
    html {
        scroll-padding-top: calc(var(--navbar-height, 58px) + var(--elevator-height, 44px) + 12px);
        scroll-padding-bottom: calc(var(--fixed-actions-total, 132px) + 20px);
    }

    body {
        padding-bottom: calc(var(--fixed-actions-total, 132px) + 18px);
    }

    .navbar {
        gap: 10px;
        padding: 10px 14px;
    }

    .brand {
        flex: 0 0 auto;
        gap: 8px;
        font-size: 16px;
        line-height: 1.1;
        white-space: nowrap;
    }

    .brand-icon {
        width: 28px;
        height: 28px;
        border-radius: 7px;
        font-size: 16px;
    }

    #nav-cta-btn {
        margin-left: auto;
        padding: 8px 12px;
        max-width: calc(100vw - 148px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 13px;
        line-height: 1.2;
        flex: 0 1 auto;
    }

    .bottom-dock {
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        width: 100%;
        max-width: none;
        display: block;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
        border-radius: 18px 18px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }

    .dock-text {
        display: none;
    }

    .dock-btns {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .btn-action {
        min-height: 42px;
        padding: 8px 8px;
        border-radius: 999px;
        font-size: 12px;
        line-height: 1.2;
        white-space: normal;
    }

    .floating-capture-btn {
        left: auto;
        right: 12px;
        bottom: calc(var(--dock-height, 58px) + var(--fixed-actions-gap, 10px));
        width: min(66vw, 252px);
        justify-content: center;
        padding: 9px 12px;
        border-radius: 999px;
        gap: 6px;
        text-align: center;
        box-shadow: 0 6px 18px rgba(244, 63, 94, 0.3);
    }

    .floating-capture-btn > div {
        width: 100%;
        align-items: center !important;
        gap: 1px !important;
    }

    .floating-capture-btn span {
        white-space: normal;
    }

    #capture-btn-label {
        font-size: 13px;
        line-height: 1.2;
    }

    .lead-lock-state {
        display: none;
        font-size: 12px;
        line-height: 1.2;
        opacity: 0.88;
    }

    .lead-window-note {
        display: none;
    }

    body.mobile-reading .floating-capture-btn {
        right: 12px;
        width: min(58vw, 220px);
        transform: none;
        padding-block: 8px;
        border-radius: 999px;
        box-shadow: 0 6px 18px rgba(244, 63, 94, 0.28);
    }

    body.mobile-reading #capture-btn-label {
        font-size: 13px;
        line-height: 1.2;
    }
}

@media (max-width: 420px) {
    .navbar {
        padding-inline: 10px;
    }

    .brand {
        font-size: 15px;
    }

    #nav-cta-btn {
        max-width: calc(100vw - 134px);
        padding-inline: 10px;
        font-size: 12px;
    }

    .btn-action {
        font-size: 11px;
    }

    .floating-capture-btn {
        width: min(70vw, 248px);
    }
}

@media (max-width: 900px) {
    .course-matrix-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .course-matrix-card {
        min-height: 148px;
    }
}

@media (max-width: 560px) {
    .course-matrix-section {
        margin-bottom: 48px;
        padding-inline: 18px;
    }
    .course-matrix-grid {
        grid-template-columns: 1fr;
    }
    .course-matrix-card {
        min-height: 128px;
        padding: 16px;
    }
    .ed-title.creative-title {
        font-size: 40px;
    }
}

/* =========================================
   Elite Syllabus Tables Style (IELTS/TOEFL style)
   ========================================= */
.syllabus-table-wrapper {
  background: var(--paper, #ffffff);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  margin-top: 24px;
  margin-bottom: 40px;
}
.table-header-bar {
  padding: 20px 24px;
  color: #ffffff;
}
.stage1-bar {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-bottom: 2px solid #ef4444;
}
.stage2-bar {
  background: linear-gradient(135deg, #0f172a, #0f2e5c);
  border-bottom: 2px solid #2563eb;
}
.table-header-bar h3 {
  margin: 0 0 6px 0;
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}
.table-header-bar p {
  margin: 0;
  font-size: 13px;
  opacity: 0.85;
  color: rgba(255, 255, 255, 0.85);
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.elite-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
  font-size: 14.5px;
}
.elite-table th {
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid #e2e8f0;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.elite-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
  line-height: 1.62;
  color: #334155;
}
.elite-table tr:last-child td {
  border-bottom: none;
}
.elite-table tr:hover {
  background: #f8fafc;
}
.lesson-badge {
  display: inline-block;
  padding: 3px 8px;
  background: #3b82f6;
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  border-radius: 6px;
  font-family: monospace;
}
.lesson-badge.stage2 {
  background: #0ea5e9;
}
.chk-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chk-item span {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  color: #475569;
  text-align: left;
}
.chk-item span::before {
  content: "✓";
  color: #10b981;
  font-weight: 800;
  flex-shrink: 0;
}
.elite-table strong {
  color: #0f172a;
}
.elite-table em {
  font-style: normal;
  color: #ef4444;
  font-weight: 600;
}
.elite-table br + span, .elite-table br + strong {
  display: inline-block;
  margin-top: 4px;
}

/* Final mobile QA overrides: reduce fixed CTA footprint */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Unified section system: Curriculum Map / Enrollment / Parent Voice / FAQ */
.syllabus-section,
.enrollment-section,
.ai-era-section,
.faq-section {
    width: min(1080px, calc(100% - 40px));
    max-width: 1080px;
    margin: 0 auto 88px !important;
    padding: 0 !important;
    position: relative;
}

.syllabus-section::before,
.enrollment-section::before,
.ai-era-section::before,
.faq-section::before {
    content: "";
    position: absolute;
    inset: -18px -16px auto;
    height: 52%;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(232, 245, 255, 0.78), rgba(255, 247, 237, 0.72));
    opacity: 0.72;
    z-index: -1;
    pointer-events: none;
}

.syllabus-section .section-head,
.enrollment-section .section-head,
.ai-era-section .section-head,
.faq-section .section-head {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
    display: grid;
    gap: 10px;
}

.syllabus-section .section-head .eyebrow,
.enrollment-section .section-head .eyebrow,
.ai-era-section .section-head .eyebrow,
.faq-section .section-head .eyebrow {
    width: fit-content;
    margin: 0 auto;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(18, 31, 56, 0.88);
    color: #fff7e6;
    letter-spacing: 0.08em;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(18, 31, 56, 0.14);
}

.syllabus-section .section-head h2,
.enrollment-section .section-head h2,
.ai-era-section .section-head h2,
.faq-section .section-head h2 {
    margin: 0;
    color: #121f38;
    font-size: clamp(27px, 4.8vw, 42px);
    line-height: 1.12;
    font-weight: 900;
}

.syllabus-section .section-head p,
.enrollment-section .section-head p,
.ai-era-section .section-head p,
.faq-section .section-head p {
    margin: 0 auto;
    max-width: 680px;
    color: rgba(36, 48, 72, 0.72);
    font-size: 16px;
    line-height: 1.85;
}

.syllabus-grid,
.sy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.track-card,
.track-col {
    min-width: 0;
    height: 100%;
    padding: 18px;
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 46px rgba(18, 31, 56, 0.08);
    backdrop-filter: blur(16px);
}

.track-head,
.track-header {
    min-height: 112px;
    margin: 0 0 12px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(18, 31, 56, 0.94), rgba(33, 76, 112, 0.9));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 7px;
    overflow: hidden;
    position: relative;
}

.track-head::after,
.track-header::after {
    content: "";
    position: absolute;
    right: -28px;
    top: -28px;
    width: 110px;
    height: 110px;
    border-radius: 999px;
    background: rgba(255, 193, 105, 0.18);
}

.english-track .track-head,
.science-track .track-head,
.track-col.english .track-header {
    background: linear-gradient(135deg, rgba(25, 91, 96, 0.94), rgba(58, 131, 122, 0.9));
}

.track-head span,
.track-header span {
    width: fit-content;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #ffe5ae;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.track-head h3,
.track-header h3 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    line-height: 1.18;
    font-weight: 900;
}

.lesson-list {
    display: grid;
    gap: 10px;
}

.lesson-item,
.lesson-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 86px;
    padding: 13px;
    border: 1px solid rgba(18, 31, 56, 0.07);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.9));
}

.lesson-no,
.l-idx {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    background: rgba(18, 31, 56, 0.9);
    color: #fff3cf;
    font-size: 13px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.lesson-item h4,
.lesson-row h4,
.l-txt h5 {
    margin: 0 0 5px;
    color: #121f38;
    font-size: 16px;
    line-height: 1.28;
    font-weight: 900;
}

.lesson-item p,
.lesson-row p,
.l-txt p {
    margin: 0;
    color: rgba(36, 48, 72, 0.72);
    font-size: 13.5px;
    line-height: 1.62;
}

.enrollment-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.enroll-card {
    min-width: 0;
    min-height: 168px;
    padding: 20px;
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.92));
    box-shadow: 0 18px 42px rgba(18, 31, 56, 0.08);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-content: start;
}

.enroll-step {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ffe0a3, #ff9f3f);
    color: #5f3300;
    font-size: 13px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.enroll-card h3 {
    margin: 1px 0 8px;
    color: #121f38;
    font-size: 18px;
    line-height: 1.22;
    font-weight: 900;
}

.enroll-card p {
    margin: 0;
    color: rgba(36, 48, 72, 0.73);
    font-size: 14px;
    line-height: 1.72;
}

.parent-voice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.parent-voice-card {
    min-width: 0;
    min-height: 236px;
    padding: 20px;
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(18, 31, 56, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.parent-voice-card::before {
    content: "“";
    position: absolute;
    right: 18px;
    top: 2px;
    color: rgba(255, 159, 63, 0.16);
    font-size: 92px;
    line-height: 1;
    font-family: Georgia, serif;
    pointer-events: none;
}

.voice-avatar-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.parent-voice-card img {
    width: 58px;
    height: 58px;
    max-width: 58px;
    flex: 0 0 58px;
    object-fit: cover;
    border-radius: 999px;
    border: 3px solid #fff;
    box-shadow: 0 10px 26px rgba(18, 31, 56, 0.14);
}

.voice-index {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(18, 31, 56, 0.9);
    color: #fff3cf;
    font-size: 12px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.parent-voice-card p {
    margin: 0;
    color: rgba(24, 34, 52, 0.84);
    font-size: 15px;
    line-height: 1.78;
    font-weight: 650;
    position: relative;
    z-index: 1;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.faq-item {
    min-width: 0;
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(18, 31, 56, 0.08);
    overflow: hidden;
}

.faq-item summary {
    min-height: 82px;
    padding: 20px 58px 20px 22px;
    color: #121f38;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 900;
    list-style: none;
    cursor: pointer;
    position: relative;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 18px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(18, 31, 56, 0.92);
    color: #fff3cf;
    font-weight: 900;
}

.faq-item[open] {
    border-color: rgba(249, 115, 22, 0.22);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.1);
}

.faq-item[open] summary::after {
    content: "-";
    background: linear-gradient(135deg, #ffe0a3, #ff9f3f);
    color: #5f3300;
}

.faq-index {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.faq-item p {
    margin: 0;
    padding: 0 22px 22px 68px;
    color: rgba(36, 48, 72, 0.74);
    font-size: 15px;
    line-height: 1.78;
}

.syllabus-section > .quiz-title,
.enrollment-section > .quiz-title,
.ai-era-section > .quiz-title,
.faq-section > .quiz-title {
    max-width: 760px;
    margin: 0 auto 12px !important;
    text-align: center;
    color: #121f38 !important;
    font-size: clamp(27px, 4.8vw, 42px) !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
}

.syllabus-section > .quiz-title::before,
.enrollment-section > .quiz-title::before,
.ai-era-section > .quiz-title::before,
.faq-section > .quiz-title::before {
    display: block;
    width: fit-content;
    margin: 0 auto 10px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(18, 31, 56, 0.88);
    color: #fff7e6;
    letter-spacing: 0.08em;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(18, 31, 56, 0.14);
}

.syllabus-section > .quiz-title::before {
    content: "Curriculum Map";
}

.enrollment-section > .quiz-title::before {
    content: "Enrollment";
}

.ai-era-section > .quiz-title::before {
    content: "Parent Voice";
}

.faq-section > .quiz-title::before {
    content: "FAQ";
}

.enrollment-section > .quiz-desc,
.ai-era-section > .quiz-desc,
.faq-section > .quiz-desc {
    max-width: 680px;
    margin: 0 auto 30px !important;
    text-align: center;
    color: rgba(36, 48, 72, 0.72) !important;
    font-size: 16px;
    line-height: 1.85;
}

.module-box {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(18, 31, 56, 0.06);
    border-radius: 18px;
    background: rgba(248, 251, 255, 0.82);
}

.mod-label {
    margin: 0 0 10px;
    color: rgba(18, 31, 56, 0.84);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 900;
}

#enrollment .ed-card {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    counter-reset: enroll-card;
}

#enrollment .ed-point {
    counter-increment: enroll-card;
    min-width: 0;
    min-height: 168px;
    margin: 0 !important;
    padding: 20px;
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.92));
    box-shadow: 0 18px 42px rgba(18, 31, 56, 0.08);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-content: start;
}

#enrollment .ed-point::before {
    content: counter(enroll-card, decimal-leading-zero);
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ffe0a3, #ff9f3f);
    color: #5f3300;
    font-size: 13px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

#enrollment .ed-point h4 {
    margin: 1px 0 8px;
    color: #121f38;
    font-size: 18px;
    line-height: 1.22;
    font-weight: 900;
}

#enrollment .ed-point p {
    margin: 0;
    color: rgba(36, 48, 72, 0.73);
    font-size: 14px;
    line-height: 1.72;
}

.ai-comments-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px !important;
}

.comment-card {
    min-width: 0;
    min-height: 236px;
    padding: 20px !important;
    border: 1px solid rgba(18, 31, 56, 0.08) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 18px 42px rgba(18, 31, 56, 0.08) !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.comment-card::before {
    content: "“";
    position: absolute;
    right: 18px;
    top: 2px;
    color: rgba(255, 159, 63, 0.16);
    font-size: 92px;
    line-height: 1;
    font-family: Georgia, serif;
    pointer-events: none;
}

.c-user {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar-wrapper {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 10px 26px rgba(18, 31, 56, 0.14);
    flex: 0 0 58px;
}

.user-avatar {
    width: 100% !important;
    height: 100% !important;
    max-width: 58px;
    object-fit: cover;
    display: block;
}

.community-pill {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(18, 31, 56, 0.9) !important;
    color: #fff3cf !important;
    font-size: 12px;
    font-weight: 900;
}

.comment-card p {
    margin: 0;
    color: rgba(24, 34, 52, 0.84);
    font-size: 15px;
    line-height: 1.78;
    font-weight: 650;
    position: relative;
    z-index: 1;
}

.protext-container {
    margin-top: 22px !important;
    padding: 26px !important;
    border: 1px solid rgba(18, 31, 56, 0.08);
    border-radius: 22px !important;
    background: linear-gradient(135deg, rgba(255, 244, 222, 0.95), rgba(231, 248, 255, 0.92)) !important;
    box-shadow: 0 18px 42px rgba(18, 31, 56, 0.07);
}

.protext-container h2 {
    margin: 0 0 12px;
    color: #121f38;
    font-size: clamp(22px, 4vw, 34px);
    line-height: 1.2;
}

.protext-container p {
    color: rgba(36, 48, 72, 0.72);
    line-height: 1.8;
}

@media (max-width: 900px) {
    .syllabus-section,
    .enrollment-section,
    .ai-era-section,
    .faq-section {
        width: min(100% - 30px, 680px);
        margin-bottom: 70px !important;
    }

    .syllabus-grid,
    .sy-grid,
    .enrollment-cards,
    .parent-voice-grid,
    .faq-list {
        grid-template-columns: 1fr;
    }

    #enrollment .ed-card,
    .ai-comments-grid {
        grid-template-columns: 1fr !important;
    }

    .track-head,
    .track-header {
        min-height: 98px;
    }

    .enroll-card,
    #enrollment .ed-point,
    .parent-voice-card {
        min-height: auto;
    }
}

@media (max-width: 520px) {
    .syllabus-section,
    .enrollment-section,
    .ai-era-section,
    .faq-section {
        width: calc(100% - 28px);
        margin-bottom: 58px !important;
    }

    .syllabus-section .section-head,
    .enrollment-section .section-head,
    .ai-era-section .section-head,
    .faq-section .section-head {
        margin-bottom: 20px;
        gap: 8px;
    }

    .syllabus-section .section-head p,
    .enrollment-section .section-head p,
    .ai-era-section .section-head p,
    .faq-section .section-head p {
        font-size: 14.5px;
        line-height: 1.68;
    }

    .track-card,
    .track-col,
    .enroll-card,
    .parent-voice-card {
        border-radius: 18px;
    }

    .lesson-item,
    .lesson-row {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 10px;
        min-height: 0;
        padding: 12px;
    }

    .lesson-no,
    .l-idx,
    .enroll-step {
        width: 38px;
        height: 38px;
        border-radius: 13px;
    }

    .enroll-card {
        padding: 17px;
        grid-template-columns: 40px minmax(0, 1fr);
    }

    #enrollment .ed-point {
        padding: 17px;
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .parent-voice-card {
        padding: 18px;
    }

    .comment-card {
        padding: 18px !important;
        min-height: auto;
    }

    .faq-item summary {
        min-height: auto;
        padding: 18px 54px 18px 18px;
        font-size: 16px;
    }

    .faq-index {
        width: 32px;
        height: 32px;
        border-radius: 12px;
    }

    .faq-item p {
        padding: 0 18px 20px 62px;
        font-size: 14px;
    }

    .protext-container {
        padding: 20px !important;
    }
}

.capture-modal.show {
    display: flex;
}

@media (max-width: 768px) {
    .floating-capture-btn {
        width: auto !important;
        min-width: 92px !important;
        max-width: 108px !important;
        min-height: 44px !important;
        padding: 8px 10px !important;
        border-radius: 999px !important;
        gap: 4px !important;
    }

    .floating-capture-btn > div {
        display: flex;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center;
        gap: 4px !important;
    }

    .floating-capture-btn > div > span:first-child {
        font-size: 15px;
        line-height: 1;
    }

    #capture-btn-label {
        max-width: 4.8em;
        font-size: 12px;
        line-height: 1.12;
        white-space: normal;
    }

    .lead-lock-state,
    .lead-window-note {
        display: none !important;
    }

    body.mobile-reading .floating-capture-btn {
        right: 12px !important;
        width: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
        height: 52px !important;
        min-height: 52px !important;
        padding: 0 !important;
        border-radius: 999px !important;
        transform: none !important;
    }

    body.mobile-reading #capture-btn-label {
        display: none !important;
    }

    body.mobile-reading .floating-capture-btn > div > span:first-child {
        font-size: 18px;
    }
}

@media (max-width: 420px) {
    .floating-capture-btn {
        width: auto !important;
        min-width: 92px !important;
        max-width: 106px !important;
    }
}
