/* ============================================================
   梦承桃李艺术教育 — 官网设计系统
   维护者：Mavis
   创建：2026-07-07
   ------------------------------------------------------------
   结构：
   1. CSS 自定义属性（变量）
   2. Reset & 基础
   3. 排版
   4. 容器 & 章节
   5. 导航栏
   6. 按钮
   7. Hero 区域
   8. 数据带 / 优势 / 课程卡 / 教师卡 / 成就卡 / 联系卡
   9. 表单
   10. CTA 区域
   11. Footer
   12. 浮动控件（电话 + 客服）
   13. 客服聊天浮窗
   14. 动画
   15. 响应式断点
   ============================================================ */

/* ===================== 1. CSS 变量 ===================== */
:root {
    /* 品牌色 - 黑金主题 */
    --bg-deep:        #0f0f0f;   /* 最深背景（hero 底色） */
    --bg-primary:     #1a1a1a;   /* 主背景（深炭灰） */
    --bg-secondary:   #2d2d2d;   /* 次背景（炭灰） */
    --bg-card:        #333333;   /* 卡片背景 */
    --bg-light:       #f5f5f5;   /* 浅色背景（用于反色段落） */
    --bg-paper:       #fefefe;   /* 纸感白 */

    /* 金色系 */
    --gold:           #d4af37;   /* 主金色（champion gold） */
    --gold-light:     #e8c872;   /* 浅金 */
    --gold-dark:      #b8962f;   /* 深金 */
    --gold-soft:      rgba(212, 175, 55, 0.15);

    /* 文字色 */
    --text-white:     #ffffff;
    --text-gray:      #cccccc;
    --text-secondary: #999999;
    --text-mute:      #6b6b6b;
    --text-dark:      #2d2d2d;   /* 深色背景下的正文用浅灰 */
    --text-deep:      #1a1a1a;   /* 浅色背景下的正文 */

    /* 边框 / 阴影 */
    --border-subtle:  rgba(255, 255, 255, 0.08);
    --border-gold:    rgba(212, 175, 55, 0.3);
    --shadow-sm:      0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-md:      0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-lg:      0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-gold:    0 10px 30px rgba(212, 175, 55, 0.25);

    /* 字体 */
    --font-serif:     'Noto Serif SC', 'Songti SC', 'STSong', serif;
    --font-sans:      'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --font-display:   'Playfair Display', 'Noto Serif SC', serif;

    /* 字号 */
    --fs-hero:        84px;
    --fs-page-title:  56px;
    --fs-section:     42px;
    --fs-subtitle:    22px;
    --fs-h3:          28px;
    --fs-h4:          20px;
    --fs-body:        16px;
    --fs-small:       14px;
    --fs-tiny:        12px;

    /* 间距 */
    --space-1:        8px;
    --space-2:        16px;
    --space-3:        24px;
    --space-4:        32px;
    --space-5:        48px;
    --space-6:        64px;
    --space-8:        96px;
    --space-10:       128px;

    /* 圆角 */
    --radius-sm:      4px;
    --radius-md:      8px;
    --radius-lg:      12px;
    --radius-xl:      20px;
    --radius-full:    9999px;

    /* 容器 */
    --container:      1200px;

    /* 动效 */
    --ease:           cubic-bezier(0.4, 0, 0.2, 1);
    --t-fast:         0.2s;
    --t-base:         0.3s;
    --t-slow:         0.6s;

    /* 层级 */
    --z-nav:          1000;
    --z-overlay:      1001;
    --z-floating:     999;
    --z-chat:         1000;
}

/* ===================== 2. Reset & 基础 ===================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--text-gray);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t-base) var(--ease);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

::selection {
    background: var(--gold);
    color: var(--bg-primary);
}

/* ===================== 3. 排版 ===================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--text-white);
    line-height: 1.25;
    font-weight: 600;
}

p {
    margin-bottom: var(--space-2);
}

.text-gold { color: var(--gold); }
.text-mute { color: var(--text-mute); }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.1em; }
.text-serif { font-family: var(--font-serif); }
.text-display { font-family: var(--font-display); font-style: italic; }

/* ===================== 4. 容器 & 章节 ===================== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-3);
}

.section {
    padding: var(--space-8) 0;
}

.section-sm {
    padding: var(--space-6) 0;
}

.section-light {
    background: var(--bg-secondary);
}

/* ============================================================
   课程详细介绍正文样式 — 卡片化、强层次
   结构：h3 (小节) > h4 (子小节) > ul > li (含 strong 关键词)
   ============================================================ */
.course-content {
    color: var(--text-gray);
    font-size: 15.5px;
    line-height: 1.9;
}

/* —— h3：小节标题（"§ 课程概述" 风格，金色卡片式条带） */
.course-content h3 {
    color: var(--gold);
    font-size: 22px;
    font-weight: 600;
    margin: 48px 0 20px;
    padding: 16px 24px 16px 56px;
    background: linear-gradient(90deg, var(--gold-soft) 0%, rgba(212, 175, 55, 0.03) 70%, transparent 100%);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-family: var(--font-serif);
    letter-spacing: 0.02em;
    position: relative;
}
.course-content h3::before {
    content: "§";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 26px;
    font-weight: 700;
    font-family: var(--font-display);
    opacity: 0.75;
}
.course-content h3:first-child { margin-top: 0; }

/* —— h4：子小节标题（▸ 三角引导 + 细微下边线） */
.course-content h4 {
    color: var(--text-white);
    font-size: 17px;
    font-weight: 600;
    margin: 32px 0 14px;
    padding: 0 0 8px 22px;
    position: relative;
    border-bottom: 1px dashed var(--border-gold);
}
.course-content h4::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-size: 16px;
    line-height: 1.5;
}

/* —— p：段落（行高加宽，与列表区隔） */
.course-content p {
    margin: 14px 0;
    color: var(--text-gray);
    line-height: 2;
}

/* —— ul：列表容器（垂直堆叠，带间隙） */
.course-content ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* —— li：列表项（卡片化 + ✓ 圆形勾选标 + hover 微动效） */
.course-content li {
    position: relative;
    padding: 14px 18px 14px 52px;
    color: var(--text-gray);
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    border-left: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.course-content li:hover {
    background: rgba(212, 175, 55, 0.06);
    border-left-color: var(--gold);
    transform: translateX(4px);
}
.course-content li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 14px;
    width: 22px;
    height: 22px;
    background: var(--gold);
    color: var(--bg-deep);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.35);
}

/* —— li strong：关键词高亮（金色实词，与正文拉开层次） */
.course-content li strong {
    color: var(--gold);
    font-weight: 600;
    margin-right: 6px;
    font-size: 15.5px;
}

/* ============================================================
   可选组件（用户在后台编辑时可手动套用，丰富版式）
   ============================================================ */

/* 关键词标签云：用于"目标院校"等并列短语列表 */
.course-content .course-tags {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;       /* 显式覆盖父级 ul 的 column */
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
}
.course-content .course-tags li {
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    color: var(--gold-light);
    font-size: 14px;
    line-height: 1.4;
}
.course-content .course-tags li::before { display: none; }
.course-content .course-tags li:hover {
    background: var(--gold);
    color: var(--bg-deep);
    transform: translateY(-2px);
}

/* 强调块：用于"适合人群 / 课程亮点"等高亮区 */
.course-content .course-callout {
    margin: 24px 0;
    padding: 20px 24px 20px 64px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.03) 100%);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--text-gray);
    position: relative;
}
.course-content .course-callout::before {
    content: "✦";
    position: absolute;
    left: 22px;
    top: 22px;
    color: var(--gold);
    font-size: 22px;
    line-height: 1;
}

/* 步骤条：用于"三阶段教学路径"等有先后顺序的内容 */
.course-content .course-steps {
    list-style: none;
    padding: 0;
    margin: 20px 0 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    counter-reset: course-step;
}
.course-content .course-steps > li {
    padding: 18px 20px 18px 64px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    position: relative;
    counter-increment: course-step;
}
.course-content .course-steps > li::before {
    content: counter(course-step, cjk-ideographic);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: var(--gold);
    color: var(--bg-deep);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}
.course-content .course-steps > li::after {
    content: "";
    position: absolute;
    left: 33px;
    top: 52px;
    width: 2px;
    height: calc(100% + 14px);
    background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
    opacity: 0.3;
}
.course-content .course-steps > li:last-child::after { display: none; }
.course-content .course-steps > li strong {
    color: var(--gold);
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

/* 响应式：手机端 li 内边距收紧、h3 字号缩小 */
@media (max-width: 640px) {
    .course-content h3 {
        font-size: 19px;
        padding: 14px 18px 14px 48px;
        margin: 36px 0 16px;
    }
    .course-content h3::before { left: 16px; font-size: 22px; }
    .course-content h4 { font-size: 16px; margin: 24px 0 12px; }
    .course-content li { padding: 12px 14px 12px 46px; font-size: 14.5px; }
    .course-content li::before { left: 12px; top: 12px; width: 20px; height: 20px; }
    .course-content .course-callout { padding: 18px 18px 18px 52px; }
    .course-content .course-callout::before { left: 18px; top: 18px; }
    .course-content .course-steps > li { padding: 16px 16px 16px 56px; }
    .course-content .course-steps > li::before { left: 12px; width: 32px; height: 32px; font-size: 16px; }
    .course-content .course-steps > li::after { left: 27px; }
}

.section-paper {
    background: var(--bg-paper);
    color: var(--text-deep);
}

.section-paper h2,
.section-paper h3,
.section-paper h4 {
    color: var(--text-deep);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.section-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gold-soft);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    color: var(--gold);
    font-size: var(--fs-small);
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-serif);
    font-size: var(--fs-section);
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: var(--space-2);
    letter-spacing: 0.02em;
}

.section-title span {
    color: var(--gold);
}

.section-subtitle {
    font-size: var(--fs-subtitle);
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: var(--space-3) auto var(--space-2);
}

/* ===================== 5. 导航栏 ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 18px 0;
    border-bottom: 1px solid transparent;
    transition: all var(--t-base) var(--ease);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(15, 15, 15, 0.95);
    border-bottom-color: var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    height: 44px;
    width: auto;
    transition: transform var(--t-base) var(--ease);
}

.footer .logo-img {
    height: 48px;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-white);
    font-size: 15px;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all var(--t-base) var(--ease);
    transform: translateX(-50%);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gold);
    color: var(--bg-primary);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--t-base) var(--ease);
}

.nav-cta:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--bg-primary);
}

.nav-cta svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* 移动端汉堡按钮 */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: var(--z-overlay);
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: all var(--t-base) var(--ease);
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: var(--z-overlay);
    padding: 100px 40px 40px;
    transform: translateX(100%);
    transition: transform var(--t-slow) var(--ease);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    display: block;
    color: var(--text-white);
    font-size: 22px;
    font-family: var(--font-serif);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--gold);
    padding-left: 8px;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--t-base) var(--ease);
}

.mobile-overlay.active {
    opacity: 1;
}

/* ===================== 6. 按钮 ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--t-base) var(--ease);
    text-decoration: none;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
    color: var(--bg-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--gold);
    padding: 12px 20px;
}

.btn-ghost:hover {
    color: var(--gold-light);
}

.btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform var(--t-base) var(--ease);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 14px;
}

/* ===================== 7. Hero 区域 ===================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-deep);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 15, 15, 0.4) 0%, rgba(15, 15, 15, 0.7) 60%, rgba(15, 15, 15, 0.95) 100%),
        radial-gradient(ellipse at center, transparent 0%, rgba(15, 15, 15, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 980px;
    padding: 0 var(--space-3);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
    animation: fadeInDown 1s var(--ease) both;
}

.hero-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 12px var(--gold);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: var(--fs-hero);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: var(--space-3);
    letter-spacing: 0.04em;
    animation: fadeInUp 1s var(--ease) 0.2s both;
}

.hero-title .gold {
    color: var(--gold);
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .accent {
    display: inline-block;
    margin: 0 12px;
    color: var(--gold);
    font-family: var(--font-display);
    font-style: italic;
}

.hero-subtitle {
    font-size: var(--fs-subtitle);
    color: var(--text-gray);
    margin-bottom: var(--space-5);
    letter-spacing: 0.05em;
    line-height: 1.6;
    animation: fadeInUp 1s var(--ease) 0.4s both;
}

.hero-subtitle .highlight {
    color: var(--gold);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s var(--ease) 0.6s both;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: var(--space-5);
    margin-top: var(--space-5);
    flex-wrap: wrap;
    animation: fadeInUp 1s var(--ease) 0.8s both;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-gray);
}

.hero-meta-item strong {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
}

/* 滚动指示 */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    animation: bounce 2s var(--ease) infinite;
    z-index: 10;
}

.hero-scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, var(--gold), transparent);
    margin: 8px auto 0;
}

/* ===================== 8. 数据带 ===================== */
.stats-section {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    padding: var(--space-6) 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-3);
    position: relative;
}

.stat-item {
    text-align: center;
    padding: var(--space-2);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    color: var(--bg-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--bg-primary);
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.05em;
}

/* ===================== 9. 优势 / 课程 / 教师 / 成就 / 联系 卡 ===================== */

/* 优势卡 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
}

.feature-card {
    background: var(--bg-card);
    padding: var(--space-5) var(--space-3);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid transparent;
    transition: all var(--t-base) var(--ease);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: translateX(-50%) scaleX(0);
    transition: transform var(--t-base) var(--ease);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    background: rgba(51, 51, 51, 0.8);
}

.feature-card:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-3);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--bg-primary);
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 12px;
}

.feature-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 课程卡 */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

.course-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    background: var(--bg-card);
    transition: all var(--t-base) var(--ease);
}

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

.course-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.course-card:hover .course-card-image {
    transform: scale(1.08);
}

.course-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(15, 15, 15, 0.85) 75%, rgba(15, 15, 15, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-3);
}

.course-card-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--gold);
    color: var(--bg-primary);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.course-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-2);
    color: var(--gold);
}

.course-card-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.course-card-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}

.course-card-desc {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: var(--space-2);
    line-height: 1.6;
}

.course-card-link {
    color: var(--gold);
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--t-base) var(--ease);
}

.course-card:hover .course-card-link {
    gap: 12px;
}

/* 教师卡 - 自适应子元素数量
   - 1 张（卡宽 ≥ 800px）→ 横向布局：图左文右（图 ~340px，文字占剩余空间）
   - 2 张（卡宽 ~588px）→ 标准 1/2 卡片，图片方形，图上文下
   - 3 张（卡宽 ~384px）→ 标准 1/3 卡片，图片方形，图上文下
   - 移动端 → 单列堆叠
   注：容器查询放在父级 .tier-section 上（不放 .teacher-card 自己身上，
       否则 inline-size containment 会锁住 grid-template-columns 让横版失效）。
*/
.tier-section {
    /* 容器查询容器：宽度变化可触发条件 */
    container-type: inline-size;
    container-name: tier;
}

.teachers-grid {
    display: grid;
    /* 4 张 1 行 (1200 / 4 ≈ 282px) 需要的最小宽度 → 260px；
       3 张时每张 ≈ 384px，2 张时 ≈ 588px，1 张时已走 :only-child 横版 */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-3);
}

.teacher-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: all var(--t-base) var(--ease);
    display: flex;
    flex-direction: column;
}

.teacher-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-md);
}

.teacher-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 容器, 兼容老浏览器 */
    overflow: hidden;
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.teacher-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%; /* 焦点在图片 30% 位置, 避开顶部 */
    transition: transform 0.6s var(--ease);
}

.teacher-card:hover .teacher-image {
    transform: scale(1.05);
}

.teacher-tier-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gold);
    border-radius: var(--radius-full);
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    z-index: 2;
}

.teacher-info {
    padding: var(--space-3);
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 1 张卡场景（teachers-grid:has(> :only-child)）+ 容器宽度足够（≥800px）→ 横向布局
   阈值 800px：1人（~1152px）触发；2人（~588px）不触发；3人（~384px）不触发 */
@container tier (min-width: 800px) {
    .teachers-grid:has(> :only-child) > .teacher-card {
        display: grid;
        grid-template-columns: 340px 1fr;
        align-items: stretch;
    }

    .teachers-grid:has(> :only-child) > .teacher-card .teacher-image-wrap {
        aspect-ratio: auto;
        height: 100%;
        max-height: 520px;
    }

    .teachers-grid:has(> :only-child) > .teacher-card .teacher-info {
        padding: var(--space-5) var(--space-6);
        justify-content: center;
    }
}

.teacher-name {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 6px;
}

.teacher-title {
    font-size: 13px;
    color: var(--gold);
    margin-bottom: var(--space-2);
    font-weight: 500;
    /* 固定最小高度：2行×行高，确保下方详细介绍对齐 */
    min-height: 2.8em;
    line-height: 1.4;
}

.teacher-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 卡片整块可点击 */
.teacher-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.teacher-card-link:hover .teacher-image {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

/* 查看详情链接 */
.teacher-more-link {
    display: block;
    margin-top: auto;
    padding-top: var(--space-2);
    font-size: 13px;
    color: var(--gold);
    opacity: 0.7;
    transition: opacity 0.2s;
}
.teacher-card-link:hover .teacher-more-link {
    opacity: 1;
}

.teacher-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--space-2);
}

.teacher-tag {
    padding: 4px 10px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-full);
    color: var(--gold);
    font-size: 11px;
}

/* 教师层级标题 */
.tier-section {
    margin-bottom: var(--space-6);
}

.tier-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--border-subtle);
}

.tier-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--bg-primary);
    flex-shrink: 0;
    box-shadow: var(--shadow-gold);
}

.tier-info h3 {
    font-family: var(--font-serif);
    font-size: var(--fs-h3);
    color: var(--text-white);
    margin-bottom: 6px;
}

.tier-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* 教师亮点横幅 */
.teacher-feature {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.03) 100%);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-bottom: var(--space-6);
    position: relative;
    overflow: hidden;
}

.teacher-feature::before {
    content: "★";
    position: absolute;
    top: -40px;
    right: -40px;
    font-size: 240px;
    color: var(--gold);
    opacity: 0.06;
    font-family: serif;
}

.teacher-feature-label {
    display: inline-block;
    padding: 4px 14px;
    background: var(--gold);
    color: var(--bg-primary);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
}

.teacher-feature-quote {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 500;
    color: var(--text-white);
    line-height: 1.5;
    margin-bottom: var(--space-2);
}

.teacher-feature-quote .gold {
    color: var(--gold);
    font-weight: 700;
}

.teacher-feature-meta {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 成就统计 */
.achievement-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.achievement-stat {
    text-align: center;
    padding: var(--space-4) var(--space-2);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-gold);
    transition: all var(--t-base) var(--ease);
}

.achievement-stat:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.achievement-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.achievement-label {
    font-size: 14px;
    color: var(--text-gray);
    letter-spacing: 0.05em;
}

/* 成就培养体系 */
.system-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
    margin-top: var(--space-5);
}

.system-flow-item {
    text-align: center;
    padding: var(--space-4) var(--space-3);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border-top: 3px solid var(--gold);
    position: relative;
    transition: all var(--t-base) var(--ease);
}

.system-flow-item:hover {
    transform: translateY(-6px);
    background: rgba(212, 175, 55, 0.05);
}

.system-flow-item:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 24px;
    font-weight: 700;
    z-index: 1;
}

.system-flow-step {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
}

.system-flow-title {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--text-white);
    margin-bottom: var(--space-2);
}

.system-flow-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 成就榜单 */
.honor-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    margin-top: var(--space-5);
}

.honor-card {
    padding: var(--space-3);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--gold);
    transition: all var(--t-base) var(--ease);
}

.honor-card:hover {
    border-left-width: 6px;
    padding-left: calc(var(--space-3) - 3px);
    background: rgba(212, 175, 55, 0.05);
}

.honor-school {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--text-white);
    margin-bottom: 4px;
}

.honor-meta {
    font-size: 13px;
    color: var(--text-secondary);
}

/* 联系卡 */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-5);
    align-items: start;
}

.contact-info-card {
    padding: var(--space-4);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    margin-bottom: var(--space-3);
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    transition: all var(--t-base) var(--ease);
}

.contact-info-card:hover {
    border-color: var(--border-gold);
    transform: translateX(4px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--gold);
}

.contact-info-content h4 {
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--text-white);
    margin-bottom: 4px;
}

.contact-info-content p,
.contact-info-content a {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
    display: block;
}

.contact-info-content a:hover {
    color: var(--gold);
}

/* ===================== 10. 表单 ===================== */
.contact-form {
    background: var(--bg-card);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.form-title {
    font-family: var(--font-serif);
    font-size: var(--fs-h3);
    color: var(--text-white);
    margin-bottom: var(--space-2);
}

.form-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.form-group {
    margin-bottom: var(--space-2);
}

.form-label {
    display: block;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-label .required {
    color: var(--gold);
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 15px;
    transition: all var(--t-base) var(--ease);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-mute);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23d4af37' d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

.form-select option {
    background: var(--bg-secondary);
    color: var(--text-white);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--gold);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--t-base) var(--ease);
    margin-top: var(--space-2);
    letter-spacing: 0.05em;
}

.form-submit:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-success {
    display: none;
    padding: var(--space-3);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    color: var(--gold);
    font-size: 14px;
    text-align: center;
    margin-top: var(--space-2);
}

.form-success.active {
    display: block;
    animation: fadeInUp 0.4s var(--ease) both;
}

/* 微信二维码区（孙校长 / 康校长 / 公众号） */
.qr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .qr-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.qr-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-gold);
    padding: var(--space-4);
    text-align: center;
    transition: all var(--t-base) var(--ease);
    position: relative;
    overflow: hidden;
}

.qr-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: translateX(-50%);
}

.qr-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.qr-card-image-wrap {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--space-3);
    padding: 12px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.qr-card-info {
    padding: 0 var(--space-2);
}

.qr-card-role {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gold-soft);
    color: var(--gold);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.qr-card-name {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 6px;
}

.qr-card-phone {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.qr-card-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 12px;
}

.qr-card-tip {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--gold);
    margin: 0;
}

@media (max-width: 768px) {
    .qr-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    .qr-card-image-wrap {
        width: 180px;
        height: 180px;
    }
}

/* ===================== 11. CTA 区域 ===================== */
.cta-section {
    background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-secondary) 100%);
    padding: var(--space-8) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.cta-eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 48px;
    color: var(--text-white);
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.cta-title span {
    color: var(--gold);
}

.cta-text {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: var(--space-4);
    line-height: 1.7;
}

/* 关于我们 — 品牌故事 */
.about-hero {
    background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-primary) 100%);
    padding: calc(var(--space-10) + 60px) 0 var(--space-8);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    transform: translateX(-50%);
}

.page-title {
    font-family: var(--font-serif);
    font-size: var(--fs-page-title);
    color: var(--text-white);
    margin-bottom: var(--space-2);
    position: relative;
}

.page-title span {
    color: var(--gold);
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
}

/* 品牌故事卡 */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    align-items: center;
}

.story-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.4), transparent 70%);
}

.story-content h3 {
    font-family: var(--font-serif);
    font-size: var(--fs-h3);
    color: var(--text-white);
    margin-bottom: var(--space-3);
}

.story-content p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: var(--space-3);
}

.story-content p:last-child {
    margin-bottom: 0;
}

.story-content .highlight {
    color: var(--gold);
    font-weight: 500;
}

/* 价值列表 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

.value-card {
    padding: var(--space-4);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: all var(--t-base) var(--ease);
}

.value-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
}

.value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-2);
    color: var(--gold);
}

.value-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.value-title {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--text-white);
    margin-bottom: var(--space-2);
}

.value-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 课程详情卡（课程服务页） */
.course-detail {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-3);
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    border: 1px solid var(--border-subtle);
    transition: all var(--t-base) var(--ease);
}

.course-detail:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.course-detail.reverse {
    grid-template-columns: 1.4fr 1fr;
}

.course-detail-image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.course-detail-content {
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-detail-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gold-soft);
    color: var(--gold);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
    align-self: flex-start;
}

.course-detail-title {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--text-white);
    margin-bottom: var(--space-3);
}

.course-detail-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: var(--space-3);
}

.course-detail-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.course-detail-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-gray);
}

.course-detail-feature::before {
    content: "✓";
    color: var(--gold);
    font-weight: 700;
}

/* 课程卡片整体可点击 */
.course-detail-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}
.course-detail-link:hover {
    transform: translateY(-4px);
}
.course-detail-link:hover .course-detail-cta {
    color: var(--gold);
    letter-spacing: 0.05em;
}
.course-detail-link:hover .course-detail-image {
    transform: scale(1.03);
}
.course-detail-image {
    transition: transform 0.5s ease;
}

.course-detail-cta {
    display: inline-block;
    margin-top: var(--space-3);
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

/* 新闻分类 Tab */
.news-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 40px;
    flex-wrap: wrap;
}
.news-tab {
    padding: 10px 24px;
    background: var(--bg-card);
    color: var(--text-white);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}
.news-tab:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: var(--gold-soft);
}
.news-tab.active {
    background: var(--gold);
    color: var(--bg-deep);
    border-color: var(--gold);
    font-weight: 600;
}

/* 新闻三大分类一览 */
.news-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .news-categories-grid {
        grid-template-columns: 1fr;
    }
}
.news-category-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.news-category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width 0.4s ease;
}
.news-category-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}
.news-category-card:hover::before {
    width: 100%;
}
.news-category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--gold-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: all 0.3s ease;
}
.news-category-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}
.news-category-card:hover .news-category-icon {
    background: var(--gold);
    color: var(--bg-deep);
    transform: scale(1.05);
}
.news-category-name {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 12px;
}
.news-category-desc {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    min-height: 48px;
}
.news-category-link {
    color: var(--gold);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}
.news-category-card:hover .news-category-link {
    letter-spacing: 0.1em;
}

/* 新闻卡片网格（单列大卡片） */
.news-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0 auto;
    max-width: 1000px;
}
.news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .news-card { grid-template-columns: 1fr; }
}
.news-card-link:hover .news-card {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}
.news-card-image-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-secondary);
}
@media (max-width: 768px) {
    .news-card-image-wrap { height: 180px; }
}
.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card-link:hover .news-card-image {
    transform: scale(1.05);
}
/* 类目标签 */
.news-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.news-card-tag[data-cat="21"] { background: #1A66D8; } /* 市场活动-蓝 */
.news-card-tag[data-cat="22"] { background: #8B5CF6; } /* 梦承观点-紫 */
.news-card-tag[data-cat="23"] { background: var(--gold); color: var(--bg-deep); } /* 艺考资讯-金 */

.news-card-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-card-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-desc {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-mute);
    font-size: 13px;
}
.news-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
}
.news-card-date svg {
    fill: currentColor;
}
.news-card-readmore {
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}
.news-card-link:hover .news-card-readmore {
    letter-spacing: 0.06em;
}

/* 页脚公众号二维码 */
.footer-qr {
    text-align: center;
}
.footer-qr-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}
.footer-qr-img {
    width: 110px;
    height: 110px;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.footer-qr-img:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.45);
}
.footer-qr-text {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0.05em;
    margin: 0;
}

/* ===================== 12. Footer ===================== */
.footer {
    background: var(--bg-deep);
    padding: var(--space-6) 0 var(--space-3);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1fr;
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

.footer-brand .logo {
    margin-bottom: var(--space-3);
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 360px;
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: var(--space-3);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    background: var(--gold);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: all var(--t-base) var(--ease);
}

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

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    align-items: flex-start;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    fill: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-subtle);
    font-size: 13px;
    color: var(--text-mute);
}

/* ===================== 13. 浮动控件（电话 + 客服） ===================== */
.floating-cta {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: var(--z-floating);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--t-base) var(--ease);
    box-shadow: var(--shadow-md);
    position: relative;
}

.floating-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--bg-primary);
}

.floating-btn.phone {
    background: var(--gold);
}

.floating-btn.chat {
    background: var(--gold);
}

.floating-btn:hover {
    transform: scale(1.1) rotate(-5deg);
}

.floating-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    background: var(--gold);
    opacity: 0.5;
    animation: pulse 2s var(--ease) infinite;
    z-index: -1;
}

/* ===================== 14. 客服聊天浮窗 ===================== */
.chat-widget {
    position: fixed;
    bottom: 110px;
    right: 32px;
    width: 360px;
    max-width: calc(100vw - 64px);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-chat);
    display: none;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    animation: slideUp 0.3s var(--ease);
}

.chat-widget.active {
    display: block;
}

.chat-header {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    color: var(--gold);
    font-weight: 700;
}

.chat-header-text h4 {
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--bg-primary);
    font-weight: 600;
    margin: 0;
}

.chat-header-text small {
    font-size: 11px;
    color: var(--bg-primary);
    opacity: 0.7;
}

.chat-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--bg-primary);
}

.chat-close svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.chat-body {
    height: 280px;
    padding: 16px;
    overflow-y: auto;
    background: var(--bg-primary);
}

.chat-message {
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
    animation: fadeInUp 0.3s var(--ease);
}

.chat-message .bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    max-width: 80%;
    line-height: 1.5;
}

.chat-message.bot .bubble {
    background: var(--bg-card);
    color: var(--text-gray);
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.user .bubble {
    background: var(--gold);
    color: var(--bg-primary);
}

.chat-input {
    padding: 12px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 8px;
    background: var(--bg-secondary);
}

.chat-input input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 14px;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--gold);
}

.chat-input input::placeholder {
    color: var(--text-mute);
}

.chat-input button {
    padding: 10px 18px;
    background: var(--gold);
    color: var(--bg-primary);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--t-base) var(--ease);
}

.chat-input button:hover {
    background: var(--gold-light);
}

/* ===================== 15. 动画 ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 数字计数动画 */
.counter {
    display: inline-block;
}

/* ===================== 16. 响应式 ===================== */
@media (max-width: 1200px) {
    :root {
        --fs-hero: 72px;
        --fs-page-title: 48px;
        --fs-section: 36px;
    }
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

    .system-flow {
        grid-template-columns: 1fr;
    }

    .system-flow-item:not(:last-child)::after {
        content: "↓";
        right: 50%;
        top: auto;
        bottom: -28px;
        transform: translateX(50%);
    }

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

    .course-detail,
    .course-detail.reverse {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-menu {
        gap: 24px;
    }

    .nav-menu a {
        font-size: 14px;
    }

    .nav-cta {
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    :root {
        --fs-hero: 48px;
        --fs-page-title: 36px;
        --fs-section: 30px;
        --fs-subtitle: 18px;
        --fs-h3: 22px;
        --fs-h4: 18px;
    }

    .navbar {
        padding: 12px 0;
    }

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        min-height: 580px;
    }

    .hero-meta {
        gap: var(--space-3);
    }

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

    .stat-number {
        font-size: 40px;
    }

    .section {
        padding: var(--space-6) 0;
    }

    .section-divider {
        margin: var(--space-2) auto var(--space-1);
    }

    .features-grid,
    .courses-grid,
    .teachers-grid,
    .values-grid,
    .honor-list {
        grid-template-columns: 1fr;
    }

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

    .achievement-number {
        font-size: 36px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .floating-cta {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .floating-btn svg {
        width: 20px;
        height: 20px;
    }

    .chat-widget {
        right: 20px;
        bottom: 90px;
        width: calc(100vw - 40px);
    }

    .cta-title {
        font-size: 32px;
    }

    .teacher-feature-quote {
        font-size: 22px;
    }

    .tier-header {
        flex-direction: column;
        text-align: center;
        gap: var(--space-2);
    }

    .course-detail-content {
        padding: var(--space-3);
    }

    .course-detail-title {
        font-size: 26px;
    }

    .contact-form {
        padding: var(--space-3);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 38px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

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

    .stat-number {
        font-size: 36px;
    }

    .section-title {
        font-size: 26px;
    }

    .teacher-tier-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
}

/* =====================================================
   教师详情页 (newsdetail.html)
   ===================================================== */
.teacher-detail-hero {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, rgba(30,25,50,0.6) 0%, transparent 100%);
}

.teacher-detail-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 64px;
    align-items: start;
}

/* 左列：照片 */
.teacher-detail-photo-col {
    position: sticky;
    top: 120px;
}

.teacher-detail-photo-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-xl);
    aspect-ratio: 3/4;
}

.teacher-detail-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.teacher-detail-tier-badge {
    position: absolute;
    top: 20px;
    left: -1px;
    padding: 6px 18px 6px 16px;
    background: linear-gradient(135deg, #c9a84c, #f0d78c);
    color: #1a1a2e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.teacher-detail-tier-badge.tier-2 {
    background: linear-gradient(135deg, #3a8fff, #6aabff);
    color: #fff;
}

.teacher-detail-tier-badge.tier-3 {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: #fff;
}

.teacher-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.teacher-detail-tags .teacher-tag {
    padding: 5px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    color: var(--gold);
    font-size: 13px;
    font-weight: 500;
}

/* 右列：信息 */
.teacher-detail-info-col {
    padding-top: 8px;
}

.teacher-detail-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-mute);
    margin-bottom: 20px;
    font-family: var(--font-sans);
}

.teacher-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--gold);
    text-decoration: none;
    transition: opacity 0.2s;
}

.teacher-detail-back:hover { opacity: 0.8; text-decoration: none; }

.teacher-detail-sep { color: var(--border-gold); }

.teacher-detail-name {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.teacher-detail-subtitle {
    font-size: 18px;
    color: var(--gold);
    font-weight: 500;
    margin: 0 0 28px;
    font-family: var(--font-sans);
}

.teacher-detail-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--border-gold), transparent);
    margin-bottom: 28px;
}

.teacher-detail-bio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-family: var(--font-sans);
}

.teacher-detail-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-secondary);
}

.teacher-detail-content p {
    margin-bottom: 16px;
}

.teacher-detail-content p:last-child { margin-bottom: 0; }

.teacher-detail-content strong {
    color: var(--text-white);
    font-weight: 600;
}

.teacher-detail-footer {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border-subtle);
}

.teacher-detail-more-link {
    font-size: 14px;
    color: var(--text-mute);
    text-decoration: none;
    transition: color 0.2s;
}

.teacher-detail-more-link:hover { color: var(--gold); text-decoration: none; }

/* =====================================================
   师资页一级教授横向大卡
   ===================================================== */
.teacher-hero-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: start;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-top: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.teacher-hero-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.teacher-hero-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
}

.teacher-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.teacher-hero-badge {
    position: absolute;
    top: 16px;
    left: -1px;
    padding: 5px 16px 5px 14px;
    background: linear-gradient(135deg, #c9a84c, #f0d78c);
    color: #1a1a2e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.teacher-hero-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 0;
}

.teacher-hero-meta {
    margin-bottom: 12px;
}

.teacher-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.teacher-hero-tags .teacher-tag {
    padding: 4px 12px;
    background: rgba(201,168,76,0.12);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    color: var(--gold);
    font-size: 12px;
    font-weight: 500;
}

.teacher-hero-name {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 8px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.teacher-hero-subtitle {
    font-size: 16px;
    color: var(--gold);
    margin: 0 0 24px;
    font-weight: 500;
}

.teacher-hero-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-height: 9em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    margin-bottom: 28px;
}

.teacher-hero-desc p {
    margin-bottom: 10px;
}

.teacher-hero-desc p:last-child { margin-bottom: 0; }

.teacher-hero-desc strong { color: var(--text-white); }

.teacher-hero-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* =====================================================
   教师详情页和师资大卡 响应式
   ===================================================== */
@media (max-width: 900px) {
    .teacher-detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .teacher-detail-photo-col {
        position: static;
        max-width: 360px;
        margin: 0 auto;
    }

    .teacher-hero-card {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px;
    }

    .teacher-hero-photo {
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .teacher-detail-name { font-size: 28px; }
    .teacher-hero-name { font-size: 24px; }
    .teacher-hero-card { padding: 20px; }
}

/* =====================================================
   教师详情页 v2 升级版
   ===================================================== */
.teacher-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-mute);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.teacher-detail-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.teacher-detail-breadcrumb a:hover { color: var(--gold); }

.teacher-detail-breadcrumb .separator { color: var(--text-mute); }

.teacher-detail-breadcrumb .current { color: var(--gold); font-weight: 500; }

.teacher-detail-info-col {
    padding-top: 0;
}

/* 擅长教授课程 */
.teacher-detail-specialty {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border-subtle);
}

.teacher-detail-specialty-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.teacher-detail-specialty-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.teacher-detail-specialty-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.teacher-specialty-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    color: var(--gold);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    cursor: default;
}

.teacher-specialty-chip:hover {
    background: linear-gradient(135deg, rgba(201,168,76,0.25), rgba(201,168,76,0.12));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201,168,76,0.2);
}

/* 操作按钮组 */
.teacher-detail-actions {
    display: flex;
    gap: 14px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.teacher-detail-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* 详细经历区 */
.teacher-detail-bio-section {
    padding: 80px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.teacher-detail-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.teacher-detail-section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gold);
    padding: 6px 16px;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.teacher-detail-section-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 16px;
    line-height: 1.2;
}

.teacher-detail-section-title span { color: var(--gold); }

.teacher-detail-bio-content {
    max-width: 820px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 2;
    color: var(--text-gray);
}

.teacher-detail-bio-content p {
    margin-bottom: 20px;
}

.teacher-detail-bio-content p:first-child::first-letter {
    font-size: 1.4em;
    color: var(--gold);
    font-weight: 600;
    padding-right: 2px;
}

.teacher-detail-bio-content strong {
    color: var(--text-white);
    font-weight: 600;
}

/* 教学数据区 */
.teacher-detail-stats-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.teacher-detail-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.teacher-detail-stat {
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}

.teacher-detail-stat:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.teacher-detail-stat-num {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
    margin-bottom: 8px;
}

.teacher-detail-stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    .teacher-detail-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .teacher-detail-bio-section { padding: 60px 0; }
    .teacher-detail-stats-section { padding: 40px 0; }
}

@media (max-width: 600px) {
    .teacher-detail-stats-grid {
        grid-template-columns: 1fr;
    }
    .teacher-detail-actions { flex-direction: column; }
    .teacher-detail-actions .btn { width: 100%; justify-content: center; }
}

/* =====================================================
   学员成就页：3 列网格（独立于 .teachers-grid 4 列默认）
   ===================================================== */
.students-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

/* 学员卡在 3 列网格里：图片纵横比 16:9（更横），匹配配图比例 */
.students-grid-3 .teacher-image-wrap {
    padding-top: 56.25%; /* 16:9 */
}

@media (max-width: 900px) {
    .students-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .students-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   打印优化
   ===================================================== */
@media print {
    .navbar, .floating-cta, .chat-widget, .mobile-menu, .mobile-overlay {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}