/* ==========================================================================
   珑途教育 LongTu Education — 全局样式表
   目录
   1. 设计变量（Design Tokens）
   2. 基础重置
   3. 布局工具（Container / Grid / Section）
   4. 通用组件（按钮 / 标题 / 卡片 / 标签 / 占位框）
   5. 导航栏
   6. 首屏 Hero
   7. 页面头部 Page Header
   8. 各页面区块组件
   9. 页脚
   10. 响应式（1024 / 768）
   ========================================================================== */

/* ==========================================================================
   1. 设计变量
   ========================================================================== */
:root {
  /* 色彩 */
  --primary: #002FA7;
  --primary-dark: #00227A;
  --primary-deep: #001A5C;
  --primary-light: #E8EEFF;
  --accent: #FFC107;
  --accent-dark: #E0A800;
  --accent-light: #FFF4D6;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --text: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --border-strong: #C7D2E1;
  --dark-surface: #E9EEF7;

  /* 圆角 */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px -12px rgba(15, 23, 42, .16);
  --shadow-lg: 0 24px 60px -24px rgba(2, 26, 92, .35);

  /* 尺寸 */
  --container: 1320px;
  --header-h: 68px;
  --gutter: 28px;

  /* 字体与动效 */
  --font-sans: "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "MiSans",
    "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  --transition: .25s ease;
}

/* ==========================================================================
   2. 基础重置
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-snap-type: y proximity;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

html {
  font-family: var(--font-sans);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid rgba(0, 47, 167, .35);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   3. 布局工具
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding: 112px 0;
}

.section--tight {
  padding: 80px 0;
}

.section--white {
  background-color: var(--white);
}

.grid {
  display: grid;
  gap: var(--gutter);
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ==========================================================================
   4. 通用组件
   ========================================================================== */

/* ---------- 4.1 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition), box-shadow var(--transition),
    transform var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px -10px rgba(0, 47, 167, .75);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

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

.btn-secondary:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.btn-accent {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--primary-deep);
  box-shadow: 0 10px 24px -12px rgba(255, 193, 7, .9);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--primary-deep);
}

.btn--ghost {
  background-color: transparent;
  border-color: rgba(255, 255, 255, .45);
  color: var(--white);
}

.btn--ghost:hover {
  background-color: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .7);
  color: var(--white);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 16px;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* 超大号按钮（首页主 CTA） */
.btn-xl {
  padding: 20px 38px;
  border-radius: 16px;
  font-size: 17px;
  gap: 10px;
}

.btn-xl.btn-primary {
  box-shadow: 0 22px 40px -22px rgba(0, 47, 167, .85);
}

.btn-xl.btn-secondary {
  border-width: 2px;
}

/* ---------- 4.2 标题 ---------- */
.section-title {
  position: relative;
  padding-bottom: 16px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--primary-deep);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--accent);
}

.section-title--on-dark {
  color: var(--white);
}

.section-lead {
  margin-top: 18px;
  max-width: 62ch;
  font-size: 16px;
  color: var(--text-muted);
}

.section-lead--on-dark {
  color: rgba(255, 255, 255, .78);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head .section-title {
  display: inline-block;
}

.section-head .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-head .section-lead {
  margin-inline: auto;
}

.section-actions {
  margin-top: 44px;
  text-align: center;
}

/* ---------- 4.3 卡片 ---------- */
.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
}

.card--flush {
  padding: 0;
  overflow: hidden;
}

.card--hover {
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.card--hover:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

/* ---------- 4.4 标签 / 胶囊 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .02em;
  white-space: nowrap;
}

.badge--accent {
  background-color: var(--accent-light);
  color: #8A5A00;
}

.badge--outline {
  background-color: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
}

/* ---------- 4.5 骨架占位框 ---------- */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 28px 20px;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  background-color: var(--white);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .02em;
  text-align: center;
}

.placeholder--tall {
  min-height: 280px;
}

.placeholder--ratio {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.placeholder--portrait {
  aspect-ratio: 3 / 4;
  min-height: 0;
}

.placeholder--on-dark {
  border-color: rgba(255, 255, 255, .4);
  background-color: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .78);
}

/* ==========================================================================
   5. 导航栏（高端私教工作室）
   ========================================================================== */
/* 纯白磨砂 + 极弱阴影，去掉硬边框 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .03);
  transition: background-color .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .05);
}

/* 左右两端对齐，内容整体 1200px 居中（宽度由 .container 提供） */
.nav,
.nav-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  height: var(--header-h);
}

/* Logo：图形与文字双区，品牌感优先 */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--primary-deep);
}

.logo:hover {
  color: var(--primary);
}

.logo-img {
  display: block;
  flex: 0 0 auto;
  height: 30px;
  width: auto;
  transition: transform var(--transition);
}

.logo:hover .logo-img {
  transform: translateY(-1px);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
}

.site-header .logo-text small {
  font-size: .6rem;
  color: var(--text-muted);
  letter-spacing: .16em;
}

.logo-text small {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--text-muted);
}

/* 导航链接：深灰 → 深海军蓝，黄线由下向上长出 */
.nav-links ul {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-link {
  position: relative;
  display: block;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .5px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--accent);
  transform: translateX(-50%) scaleY(0);
  transform-origin: center bottom;
  transition: transform .25s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleY(1);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::after {
  transform: translateX(-50%) scaleY(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 右侧咨询按钮：实心胶囊 */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 50px;
  background-color: var(--primary);
  color: var(--white);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 47, 167, .2);
  transition: background-color .25s ease, color .25s ease,
    transform .25s ease, box-shadow .25s ease;
}

.nav-cta:hover {
  background-color: var(--accent);
  color: var(--primary-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(224, 168, 0, .35);
}

/* 移动端按钮（桌面隐藏） */
.nav-item--mobile {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--primary-deep);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   6. 首屏 Hero
   ========================================================================== */
/* ---------- 首屏舞台：整页锁定，滚动时收缩 ---------- */
.hero-stage {
  position: relative;
  height: calc(100vh - var(--header-h) + 200px);
  background-color: #F1F5FB;
}

.hero-wrapper {
  position: sticky;
  top: var(--header-h);
  display: flex;
  align-items: center;
  height: calc(100vh - var(--header-h));
}

/* 首屏：大居左排版 + 倾斜几何色块，撑满一屏 */
.hero {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: calc(100vh - var(--header-h));
  overflow: hidden;
  padding: 32px 0 48px;
  background-color: var(--bg);
  background-image:
    radial-gradient(48% 48% at 94% 0%, rgba(0, 47, 167, .09) 0%, rgba(0, 47, 167, 0) 68%),
    radial-gradient(38% 38% at -6% 100%, rgba(255, 193, 7, .14) 0%, rgba(255, 193, 7, 0) 70%);
  transform-origin: center center;
  transition: border-radius .3s ease;
  will-change: transform;
}

/* 滚动后收回成一张悬浮卡：只做缩放，不改变透明度，保证文字清晰 */
.hero.scaled {
  transform: scale(.9);
  border-radius: 24px;
  box-shadow: 0 30px 70px -40px rgba(2, 26, 92, .3);
}

.hero > .container {
  display: flex;
  width: 100%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  width: 100%;
}

.hero-copy {
  align-self: center;
  min-width: 0;
}

/* ---------- 左栏：超大字排版 ---------- */
/* 首屏标签：序号 + 雅思胶囊 */
.hero-eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.eyebrow-index {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: .06em;
}

.eyebrow-slash {
  color: var(--border-strong);
  font-weight: 400;
}

.eyebrow-pill {
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}

.eyebrow-label {
  letter-spacing: .18em;
}

.hero-title {
  margin: 0;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.035em;
  color: var(--primary-deep);
}

.hero-title-line {
  display: inline-block;
  white-space: nowrap;
}

/* 顶部品牌小字 */
.hero-overline {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
}

.highlight {
  color: var(--accent);
}

.hero-title .highlight {
  color: var(--accent);
}

.hero-desc strong {
  color: var(--primary-deep);
  font-weight: 800;
}

.hero-desc {
  max-width: 26em;
  margin-bottom: 40px;
  color: var(--text-muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  margin-top: 44px;
}

.hero-cta-note {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: .08em;
}

.hero-lead {
  margin-top: 28px;
  max-width: 26em;
  color: var(--text);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.75;
}

/* 首屏唯一行动按钮 */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 46px;
  border-radius: var(--radius-pill);
  background-color: var(--primary);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .06em;
  box-shadow: 0 26px 44px -26px rgba(0, 47, 167, .85);
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.hero-cta:hover {
  transform: translateY(-3px);
  background-color: var(--primary-dark);
  box-shadow: 0 32px 52px -26px rgba(0, 47, 167, .9);
}

.hero-cta-arrow {
  transition: transform .25s ease;
}

.hero-cta:hover .hero-cta-arrow {
  transform: translateX(6px);
}

/* 首屏三大数据：超大数字 + 细线分隔 */
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 36px;
  margin-right: 36px;
  border-right: 1px solid var(--border);
}

.metric:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: none;
}

.metric strong {
  color: var(--primary-deep);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.05em;
}

.metric strong small {
  margin-left: 2px;
  font-size: .38em;
  font-weight: 800;
  letter-spacing: 0;
}

.metric span {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: .06em;
}

/* ---------- 右栏：倾斜几何色块 + 灯塔 ---------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: stretch;
  min-width: 0;
  min-height: 400px;
  margin-bottom: calc(-1 * var(--hero-pad-b, 48px));
}

.hero-shape {
  position: absolute;
}

/* 后面的浅蓝大色块：倾斜打破方形感 */
.hero-shape--back {
  inset: 10% -3% 16%;
  border-radius: 44px;
  background: linear-gradient(155deg, #E6EEFF 0%, #C8DAFF 100%);
  transform: rotate(-11deg);
  opacity: .92;
}

/* 黄色圆点：增加一层次 */
.hero-shape--accent {
  top: 3%;
  right: 2%;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FFD75E 0%, #FFC107 62%, #F0AF00 100%);
  box-shadow: 0 26px 50px -26px rgba(224, 168, 0, .85);
}

/* 学员照片：底部贴齐，不设边框 */
.hero-figure {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.hero-figure img {
  display: block;
  width: auto;
  height: clamp(360px, 56vh, 560px);
  max-width: none;
  filter: drop-shadow(0 30px 46px rgba(2, 26, 92, .18));
}

/* ==========================================================================
   7. 页面头部 Page Header
   ========================================================================== */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 64px 0 60px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
}

.page-header::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 7, .28) 0%, rgba(255, 193, 7, 0) 68%);
  pointer-events: none;
}

.page-header > .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, .8);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, .35);
}

.breadcrumb [aria-current="page"] {
  color: var(--accent);
}

.page-header h1 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.02em;
}

.page-header p {
  max-width: 62ch;
  margin-top: 12px;
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
}

/* ==========================================================================
   8. 页面区块组件
   ========================================================================== */

/* ---------- 8.1 核心卖点（大号数字列表） ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.value-item {
  display: flex;
  flex-direction: column;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.value-num {
  color: #CCD9F2;
  font-size: clamp(42px, 4vw, 60px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
}

.value-head {
  margin-top: 16px;
  min-height: 2.8em;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -.015em;
  color: var(--primary-deep);
}

.value-line {
  margin-top: 10px;
  max-width: 34ch;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

/* ---------- 8.2 首页分流预览 ---------- */
.preview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.preview-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--primary-deep);
}

.preview-desc {
  max-width: 42ch;
  color: var(--text-muted);
  font-size: 15.5px;
}

.preview-action {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* 师资头像墙 */
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  justify-items: center;
}

.avatar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.avatar-round {
  position: relative;
  display: block;
  width: min(100%, 170px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(160deg, #EDF2FE 0%, #DCE7FF 100%);
  box-shadow: 0 26px 50px -30px rgba(0, 47, 167, .65);
  transition: transform var(--transition), box-shadow var(--transition);
}

.avatar-round img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.avatar-item:hover .avatar-round {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 34px 60px -30px rgba(0, 47, 167, .7);
}

.avatar-name {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  transition: color var(--transition);
}

.avatar-item:hover .avatar-name {
  color: var(--primary);
}

/* 照片未上传时的占位 */
.avatar-round.is-empty img {
  display: none;
}

.avatar-round.is-empty::after {
  content: "👤";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 46px;
  opacity: .45;
}

/* 课程预览卡片（不放价格与课表） */
.course-mini-grid {
  gap: 24px;
}

.course-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.course-mini:hover {
  transform: translateY(-6px);
  border-color: #D8E2F8;
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.course-mini--featured {
  border-color: #F3D07A;
  background: linear-gradient(170deg, #FFFDF6 0%, var(--white) 70%);
}

.course-mini-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.course-mini-tag--accent {
  background-color: var(--accent-light);
  color: #8A5A00;
}

.course-mini-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--text);
}

.course-mini-target {
  color: var(--text-muted);
  font-size: 14px;
}

.course-mini-target strong {
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
}

.course-mini-desc {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* 照片墙：硬核教研，全员阵容 */
.photo-wall-block {
  margin-top: 72px;
}

.photo-wall-title {
  margin-bottom: 32px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--primary-deep);
}

.photo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.photo-tile {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 18px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .35) 0 2px, rgba(255, 255, 255, 0) 2px 16px),
    linear-gradient(150deg, #EFF3F9 0%, #DCE3EE 50%, #C6D1E2 100%);
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .5s ease;
}

.photo-tile:hover img {
  transform: scale(1.03);
}

.photo-tile.is-empty img {
  display: none;
}

.tile-name {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: rgba(2, 26, 92, .34);
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
}

.photo-tile.is-empty .tile-name {
  display: flex;
}

.photo-tile.is-empty .photo-name {
  display: none;
}

.photo-tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(2, 18, 51, 0) 0%, rgba(2, 18, 51, .62) 100%);
  pointer-events: none;
}

.photo-name {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  color: var(--white);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .04em;
}

/* 占位提示：有照片时自动隐藏 */
.photo-hint {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: none;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background-color: rgba(2, 18, 51, .38);
  color: rgba(255, 255, 255, .92);
  font-size: 11px;
  letter-spacing: .04em;
}

.photo-tile.is-empty .photo-hint {
  display: inline-block;
}

.team-caption {
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: .08em;
  text-align: center;
}

/* ---------- 8.3 师资展示（数据驱动） ---------- */
.teacher-showcase {
  padding-top: 64px;
}

.showcase-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.showcase-eyebrow {
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .24em;
}

.showcase-title {
  margin-top: 10px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--primary-deep);
}

.showcase-hint {
  color: var(--text-muted);
  font-size: 13px;
}

/* 上方大卡片：内容由 JS 填充 */
.teacher-card {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 48px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background-color: var(--white);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03),
    0 30px 60px -46px rgba(15, 23, 42, .35);
}

.teacher-card--reverse {
  grid-template-columns: .98fr 1.02fr;
}

.teacher-card--reverse .portrait {
  order: 2;
}

/* 人像：占卡片一半以上面积 */
.portrait {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 22px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .38) 0 2px, rgba(255, 255, 255, 0) 2px 18px),
    linear-gradient(150deg, #EFF3F9 0%, #DCE3EE 48%, #C6D1E2 100%);
}

.portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portrait.is-empty img {
  display: none;
}

/* 缺图时的极简灰渐变占位：居中显示姓名 */
.portrait-name {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: rgba(2, 26, 92, .3);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: .14em;
  text-align: center;
}

.portrait.is-empty .portrait-name {
  display: flex;
}

.portrait.is-empty::after {
  content: "照片待上传";
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background-color: rgba(2, 26, 92, .3);
  color: rgba(255, 255, 255, .92);
  font-size: 11.5px;
  letter-spacing: .06em;
}

/* 文案区 */
.teacher-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.teacher-index {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
}

.teacher-name {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--primary-deep);
}

.teacher-subject {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
}

.teacher-quote {
  max-width: 34ch;
  color: var(--text-muted);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.75;
}

.teacher-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px 20px;
  margin: 8px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.teacher-meta dt {
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
}

.teacher-meta dd {
  margin: 4px 0 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

/* 下方头像导航 */
/* 外层吸底玻璃条：内部可横向滑动（浮动 dock 样式） */
.avatar-nav-bar {
  position: sticky;
  bottom: 20px;
  z-index: 20;
  max-width: 980px;
  margin: 40px auto 0;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 18px 40px -24px rgba(2, 26, 92, .5);
}

.avatar-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;
  justify-content: safe center;
  gap: 26px;
  max-width: 100%;
  padding: 2px 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
}

.avatar-nav.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.avatar-nav.is-dragging .avatar-btn {
  pointer-events: none;
}

.avatar-nav::-webkit-scrollbar {
  display: none;
}

.avatar-btn {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.avatar-photo {
  position: relative;
  display: block;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(160deg, #EFF3F9 0%, #D6DFEC 100%);
  box-shadow: 0 0 0 2px transparent, 0 12px 24px -18px rgba(2, 26, 92, .5);
  transition: box-shadow .25s ease, transform .25s ease;
}

.avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.avatar-photo.is-empty {
  background: linear-gradient(160deg, #EEF2F8 0%, #D8E0EC 100%);
  box-shadow: inset 0 0 0 1px rgba(2, 26, 92, .06);
}

.avatar-photo.is-empty img {
  display: none;
}

.avatar-btn:hover .avatar-photo {
  transform: translateY(-3px);
}

.avatar-btn.is-active .avatar-photo {
  box-shadow: 0 0 0 3px var(--accent), 0 14px 26px -16px rgba(2, 26, 92, .55);
}

.avatar-label {
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .25s ease;
}

.avatar-btn:hover .avatar-label,
.avatar-btn.is-active .avatar-label {
  color: var(--primary-deep);
}

/* ---------- 8.4 学员评价 ---------- */
.quote-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quote-mark {
  color: var(--accent);
  font-size: 44px;
  font-weight: 800;
  line-height: .8;
  font-family: inherit;
}

.quote-text {
  color: var(--text-muted);
  font-size: 15px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.avatar-placeholder {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px dashed var(--border-strong);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 11px;
}

.quote-author strong {
  display: block;
  font-size: 14.5px;
}

.quote-author span {
  color: var(--text-muted);
  font-size: 12.5px;
}

/* ---------- 8.5 CTA 通栏 ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px;
  border-radius: var(--radius-xl);
  background: linear-gradient(120deg, var(--primary-deep) 0%, var(--primary) 72%);
  box-shadow: var(--shadow-lg);
}

.cta-banner::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -140px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 193, 7, .18);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.cta-title {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--white);
}

.cta-desc {
  margin-top: 10px;
  color: rgba(255, 255, 255, .76);
  font-size: 15.5px;
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 8.6 资讯列表 ---------- */
#news-container {
  display: grid;
  gap: 20px;
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.news-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.news-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
}

.news-item time {
  font-variant-numeric: tabular-nums;
}

.news-item-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.news-item-desc {
  color: var(--text-muted);
  font-size: 14.5px;
}

.news-item-more {
  margin-top: 4px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.news-empty {
  padding: 48px 24px;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-muted);
  text-align: center;
}

/* ---------- 8.7 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-list--spaced {
  margin-top: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.contact-item h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .04em;
}

.contact-item p,
.contact-item a {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.contact-item a:hover {
  color: var(--primary);
}

.contact-tip {
  margin-top: 20px;
  padding: 18px 20px;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 14px;
  background-color: var(--white);
}

/* 表单 */
.form-card {
  padding: 32px;
}

.form-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-card > p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  min-width: 0;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #94A3B8;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 47, 167, .12);
}

.form-note {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 12.5px;
}

/* ---------- 8.8 课程页：Tab 选项卡 ---------- */
.section--tabs {
  padding-top: 96px;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  position: relative;
  padding: 0 0 20px;
  border: none;
  background: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--transition);
}

.tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  border-radius: 3px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.is-active {
  color: var(--primary-deep);
  font-weight: 700;
}

.tab-btn.is-active::after {
  transform: scaleX(1);
}

/* 内容区 */
.tab-panels {
  padding-top: 56px;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: tabIn .35s ease both;
}

@keyframes tabIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.panel-title {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--primary-deep);
}

.panel-desc {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.7;
}

/* 卡片栅格 */
.panel-grid {
  display: grid;
  gap: 24px;
}

.panel-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.panel-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background-color: var(--white);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .03),
    0 18px 40px -30px rgba(15, 23, 42, .28);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.panel-card:hover {
  transform: translateY(-4px);
  border-color: #D8E2F8;
  box-shadow: var(--shadow-lg);
}

.panel-card--featured {
  border-color: #F3D07A;
  background: linear-gradient(170deg, #FFFDF6 0%, var(--white) 60%);
}

.panel-card--tall {
  padding: 34px 32px;
}

.panel-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.panel-tag--accent {
  background-color: var(--accent-light);
  color: #8A5A00;
}

.panel-label {
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
}

.panel-card-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--text);
}

.panel-target {
  color: var(--text-muted);
  font-size: 13.5px;
}

.panel-target strong {
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
}

.panel-card-meta {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.panel-meta {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.panel-meta dt {
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
}

.panel-meta dd {
  margin: 3px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.panel-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.panel-list li {
  position: relative;
  padding-left: 16px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.panel-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background-color: var(--accent);
}

.panel-btn {
  margin-top: auto;
  align-self: flex-start;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  transition: gap var(--transition), color var(--transition);
}

.panel-link:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* 卡片价格块：大字报价 + 极小备注 */
.card-price {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.card-price--compact {
  padding-top: 12px;
}

.card-price-meta {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: .02em;
}

.card-price-value {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.card-price-value small {
  font-size: .52em;
  font-weight: 700;
  letter-spacing: 0;
}

.card-price-value--ask {
  color: var(--primary-deep);
  font-size: 1.05rem;
  font-weight: 700;
}

.card-price-note {
  margin-top: 2px;
  color: #94A3B8;
  font-size: 10.5px;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: .01em;
}

/* 1V1 价格条 */
.vip-price-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 32px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #F4F8FF 0%, var(--white) 72%);
}

.vip-price-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vip-price-value {
  color: var(--primary);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.vip-price-value small {
  font-size: .5em;
  font-weight: 700;
  letter-spacing: 0;
}

.vip-price-note {
  color: var(--text-muted);
  font-size: 13px;
}

/* 三列服务卡 */
.panel-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 首页课程卡价格 */
.course-mini-price {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  color: var(--primary);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.01em;
}

/* 「先诊断，再报价」提示 */
.price-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 720px;
  margin: 40px auto 0;
  padding: 14px 18px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.price-note::before {
  content: "i";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
}

/* 首页课程预览的价格提示 */
.preview-price {
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 13.5px;
  text-align: center;
}

/* 1V1：四种需求 */
.need-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.need-block {
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background-color: var(--bg);
}

.need-index {
  color: #CBD8F0;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}

.need-name {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.need-desc {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ==========================================================================
   9. 页脚
   ========================================================================== */
.site-footer {
  padding: 64px 0 0;
  background-color: #001233;
  color: #CBD5E1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.logo--footer {
  color: var(--white);
}

.logo--footer:hover {
  color: var(--accent);
}

/* 深色页脚用白色版灯塔（assets/logo-mark-light.png） */
.logo--footer .logo-img {
  width: 36px;
}

.logo--footer .logo-text small {
  color: rgba(255, 255, 255, .5);
}

.footer-desc {
  max-width: 36ch;
  margin-top: 18px;
  color: rgba(203, 213, 225, .72);
  font-size: 14px;
}

.footer-title {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
}

.footer-list {
  display: grid;
  gap: 12px;
  font-size: 14px;
}

.footer-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.footer-label {
  color: rgba(203, 213, 225, .55);
}

.footer-list a {
  color: #CBD5E1;
}

.footer-list a:hover {
  color: var(--accent);
}

.footer-links a {
  color: rgba(203, 213, 225, .8);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(203, 213, 225, .6);
  font-size: 13px;
}

/* ==========================================================================
   10. 响应式
   ========================================================================== */
/* 宽屏但高度有限时压缩首屏，保证一屏放得下 */
@media (min-width: 1025px) and (max-height: 820px) {
  .hero {
    padding: 12px 0 32px;
  }

  .hero-title {
    font-size: clamp(2.3rem, 4.4vw, 3.2rem);
  }

  .hero-desc {
    margin-bottom: 28px;
  }

  .hero-metrics {
    margin-top: 32px;
    padding-top: 20px;
  }

  .metric strong {
    font-size: clamp(30px, 3.2vw, 44px);
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-figure img {
    height: clamp(320px, 44vw, 430px);
  }
}

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

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

  /* 宽屏以下关闭沉浸式缩放，回归普通滚动 */
  .hero-stage {
    height: auto;
  }

  .hero-wrapper {
    position: static;
    display: block;
    height: auto;
  }

  .hero {
    min-height: 0;
    transform: none !important;
    border-radius: 0;
    transition: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
    max-width: 760px;
    margin-inline: auto;
  }

  .hero {
    --hero-pad-b: 72px;
    padding: calc(var(--header-h) + 24px) 0 72px;
  }

  .hero-visual {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
    min-height: 440px;
  }

  .hero-title {
    font-size: clamp(2.6rem, 7vw, 3.4rem);
  }

  .value-grid {
    gap: 32px;
  }

  .testimonial-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }


  .testimonial-figure {
    aspect-ratio: 16 / 9;
  }

  .avatar-grid {
    gap: 20px;
  }

  /* 师资展示：单列，图片在上 */
  .teacher-card,
  .teacher-card--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }

  .teacher-card--reverse .portrait {
    order: 0;
  }

  .portrait {
    min-height: 420px;
  }


  /* 课程页：卡片栅格收敛 */
  .panel-grid--4,
  .panel-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 768px) {
  :root {
    --gutter: 18px;
  }

  .section {
    padding: 72px 0;
  }

  .section--tight {
    padding: 56px 0;
  }

  /* 导航：折叠为下拉面板 */
  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.is-open {
    display: block;
  }

  .nav-links ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    padding: 12px 14px;
    font-size: .95rem;
    border-radius: var(--radius-sm);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    background-color: var(--primary-light);
  }

  .nav-item--mobile {
    display: block;
    margin-top: 10px;
  }

  /* 布局降为单列 */
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-auto {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 44px 0 64px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 10vw, 3.1rem);
  }

  .hero-desc {
    margin-bottom: 32px;
    font-size: 17px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 36px;
    padding-top: 24px;
  }

  .metric {
    padding: 0 14px;
    margin: 0;
    border-right: 1px solid var(--border);
  }

  .metric:first-child {
    padding-left: 0;
  }

  .metric:last-child {
    padding-right: 0;
    border-right: none;
  }

  .metric strong {
    font-size: clamp(28px, 8vw, 40px);
  }

  .metric span {
    font-size: 12px;
  }

  .hero-visual {
    min-height: 340px;
  }

  .hero-shape--back {
    inset: 6% 0;
    border-radius: 32px;
  }

  .hero-shape--accent {
    width: 88px;
    height: 88px;
  }

  .hero-figure img {
    height: clamp(280px, 58vw, 380px);
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .value-num {
    font-size: 44px;
  }

  .avatar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .avatar-round {
    width: min(100%, 132px);
  }

  /* 师资展示 */
  .teacher-showcase {
    padding-top: 44px;
  }

  .showcase-head {
    margin-bottom: 24px;
  }

  .teacher-card {
    gap: 20px;
    padding: 16px;
    border-radius: 20px;
  }

  .portrait {
    min-height: 320px;
    border-radius: 16px;
  }

  .teacher-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .avatar-nav {
    margin-top: 28px;
  }

  .avatar-nav {
    justify-content: flex-start;
    gap: 18px;
  }

  .avatar-photo {
    width: 64px;
    height: 64px;
  }

  .avatar-label {
    font-size: 11.5px;
  }

  /* 照片墙 */
  .photo-wall-block {
    margin-top: 44px;
  }

  .photo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .photo-tile {
    border-radius: 14px;
  }

  .team-caption {
    margin-top: 20px;
    font-size: 13px;
  }

  .preview-head {
    margin-bottom: 28px;
  }

  .preview-action {
    margin-top: 36px;
  }

  .btn-xl {
    padding: 17px 28px;
    font-size: 16px;
  }

  .page-header {
    padding: 44px 0 40px;
  }

  .cta-banner {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
  }

  .cta-actions .btn {
    flex: 1 1 auto;
  }

  /* 联系页单列 */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .form-card {
    padding: 24px;
  }

  /* 课程页 */
  .section--tabs {
    padding-top: 44px;
  }

  .tab-nav {
    flex-wrap: nowrap;
    gap: 26px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .tab-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    padding-bottom: 16px;
    font-size: 14.5px;
  }

  .tab-panels {
    padding-top: 36px;
  }

  .panel-head {
    margin-bottom: 30px;
  }

  .panel-grid--4,
  .panel-grid--3,
  .panel-grid--2 {
    grid-template-columns: 1fr;
  }

  .panel-card {
    padding: 24px 22px;
  }

  .need-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
  }

  /* 页脚 */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 36px;
  }

  .footer-bottom {
    justify-content: flex-start;
  }

}

@media (max-width: 420px) {
  .logo-text small {
    display: none;
  }

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

/* ---------- 小节标识（序号 + 英文标签） ---------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
}

.section-head .section-eyebrow {
  display: flex;
  width: max-content;
  margin: 0 auto 14px;
}

.preview-head .section-eyebrow {
  margin-bottom: 10px;
}

.section-eyebrow--on-dark {
  color: rgba(255, 255, 255, .55);
}

.section-eyebrow--on-dark .eyebrow-index {
  color: var(--accent);
}

/* ---------- 深色区块：深浅交替的节奏 ---------- */
.section--dark {
  background-color: var(--primary-deep);
}

.section--dark .section-lead {
  color: rgba(255, 255, 255, .68);
}

.section--dark .value-item {
  border-top-color: rgba(255, 255, 255, .18);
}

.section--dark .value-num {
  color: rgba(255, 255, 255, .18);
}

.section--dark .value-head {
  color: var(--white);
}

.section--dark .value-line {
  color: rgba(255, 255, 255, .68);
}

/* ---------- 滚动入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1),
    transform .6s cubic-bezier(.4, 0, .2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 师资页小节标识 ---------- */
.showcase-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- 学员评价 ---------- */
.testimonial-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 48px;
  align-items: center;
}

.testimonial-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(150deg, #EDF2FA 0%, #DCE5F2 100%);
  aspect-ratio: 1 / 1;
}

.testimonial-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.testimonial-figure figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background-color: rgba(2, 26, 92, .58);
  color: var(--white);
  font-size: 12px;
  letter-spacing: .04em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.testimonial-card {
  padding: 26px 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background-color: var(--white);
  box-shadow: 0 22px 44px -36px rgba(2, 26, 92, .55);
}

.testimonial-card + .testimonial-card {
  margin-top: 18px;
}

.testimonial-quote {
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.85;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

/* 合照裁切出的圆形头像 */
.testimonial-avatar {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #E7ECF5;
  background-image: url("../assets/students.png");
  background-repeat: no-repeat;
  background-size: 560%;
  background-position: 30% 24%;
  box-shadow: 0 8px 16px -10px rgba(2, 26, 92, .6);
}

.testimonial-avatar--b {
  background-position: 66% 20%;
}

.testimonial-avatar--c {
  background-size: 100%;
  background-position: center 16%;
}

.testimonial-name {
  display: flex;
  flex-direction: column;
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 700;
}

.testimonial-name small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
}

/* ---------- 第二屏：陪伴诊断 ---------- */
#listen-first {
  padding: 120px 0;
}

.listen-layout {
  display: grid;
  grid-template-columns: .68fr 1.32fr;
  gap: 56px;
  align-items: center;
}

.listen-title {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -.015em;
  color: var(--primary);
}

.listen-title-top {
  display: inline-block;
  font-size: 1.08em;
  font-weight: 700;
  letter-spacing: -.015em;
}

.listen-title strong {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: -.02em;
}

.listen-text {
  margin-top: 26px;
  max-width: 31em;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 2;
  letter-spacing: .01em;
}

.listen-text + .listen-text {
  margin-top: 20px;
}

.listen-cta {
  margin-top: 44px;
  padding: 26px 56px;
  font-size: 20px;
}

/* ---- 右侧照片拼贴：以 1035×680 为基准等比缩放 ---- */
.collage {
  position: relative;
  width: 100%;
  aspect-ratio: 1035 / 680;
  container-type: inline-size;
}

/* 照片后的浅蓝旋转色块 */
.collage-decor {
  position: absolute;
  left: 26%;
  top: -3%;
  width: 74%;
  height: 106%;
  border-radius: 6cqw;
  background-color: #DCE8FF;
  opacity: .72;
  transform: rotate(-9deg);
  z-index: 0;
}

/* 右上角黄色圆球 */
.collage-dot {
  position: absolute;
  left: 86.5%;
  top: -17%;
  z-index: 5;
  width: 8.7%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FFD75E 0%, #FFBC19 60%, #F0A800 100%);
  box-shadow: 0 14px 28px -10px rgba(246, 174, 11, .6);
}

.collage-item {
  position: absolute;
  z-index: 2;
  margin: 0;
  background-color: #E9EEF7;
}

.collage-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 2px solid #fff;
  border-radius: 3.6cqw;
  box-sizing: border-box;
  box-shadow: 0 22px 46px -34px rgba(13, 45, 106, .55);
}

.collage-item--big {
  left: 0;
  top: 5.15%;
  width: 58.65%;
  height: 84.55%;
  border-radius: 3.6cqw;
}

.collage-item--top img,
.collage-item--bottom img {
  border-radius: 2.9cqw;
}

.collage-item--top {
  left: 60%;
  top: 0;
  width: 40%;
  height: 45.6%;
  border-radius: 2.9cqw;
}

.collage-item--bottom {
  left: 60%;
  top: 49.1%;
  width: 40%;
  height: 40.75%;
  border-radius: 2.9cqw;
}

.collage-item--big img { object-position: 46% center; }
.collage-item--top img { object-position: 50% 30%; }
.collage-item--bottom img { object-position: 44% center; }

/* ---- 悬浮白色气泡 ---- */
.bubble-float {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: .9cqw;
  padding: 0 2.2cqw;
  border-radius: 4.8cqw;
  background-color: #fff;
  color: #17243A;
  font-weight: 600;
  line-height: 1.55;
  box-shadow: 0 8px 24px rgba(45, 90, 160, .12);
}

.bubble-quote {
  color: #B8D1FF;
  font-weight: 800;
  line-height: 1;
}

.bubble-float--a {
  left: 5.8%;
  top: 91.9%;
  width: 75.7%;
  min-height: 17.3%;
  font-size: clamp(14px, 1.95cqw, 21px);
}

.bubble-float--a .bubble-quote {
  font-size: 5.2cqw;
}

.bubble-float--b,
.bubble-float--c {
  left: 4.75%;
  width: 94.25%;
  font-size: clamp(13px, 1.5cqw, 16px);
}

.bubble-float--b {
  top: 79.6%;
  min-height: 20.6%;
}

.bubble-float--c {
  top: 86.1%;
  min-height: 29%;
}

.bubble-float--b .bubble-quote,
.bubble-float--c .bubble-quote {
  font-size: 3.4cqw;
}

/* ---- 移动端：还原为单列（隐藏几何装饰，气泡回归卡片底部） ---- */
@media (max-width: 1024px) {
  .listen-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .collage {
    aspect-ratio: auto;
    container-type: normal;
  }

  .collage-decor,
  .collage-dot {
    display: none;
  }

  .collage-item {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 44px;
  }

  .collage-item img {
    height: auto;
  }

  .bubble-float {
    position: absolute;
    left: 16px;
    right: 16px;
    top: auto;
    bottom: -28px;
    width: auto;
    min-height: 0;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: .9rem;
  }

  .bubble-float .bubble-quote {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .listen-title {
    font-size: clamp(26px, 7.4vw, 34px);
  }
}

/* ---------- 正文重点着色 ---------- */
.hl {
  color: var(--primary);
  font-weight: 700;
}

.hl-accent {
  color: var(--primary-deep);
  font-weight: 700;
  background-image: linear-gradient(180deg, transparent 56%, rgba(255, 193, 7, .55) 56%);
}

.listen-text strong {
  color: inherit;
  font-weight: 700;
}

.text-soft {
  color: var(--text-muted);
}

/* 表单控件与全站字体保持一致 */
input,
select,
textarea,
button {
  font-family: inherit;
}

/* ---------- 教学示例板块 ---------- */
.teach-layout {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 56px;
  align-items: center;
}

.teach-title {
  margin-top: 16px;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -.015em;
  color: var(--primary);
}

.teach-title-top {
  display: inline-block;
  font-size: 1.08em;
  font-weight: 700;
  letter-spacing: -.015em;
}

.teach-title strong {
  color: var(--accent);
  font-weight: 900;
}

.teach-text {
  margin-top: 26px;
  max-width: 31em;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 2;
  letter-spacing: .01em;
}

.teach-cta {
  margin-top: 34px;
}

.teach-media {
  position: relative;
}

.teach-dot {
  position: absolute;
  top: -5%;
  right: -3%;
  z-index: 3;
  width: 84px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FFD75E 0%, #FFC107 60%, #F0A800 100%);
  box-shadow: 0 16px 30px -12px rgba(246, 174, 11, .6);
}

.teach-video {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  aspect-ratio: 16 / 10;
  background-color: #0B1B3A;
  box-shadow: 0 30px 60px -40px rgba(13, 45, 106, .6);
}

.teach-video-el {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #0B1B3A;
}

.teach-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 18, 51, .32) 0%, rgba(2, 18, 51, 0) 42%, rgba(2, 18, 51, .32) 100%);
  pointer-events: none;
  transition: opacity var(--transition);
}

.teach-video.is-playing::after {
  opacity: 0;
}

.teach-video.is-playing .teach-play {
  opacity: 0;
  pointer-events: none;
}

.teach-badge {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background-color: rgba(2, 18, 51, .62);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.teach-badge::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 7px solid var(--white);
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}

.teach-tag {
  position: absolute;
  left: 20px;
  top: 66px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: var(--accent);
  color: var(--primary-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.teach-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 40px -16px rgba(2, 18, 51, .6);
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition), opacity var(--transition);
}

.teach-play::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -14px 0 0 -8px;
  border-left: 22px solid var(--primary);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.teach-play:hover {
  transform: scale(1.06);
  background-color: var(--white);
}

.teach-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background-color: rgba(2, 18, 51, .72);
  color: var(--white);
  font-size: 12px;
  white-space: nowrap;
}

/* 四个试听小卡 */
.teach-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.teach-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 196px;
  padding: 24px 48% 20px 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background-color: var(--white);
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.teach-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 47, 167, .35);
  box-shadow: 0 26px 50px -34px rgba(2, 26, 92, .6);
}

.teach-card.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 47, 167, .16), 0 26px 50px -34px rgba(2, 26, 92, .6);
}

.teach-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  background: linear-gradient(160deg, #EDF2FA 0%, #D9E3F3 100%);
}

.teach-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.teach-photo::after {
  content: ";
  position: absolute;
  inset: 0 auto 0 0;
  width: 26px;
  background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.teach-kind {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.teach-name {
  color: var(--primary);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .01em;
}

.teach-school {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.teach-result {
  color: #B47600;
  font-size: 12.5px;
  line-height: 1.65;
}

.teach-card-icon {
  position: relative;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  transition: background-color var(--transition);
}

.teach-card.is-active .teach-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  background: linear-gradient(160deg, #EDF2FA 0%, #D9E3F3 100%);
}

.teach-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.teach-photo::after {
  content: ";
  position: absolute;
  inset: 0 auto 0 0;
  width: 26px;
  background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.teach-kind {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.teach-name {
  color: var(--primary);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .01em;
}

.teach-school {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.teach-result {
  color: #B47600;
  font-size: 12.5px;
  line-height: 1.65;
}

.teach-card-icon {
  background-color: var(--accent);
}

.teach-card-icon::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 10px;
  border-left: 10px solid var(--white);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.teach-card.is-active .teach-card-icon::before {
  border-left-color: var(--primary-deep);
}

.teach-card-title {
  position: relative;
  z-index: 2;
  color: var(--primary-deep);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .01em;
}

.teach-card-sub {
  position: relative;
  z-index: 2;
  color: var(--text-muted);
  font-size: 12.5px;
}

.teach-card-photo {
  position: absolute;
  right: -14px;
  bottom: -18px;
  width: 118px;
  height: 150px;
  overflow: hidden;
  border-radius: 18px;
  background-color: #E9EEF7;
}

.teach-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .teach-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .teach-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 40px;
  }

  .teach-dot {
    width: 64px;
    top: -3%;
    right: 2%;
  }

  .teach-play {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
  }

  .teach-play::before {
    margin: -10px 0 0 -6px;
    border-left-width: 16px;
    border-top-width: 10px;
    border-bottom-width: 10px;
  }
}

@media (max-width: 768px) {
  .teach-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- 微信二维码弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(2, 18, 51, .58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: modal-fade .3s ease both;
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 38px 32px 30px;
  border-radius: 26px;
  background-color: var(--white);
  box-shadow: 0 40px 90px -40px rgba(2, 18, 51, .7);
  text-align: center;
  animation: modal-pop .34s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-pop {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: none; }
}

.modal__close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background-color: transparent;
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}

.modal__close:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.modal__close:focus {
  outline: none;
}

.modal__close:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.modal__eyebrow {
  color: var(--accent-dark);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .18em;
}

.modal__title {
  margin-top: 12px;
  color: var(--primary);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.modal__desc {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* 二维码位（图片未上传时显示占位框） */
.modal__qr,
.kit-qr {
  position: relative;
  width: 208px;
  height: 208px;
  margin: 24px auto 0;
  overflow: hidden;
  border: 1.5px dashed #C8D6EE;
  border-radius: 18px;
  background-color: #F7FAFF;
}

.modal__qr img,
.kit-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal__qr-ph,
.kit-qr-ph {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .04em;
}

.modal__qr-ph small,
.kit-qr-ph small {
  display: inline-block;
  margin-top: 4px;
  color: #A9B7CE;
  font-size: 10.5px;
  font-weight: 500;
}

.modal__qr.is-empty,
.kit-qr.is-empty {
  border-style: dashed;
}

.modal__qr.is-empty img,
.kit-qr.is-empty img {
  display: none;
}

.modal__qr.is-empty .modal__qr-ph,
.kit-qr-ph {
  display: flex;
  flex-direction: column;
}

.modal__list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.modal__list li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.9;
}

.modal__list li + li {
  margin-top: 2px;
}

.modal__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.modal__foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: .02em;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .modal__dialog {
    padding: 32px 22px 24px;
    border-radius: 22px;
  }

  .modal__title {
    font-size: 21px;
  }

  .modal__qr,
.kit-qr {
    width: 176px;
    height: 176px;
  }
}

/* 右下角「领资料」悬浮入口 */
.lead-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background-color: var(--primary);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  box-shadow: 0 18px 36px -18px rgba(2, 26, 92, .8);
  transition: transform var(--transition), background-color var(--transition);
}

.lead-fab:hover {
  transform: translateY(-3px);
  background-color: var(--primary-dark);
}

.lead-fab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, .25);
}

body.modal-open .lead-fab {
  opacity: 0;
  pointer-events: none;
}

/* ---------- 免费领资料页 ---------- */
.page-stamp {
  position: absolute;
  right: 6%;
  top: 46px;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--primary-deep);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-8deg);
  box-shadow: 0 20px 40px -18px rgba(224, 168, 0, .8);
}

.page-stamp small {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
}

.kit-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.kit-heading {
  margin-top: 14px;
  color: var(--primary);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.kit-heading-mark {
  position: relative;
  color: var(--accent-dark);
  white-space: nowrap;
}

.kit-heading-mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 10px;
  border-radius: 4px;
  background-color: rgba(255, 193, 7, .28);
  z-index: -1;
}

.kit-sub {
  padding-bottom: 6px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.9;
}

/* 不对称资料矩阵 */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "a a a a a a a b b b b b"
    "a a a a a a a c c c c c"
    "d d d d e e e e e e e e";
  gap: 20px;
}

.kit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background-color: var(--white);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.kit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 47, 167, .3);
  box-shadow: 0 30px 60px -40px rgba(2, 26, 92, .6);
}

.kit-card--a {
  grid-area: a;
  padding: 38px 40px;
  color: var(--white);
  background-color: var(--primary-deep);
  border-color: transparent;
}

.kit-card--b {
  grid-area: b;
  background: linear-gradient(160deg, #FFFFFF 0%, #F2F7FF 100%);
}

.kit-card--c {
  grid-area: c;
  background-color: #FFF6DD;
  border-color: #F6E3B0;
}

.kit-card--c .kit-title,
.kit-card--c .kit-num {
  color: #8A5A00;
}

.kit-card--c .kit-desc {
  color: #8B6B2E;
}

.kit-card--c .kit-tag {
  background-color: rgba(255, 193, 7, .3);
  color: #7A4F00;
}

.kit-card--d {
  grid-area: d;
}

.kit-card--e {
  grid-area: e;
  background: linear-gradient(150deg, #E8EEFF 0%, #D6E2FA 100%);
  border-color: #C9D8F5;
}

/* 卡片角落水印数字 */
.kit-card--b::before,
.kit-card--c::before,
.kit-card--e::before {
  content: attr(data-num);
  position: absolute;
  right: 18px;
  top: 2px;
  font-size: 78px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.05em;
  color: rgba(0, 47, 167, .07);
  pointer-events: none;
}

.kit-card--c::before {
  color: rgba(138, 90, 0, .12);
}

/* 跑马条 */
.kit-strip {
  overflow: hidden;
  padding: 15px 0;
  background-color: var(--accent);
}

.kit-strip-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  padding-left: 26px;
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  animation: kit-scroll 26s linear infinite;
}

.kit-strip-inner i {
  font-style: normal;
  opacity: .5;
}

@keyframes kit-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .kit-strip-inner {
    animation: none;
  }
}

.kit-num {
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
}

.kit-card--a .kit-num {
  color: var(--accent);
}

.kit-title {
  margin-top: 12px;
  color: var(--primary-deep);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.005em;
}

.kit-card--a .kit-title {
  margin-top: 18px;
  color: var(--white);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 900;
}

.kit-desc {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.95;
}

.kit-card--a .kit-desc {
  max-width: 30em;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
}

.kit-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.kit-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, .66);
  font-size: 13.5px;
  line-height: 2.1;
}

.kit-list li::before {
  content: ";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.kit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.kit-tag {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
}

.kit-card--a .kit-tag {
  background-color: rgba(255, 255, 255, .12);
  color: var(--accent);
}

/* 大卡上的装饰弧 */
.kit-card--a::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border: 26px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
}

/* 领取方式 */
#how {
  background-color: #F5F8FD;
}

.how-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}

.how-heading {
  margin-top: 14px;
  color: var(--primary);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 900;
  letter-spacing: -.015em;
}

.step-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.step:last-child {
  border-bottom: 1px solid var(--border);
}

.step-num {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  padding-top: 2px;
}

.step-title {
  color: var(--primary-deep);
  font-size: 17px;
  font-weight: 800;
}

.step-desc {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.85;
}

.how-note {
  margin: 26px 0 18px;
  color: var(--text-muted);
  font-size: 14px;
}

/* 二维码卡片 */
.how-qr {
  padding: 32px 28px 26px;
  border-radius: 26px;
  background: linear-gradient(160deg, #F2F7FF 0%, #E4EDFB 100%);
  text-align: center;
  box-shadow: 0 30px 60px -46px rgba(2, 26, 92, .6);
}

.how-qr-label {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
}

.how-qr .kit-qr {
  margin: 18px auto 0;
  background-color: var(--white);
}

.how-qr-hint {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 12.5px;
  letter-spacing: .02em;
}

@media (max-width: 900px) {
  .page-stamp {
    display: none;
  }
}

@media (max-width: 1024px) {
  .kit-head {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  .kit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "a a"
      "b c"
      "d e";
    gap: 16px;
  }

  .how-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .kit-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "c" "d" "e";
  }

  .kit-card {
    padding: 24px 22px;
  }

  .kit-card--a {
    padding: 28px 24px;
  }
}

/* ---------- 课程页：总览头部 ---------- */
.course-intro {
  padding: 44px 0 64px;
  background-color: var(--white);
}

.breadcrumb--dark {
  color: var(--text-muted);
}

.breadcrumb--dark a {
  color: var(--text-muted);
}

.breadcrumb--dark a:hover {
  color: var(--primary);
}

.intro-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 64px;
  align-items: center;
  margin-top: 34px;
}

.intro-title {
  margin-top: 16px;
  color: var(--primary);
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.03em;
}

.intro-title-accent {
  color: var(--accent);
}

.intro-lead {
  margin-top: 22px;
  max-width: 24em;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.95;
}

.intro-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.intro-link {
  color: var(--primary);
  font-size: 14.5px;
  font-weight: 700;
  transition: gap var(--transition), opacity var(--transition);
}

.intro-link:hover {
  opacity: .72;
}

/* 右侧督学卡 */
.coach-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 320px;
  padding: 40px 44px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #0A2C86 0%, #0031B0 55%, #002FA7 100%);
  box-shadow: 0 40px 80px -50px rgba(2, 26, 92, .8);
}

.coach-card-inner {
  position: relative;
  z-index: 2;
  max-width: 56%;
}

.coach-label {
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.coach-title {
  margin-top: 12px;
  color: var(--white);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: -.02em;
}

.coach-desc {
  margin-top: 12px;
  color: rgba(255, 255, 255, .66);
  font-size: 14.5px;
  line-height: 1.8;
}

.coach-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  background-color: var(--accent);
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 800;
  transition: transform var(--transition), background-color var(--transition);
}

.coach-cta:hover {
  transform: translateY(-2px);
  background-color: #FFCF3F;
}

/* 右侧插画 */
.coach-illus {
  position: absolute;
  right: 0;
  top: 0;
  width: 46%;
  height: 100%;
}

.coach-ring {
  position: absolute;
  right: -30%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  transform: translateY(-50%);
}

.coach-ring--1 {
  width: 260px;
  height: 260px;
}

.coach-ring--2 {
  width: 380px;
  height: 380px;
}

.coach-paper {
  position: absolute;
  right: 18%;
  top: 50%;
  width: 150px;
  height: 186px;
  padding: 20px 16px;
  border-radius: 12px;
  background-color: var(--white);
  transform: translateY(-50%) rotate(-8deg);
  box-shadow: 0 24px 40px -20px rgba(0, 10, 40, .55);
}

.coach-paper b {
  display: block;
  color: var(--primary);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .02em;
}

.coach-paper i {
  display: block;
  height: 6px;
  margin-top: 12px;
  border-radius: 3px;
  background-color: #D8E2F5;
}

.coach-paper i:nth-child(2) { width: 100%; }
.coach-paper i:nth-child(3) { width: 78%; }
.coach-paper i:nth-child(4) { width: 90%; }
.coach-paper i:nth-child(5) { width: 62%; }

.coach-check {
  position: absolute;
  right: 12%;
  top: 62%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 14px 26px -12px rgba(224, 168, 0, .8);
}

.coach-check::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 18px;
  width: 20px;
  height: 10px;
  border-left: 4px solid var(--primary-deep);
  border-bottom: 4px solid var(--primary-deep);
  transform: rotate(-45deg);
}

/* 小班课 */
.intro-sub {
  margin-top: 76px;
  color: var(--primary);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
  letter-spacing: -.01em;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.class-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background-color: var(--white);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.class-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 47, 167, .28);
  box-shadow: 0 24px 46px -36px rgba(2, 26, 92, .6);
}

.class-tile-bar {
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--accent);
}

.class-tile-title {
  margin-top: 16px;
  color: var(--primary-deep);
  font-size: 17px;
  font-weight: 800;
}

.class-tile-desc {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.class-tile-more {
  margin-top: 18px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

/* 1V1 横条 */
.vip-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 26px 34px;
  border-radius: 20px;
  background-color: #EAF1FF;
}

.vip-strip-title {
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
}

.vip-strip-desc {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .course-intro {
    padding: 32px 0 48px;
  }

  .intro-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .coach-card {
    min-height: 260px;
    padding: 32px 30px;
  }

  .coach-card-inner {
    max-width: 62%;
  }

  .class-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .intro-sub {
    margin-top: 52px;
  }
}

@media (max-width: 640px) {
  .class-grid {
    grid-template-columns: 1fr;
  }

  .vip-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
  }

  .coach-card-inner {
    max-width: 100%;
  }

  .coach-illus {
    display: none;
  }
}

/* 课程切换舞台 */
.course-stage {
  position: relative;
  min-height: 280px;
  padding: 30px 34px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #0A2C86 0%, #0031B0 58%, #002FA7 100%);
  box-shadow: 0 40px 80px -50px rgba(2, 26, 92, .8);
}

.stage-ring {
  position: absolute;
  right: -14%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.stage-ring--1 {
  width: 320px;
  height: 320px;
}

.stage-ring--2 {
  width: 470px;
  height: 470px;
}

.stage-inner {
  position: relative;
  z-index: 2;
  max-width: 30em;
  transition: opacity .18s ease, transform .18s ease;
}

.course-stage.is-switching .stage-inner {
  opacity: 0;
  transform: translateY(8px);
}

.stage-label {
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .2em;
}

.stage-title {
  margin-top: 10px;
  color: var(--white);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: -.02em;
}

.stage-desc {
  margin-top: 10px;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  line-height: 1.9;
}

.stage-points {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.stage-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, .82);
  font-size: 13.5px;
  line-height: 2;
}

.stage-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
}

.stage-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background-color: var(--accent);
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 800;
  transition: transform var(--transition), background-color var(--transition);
}

.stage-cta:hover {
  transform: translateY(-2px);
  background-color: #FFCF3F;
}

/* 可点击的课程卡 */
.pick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background-color: var(--white);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 47, 167, .3);
  box-shadow: 0 24px 46px -36px rgba(2, 26, 92, .6);
}

.pick-card.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 47, 167, .14), 0 24px 46px -36px rgba(2, 26, 92, .6);
}

.pick-bar {
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--border);
  transition: background-color var(--transition), width var(--transition);
}

.pick-card.is-active .pick-bar {
  width: 40px;
  background-color: var(--accent);
}

.pick-kind {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.pick-card.is-active .pick-kind {
  color: var(--primary);
}

.pick-title {
  margin-top: 6px;
  color: var(--primary-deep);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.pick-desc {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

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

  .course-stage {
    min-height: 0;
    padding: 32px 28px;
  }

  .stage-ring--2 {
    display: none;
  }
}

@media (max-width: 640px) {
  .course-picker {
    grid-template-columns: 1fr;
  }
}

/* 课程分组 */
.course-groups {
  margin-top: 40px;
}

.course-group {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
}

.course-group:last-child {
  border-bottom: 1px solid var(--border);
}

.group-name {
  color: var(--primary);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.01em;
}

.group-sub {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.group-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.course-group--half .group-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intro-title--home {
  font-size: clamp(32px, 3.4vw, 48px);
}

@media (max-width: 1024px) {
  .course-group {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0;
  }

  .group-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .group-cards,
  .course-group--half .group-cards {
    grid-template-columns: 1fr;
  }
}

/* 课程选择：三组用颜色区分 */
.course-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.pick-card--vip {
  background-color: #FFF8E8;
  border-color: #F1DFB4;
}

.pick-card--coach {
  background-color: #EEF4FF;
  border-color: #D6E2F8;
}

.pick-card--vip .pick-kind {
  color: #8A5A00;
}

.pick-card--vip .pick-title {
  color: #6B4700;
}

.pick-card--vip .pick-desc {
  color: #8B6B2E;
}

.pick-card--coach .pick-kind {
  color: #2A4A8A;
}

.pick-card--vip .pick-bar {
  background-color: #F0C24B;
}

.pick-card--coach .pick-bar {
  background-color: #9FBCEB;
}

.pick-card.is-active .pick-bar {
  width: 40px;
  background-color: var(--accent);
}

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

@media (max-width: 640px) {
  .course-picker {
    grid-template-columns: 1fr;
  }
}

/* ---------- 首页课程区（06 COURSES） ---------- */
.course-block {
  padding: 104px 0 96px;
}

.cs-layout {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 52px;
  align-items: center;
}

.cs-title {
  margin-top: 16px;
  color: var(--primary);
  font-size: clamp(27px, 2.75vw, 39px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.cs-title-accent {
  color: var(--accent);
}

.cs-sub {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 16px;
  letter-spacing: .01em;
}

.cs-copy .btn {
  margin-top: 30px;
}

.course-block .stage-title {
  font-size: clamp(24px, 2.3vw, 32px);
}

.course-block .stage-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 22px;
}

.course-block .stage-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
}

.course-block .stage-meta-item svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: rgba(255, 255, 255, .85);
}

.course-block .stage-meta-item em {
  font-style: normal;
}

.course-block .stage-cta {
  margin-top: 26px;
  padding: 15px 28px;
  font-size: 14.5px;
}

.course-block .course-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
}

.course-block .pick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
  border: 1px solid #E6EDF8;
  border-radius: 18px;
  background-color: var(--white);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.course-block .pick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 47, 167, .28);
  box-shadow: 0 24px 46px -36px rgba(2, 26, 92, .55);
}

.course-block .pick-card.is-active {
  border-color: var(--primary);
  box-shadow: 0 18px 40px -30px rgba(0, 47, 167, .75);
}

.course-block .pick-card--vip {
  background-color: #FFF9EA;
  border-color: #F5E7C6;
}

.course-block .pick-card--coach {
  background-color: #F4F6FA;
  border-color: #E6EBF3;
}

.course-block .pick-icon {
  display: block;
  width: 25px;
  height: 25px;
  color: #8B9DBC;
}

.course-block .pick-icon svg {
  width: 100%;
  height: 100%;
}

.course-block .pick-bar {
  display: none;
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--accent);
}

.course-block .pick-card.is-active .pick-icon {
  display: none;
}

.course-block .pick-card.is-active .pick-bar {
  display: block;
}

.course-block .pick-title {
  margin-top: 14px;
  color: var(--primary-deep);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .01em;
}

.course-block .pick-desc {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .course-block {
    padding: 72px 0 64px;
  }

  .cs-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cs-title {
    max-width: none;
  }

  .course-block .course-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 32px;
  }
}

@media (max-width: 640px) {
  .course-block .course-picker {
    grid-template-columns: 1fr;
  }

  .course-block .stage-title {
  font-size: clamp(24px, 2.3vw, 32px);
}

.course-block .stage-meta {
    gap: 16px;
  }
}

/* ---------- 为什么选择珑途 ---------- */
.why-block {
  position: relative;
  padding: 44px 0 24px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 46%, #EDF3FD 100%);
  scroll-snap-align: start;
}

.why-head {
  text-align: center;
}

.why-eyebrow {
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .26em;
}

.why-eyebrow .eyebrow-index {
  color: var(--accent-dark);
}

.why-title {
  margin-top: 10px;
  color: var(--primary);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -.02em;
}

.why-title-accent {
  color: var(--accent);
}

.why-sub {
  margin-top: 12px;
  color: #4C6187;
  font-size: 15px;
  line-height: 1.8;
}

.why-body {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr) 296px;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
}

.why-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 导航卡片 */
.why-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  border: 1px solid #E1EAF8;
  border-radius: 16px;
  background-color: var(--white);
  box-shadow: 0 10px 24px -20px rgba(7, 57, 168, .35);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease, color .3s ease;
}

.why-card:hover {
  transform: translateY(-2px);
  border-color: rgba(7, 57, 168, .3);
  box-shadow: 0 18px 34px -24px rgba(7, 57, 168, .5);
}

.why-card.is-active {
  border-color: var(--accent);
  background: linear-gradient(135deg, #0B3FB4 0%, #0739A8 100%);
  box-shadow: 0 22px 40px -24px rgba(7, 57, 168, .75);
}

.why-card-icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--primary);
  transition: color .3s ease;
}

.why-card-icon svg {
  width: 26px;
  height: 26px;
}

.why-card.is-active .why-card-icon {
  color: var(--white);
}

.why-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.why-card-title {
  color: var(--primary-deep);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: .01em;
  transition: color .3s ease;
}

.why-card-desc {
  color: #6B7E9E;
  font-size: 12px;
  line-height: 1.6;
  transition: color .3s ease;
}

.why-card.is-active .why-card-title {
  color: var(--white);
}

.why-card.is-active .why-card-desc {
  color: rgba(255, 255, 255, .72);
}

.why-card-arrow {
  margin-left: auto;
  color: var(--white);
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .3s ease, transform .3s ease;
}

.why-card.is-active .why-card-arrow {
  opacity: 1;
  transform: none;
}

/* 中央倾斜面板 */
.why-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 18px 0;
}

.why-glow {
  position: absolute;
  left: 5%;
  right: 5%;
  top: -2%;
  bottom: 0;
  border-radius: 40px;
  background: linear-gradient(150deg, rgba(219, 234, 255, .9) 0%, rgba(233, 243, 255, .35) 100%);
  transform: rotate(-3.4deg);
  opacity: .6;
  pointer-events: none;
}

.why-dot {
  position: absolute;
  z-index: 3;
  top: -30px;
  right: 5%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FFD65C 0%, #FFC400 62%, #F2B500 100%);
  box-shadow: 0 18px 34px -16px rgba(255, 196, 0, .75);
  animation: whyFloat 7s ease-in-out infinite;
  pointer-events: none;
}

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

.why-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 690px;
  padding: 32px 40px 28px;
  border: 1px solid rgba(7, 57, 168, .07);
  border-radius: 30px;
  background: linear-gradient(158deg, #FAFCFF 0%, #EDF4FF 100%);
  box-shadow: 0 46px 90px -56px rgba(7, 57, 168, .55);
  transform: rotate(-2.2deg);
}

.why-panel-inner {
  transform: rotate(2.2deg);
  transition: opacity .28s ease, transform .28s ease;
}

.why-panel-inner.is-switching {
  opacity: 0;
  transform: rotate(2.2deg) translateY(8px);
}

.why-rule {
  display: block;
  width: 40px;
  height: 5px;
  border-radius: 3px;
  background-color: var(--accent);
}

.why-panel-title {
  margin-top: 14px;
  color: var(--primary);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 900;
  letter-spacing: -.01em;
}

.why-panel-claim {
  margin-top: 12px;
  color: #123;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
}

.why-panel-claim mark {
  background: linear-gradient(180deg, transparent 58%, rgba(255, 196, 0, .38) 58%);
  color: inherit;
}

.why-panel-body {
  margin-top: 14px;
}

.why-panel-body p {
  color: #2B4269;
  font-size: 15px;
  line-height: 1.95;
}

.why-panel-body p + p {
  margin-top: 10px;
}

.why-panel-keys {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(7, 57, 168, .1);
  list-style: none;
}

.why-panel-keys li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  text-align: center;
}

.why-panel-keys li + li {
  border-left: 1px solid rgba(7, 57, 168, .1);
}

.why-key-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.why-key-icon svg {
  width: 26px;
  height: 26px;
}

.why-key-label {
  color: var(--primary);
  font-size: 15px;
  font-weight: 800;
}

.why-key-desc {
  color: #63779B;
  font-size: 12px;
  line-height: 1.6;
}

.why-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  color: #6B7E9E;
  font-size: 13px;
}

.why-hint svg {
  width: 20px;
  height: 20px;
  color: var(--accent-dark);
}

@media (max-width: 1180px) {
  .why-body {
    grid-template-columns: 250px minmax(0, 1fr) 250px;
    gap: 18px;
  }

  .why-panel {
    padding: 34px 32px 30px;
  }

  .why-card {
    padding: 15px 14px;
    gap: 10px;
  }

  .why-card-title {
    font-size: 14.5px;
  }
}

@media (max-width: 1024px) {
  .why-block {
    padding: 64px 0 56px;
  }

  .why-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
  }

  .why-col {
    display: contents;
  }

  .why-card {
    order: 1;
    padding: 14px 14px;
    gap: 10px;
  }

  .why-card-icon {
    width: 30px;
    height: 30px;
  }

  .why-card-icon svg {
    width: 24px;
    height: 24px;
  }

  .why-card-title {
    font-size: 14px;
  }

  .why-card-desc {
    font-size: 11.5px;
  }

  .why-card-arrow {
    display: none;
  }

  .why-stage {
    order: 2;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 18px;
  }

  .why-panel {
    max-width: none;
    transform: none;
    padding: 30px 24px 26px;
  }

  .why-panel-inner {
    transform: none;
  }

  .why-panel-inner.is-switching {
    transform: translateY(8px);
  }

  .why-glow {
    transform: none;
    left: 0;
    right: 0;
  }

  .why-dot {
    width: 64px;
    height: 64px;
    top: -22px;
    right: -6px;
  }

  .why-hint {
    margin-top: 30px;
  }
}

@media (max-width: 640px) {
  .why-panel-title {
    font-size: 24px;
  }

  .why-panel-claim {
    font-size: 15.5px;
  }

  .why-panel-body p {
    font-size: 14.5px;
  }

  .why-panel-keys {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .why-panel-keys li {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    text-align: left;
  }

  .why-panel-keys li + li {
    border-left: 0;
    border-top: 1px solid rgba(7, 57, 168, .08);
    padding-top: 12px;
  }

  .why-key-desc {
    flex-basis: 100%;
    padding-left: 40px;
  }

  .why-card-title-text {
    display: block;
  }
}
