/* ==========================================================================
   Unity 集训营 · Design System
   ========================================================================== */

:root {
  --ink: #05070c;
  --ink-2: #0a0d13;
  --ink-3: #121620;
  --fill: #19202e;
  --text: #eef2f8;
  --muted: #c6d0de;
  --muted-2: #b4bfd0;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --bg: #07080c;
  --panel: #0d1119;
  --panel-2: #121722;
  --soft: #0a0d14;
  --soft-2: #101520;
  --blue: #4b8dff;
  --violet: #8f6bff;
  --cyan: #35d6f5;
  --gold: #e9c58e;
  --grad: linear-gradient(135deg, #4b8dff 0%, #8f6bff 52%, #e065ff 100%);
  --grad-gold: linear-gradient(135deg, #f7e2b6 0%, #e3b878 52%, #c99a58 100%);
  --grad-soft: linear-gradient(135deg, rgba(75, 141, 255, 0.18) 0%, rgba(143, 107, 255, 0.15) 50%, rgba(224, 101, 255, 0.12) 100%);
  --radius: 12px;
  --radius-sm: 9px;
  --radius-xs: 7px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.5);
  --shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.9);
  --shadow-lg: 0 50px 100px -40px rgba(0, 0, 0, 0.95);
  --max: 1240px;
  --nav-h: 54px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
}

/* 中文正文：避免末行只剩一两个字（支持 text-wrap: pretty 的浏览器生效） */
p, li, .lead, .small, .sum, .sub { text-wrap: pretty; }

* { box-sizing: border-box; }

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

/* 锚点定位时给吸顶导航留出高度 */
:where([id]) { scroll-margin-top: calc(var(--nav-h) + 18px); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

::selection { background: rgba(43, 92, 255, 0.16); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow { max-width: 920px; }

/* ---------------------------------------------------------------- */
/* Typography                                                       */
/* ---------------------------------------------------------------- */

.h1 {
  font-size: clamp(42px, 5.6vw, 76px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.26;
  letter-spacing: -0.015em;
  font-weight: 800;
}

.h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.38;
  letter-spacing: -0.012em;
  font-weight: 750;
}

.h4 { font-size: 18px; font-weight: 700; letter-spacing: -0.005em; line-height: 1.5; }

.lead {
  font-size: clamp(16px, 1.35vw, 19px);
  color: var(--muted);
  line-height: 1.8;
}

.small { font-size: 15px; color: var(--muted); }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

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

/* ---------------------------------------------------------------- */
/* Buttons                                                          */
/* ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--fill);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(10, 11, 14, 0.8);
}
.btn-primary:hover { background: #23262d; transform: translateY(-2px); box-shadow: 0 18px 30px -16px rgba(10, 11, 14, 0.55); }

.btn-accent {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(80, 70, 255, 0.65);
}
.btn-accent:hover { transform: translateY(-2px); filter: brightness(1.05); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--text); background: var(--panel); transform: translateY(-2px); }

.btn-light {
  background: var(--panel);
  color: var(--text);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.6); }

.btn-dark-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
.btn-dark-ghost:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid transparent;
  transition: gap 0.25s var(--ease), border-color 0.25s;
}
.link-arrow:hover { gap: 14px; border-color: currentColor; }

/* ---------------------------------------------------------------- */
/* Navigation                                                       */
/* ---------------------------------------------------------------- */

.nav {
  /* 头部整体不再 fixed：第一行随页面滚走，只有菜单条吸顶（sticky） */
  display: contents;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--fill);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.9);
}
.brand-mark svg { width: 20px; height: 20px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.brand-sub { font-size: 12px; letter-spacing: 0.16em; color: var(--muted-2); font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  padding: 8px 12px;
  font-size: 15px;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--fill);
}

.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 10px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--fill); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: calc(var(--nav-h) + 1px) 0 0;
  background: var(--panel);
  z-index: 79;
  padding: 20px 24px 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px 4px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu a.active { color: var(--blue); }
.mobile-menu a.btn {
  margin-top: 24px;
  height: 48px;
  padding: 0 24px;
  border-bottom: none;
  border-radius: 999px;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

/* ---------------------------------------------------------------- */
/* Layout                                                           */
/* ---------------------------------------------------------------- */

.section { padding: 110px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section-soft { background: var(--soft); }
.section-ink { background: var(--fill); color: #fff; }
.section-ink .lead { color: rgba(255, 255, 255, 0.80); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}

.section-head .txt { max-width: 720px; }
.section-head .h2 { margin: 18px 0 0; }
.section-head .lead { margin-top: 18px; }
.section-head .side { flex-shrink: 0; padding-bottom: 6px; }

.page-hero {
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -180px; top: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle at 50% 50%, rgba(123, 92, 255, 0.12), transparent 62%);
  pointer-events: none;
}

.page-hero .h1 { font-size: clamp(38px, 4.6vw, 62px); margin: 20px 0 0; }
.page-hero .lead { margin-top: 24px; max-width: 640px; }

.crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  color: var(--muted-2);
  margin-top: 28px;
}
.crumb a:hover { color: var(--text); }

/* ---------------------------------------------------------------- */
/* Hero                                                             */
/* ---------------------------------------------------------------- */

.hero {
  padding: 68px 0 92px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(10, 11, 14, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 11, 14, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
  opacity: 0.85;
}

.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  right: -180px; top: -220px;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.16), rgba(43, 92, 255, 0.06) 45%, transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-size: 13.5px;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.hero-badge b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grad-soft);
  color: #b9c8ff;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero h1 { margin: 26px 0 0; }
.hero .lead { margin-top: 24px; max-width: 540px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 500px;
}

.avatars { display: flex; }
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff;
  margin-left: -10px;
  background: var(--grad);
}
.avatar:first-child { margin-left: 0; }
.avatar.a2 { background: linear-gradient(135deg, #0f9b8e, #2bd6a8); }
.avatar.a3 { background: linear-gradient(135deg, #f0803c, #f5c451); }
.avatar.a4 { background: linear-gradient(135deg, #7b5cff, #d45cff); }
.avatar.a5 { background: linear-gradient(135deg, #2b5cff, #22c7e8); }

.hero-trust .meta { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.hero-trust .stars { color: #f5a623; letter-spacing: 2px; font-size: 13px; }
.hero-trust .meta b { color: var(--text); }

/* 编辑器模拟视觉 */
.hero-visual { position: relative; }

.editor {
  position: relative;
  border-radius: 16px;
  background: #0f1116;
  box-shadow: 0 50px 90px -40px rgba(10, 11, 14, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transition: transform 0.8s var(--ease);
}
.hero-visual:hover .editor { transform: perspective(1400px) rotateY(-3deg) rotateX(1.5deg) translateY(-4px); }

.editor-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: #181b22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #3a3f4b; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.editor-title {
  margin-left: 10px;
  font-size: 12.5px;
  color: #bfc9d8;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.editor-body { display: grid; grid-template-columns: 128px 1fr 118px; height: 330px; }

.panel { border-right: 1px solid rgba(255, 255, 255, 0.06); padding: 10px 8px; overflow: hidden; }
.panel:last-child { border-right: none; border-left: 1px solid rgba(255, 255, 255, 0.06); }
.panel-label { font-size: 11.5px; letter-spacing: 0.12em; color: var(--muted-2); text-transform: uppercase; margin-bottom: 9px; padding-left: 4px; }
.tree li {
  font-size: 12.5px;
  color: #c4cedb;
  padding: 4px 6px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tree li.on { background: rgba(43, 92, 255, 0.22); color: #cdd6ff; }
.tree li.indent { padding-left: 16px; }

.viewport {
  perspective: 900px;
  position: relative;
  background: radial-gradient(circle at 50% 42%, #2b2f6b 0%, #151827 46%, #0b0d13 100%);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.viewport::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  transform: perspective(300px) rotateX(58deg) translateY(30%) scale(1.7);
  mask-image: linear-gradient(to top, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(to top, #000, transparent 70%);
}

.cube {
  position: relative;
  width: 104px; height: 104px;
  transform-style: preserve-3d;
  transform: rotateX(-18deg) rotateY(28deg);
  animation: spin 14s linear infinite;
}
.cube div {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(160, 170, 255, 0.55);
  background: linear-gradient(135deg, rgba(123, 92, 255, 0.28), rgba(43, 92, 255, 0.06));
  box-shadow: inset 0 0 30px rgba(123, 92, 255, 0.18);
}
.cube .f { transform: translateZ(52px); }
.cube .b { transform: rotateY(180deg) translateZ(52px); }
.cube .l { transform: rotateY(-90deg) translateZ(52px); }
.cube .r { transform: rotateY(90deg) translateZ(52px); }
.cube .t { transform: rotateX(90deg) translateZ(52px); }
.cube .d { transform: rotateX(-90deg) translateZ(52px); }

@keyframes spin {
  0% { transform: rotateX(-18deg) rotateY(0deg); }
  100% { transform: rotateX(-18deg) rotateY(360deg); }
}

.viewport-tag {
  position: absolute;
  top: 10px; left: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.1em;
}

.inspector-row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 11.5px;
  color: #bfc9d8;
  padding: 4px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.inspector-row span:last-child { color: #b9c2d4; font-family: var(--mono); }

.float-card {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 24px 50px -24px rgba(10, 11, 14, 0.35);
  display: flex;
  align-items: center;
  gap: 11px;
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}
.float-card .ic {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid; place-items: center;
  font-size: 15px;
}
.float-card .t1 { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.float-card .t2 { font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; }
.fc-1 { left: -46px; bottom: -30px; }
.fc-2 { right: -34px; top: -22px; animation-delay: -2.4s; }

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

/* ---------------------------------------------------------------- */
/* Stats                                                            */
/* ---------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
  background: var(--fill);
  color: #fff;
  border-radius: 26px;
  padding: 44px 16px;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 240px at 82% 0%, rgba(123, 92, 255, 0.32), transparent 70%);
  pointer-events: none;
}
.stat { text-align: center; position: relative; padding: 0 16px; }
.stat + .stat::before {
  content: "";
  position: absolute; left: 0; top: 12%; bottom: 12%;
  width: 1px; background: rgba(255, 255, 255, 0.1);
}
.stat .v { font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat .l { font-size: 14px; color: rgba(255, 255, 255, 0.87); margin-top: 10px; letter-spacing: 0.02em; }

/* ---------------------------------------------------------------- */
/* Cards                                                            */
/* ---------------------------------------------------------------- */

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }

.card-ic {
  width: 60px; height: 60px;
  border-radius: 17px;
  display: grid; place-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  margin-bottom: 22px;
  color: var(--text);
  /* emoji 图标按字号渲染，放大到一眼能认出 */
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
}
.card-ic svg { width: 30px; height: 30px; }

.card h3 { font-size: 20px; font-weight: 750; letter-spacing: -0.01em; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.75; }

.card-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}

/* Course card */
.course-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.course-card::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.course-card:hover::after { opacity: 1; }
.course-card > * { position: relative; z-index: 1; }

.course-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.stage-no {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--fill);
  padding: 4px 9px;
  border-radius: 6px;
}
.stage-name { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; }

.course-card h3 { font-size: 21px; line-height: 1.42; letter-spacing: -0.012em; font-weight: 750; }
.course-card .sub { font-size: 14px; color: var(--muted-2); margin-top: 6px; }
.course-card .sum { font-size: 15.5px; color: var(--muted); margin-top: 14px; line-height: 1.8; flex: 1; }

.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag {
  font-size: 13.5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  border: 1px solid var(--line);
}
.tag.on-dark { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.87); }

.course-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.course-foot .price { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.course-foot .price span { font-size: 12.5px; color: var(--muted-2); font-weight: 500; margin-left: 7px; }
.course-foot .price span::before { content: "· "; }

/* ---------------------------------------------------------------- */
/* Marquee                                                          */
/* ---------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 650;
  color: #b0bac8;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee-item:hover { color: var(--text); }
.marquee-item i {
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--line-strong);
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- */
/* Split / Feature                                                  */
/* ---------------------------------------------------------------- */

.split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 72px; align-items: center; }
.split.reverse { grid-template-columns: 1.08fr 0.92fr; }

.feature-list { display: grid; gap: 2px; margin-top: 34px; }
.feature-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease);
}
.feature-item:hover { padding-left: 8px; }
/* v1.19.0 · 首页教学理念序号放大，作为清晰的步骤标识 */
.feature-item .n {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--gold);
  padding-top: 2px;
  min-width: 42px;
}
.feature-item h4 { font-size: 19px; font-weight: 720; letter-spacing: -0.015em; line-height: 1.42; }
.feature-item p { font-size: 15.5px; color: var(--muted); margin-top: 9px; line-height: 1.8; }

.visual-panel {
  position: relative;
  border-radius: 26px;
  background: linear-gradient(160deg, #101218 0%, #1b1e2b 50%, #12141c 100%);
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-end;
  padding: 34px;
  color: #fff;
}
.visual-panel .vp-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 60% 40%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 60% 40%, #000, transparent 78%);
}
.visual-panel::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -80px; top: -80px;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.5), transparent 64%);
  filter: blur(30px);
}
.vp-content { position: relative; z-index: 2; }
.vp-content .k { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.vp-content .d { font-size: 15px; color: rgba(255, 255, 255, 0.78); margin-top: 8px; }

/* ---------------------------------------------------------------- */
/* Tabs & Accordion                                                 */
/* ---------------------------------------------------------------- */

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--soft);
  border-radius: 999px;
  border: 1px solid var(--line);
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.tab {
  padding: 9px 20px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 600;
  transition: all 0.25s;
}
.tab:hover { color: var(--text); }
.tab.active { background: var(--panel); color: var(--text); box-shadow: var(--shadow-sm); }

.acc {
  border-top: 1px solid var(--line);
}
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 4px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
  font-size: 18px;
  font-weight: 680;
  letter-spacing: -0.015em;
  line-height: 1.5;
  color: var(--text);
}
.acc-q .idx { font-family: var(--mono); font-size: 12.5px; color: var(--muted-2); padding-top: 6px; }
.acc-q .plus {
  margin-left: auto;
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
  transition: all 0.3s;
}
.acc-q .plus::before, .acc-q .plus::after {
  content: ""; position: absolute;
  background: #f6dcb4;
  border-radius: 2px;
  transition: transform 0.3s, background 0.3s;
}
.acc-q .plus::before { width: 11px; height: 2px; }
.acc-q .plus::after { width: 2px; height: 11px; }
.acc-q:hover .plus, .acc-q:focus-visible .plus {
  border-color: var(--gold);
  background: rgba(233, 197, 142, 0.16);
  box-shadow: 0 0 0 4px rgba(233, 197, 142, 0.1);
}
.acc-q:hover .plus::before, .acc-q:hover .plus::after,
.acc-q:focus-visible .plus::before, .acc-q:focus-visible .plus::after { background: #ffe9c6; }
.acc-item.open .plus { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(233, 197, 142, 0.12); }
.acc-item.open .plus::before, .acc-item.open .plus::after { background: #10151f; }
.acc-item.open .plus::after { transform: scaleY(0); }
.acc-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.acc-a .inner {
  padding: 0 4px 26px 52px;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.85;
  white-space: pre-line;
}

/* ---------------------------------------------------------------- */
/* Timeline                                                         */
/* ---------------------------------------------------------------- */

.timeline { position: relative; padding-left: 0; }
.tl-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 40px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.tl-year { font-family: var(--mono); font-size: 14px; color: var(--muted-2); letter-spacing: 0.08em; padding-top: 4px; }
.tl-body h4 { font-size: 20px; font-weight: 750; letter-spacing: -0.01em; line-height: 1.4; }
.tl-body p { font-size: 15px; color: var(--muted); margin-top: 8px; line-height: 1.8; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 152px; top: 38px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fill);
  display: none;
}

/* ---------------------------------------------------------------- */
/* Team                                                             */
/* ---------------------------------------------------------------- */

.person {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.person-photo {
  aspect-ratio: 4 / 3.2;
  background: var(--grad-soft);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.person-photo .mono-big {
  font-size: 58px;
  font-weight: 800;
  letter-spacing: -0.05em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}
.person-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(10, 11, 14, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 11, 14, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
}
.person-body { padding: 22px 24px 26px; }
.person-body h4 { font-size: 18.5px; font-weight: 750; letter-spacing: -0.01em; }
.person-body .role { font-size: 13px; color: var(--blue); margin-top: 4px; letter-spacing: 0.02em; }
.person-body p { font-size: 15px; color: var(--muted); margin-top: 12px; line-height: 1.75; }

/* ---------------------------------------------------------------- */
/* Works gallery                                                    */
/* ---------------------------------------------------------------- */

/* 固定列数：筛选后只剩 1 件作品也不会被拉伸，且切换分类时卡片尺寸保持一致；
   窄屏由后面的媒体查询降为 2 列 / 1 列 */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.work {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-cover {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: var(--soft-2);
}
.work-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.work:hover .work-cover img { transform: scale(1.05); }
.work-cover .ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  overflow: hidden;
}
.work-cover .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 70% 20%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 70% 20%, #000, transparent 80%);
}
.work-cover .ph-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; width: 100%; }
.work-cover .ph-letter { font-size: clamp(56px, 6vw, 92px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: rgba(255, 255, 255, 0.9); text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.work-cover .ph-cat {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.80);
  font-weight: 600;
}
.work-cover .ph-title {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
  max-width: 100%;
}
.work-cover .grade { position: absolute; inset: 0; }
.g1 { background: linear-gradient(135deg, #1b2b6b, #5b3ff0 55%, #b46bff); }
.g2 { background: linear-gradient(135deg, #0d3b3a, #0f9b8e 55%, #7ce6c0); }
.g3 { background: linear-gradient(135deg, #3d1a2e, #b03a5b 55%, #ffb27a); }
.g4 { background: linear-gradient(135deg, #1a1c22, #3a4258 55%, #7b8ca8); }
.g5 { background: linear-gradient(135deg, #2a1b0e, #b06a2c 58%, #ffd98a); }
.g6 { background: linear-gradient(135deg, #101a3a, #2456c9 55%, #6fd3ff); }

.work-info { padding: 20px 22px 22px; }
.work-info .cat { font-size: 12.5px; color: var(--muted-2); letter-spacing: 0.08em; text-transform: uppercase; }
.work-info h4 { font-size: 18px; font-weight: 750; letter-spacing: -0.01em; margin-top: 8px; }
.work-info .who { font-size: 13.5px; color: var(--muted); margin-top: 5px; }
.work-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 11, 14, 0.72), rgba(10, 11, 14, 0.12));
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: 22px;
}
.work:hover .work-hover { opacity: 1; }
.work-hover span {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------------------------------------------------------------- */
/* News                                                             */
/* ---------------------------------------------------------------- */

.news-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.news-cover {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft-2);
  position: relative;
}
.news-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-cover .ph { position: absolute; inset: 0; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.news-meta .pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.news-feature h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 780;
  margin: 18px 0 14px;
}
.news-feature p { font-size: 15.5px; color: var(--muted); line-height: 1.8; }

.news-list { display: grid; }
.news-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.25s, padding 0.3s var(--ease);
}
.news-row:hover { background: var(--panel-2); padding-left: 14px; padding-right: 14px; }
.news-date { font-family: var(--mono); font-size: 13px; color: var(--muted-2); line-height: 1.5; }
.news-date b { display: block; font-family: var(--font); font-size: 24px; color: var(--text); font-weight: 750; letter-spacing: -0.03em; }
.news-row h4 { font-size: 18.5px; font-weight: 720; letter-spacing: -0.015em; line-height: 1.45; }
.news-row p { font-size: 15px; color: var(--muted); margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-row .go { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: all 0.3s; }
.news-row:hover .go { background: var(--fill); border-color: var(--text); color: #fff; }

/* ---------------------------------------------------------------- */
/* Rich text / article                                              */
/* ---------------------------------------------------------------- */

.article-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.article-title { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.32; letter-spacing: -0.015em; font-weight: 800; margin: 20px 0 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: var(--muted); margin-top: 22px; }
.article-body { padding: 56px 0 80px; }
.article-body .content { font-size: 16px; line-height: 1.95; color: rgba(255, 255, 255, 0.92); }
.article-body .content p { margin: 0 0 22px; }
.article-body .content h2 { font-size: 24px; line-height: 1.4; letter-spacing: -0.01em; margin: 42px 0 18px; }
.article-body .content blockquote {
  margin: 30px 0;
  padding: 22px 26px;
  border-left: 3px solid var(--gold);
  background: var(--soft);
  border-radius: 0 12px 12px 0;
  font-size: 16.5px;
  color: var(--muted);
}
.article-side { position: sticky; top: calc(var(--nav-h) + 24px); }

/* ---------------------------------------------------------------- */
/* Forms                                                            */
/* ---------------------------------------------------------------- */

.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; font-weight: 600; letter-spacing: 0.01em; }
.field label .req { color: #e0464b; }
.input, .select, .textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--panel);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.textarea { height: auto; min-height: 118px; padding: 14px 16px; resize: vertical; line-height: 1.7; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 4px rgba(233, 197, 142, 0.14);
}
.input::placeholder, .textarea::placeholder { color: rgba(255, 255, 255, 0.72); }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23686f7c' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-note { font-size: 13px; color: var(--muted-2); }
.form-ok {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.34);
  color: #7fe0a9;
  font-size: 14.5px;
}
.form-ok.show { display: flex; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--panel);
}
.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-item:first-child { padding-top: 0; }
.contact-item .ic {
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--soft); border: 1px solid var(--line);
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 24px; line-height: 1;
}
.contact-item .k { font-size: 14.5px; color: rgba(255, 255, 255, 0.87); letter-spacing: 0.03em; text-transform: uppercase; }
.contact-item .v { font-size: 15px; font-weight: 600; margin-top: 3px; letter-spacing: -0.01em; color: #f4f7fb; }
.contact-item .v.sm { font-size: 15.5px; font-weight: 550; color: #e8eef7; line-height: 1.6; }
.contact-item .small { color: rgba(255, 255, 255, 0.80); }
/* 电话 / 公众号：二维码只是行内右侧内容，整行沿用普通联系项样式，不再单独做成小卡 */
.contact-item .body { flex: 1; min-width: 0; }
.contact-qr {
  flex: 0 0 auto;
  align-self: center;
  margin: 0 0 0 auto;
  padding-left: 18px;
}
.contact-qr[hidden] { display: none; }
.contact-qr .qr-frame {
  width: 74px; height: 74px;
  padding: 5px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid rgba(233, 197, 142, 0.42);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}
.contact-qr .qr-frame img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 5px; }
/* 在线客服：说明文字与「立即咨询」按钮同排，按钮靠这一行的行尾 */
.contact-item--chat .body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-item--chat .chat-main { flex: 1 1 200px; min-width: 0; }
.contact-item--chat .btn { flex: 0 0 auto; margin-top: 0; }
/* 手机端：卡片窄，二维码与图标同步收一档，避免把电话挤断行 */
@media (max-width: 600px) {
  .contact-item { gap: 14px; }
  .contact-item .ic { width: 46px; height: 46px; font-size: 21px; border-radius: 13px; }
  .contact-qr { padding-left: 12px; }
  .contact-qr .qr-frame { width: 60px; height: 60px; padding: 4px; border-radius: 10px; }
  .contact-item--chat .body { gap: 12px; }
}

.map-box {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  height: 300px;
  position: relative;
  background: var(--soft);
  background-image: linear-gradient(to right, rgba(10, 11, 14, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 11, 14, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  isolation: isolate;
}
/* 地图画布：百度地图挂在这里，深色站点用反相滤镜压成深色底图 */
.map-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  filter: invert(1) hue-rotate(180deg) brightness(0.9) contrast(0.86) saturate(0.85);
}
.map-box.is-ready .map-canvas { opacity: 1; }
.map-canvas .BMap_mask { background: transparent; }
/* 百度自带控件与版权：保留版权，隐藏缩放按钮（用我们自己的） */
.map-canvas .BMap_scaleCtrl,
.map-canvas .BMap_zoomCtrl,
.map-canvas .BMap_cpyCtrl { display: none; }
.map-canvas .anchorBL { opacity: 0.65; }
.map-box.is-ready { background-image: none; }
.map-box.is-ready .pin { display: none; }
/* 悬停在图上才允许滚轮缩放，避免浏览页面时被地图吃掉滚动 */
.map-canvas { pointer-events: none; }
.map-box.is-ready:hover .map-canvas,
.map-box.is-ready:focus-within .map-canvas { pointer-events: auto; }
.map-box .map-tools[hidden] { display: none; }
.map-box .map-tools {
  position: absolute;
  right: 12px; top: 12px;
  z-index: 3;
  display: flex; flex-direction: column; gap: 6px;
}
.map-box .map-btn {
  width: 32px; height: 32px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 15, 20, 0.82);
  color: #f2f5fa;
  font-size: 17px; line-height: 1;
  font-weight: 600;
  display: grid; place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.16s ease, border-color 0.16s ease;
}
.map-box .map-btn:hover { background: rgba(233, 197, 142, 0.22); border-color: rgba(233, 197, 142, 0.5); }
.map-box .map-hint {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 12px 190px 12px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #cfd7e4;
  background: linear-gradient(to top, rgba(6, 8, 12, 0.92), rgba(6, 8, 12, 0));
  display: none;
}
.map-box.is-loading .map-hint,
.map-box.is-empty .map-hint { display: block; }
.map-box.is-empty { height: 260px; }
.map-box.is-empty .pin .pulse { animation: none; opacity: 0.5; }
.map-box .map-open {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 4;
  font-size: 13px;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 999px;
  color: #10141c;
  background: linear-gradient(135deg, #f4dcb6, #e9c58e);
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.map-box.is-ready .map-open { opacity: 1; transform: none; pointer-events: auto; }
.map-box.is-empty .map-open { opacity: 1; transform: none; pointer-events: auto; }
.map-box .pin {
  position: absolute; left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.map-box .pin .pulse {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 0 rgba(43, 92, 255, 0.5);
  animation: pulse 2.4s infinite;
}
.map-box .pin .lbl {
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 12px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(43, 92, 255, 0.45); }
  70% { box-shadow: 0 0 0 22px rgba(43, 92, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 92, 255, 0); }
}
/* 静态地图图片：后台「地图图片」上传的截图，点击可放大查看原图 */
.map-box .map-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  cursor: zoom-in;
}
.map-box .map-photo[hidden] { display: none; }
.map-box.is-photo { height: auto; aspect-ratio: 1.98; background-image: none; }
.map-box.is-photo .pin,
.map-box.is-photo .map-tools,
.map-box.is-photo .map-hint { display: none; }
.map-box.is-photo .map-open { opacity: 1; transform: none; pointer-events: auto; }
.map-box.is-photo::after {
  content: '点击地图可放大查看';
  position: absolute;
  right: 12px; top: 12px;
  z-index: 3;
  font-size: 13px;
  line-height: 1;
  padding: 7px 11px;
  border-radius: 999px;
  color: #f2f5fa;
  background: rgba(12, 15, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}
/* 地图放大查看层 */
.map-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(4, 6, 10, 0.9);
  cursor: zoom-out;
}
.map-lightbox[hidden] { display: none; }
.map-lightbox img {
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
}
.map-lightbox-tip {
  position: absolute;
  bottom: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.84);
}
@media (max-width: 600px) {
  .map-box.is-photo { aspect-ratio: 1.6; }
  .map-box.is-photo::after { font-size: 12.5px; right: 10px; top: 10px; }
}

/* ---------------------------------------------------------------- */
/* CTA band                                                         */
/* ---------------------------------------------------------------- */

.cta-band {
  position: relative;
  background: var(--fill);
  border-radius: 30px;
  padding: 72px 64px;
  overflow: hidden;
  color: #fff;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -120px; top: -180px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.42), transparent 62%);
  filter: blur(20px);
}
.cta-band::after {
  content: "";
  position: absolute;
  left: -100px; bottom: -220px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(43, 92, 255, 0.28), transparent 64%);
  filter: blur(24px);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.cta-band .h2 { max-width: 620px; }
.cta-band p { color: rgba(255, 255, 255, 0.78); margin-top: 16px; font-size: 15px; max-width: 520px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- */
/* Footer                                                           */
/* ---------------------------------------------------------------- */

.footer { background: var(--panel); border-top: 1px solid var(--line); padding: 72px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand p { font-size: 14.5px; color: var(--muted); margin-top: 18px; max-width: 300px; line-height: 1.8; }
.footer-col h5 { font-size: 14.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); font-weight: 720; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 15px; color: var(--muted); padding: 7px 0; transition: color 0.2s, padding-left 0.25s; }
.footer-col a:hover { color: var(--text); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-2);
}
.footer-bottom .links { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--text); }

/* ---------------------------------------------------------------- */
/* Chat widget                                                      */
/* ---------------------------------------------------------------- */

.chat-launcher {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 20px 0 8px;
  border-radius: 999px;
  border: none;
  background: var(--fill);
  color: #fff;
  box-shadow: 0 18px 40px -16px rgba(10, 11, 14, 0.7);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.chat-launcher:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -18px rgba(10, 11, 14, 0.65); }
.chat-launcher .ic {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad);
  display: grid; place-items: center;
}
.chat-launcher .tx { font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em; }
.chat-launcher .badge {
  position: absolute;
  top: 4px; right: 12px;
  width: 9px; height: 9px;
  background: #2bd67b;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
}

.chat-panel {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 388px;
  height: 600px;
  max-height: calc(100vh - 52px);
  background: var(--panel);
  border-radius: 22px;
  box-shadow: 0 40px 90px -30px rgba(10, 11, 14, 0.5);
  border: 1px solid var(--line);
  z-index: 95;
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
}
.chat-panel.open { display: flex; animation: chatIn 0.32s var(--ease); }
@keyframes chatIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.chat-head {
  background: var(--fill);
  color: #fff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.chat-head::after {
  content: "";
  position: absolute;
  right: -50px; top: -70px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(123, 92, 255, 0.55), transparent 65%);
  /* 纯装饰层：不接收鼠标事件，否则会盖住右上角关闭按钮 */
  pointer-events: none;
}
.chat-avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad);
  display: grid; place-items: center;
  position: relative;
  flex-shrink: 0;
}
.chat-head .name { font-size: 15.5px; font-weight: 700; position: relative; }
.chat-head .status { font-size: 13px; color: rgba(255, 255, 255, 0.84); display: flex; align-items: center; gap: 6px; margin-top: 2px; position: relative; }
.chat-head .status i { width: 6px; height: 6px; background: #2bd67b; border-radius: 50%; display: block; }
.chat-close {
  margin-left: auto; position: relative; z-index: 2;
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: none; color: #fff;
  display: grid; place-items: center;
  transition: background 0.2s;
}
.chat-close:hover { background: rgba(255, 255, 255, 0.2); }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px;
  background: var(--panel-2);
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}
.chat-body::-webkit-scrollbar { width: 5px; }
.chat-body::-webkit-scrollbar-thumb { background: #dcdfe6; border-radius: 4px; }

.msg { display: flex; gap: 9px; max-width: 88%; }
.msg .bubble {
  padding: 11px 14px;
  border-radius: 14px 14px 14px 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text);
  white-space: pre-line;
  word-break: break-word;
}
.msg.bot .av {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--grad);
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.msg.me { margin-left: auto; flex-direction: row-reverse; }
.msg.me .bubble {
  background: var(--fill);
  color: #fff;
  border-color: var(--text);
  border-radius: 14px 14px 4px 14px;
}
.msg .time { font-size: 12.5px; color: var(--muted-2); margin-top: 5px; }

.chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.chip {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(43, 92, 255, 0.22);
  background: rgba(43, 92, 255, 0.05);
  color: #a8c2ff;
  font-size: 13px;
  transition: all 0.2s;
}
.chip:hover { background: rgba(43, 92, 255, 0.1); border-color: rgba(43, 92, 255, 0.4); }

.chat-human {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  gap: 8px;
}
.chat-human button {
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--muted);
}
.chat-human button:hover { border-color: var(--text); color: var(--text); }

.chat-notice {
  margin-top: 8px;
  padding: 8px 11px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.typing { display: flex; gap: 4px; padding: 14px 16px; }
.typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #b8bfc9;
  animation: bounce 1.2s infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-foot {
  border-top: 1px solid var(--line);
  padding: 12px 14px;
  background: var(--panel);
  flex-shrink: 0;
}
.chat-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 6px 6px 6px 14px;
  transition: border-color 0.2s;
}
.chat-input-wrap:focus-within { border-color: var(--text); }
.chat-input {
  flex: 1;
  border: none;
  outline: none;
  resize: none;
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.5;
  padding: 8px 0;
  max-height: 80px;
  background: transparent;
  color: var(--text);
}
.chat-send {
  width: 34px; height: 34px;
  border-radius: 10px;
  border: none;
  background: var(--fill);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.chat-send:hover { background: #2b2f37; transform: scale(1.04); }
.chat-send:disabled { opacity: 0.35; }
.chat-foot .note { font-size: 13px; color: var(--muted-2); text-align: center; margin-top: 8px; }

/* ---------------------------------------------------------------- */
/* Modal                                                            */
/* ---------------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 11, 14, 0.55);
  backdrop-filter: blur(6px);
}
.modal.open { display: flex; animation: fadeIn 0.25s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  width: min(760px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  background: var(--panel);
  border-radius: 22px;
  position: relative;
  animation: modalIn 0.35s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  z-index: 3;
  transition: transform 0.2s;
}
.modal-close:hover { transform: rotate(90deg); }

/* ---------------------------------------------------------------- */
/* Reveal                                                           */
/* ---------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .cube, .float-card, .marquee-track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- */
/* Utilities                                                        */
/* ---------------------------------------------------------------- */

.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; } .mt-72 { margin-top: 72px; }
.mb-0 { margin-bottom: 0; } .mb-24 { margin-bottom: 24px; } .mb-40 { margin-bottom: 40px; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex { display: flex; } .between { justify-content: space-between; } .items-center { align-items: center; }
.gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.wrap { flex-wrap: wrap; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--line); border: none; margin: 0; }

/* ---------------------------------------------------------------- */
/* Responsive                                                       */
/* ---------------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav-links a { font-size: 15.5px; }
  .nav-links a > span { padding: 7px 8px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 620px; }
  .hero .lead { max-width: 600px; }
  .editor { transform: none; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 44px; }
  .grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { gap: 40px; }
  .cta-band { padding: 56px 40px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 76px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 40px; }
  .stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 0; padding: 34px 8px; }
  .stat:nth-child(odd)::before { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .news-feature { grid-template-columns: 1fr; gap: 26px; }
  .contact-grid { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 68px 1fr; gap: 18px; }
  .news-row .go { display: none; }
  .article-body .content { font-size: 15.5px; }
  .page-hero { padding-top: 56px; }
}

@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .section { padding: 62px 0; }
  .h1 { font-size: 38px; }
  .hero { padding-top: 40px; padding-bottom: 60px; }
  .hero-actions .btn { flex: 1; }
  .hero-trust { flex-wrap: wrap; gap: 12px; }
  .editor-body { grid-template-columns: 1fr; height: 250px; }
  .panel { display: none; }
  .float-card { display: none; }
  .search-tags { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; border-radius: 22px; }
  .cta-inner { gap: 28px; }
  .timeline .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
  .footer { padding-top: 52px; }
  .chat-panel {
    right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
    border: none;
  }
  .chat-launcher { right: 16px; bottom: 16px; height: 50px; padding: 0 16px 0 7px; }
  .chat-launcher .tx { font-size: 13.5px; }
  .modal { padding: 12px; }
  .modal-box { max-height: 92vh; border-radius: 18px; }
  .news-feature h3 { font-size: 24px; }
  .gallery { grid-template-columns: 1fr; }
  .page-hero .h1 { font-size: 34px; }
  .course-card { padding: 24px; }
  .section-head .h2 { font-size: 28px; }
  .acc-q { font-size: 15px; gap: 14px; }
  .acc-a .inner { padding-left: 34px; }
  .stats { padding: 30px 0; }
  .stat .v { font-size: 30px; }
}

/* ---------------------------------------------------------------- */
/* Path steps                                                       */
/* ---------------------------------------------------------------- */

.path-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.path-step {
  padding: 30px 26px 32px;
  position: relative;
  border-right: 1px solid var(--line);
  transition: background 0.3s;
}
.path-step:last-child { border-right: none; }
.path-step:hover { background: var(--soft); }
.path-step .n {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.13em;
  color: var(--muted-2);
}
.path-step h4 { font-size: 19px; font-weight: 750; letter-spacing: -0.008em; margin-top: 12px; line-height: 1.4; }
.path-step p { font-size: 15px; color: var(--muted); line-height: 1.78; margin-top: 9px; }
.path-step .weeks {
  display: inline-block;
  margin-top: 16px;
  font-size: 13.5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  border: 1px solid var(--line);
}
.path-step::after {
  content: "→";
  position: absolute;
  right: -9px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 12.5px;
  color: var(--muted-2);
  z-index: 2;
}
.path-step:last-child::after { display: none; }

/* ---------------------------------------------------------------- */
/* Course detail                                                    */
/* ---------------------------------------------------------------- */

.cd-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}
.cd-side {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--panel);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.cd-side .stage-no { display: inline-block; margin-bottom: 16px; }
.cd-side h3 { font-size: 23px; line-height: 1.42; letter-spacing: -0.012em; font-weight: 780; }
.cd-side .sub { font-size: 14px; color: var(--muted-2); margin-top: 8px; }
.cd-meta { margin-top: 24px; border-top: 1px solid var(--line); }
.cd-meta div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cd-meta span:first-child { color: var(--muted); }
.cd-meta span:last-child { font-weight: 650; }
.cd-price { margin-top: 22px; }
.cd-price .p { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; }
.cd-price .note { font-size: 13px; color: var(--muted-2); margin-top: 4px; }

.cd-main h4 { font-size: 18px; font-weight: 780; letter-spacing: -0.005em; margin-bottom: 16px; }
.outcome-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.outcome-list li {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  padding-left: 22px;
  position: relative;
}
.outcome-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(43, 92, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(43, 92, 255, 0.35);
}
.outcome-list li::after {
  content: "";
  position: absolute;
  left: 4px; top: 10.5px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.outline { margin-top: 8px; }
.outline-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.outline-item:first-child { border-top: 1px solid var(--line); }
.outline-week {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
  padding-top: 4px;
}
.outline-item h5 { font-size: 17px; font-weight: 720; letter-spacing: -0.01em; margin: 0 0 9px; }
.outline-item li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  padding-left: 14px;
  position: relative;
}
.outline-item li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* ---------------------------------------------------------------- */
/* Compare table                                                    */
/* ---------------------------------------------------------------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
table.compare th, table.compare td {
  padding: 18px 22px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.compare th {
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--soft);
  padding: 14px 22px;
  white-space: nowrap;
}
table.compare tr:last-child td { border-bottom: none; }
table.compare td:first-child { font-weight: 700; color: var(--text); }
table.compare tbody tr:hover { background: var(--panel-2); }
table.compare .hl { color: var(--blue); font-weight: 650; }
.compare-note { font-size: 13px; color: var(--muted-2); margin-top: 14px; }

/* ---------------------------------------------------------------- */
/* Story cards                                                      */
/* ---------------------------------------------------------------- */

.story {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  cursor: pointer;
}
.story:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.story-cover {
  position: relative;
  min-height: 230px;
  background: var(--soft-2);
  overflow: hidden;
}
.story-cover img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.story-body { padding: 30px 34px; display: flex; flex-direction: column; }
.story-body .cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #b9c8ff;
  background: var(--grad-soft);
  padding: 4px 11px;
  border-radius: 999px;
  width: fit-content;
  font-weight: 600;
}
.story-body h3 { font-size: 20px; font-weight: 750; letter-spacing: -0.025em; line-height: 1.4; margin: 14px 0 10px; }
.story-body p { font-size: 14.5px; color: var(--muted); line-height: 1.8; flex: 1; }
.story-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
  flex-wrap: wrap;
}
.story-meta b { color: var(--text); }
.story-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }

/* ---------------------------------------------------------------- */
/* Service blocks                                                   */
/* ---------------------------------------------------------------- */

/* v1.20.0 · 去掉左侧序号，重排为「内容 + 操作」两栏，按钮垂直居中 */
.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.service-block:last-of-type { border-bottom: 1px solid var(--line); }
.sb-main h3 { font-size: 22px; font-weight: 760; letter-spacing: -0.025em; display: flex; align-items: center; gap: 12px; }
.sb-ic { width: 50px; height: 50px; border-radius: 15px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; font-size: 24px; line-height: 1; flex-shrink: 0; }
.sb-main > p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-top: 10px; max-width: 720px; }
.sb-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sb-points span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.90);
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
}
.sb-cta { text-align: right; padding-top: 0; }
.sb-cta .btn { min-width: 132px; }
.sb-cta .ic {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--soft);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  margin-left: auto;
  margin-bottom: 14px;
  font-size: 19px;
}

/* ---------------------------------------------------------------- */
/* Contact extras                                                   */
/* ---------------------------------------------------------------- */

.contact-form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}
.hours-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  background: var(--soft);
}
.hours-row { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; }
.hours-row span:first-child { color: rgba(255, 255, 255, 0.78); }
.hours-row span:last-child { font-weight: 600; }

@media (max-width: 1080px) {
  .path-steps { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .path-step { border-bottom: 1px solid var(--line); }
  .path-step::after { display: none; }
  .cd-wrap { grid-template-columns: 1fr; }
  .cd-side { position: static; }
  .service-block { grid-template-columns: minmax(0, 1fr) auto; gap: 28px; }
  .sb-cta { text-align: right; }
  .story { grid-template-columns: 1fr; }
  .story-cover { min-height: 190px; }
}

@media (max-width: 680px) {
  .path-steps { grid-template-columns: 1fr; }
  .path-step { border-right: none; border-bottom: 1px solid var(--line); }
  .path-step::after { display: none; }
  .outcome-list { grid-template-columns: 1fr; }
  .outline-item { grid-template-columns: 1fr; gap: 8px; }
  .contact-form-card { padding: 26px 22px; }
  .story-body { padding: 24px; }
  .service-block { grid-template-columns: 1fr; gap: 18px; }
  .sb-cta { grid-column: 1; text-align: left; }
  .sb-cta .btn { min-width: 0; }
  .sb-cta .ic { display: none; }
  .tab { padding: 8px 14px; font-size: 13.5px; }
}

/* 弹窗正文段落 */
.modal .content p { margin: 0 0 18px; }
.modal .content p:last-child { margin-bottom: 0; }

/* ==========================================================================
   DARK CINEMATIC THEME  ·  游戏美术风（参考 bosi 的版式，重做视觉）
   ========================================================================== */

body {
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(75, 141, 255, 0.10), transparent 62%),
    radial-gradient(900px 480px at 2% 4%, rgba(143, 107, 255, 0.07), transparent 58%),
    var(--bg);
  color: var(--text);
}

h1, h2, h3, h4, h5 { color: #fff; }
::selection { background: rgba(233, 197, 142, 0.26); color: #fff; }

.eyebrow { color: rgba(255, 255, 255, 0.84); letter-spacing: 0.2em; }
.eyebrow::before { background: var(--gold); box-shadow: 0 0 10px rgba(233, 197, 142, 0.85); }
.eyebrow.on-dark { color: rgba(255, 255, 255, 0.84); }
.lead { color: var(--muted); }
.small { color: var(--muted); }

/* 按钮 ---------------------------------------------------------------- */

.btn { border-radius: 8px; letter-spacing: 0.02em; }

.btn-primary {
  background: var(--grad-gold);
  color: #24190a;
  font-weight: 700;
  box-shadow: 0 14px 34px -16px rgba(233, 197, 142, 0.65);
}
.btn-primary:hover {
  background: var(--grad-gold);
  filter: brightness(1.06);
  box-shadow: 0 18px 40px -16px rgba(233, 197, 142, 0.8);
}

.btn-accent {
  background: linear-gradient(135deg, #4b8dff, #35d6f5);
  color: #041018;
  box-shadow: 0 14px 34px -16px rgba(75, 141, 255, 0.8);
}
.btn-accent:hover { filter: brightness(1.08); box-shadow: 0 18px 40px -16px rgba(53, 214, 245, 0.7); }

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(233, 197, 142, 0.65);
  background: rgba(233, 197, 142, 0.08);
}

.btn-light { background: #fff; color: #0a0d13; }
.btn-dark-ghost { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); }
.link-arrow { color: #fff; }

/* 顶部导航：logo 左置 + 右侧口号/电话，下接独立导航条 ------------------ */
/* 层次：第一行（品牌/电话）随页面滚动，第二行（菜单）吸顶 */

#site-header { display: contents; }

.nav-top {
  position: relative;
  z-index: 90;
  background: linear-gradient(180deg, #1d222c 0%, #161a23 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  /* --hide：滚动进度 0～1，由 JS 写入。第一行随滚动淡出并向上收起 */
  --hide: 0;
  opacity: calc(1 - var(--hide));
  transform: translate3d(0, calc(var(--hide) * -28%), 0);
  will-change: opacity, transform;
}
/* 收起到一半以后就不再接收鼠标（避免透明区域挡住首屏按钮） */
.nav-top { pointer-events: auto; }
.nav-top.is-hidden { pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .nav-top { transform: none; }
}
.nav-top-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { gap: 12px; }
.brand-logo {
  display: none;
  height: 46px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
}
.brand-fallback { display: none; }
.brand-logo-footer { height: 44px; max-width: 210px; }
.brand.has-logo .brand-logo.brand-logo-footer { height: 42px; }
.brand.no-logo .brand-fallback { display: flex; }

/* 品牌标识：图形徽标 + 字标（未上传自定义 LOGO 时的默认呈现） ---------- */
.brand-badge {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  border: 1px solid rgba(233, 197, 142, 0.48);
  background:
    radial-gradient(125% 125% at 30% 4%, rgba(250, 232, 194, 0.44) 0%, rgba(233, 197, 142, 0.17) 46%, rgba(233, 197, 142, 0.03) 82%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -9px 14px -12px rgba(0, 0, 0, 0.55),
    0 10px 22px -14px rgba(233, 197, 142, 0.6);
}
.brand-badge::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 18px;
  background: radial-gradient(closest-side, rgba(233, 197, 142, 0.18), rgba(233, 197, 142, 0) 78%);
  pointer-events: none;
}
.brand-badge svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 1px 6px rgba(233, 197, 142, 0.45));
}
.brand-badge-sm { width: 40px; height: 40px; border-radius: 11px; }
.brand-badge-sm svg { width: 26px; height: 26px; }

.brand-text { gap: 2px; }
.brand-name {
  color: #fff;
  font-size: 19px;
  font-weight: 780;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
}
.brand-sub {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: rgba(255, 255, 255, 0.72);
}

/* 上传了自定义 LOGO：直接用图替换徽标字标，不加任何底板 */
.brand.has-logo .brand-badge,
.brand.has-logo .brand-text { display: none; }
.brand.has-logo .brand-logo {
  display: block;
  height: 50px;
  padding: 0;
  border: 0;
  background: none;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.55));
}

.nav-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  text-align: right;
}
.nav-slogan {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}
.nav-phone { display: block; }
.nav-phone b {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  transition: color 0.25s;
}
.nav-phone:hover b { color: var(--gold); }

/* 第二行：导航条 —— 吸顶，比第一行更深 */
.nav-main {
  position: sticky;
  top: 0;
  z-index: 89;
  background: linear-gradient(180deg, #0d1119 0%, #080a10 100%);
  border-top: 1px solid rgba(233, 197, 142, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: background 0.25s, box-shadow 0.25s;
}
.nav.scrolled .nav-main {
  /* 吸顶后略微提亮一档，避免深色块和深色内容糊在一起 */
  background: linear-gradient(180deg, #131824 0%, #0c1017 100%);
  border-top-color: rgba(233, 197, 142, 0.28);
  box-shadow: 0 14px 30px -22px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.nav-main-inner {
  height: 54px;
  display: flex;
  align-items: center;
}
.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin: 0;
  padding: 0;
}
.nav-links a {
  flex: 1 1 0;
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: rgba(255, 255, 255, 0.90);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s;
}
/* 文字内层：底色块与下划线都以它为基准，宽度跟随文字长短自适应 */
.nav-links a > span {
  position: relative;
  display: inline-block;
  padding: 7px 14px;
  border-radius: 6px;
  white-space: nowrap;
  line-height: 1.35;
  transition: background 0.22s, box-shadow 0.22s, color 0.2s;
}
.nav-links a > span::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: 50% 50%;
  opacity: 0;
  transition: transform 0.24s cubic-bezier(0.34, 0.9, 0.3, 1), opacity 0.2s;
}

/* 悬停/选中反馈只做在文字层（金色胶囊），整格不再铺深色底 —— 清掉旧版遗留的黑块 */
.nav-links a,
.nav-links a:hover,
.nav-links a.active { background: transparent; }

/* 悬停：底色 + 金色描边 + 文字提亮 + 底部金线，四重反馈 */
.nav-links a:hover { color: #fff; }
.nav-links a:hover > span {
  background: rgba(233, 197, 142, 0.1);
  box-shadow: inset 0 0 0 1px rgba(233, 197, 142, 0.26);
}
.nav-links a:not(.active):hover > span::after {
  transform: scaleX(1);
  opacity: 0.6;
}

.nav-links a.active { color: #fff; font-weight: 600; }
.nav-links a.active > span::after {
  transform: scaleX(1);
  opacity: 1;
  box-shadow: 0 0 12px rgba(233, 197, 142, 0.85);
}
.nav-links a.active:hover > span {
  background: rgba(233, 197, 142, 0.13);
  box-shadow: inset 0 0 0 1px rgba(233, 197, 142, 0.34);
}
/* 关掉旧版固定宽度 / 铺满整块的下划线 */
.nav-links a.active::after { content: none; }
.nav-cta { margin-left: auto; }

.brand-mark {
  background: linear-gradient(150deg, #3b7bff, #8f6bff);
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 10px 26px -10px rgba(75, 141, 255, 0.9);
  width: 38px; height: 38px;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { color: #fff; font-size: 19px; }
.brand-sub { color: rgba(255, 255, 255, 0.72); }

.nav-toggle {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}
.nav-toggle span { background: #fff; }

.mobile-menu {
  background: #05070b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu a { border-bottom-color: rgba(255, 255, 255, 0.08); color: #fff; }
.mobile-menu a.active { color: var(--gold); }

/* 首屏 ---------------------------------------------------------------- */

/* 首屏：大图收进内容区宽度，与下方留资条、数据条同宽同一条左边线 */
.hero-stage {
  position: relative;
  padding: 22px 0 0;
  background: #07080c;
}
.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(440px, 56vh, 600px);
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #05070c;
  box-shadow: 0 34px 80px -34px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* 图区铺满卡片，底图由 .hero-slider 承载 */
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 6, 11, 0.9) 0%, rgba(4, 6, 11, 0.38) 16%, rgba(4, 6, 11, 0.08) 40%, rgba(4, 6, 11, 0.22) 62%, rgba(5, 7, 12, 0.36) 86%, rgba(5, 7, 12, 0.42) 100%),
    radial-gradient(62% 56% at 50% 44%, rgba(4, 6, 11, 0.66), transparent 76%);
}
.hero-veil::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 78%);
  opacity: 0.5;
}

.hero-stage-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 54px 40px 42px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 14.5px;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.87);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}
.hero-kicker::before, .hero-kicker::after {
  content: "";
  width: 42px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 197, 142, 0.85));
}
.hero-kicker::after { background: linear-gradient(90deg, rgba(233, 197, 142, 0.85), transparent); }

.hero-title {
  margin: 26px 0 0;
  font-size: clamp(38px, 6vw, 80px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 10px 46px rgba(0, 0, 0, 0.9), 0 0 70px rgba(75, 141, 255, 0.28);
}
/* 与内页主标题（学员动态「真实变化」）同一观感：上半段近纯白，到基线才收成香槟金 */
.hero-title em {
  font-style: normal;
  /* 注意：不能继承 .hero-title 的黑色 text-shadow，它会被绘制在渐变之上，把金字压成灰褐 */
  text-shadow: none;
  background-image: linear-gradient(
    180deg,
    #ffffff 0%,
    #fffaf0 26%,
    #ffeed2 48%,
    #f2d09c 70%,
    #d6ab74 88%,
    #d6ab74 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 34px rgba(233, 197, 142, 0.18));
}
.hero-sub {
  margin-top: 28px;
  font-size: 15.5px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.84);
  max-width: 660px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}
.hero-feats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.92);
}
.hero-feats i { font-style: normal; color: rgba(233, 197, 142, 0.6); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* 首屏留资条：与首屏卡片同宽、同左边界 */
.hero-leadbar {
  position: relative;
  z-index: 3;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(13, 17, 25, 0.96), rgba(8, 11, 17, 0.98));
  box-shadow: 0 20px 44px -30px rgba(0, 0, 0, 0.9);
}
.hero-lead-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 18px 28px;
  flex-wrap: wrap;
}
.leadbar-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 750;
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.leadbar-label em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
  border: 1px solid rgba(233, 197, 142, 0.34);
  padding: 3px 9px;
  border-radius: 4px;
}
.leadbar-right { display: flex; flex-direction: column; gap: 7px; }
/* 数据条：与首屏卡片、留资条同宽，间距统一 14px */
.stats-wrap { margin-top: 14px; }
.leadbar-form { display: flex; gap: 10px; }
.leadbar-form input {
  width: 190px;
  height: 46px;
  padding: 0 15px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.leadbar-form input::placeholder { color: rgba(255, 255, 255, 0.72); }
.leadbar-form input:focus {
  border-color: rgba(233, 197, 142, 0.6);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 3px rgba(233, 197, 142, 0.14);
}
.leadbar-form .btn { height: 46px; padding: 0 28px; }
.leadbar-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.04em;
  min-height: 16px;
}
.leadbar-note.ok { color: #7fe0a9; }

/* 分区 ---------------------------------------------------------------- */

.section { padding: 100px 0; }
.section-soft {
  background: linear-gradient(180deg, #090c12 0%, #0b0f17 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-ink {
  background:
    radial-gradient(900px 420px at 84% -10%, rgba(75, 141, 255, 0.16), transparent 62%),
    radial-gradient(700px 380px at 8% 110%, rgba(233, 197, 142, 0.08), transparent 60%),
    #05070c;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-ink .lead { color: rgba(255, 255, 255, 0.78); }

.page-hero {
  background:
    radial-gradient(760px 380px at 84% -14%, rgba(75, 141, 255, 0.18), transparent 62%),
    radial-gradient(600px 320px at 4% 0%, rgba(143, 107, 255, 0.1), transparent 60%),
    linear-gradient(180deg, #0a0d14, #07080c);
  border-bottom: 1px solid var(--line);
}
.page-hero::after { background: radial-gradient(circle at 50% 50%, rgba(233, 197, 142, 0.1), transparent 62%); }
.crumb { color: rgba(255, 255, 255, 0.78); }
.crumb a:hover { color: var(--gold); }

/* 卡片 / 面板 --------------------------------------------------------- */

.card, .course-card, .person, .story, .cd-side, .contact-card, .contact-form-card,
.table-wrap, .modal-box, .work, .news-row, .float-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border-color: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.card:hover, .course-card:hover, .cd-side:hover {
  border-color: rgba(233, 197, 142, 0.34);
  box-shadow: 0 30px 60px -32px #000, 0 0 0 1px rgba(233, 197, 142, 0.1);
}
.card-num, .mono { color: rgba(255, 255, 255, 0.78); }
.card-ic {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--gold);
}
.stage-no {
  background: linear-gradient(135deg, rgba(75, 141, 255, 0.9), rgba(143, 107, 255, 0.85));
  color: #fff;
  letter-spacing: 0.1em;
}
.tag { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.87); }

/* 数据条 */
.stats {
  background:
    radial-gradient(600px 240px at 82% 0%, rgba(233, 197, 142, 0.14), transparent 70%),
    linear-gradient(120deg, rgba(75, 141, 255, 0.16), rgba(8, 10, 16, 0.94) 52%),
    #080b11;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 40px 80px -50px #000;
}
.stats::before { background: radial-gradient(600px 240px at 18% 0%, rgba(75, 141, 255, 0.2), transparent 70%); }
.stat .v {
  background: linear-gradient(180deg, #fff 10%, #ffdfb4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .l { color: rgba(255, 255, 255, 0.80); }
.stat + .stat::before { background: rgba(255, 255, 255, 0.12); }

/* 标签页 */
.tabs { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09); }
.tab { color: rgba(255, 255, 255, 0.80); }
.tab:hover { color: #fff; }
.tab.active {
  background: rgba(233, 197, 142, 0.14);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(233, 197, 142, 0.4);
}

/* 表单 */
.input, .select, .textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 8px;
}
.input::placeholder, .textarea::placeholder { color: rgba(255, 255, 255, 0.72); }
.input:focus, .select:focus, .textarea:focus {
  border-color: rgba(233, 197, 142, 0.55);
  box-shadow: 0 0 0 4px rgba(233, 197, 142, 0.12);
}
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-opacity='.55' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.select option { background: #0d1119; color: #fff; }
.form-note { color: var(--muted-2); }

/* 表格 */
.table-wrap { border-color: rgba(255, 255, 255, 0.09); }
table.compare th { background: rgba(255, 255, 255, 0.04); color: rgba(255, 255, 255, 0.80); }
table.compare th, table.compare td { border-bottom-color: rgba(255, 255, 255, 0.07); }
table.compare tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
table.compare td:first-child { color: #fff; }
table.compare .hl { color: var(--gold); }

/* 弹窗 */
.modal { background: rgba(3, 5, 9, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal-box { background: #0b0f16; border: 1px solid rgba(255, 255, 255, 0.1); }
.modal .content p { color: var(--muted); }

/* 客服 */
.chat-panel { background: #0b0f16; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 40px 90px -30px #000; }
.chat-head { background: linear-gradient(135deg, #16233c, #1b1a33 60%, #2a1f2c); }
.chat-body { background: #0a0e15; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); }
.msg .bubble { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.09); color: rgba(255, 255, 255, 0.88); }
.msg.me .bubble { background: linear-gradient(135deg, #3f78e0, #2f5fc0); color: #fff; border-color: transparent; }
.chat-foot { background: rgba(255, 255, 255, 0.03); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.chat-input-wrap { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
.chat-input-wrap:focus-within { border-color: rgba(233, 197, 142, 0.55); }
.chat-send { background: var(--grad-gold); color: #24190a; }
.chat-send:hover { background: var(--grad-gold); filter: brightness(1.06); }
.chat-launcher { background: linear-gradient(150deg, #3b7bff, #8f6bff); box-shadow: 0 20px 44px -18px rgba(75, 141, 255, 0.9); }
.chat-human button { border-color: rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.90); }
.chat-human button:hover { border-color: var(--gold); color: var(--gold); }
.chat-suggestions .chip, .chat-suggestions button { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.90); }

/* 页脚 ---------------------------------------------------------------- */

.footer {
  background:
    radial-gradient(700px 300px at 12% 0%, rgba(75, 141, 255, 0.08), transparent 62%),
    #05070c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer p, .footer-col a, .footer-col span { color: rgba(255, 255, 255, 0.80); }
.footer-col h5 { color: #fff; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.78); }
.footer-bottom a:hover { color: #fff; }

/* CTA 区块 */
.cta-band {
  background:
    radial-gradient(700px 340px at 78% 0%, rgba(233, 197, 142, 0.16), transparent 62%),
    linear-gradient(135deg, #101a2e, #0a0d14 55%, #141019);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-band p { color: rgba(255, 255, 255, 0.80); }

/* 学员头像描边 */
.avatar { border-color: #0a0d13; }
.visual-panel { border: 1px solid rgba(255, 255, 255, 0.1); }

/* 浮动卡片（旧首屏组件，保留兼容） */
.float-card { background: rgba(13, 17, 25, 0.92); border: 1px solid rgba(255, 255, 255, 0.1); }
.float-card .t1 { color: #fff; }
.float-card .t2 { color: var(--muted); }

/* 响应式 -------------------------------------------------------------- */

@media (max-width: 1180px) {
  .leadbar-form input { width: 160px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  /* 手机上只有第一行，让它自己吸顶（不参与淡出收起） */
  .nav-top {
    position: sticky;
    top: 0;
    z-index: 90;
    --hide: 0 !important;
    opacity: 1;
    transform: none;
    will-change: auto;
  }
  .nav-top-inner { height: 64px; gap: 14px; }
  .nav-main { display: none; }
  .brand-logo { height: 34px; max-width: 150px; }
  .brand.has-logo .brand-logo { height: 42px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 16.5px; }
  .brand-badge { width: 38px; height: 38px; border-radius: 11px; }
  .brand-badge::after { inset: -5px; border-radius: 14px; }
  .brand-badge svg { width: 25px; height: 25px; }
  .brand-sub { font-size: 10.5px; letter-spacing: 0.1em; }
  .nav-contact { margin-left: auto; }
  .nav-slogan { display: none; }
  .nav-phone b { font-size: 17.5px; }
  .nav-toggle { margin-left: 2px; }
  .hero-stage { padding-top: 16px; }
  .hero-card { min-height: clamp(380px, 60vh, 520px); border-radius: 16px; }
  .hero-stage-inner { padding: 40px 22px 32px; }
  .hero-leadbar { border-radius: 14px; }
  /* 留资条：窄屏改为「标题一行 + 表单一行 + 说明一行」，全部居中，避免挤成半截换行 */
  .hero-lead-inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 18px 20px 20px; }
  .leadbar-label { justify-content: center; font-size: 16px; }
  .leadbar-label em { display: none; }
  .leadbar-right { width: 100%; align-items: center; }
  .leadbar-form { width: 100%; }
  .leadbar-form input { flex: 1; width: auto; min-width: 0; }
  .leadbar-note { text-align: center; }
  .hero-kicker { font-size: 13px; letter-spacing: 0.24em; }
  .hero-kicker::before, .hero-kicker::after { width: 22px; }
  .hero-title { margin-top: 18px; letter-spacing: 0.02em; }
  .hero-sub { font-size: 15px; letter-spacing: 0.02em; line-height: 1.85; margin-top: 18px; }
  .hero-feats { font-size: 13.5px; letter-spacing: 0.12em; gap: 10px; margin-top: 16px; }
  .hero-lead-inner { padding: 18px 24px 20px; gap: 12px; }
  .leadbar-label { font-size: 16px; }
  .leadbar-label em { display: none; }
  .leadbar-right { width: 100%; }
  .leadbar-form { width: 100%; }
  .leadbar-form input { flex: 1; width: auto; }
  .section { padding: 72px 0; }
}

@media (max-width: 680px) {
  .nav-cta { display: none; }
  .hero-stage { padding-top: 12px; }
  .hero-card { min-height: 0; border-radius: 14px; }
  .hero-stage-inner { padding: 30px 18px 26px; }
  .leadbar-form { flex-wrap: wrap; }
  .leadbar-form .btn { width: 100%; }
}

/* 视觉面板补光与水印 */
.visual-panel { align-items: flex-end; }
.visual-panel.vp-08::before {
  content: "08";
  position: absolute;
  right: 18px; top: 2px;
  font-size: 168px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.visual-panel.vp-08::after {
  content: "";
  position: absolute;
  right: -80px; top: -90px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 141, 255, 0.22), transparent 66%);
  pointer-events: none;
}


/* 细节打磨 */
.modal-close {
  background: rgba(10, 13, 20, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}
.modal-close:hover { background: rgba(233, 197, 142, 0.9); color: #1a1206; }

.marquee-item { color: rgba(255, 255, 255, 0.80); }
.marquee-item i { background: rgba(233, 197, 142, 0.5); }

.path-steps { border-color: rgba(255, 255, 255, 0.1); background: transparent; }
.path-step { border-right-color: rgba(255, 255, 255, 0.08); }
.path-step:hover { background: rgba(255, 255, 255, 0.03); }
.path-step::after {
  background: #0d1119;
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.80);
}
.path-step .weeks { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.78); }

.tabs { border-radius: 999px; }
.section-head .lead { color: var(--muted); }

/* 移动端菜单内的电话 */
.mobile-menu a.mm-phone {
  border-bottom: none;
  margin-top: auto;
  padding: 22px 4px 6px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.80);
  justify-content: flex-start;
  gap: 12px;
  align-items: baseline;
}
.mobile-menu a.mm-phone b {
  color: #fff;
  font-size: 21px;
  font-weight: 750;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

/* 新闻列表在窄屏不要被 nowrap 摘要撑破 */
.news-row > div { min-width: 0; }

/* 窄屏表格横向滑动提示 ------------------------------------------------ */
.scroll-hint { display: none; }
@media (max-width: 760px) {
  .scroll-hint {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--muted-2);
    text-align: center;
  }
  .table-wrap { -webkit-overflow-scrolling: touch; }
}

/* 移动菜单展开时隐藏客服悬浮按钮，避免遮挡菜单底部 CTA */
@media (max-width: 900px) {
  html { scrollbar-gutter: stable; }
  body.menu-open { overflow: hidden; }
}
body.menu-open .chat-launcher,
body.menu-open .chat-panel { display: none !important; }

/* ================================================================ */
/* 讲师头像 · 统一 4:3 图片                                          */
/* ================================================================ */
.person-photo { aspect-ratio: 4 / 3; }
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform 0.6s var(--ease);
}
.person:hover .person-photo img { transform: scale(1.04); }
/* 有真实照片时不再叠加网格纹理 */
.person-photo.has-photo::after { display: none; }
.person-photo.has-photo::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 12, 0.55));
  z-index: 1;
  pointer-events: none;
}
.person-photo.skeleton {
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.05) 20%, rgba(255, 255, 255, 0.1) 40%, rgba(255, 255, 255, 0.05) 60%);
  background-size: 220% 100%;
  animation: skelShine 1.4s linear infinite;
}
@keyframes skelShine { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* ================================================================ */
/* 作品：视频标记与播放器                                            */
/* ================================================================ */
.work-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #0a0b0e;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px -8px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s var(--ease), background 0.3s;
  pointer-events: none;
}
.work-play svg { width: 26px; height: 26px; margin-left: 3px; }
.work:hover .work-play { transform: scale(1.08); background: var(--gold); }
.work-tag {
  position: absolute;
  z-index: 3;
  left: 12px;
  top: 12px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0a0b0e;
  background: var(--gold);
  pointer-events: none;
}
.work-player {
  background: #000;
  aspect-ratio: 16 / 9;
  position: relative;
}
.work-player video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}
@media (max-width: 560px) {
  .work-play { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
  .work-play svg { width: 21px; height: 21px; }
  /* 手机端原生播放器控件偏小，给视频区留足高度 */
  .work-player { aspect-ratio: 16 / 10; }
}

/* ---------------------------------------------------------------- */
/* FAQ 兜底询问卡（深色底，保证文字对比度）                          */
/* ---------------------------------------------------------------- */

.faq-ask {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px 34px 30px 38px;
  border-radius: 20px;
  background:
    radial-gradient(120% 180% at 100% 0%, rgba(233, 197, 142, 0.12), transparent 62%),
    linear-gradient(180deg, #171d29 0%, #10141c 100%);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 26px 52px -34px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}
/* 左侧金色竖条，作为视觉锚点 */
.faq-ask::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--grad-gold);
}
.faq-ask .h4 { color: #f6f8fc; }
.faq-ask .small { color: #b9c4d6; }
.faq-ask .flex { flex-wrap: wrap; }

@media (max-width: 640px) {
  .faq-ask { padding: 24px 22px 24px 26px; gap: 18px; }
  .faq-ask .flex { width: 100%; }
  .faq-ask .btn { flex: 1; justify-content: center; }
}

/* 窄屏讲师卡片：2 列时收紧内边距，避免文字挤压 */
@media (max-width: 600px) {
  .person-body { padding: 13px 13px 17px; }
  .person-body h4 { font-size: 16.5px; }
  .person-body .role { font-size: 12.5px; margin-top: 3px; }
  .person-body p { font-size: 13px; margin-top: 8px; line-height: 1.6; }
  .person-photo .mono-big { font-size: 40px; }
}

/* ================================================================ */
/* 讲师团队 · 超过 4 人可左右滑动，空闲时自动轮播                      */
/* ================================================================ */
.team-carousel { position: relative; }

.team-track {
  --team-gap: 18px;
  display: flex;
  gap: var(--team-gap);
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  /* 隐藏滚动条但保留滚动能力：轮播靠自动滚动，不需要人手拖动滚动条 */
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.team-track::-webkit-scrollbar { width: 0; height: 0; display: none; }
.team-track > .person {
  flex: 0 0 calc((100% - var(--team-gap) * 3) / 4);
  min-width: 0;
  scroll-snap-align: start;
}
.team-track.is-dragging { cursor: grabbing; user-select: none; }
.team-track.is-dragging .person { pointer-events: none; }
.person-photo img { -webkit-user-drag: none; }

/* 左右箭头：仅在溢出且鼠标可见的设备上出现 */
.team-arrow {
  position: absolute;
  top: 32%;
  z-index: 4;
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(9, 12, 18, 0.86);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.team-carousel.has-overflow .team-arrow { display: grid; }
.team-carousel:hover .team-arrow, .team-carousel:focus-within .team-arrow { opacity: 1; }
.team-arrow.prev { left: -16px; }
.team-arrow.next { right: -16px; }
.team-arrow:hover {
  background: rgba(233, 197, 142, 0.16);
  border-color: var(--gold);
  color: var(--gold);
}
.team-arrow[disabled] { opacity: 0 !important; pointer-events: none; }

@media (hover: none) {
  .team-arrow { display: none !important; }
}

@media (max-width: 1080px) {
  .team-track > .person { flex-basis: calc((100% - var(--team-gap)) / 2); }
}
@media (max-width: 600px) {
  .team-track { --team-gap: 12px; }
  .team-track > .person { flex-basis: 76%; }
}

/* ================================================================ */
/* CTA 区块 · 两列结构：左侧文案，右侧独立操作列（带分隔线）           */
/* ================================================================ */
/* 8 个页面统一外距：卡片上方、下方都留出同样的呼吸空间 */
.container.cta-wrap {
  padding-top: 96px;
  padding-bottom: 96px;
}

/* 卡片高度锁定：单行标题的页面（联系页等）也不会变矮 */
.cta-band {
  display: flex;
  align-items: center;
  min-height: 352px;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 56px;
  /* 内容组限制最大宽度并整体居中，避免文字与按钮被拉到卡片两端 */
  max-width: 960px;
  width: 100%;
  margin-inline: auto;
}
.cta-band .h2 { max-width: 620px; }
.cta-band p { max-width: 560px; }

.cta-actions {
  display: grid;
  gap: 12px;
  /* 固定操作列宽度：不论按钮文案是 4 字还是 6 字，各页按钮尺寸都一致 */
  width: 196px;
  padding-left: 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}
.cta-actions .btn {
  width: 100%;
  min-width: 0;
  padding-inline: 12px;
  justify-content: center;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .container.cta-wrap { padding-top: 56px; padding-bottom: 64px; }
  .cta-band { min-height: 0; display: block; }
  .cta-inner {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 26px;
  }
  .cta-actions {
    width: auto;
    padding-left: 0;
    border-left: 0;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 10px;
  }
  .cta-actions .btn { padding-inline: 10px; }
}

/* 视频防下载：隐藏内核自带的「下载」按钮，并禁止拖拽/长按菜单 */
video::-internal-media-controls-download-button { display: none; }
video::-webkit-media-controls-enclosure { overflow: hidden; }
video { -webkit-user-drag: none; user-select: none; }
.work-player, .work-player video { -webkit-touch-callout: none; }


/* ==========================================================================
   v1.8.0 · 布局自适应与科技感增强
   说明：仅新增装饰与容器样式，不改动已通过对比度校验的文字颜色
   ========================================================================== */

/* 后台区块容器：条目增减后仍整齐，空数据有兜底 */
[data-block-group] { min-width: 0; }
.block-empty {
  grid-column: 1 / -1;
  width: 100%;
  padding: 40px 24px;
  text-align: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.84);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

/* 学员说卡片（后台「页面区块 → 学员说」驱动） */
.voice-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 30px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.voice-card:hover {
  transform: translateY(-5px);
  border-color: rgba(233, 197, 142, 0.34);
  box-shadow: 0 30px 60px -34px #000, 0 0 0 1px rgba(233, 197, 142, 0.08);
}
.voice-quote { font-size: 34px; line-height: 1; font-weight: 800; color: rgba(233, 197, 142, 0.82); }
.voice-text { font-size: 15.5px; line-height: 1.85; color: rgba(255, 255, 255, 0.90); margin-top: 14px; }
.voice-name { font-size: 14.5px; font-weight: 650; color: #fff; }
.voice-meta { font-size: 13.5px; color: rgba(255, 255, 255, 0.80); }

/* 全站极淡科技网格底纹（纯装饰，不影响文字对比度） */
body {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 64px 64px;
  background-attachment: fixed;
}

/* 每个区块顶部一条细光带 */
.section { isolation: isolate; }
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(680px, 70%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(123, 140, 255, 0.3), rgba(233, 197, 142, 0.22), transparent);
  pointer-events: none;
  z-index: 0;
}
.section > .container { position: relative; z-index: 1; }

/* 眉标发光点 */
.eyebrow::before { box-shadow: 0 0 10px rgba(233, 197, 142, 0.75); }

/* 卡片顶部高光与角标 */
.card, .course-card, .voice-card { position: relative; }
.card::before, .course-card::before, .voice-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  pointer-events: none;
}
.card:hover, .course-card:hover, .voice-card:hover { border-color: rgba(233, 197, 142, 0.34); }

/* 课程方向编号徽章 */
.course-card .stage-no, .cd-side .stage-no { box-shadow: 0 4px 18px rgba(75, 141, 255, 0.35); }
.course-card h3 { letter-spacing: -0.012em; }

/* 数据条：扫描光与数字辉光 */
.stats::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  background-size: 220% 100%;
  pointer-events: none;
  z-index: 0;
}
.stats .stat { z-index: 1; }
.stat .v { text-shadow: 0 0 26px rgba(233, 197, 142, 0.22); }

/* 方向概览：编号发光、hover 渐变 */
.path-step .n { color: var(--gold); text-shadow: 0 0 14px rgba(233, 197, 142, 0.35); }
.path-step { background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 55%); }
.path-step:hover { background: linear-gradient(180deg, rgba(75, 141, 255, 0.08), transparent 60%); }

/* 发展历程：连接线与发光节点 */
.timeline { border-left: 1px solid var(--line); }
.tl-item::before {
  content: "";
  display: block;
  position: absolute;
  left: -5px;
  top: 36px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(233, 197, 142, 0.12), 0 0 16px rgba(233, 197, 142, 0.5);
}
.tl-year { color: var(--gold); font-weight: 650; padding-left: 20px; }

/* 班型表：所有行底图一致，不再单独高亮首行 */
table.compare tbody tr:first-child td { background: transparent; }

/* 主按钮微光 */
.btn-primary { box-shadow: 0 8px 24px -12px rgba(233, 197, 142, 0.55); }

/* 特征列表序号 */
.feature-item .n { font-weight: 700; color: var(--gold); }
.feature-item h4 { transition: color 0.3s; }
.feature-item:hover h4 { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .voice-card, .card, .course-card { transition: none; }
}

/* ================================================================== */
/* v1.9.0 · 首页教学理念联动面板 + 作品墙局部滚动窗口                  */
/* ================================================================== */

/* 左侧条目：可悬停 / 点击 / 键盘切换，当前项高亮 */
.feature-item {
  cursor: pointer;
  padding-right: 12px;
  border-radius: 10px;
  outline: none;
  transition: padding-left 0.3s var(--ease), background 0.3s var(--ease);
}
.feature-item:hover,
.feature-item.is-active { padding-left: 12px; background: rgba(255, 255, 255, 0.045); }
.feature-item:focus-visible { box-shadow: 0 0 0 2px var(--gold); }
.feature-item.is-active h4 { color: #fff; }
.feature-item.is-active .n { color: var(--gold); }

/* 右侧面板：一层背景图 + 渐变遮罩，保证文字始终清晰 */
#featurePanel .vp-photos { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.vp-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.75s var(--ease), transform 1.4s var(--ease);
}
.vp-photo.active { opacity: 0.62; transform: scale(1); }
#featurePanel .vp-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(8, 10, 15, 0.96) 0%,
    rgba(8, 10, 15, 0.82) 30%,
    rgba(8, 10, 15, 0.44) 62%,
    rgba(8, 10, 15, 0.16) 100%
  );
}
#featurePanel .vp-grid { z-index: 2; opacity: 0.55; }
#featurePanel::after { z-index: 2; }
#featurePanel.vp-08::before { content: none; }  /* 去掉旧的固定「08」水印 */
#featurePanel .vp-content { position: relative; z-index: 3; width: 100%; }
#featurePanel .vp-content .k {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
#featurePanel .vp-content .k-sub {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.84);
}
#featurePanel .vp-content .d {
  font-size: 14.5px;
  line-height: 1.8;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.88);
}
#featurePanel .vp-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 26px;
}
#featurePanel .vp-stats > div { min-width: 76px; }
#featurePanel .vp-stat-v {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}
#featurePanel .vp-content.is-in { animation: vpFade 0.42s var(--ease) both; }
@keyframes vpFade {
  from { opacity: 0.78; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  #featurePanel .vp-content .k { font-size: 36px; }
  #featurePanel .vp-content .k-sub { font-size: 16px; }
  #featurePanel .vp-stats { gap: 18px; margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .vp-photo, #featurePanel .vp-content.is-in { transition: none; animation: none; }
}

/* 作品墙：作品较多时收进一个可滚动的局部窗口，页面不再被无限拉长。
   滚动链由脚本平滑接管（见 works.html）：容器滚动带缓动，临近顶/底时
   提前把动量渐变交给主页，避免「滚到底硬停一下、页面猛地跳起来」的生硬感。 */
.gallery-wrap { position: relative; }
.gallery.is-scroll {
  max-height: min(760px, 78vh);
  overflow-y: auto;
  padding-right: 10px;
  /* 默认保留浏览器原生滚动链，作为触屏 / 减少动效 / 脚本未启用时的降级 */
  overscroll-behavior: auto;
  /* 脚本赋值 scrollTop 时不要被全局的 scroll-behavior: smooth 拖慢 */
  scroll-behavior: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(233, 197, 142, 0.34) transparent;
}
/* 脚本接管后关闭原生硬链，改由脚本连续过渡 */
.gallery.is-scroll.is-smooth { overscroll-behavior: contain; }
.gallery.is-scroll::-webkit-scrollbar { width: 6px; }
.gallery.is-scroll::-webkit-scrollbar-track { background: transparent; border-radius: 6px; }
.gallery.is-scroll::-webkit-scrollbar-thumb {
  background: rgba(233, 197, 142, 0.26);
  border-radius: 6px;
  transition: background 0.35s var(--ease);
}
.gallery.is-scroll:hover::-webkit-scrollbar-thumb { background: rgba(233, 197, 142, 0.58); }
.gallery.is-scroll::-webkit-scrollbar-thumb:hover { background: rgba(233, 197, 142, 0.8); }

/* 顶/底渐隐：还有内容可滚时柔和淡出；到达边界时淡出收起，视觉上「让开」给主页 */
.gallery-wrap::before,
.gallery-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 10px;
  height: 54px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.gallery-wrap::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg) 2%, rgba(7, 8, 12, 0) 100%);
}
.gallery-wrap::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg) 2%, rgba(7, 8, 12, 0) 100%);
}
.gallery-wrap:not(.is-active)::before,
.gallery-wrap:not(.is-active)::after { display: none; }
.gallery-wrap.is-active.fade-top::before { opacity: 1; }
.gallery-wrap.is-active.fade-bottom::after { opacity: 1; }

.work-scroll-hint {
  margin-top: 16px;
  text-align: center;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.work-scroll-hint.is-dim { opacity: 0; transform: translateY(6px); }
@media (max-width: 680px) {
  /* 手机端整页滚动更自然，不启用局部窗口 */
  .gallery.is-scroll { max-height: none; overflow: visible; padding-right: 0; }
  .gallery-wrap::before, .gallery-wrap::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-wrap::before, .gallery-wrap::after,
  .work-scroll-hint, .gallery.is-scroll::-webkit-scrollbar-thumb { transition: none; }
}

/* ---------------------------------------------------------------- */
/* v1.10.0 · 全站页面主标题：白→金 金属渐变（对齐首页首屏标题）      */
/* ---------------------------------------------------------------- */

/* 两行标题时第一行保持纯白，第二行过渡到香槟金；
   单行标题（如「学院新闻」）则整行由上白渐到下金。 */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .page-hero .h1 {
    background-image: linear-gradient(
      180deg,
      #ffffff 0%,
      #ffffff 30%,
      #fff2da 52%,
      #e9c695 74%,
      #cfa46c 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 8px 30px rgba(233, 197, 142, 0.22));
  }
}

/* 头部下沿：金蓝渐变光带，替换单调的分割线 */
.page-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(233, 197, 142, 0.6) 16%,
    rgba(75, 141, 255, 0.6) 50%,
    rgba(233, 197, 142, 0.5) 84%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ---------------------------------------------------------------- */
/* v1.11.0 · 去掉学费价格后的课程页重排                              */
/* ---------------------------------------------------------------- */

/* 班型对比：5 列 → 4 列，重新分配列宽，桌面更舒展、窄屏滚动距离更短 */
table.compare {
  min-width: 620px;
  table-layout: fixed;
}
table.compare th:nth-child(1), table.compare td:nth-child(1) { width: 20%; }
table.compare th:nth-child(2), table.compare td:nth-child(2) { width: 20%; }
table.compare th:nth-child(3), table.compare td:nth-child(3) { width: 26%; }
table.compare th:nth-child(4), table.compare td:nth-child(4) { width: 34%; }
/* fixed 布局下允许表头换行，避免被裁切 */
table.compare th { white-space: normal; }
table.compare td.hl { color: var(--gold); font-weight: 700; }

/* 课程卡片底部：学制 + 适合基础，替代原来的价格行 */
.course-foot .price { display: none; }
.course-foot .foot-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 36px;
  justify-content: center;
}
.course-foot .fm-dur { font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.course-foot .fm-lvl { font-size: 13.5px; color: var(--muted-2); }
.course-foot .link-arrow { flex-shrink: 0; }

/* 课程详情侧栏：4 项信息改 2×2 网格卡片，替代原来的价格块 */
.cd-price { display: none; }
.cd-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}
.cd-meta-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}
.cd-meta-cell .k { font-size: 13.5px; color: var(--muted-2); letter-spacing: 0.02em; }
.cd-meta-cell .v { font-size: 14px; font-weight: 650; color: var(--text); line-height: 1.45; }

/* ---------------------------------------------------------------- */
/* v1.12.0 · 就业榜去掉薪资后：4 列重排                              */
/* 学员 / 原背景 / 入职企业 / 入职岗位，按内容长度分配列宽            */
/* ---------------------------------------------------------------- */
table.compare.offer-table th:nth-child(1), table.compare.offer-table td:nth-child(1) { width: 14%; }
table.compare.offer-table th:nth-child(2), table.compare.offer-table td:nth-child(2) { width: 23%; }
table.compare.offer-table th:nth-child(3), table.compare.offer-table td:nth-child(3) { width: 30%; }
table.compare.offer-table th:nth-child(4), table.compare.offer-table td:nth-child(4) { width: 33%; }

/* ---------------------------------------------------------------- */
/* v1.13.0 · 学员页就业榜：榜单卡片布局 + 由下往上轮播                 */
/* ---------------------------------------------------------------- */

/* 榜单容器：深色玻璃卡 + 顶部细光带，与全站科技感语言一致 */
.offer-board {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.032);
  overflow: hidden;
  box-shadow: 0 26px 60px -42px rgba(0, 0, 0, 0.92), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.offer-board::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 197, 142, 0.55), rgba(75, 108, 255, 0.42), transparent);
}

/* 表头与数据行共用一套网格，列宽对齐 */
.offer-head,
.offer-row {
  display: grid;
  grid-template-columns: 15% 23% 29% 33%;
  align-items: center;
  gap: 0 14px;
  padding: 0 22px;
}
.offer-head {
  height: 46px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.028);
}
/* v1.18.0 · 四列表头统一色，不再单独高亮「入职岗位」 */

/* 轮播视口：只在条目超出一屏时裁剪；不做渐隐，保证每一行文字都清晰可读 */
.offer-viewport { position: relative; }
.offer-viewport.is-loop { overflow: hidden; }

.offer-track {
  display: flex;
  flex-direction: column;
  row-gap: 0;
  will-change: transform;
}

.offer-row {
  min-height: 62px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  transition: background 0.28s ease;
}
.offer-row:last-child { border-bottom: none; }
/* v1.18.0 · 悬停不改底色，只让整行文字变金（见文末 v1.18.0 规则） */

/* 单元格：单行省略，保证四列永远齐平 */
.oc {
  min-width: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.90);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.oc.who {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
}
.oc-t { overflow: hidden; text-overflow: ellipsis; }
/* v1.18.0 · 四列文字统一白色系，岗位列不再写死金色 */
.oc.comp, .oc.role { color: rgba(255, 255, 255, 0.90); }

/* 底部状态条：仅在轮播时出现 */
.offer-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.018);
}
.offer-foot[hidden] { display: none; }
.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--muted-2);
}
.offer-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(233, 197, 142, 0.14), 0 0 10px rgba(233, 197, 142, 0.6);
}

/* 手机端：表头收进单元格，行内改 2×2，字段名用小标签提示 */
@media (max-width: 680px) {
  .offer-head { display: none; }
  .offer-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    padding: 14px 16px;
    min-height: 0;
  }
  .oc {
    white-space: normal;
    font-size: 14px;
    line-height: 1.45;
  }
  .oc::before {
    content: attr(data-l);
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--muted-2);
  }
  /* 前端不显示学员序列号；序号与排序只在后台「页面区块」里维护 */
  .oc.who { display: block; }
  .oc.comp, .oc.role { white-space: normal; }
  .offer-foot { justify-content: center; padding: 9px 16px; }
}

/* v1.16.0 · 联系方式校验：非法态红框 + 轻量提示气泡                    */
input.is-invalid, .input.is-invalid {
  border-color: #ff7b7b !important;
  background: rgba(255, 90, 90, 0.08) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.18) !important;
  outline: 2px solid rgba(255, 107, 107, 0.45) !important;
  outline-offset: 1px;
}
.field-tip {
  position: fixed; z-index: 9999;
  max-width: 240px; padding: 9px 13px;
  background: #2a1519; border: 1px solid rgba(255, 123, 123, 0.6);
  color: #ffcaca; font-size: 13.5px; line-height: 1.55;
  border-radius: 8px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  pointer-events: none; opacity: 0; transform: translateY(-5px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.field-tip.show { opacity: 1; transform: translateY(0); }

/* ================================================================== */
/* v1.17.0 · 班型对比：底图保持一致，悬停整行文字变金，移开恢复       */
/* ================================================================== */
table.compare tbody tr:hover { background: transparent; }
table.compare tbody td { transition: color 0.25s ease; }
table.compare tbody tr:hover td,
table.compare tbody tr:hover td:first-child { color: var(--gold); }

/* ================================================================== */
/* v1.18.0 · 就业榜风格与班型表保持一致                                */
/*   底图始终一致；默认四列文字统一白色系；悬停整行变金、移开恢复     */
/* ================================================================== */
.oc { transition: color 0.25s ease; }
.offer-row:hover .oc,
.offer-row:hover .oc.who,
.offer-row:hover .oc.comp,
.offer-row:hover .oc.role { color: var(--gold); }

/* ================================================================== */
/* v1.31.0 · 首屏大图轮播（参照高校官网首页 banner）                      */
/* 三张课程底图铺满首屏、按后台顺序交叉淡入；底部一条半透明字幕条显示     */
/* 「近期开班 · 课程名 · 日期」，右下角圆点指示当前第几张、可点击切换。   */
/* 间隔取 settings.openingSpeed（默认 2 秒）；悬停字幕条 / 页面切走暂停。  */
/* ================================================================== */
.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #03050a;
}
.hero-slider .hs {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 46%;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s var(--ease), transform 8s linear;
  will-change: opacity, transform;
}
.hero-slider .hs.on { opacity: 1; transform: scale(1); }
/* 压暗一层，保证标题、副标题在任何底图上都够清楚 */
.hero-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(56% 52% at 50% 42%, rgba(4, 6, 11, 0.6), rgba(4, 6, 11, 0.3) 68%, rgba(4, 6, 11, 0.12) 100%),
    linear-gradient(180deg, rgba(4, 6, 11, 0.34) 0%, rgba(4, 6, 11, 0.06) 26%, rgba(4, 6, 11, 0.22) 74%, rgba(4, 6, 11, 0.62) 100%);
}

/* 字幕条：贴在卡片底部、与大图同宽；「近期开班」信息做大做亮，作为首屏第二视觉点 */
.hero-caption {
  position: relative;
  z-index: 3;
  width: 100%;
  background: linear-gradient(180deg, rgba(5, 7, 12, 0.42), rgba(5, 7, 12, 0.76));
  border-top: 1px solid rgba(233, 197, 142, 0.22);
  -webkit-backdrop-filter: blur(10px) saturate(1.12);
  backdrop-filter: blur(10px) saturate(1.12);
}
.hero-cap-inner {
  position: relative;
  height: 76px;
  /* 左右留出与圆点等宽的空白，字幕始终居中且不会钻到圆点底下 */
  padding: 0 104px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-cap-text {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
  font-size: 21px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
}
/* 「近期开班」与课程名同字号，只靠金色和胶囊区分，整行读起来是同一句话 */
.hero-cap-text .cap-k {
  position: relative;
  flex: 0 0 auto;
  padding: 3px 14px 3px 26px;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f2d6a8;
  background: rgba(233, 197, 142, 0.12);
  border: 1px solid rgba(233, 197, 142, 0.38);
  border-radius: 999px;
}
.hero-cap-text .cap-k::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: #e9c58e;
  box-shadow: 0 0 10px rgba(233, 197, 142, 0.95);
}
.hero-cap-text .cap-sep {
  flex: 0 0 auto;
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
}
.hero-cap-text .cap-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
}
.hero-cap-text .cap-date {
  flex: 0 0 auto;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #ffffff 10%, #ffe4bc 62%, #e6b877 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 12px rgba(233, 197, 142, 0.35));
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-cap-text .cap-date { color: #f6dcb4; }
}
/* 切换时的轻微上浮，避免字幕生硬替换 */
.hero-cap-text.is-in { animation: capIn 0.5s var(--ease) both; }
@keyframes capIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* 圆点：当前页为白色长条，其余为半透明圆点 */
.hero-dots {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 11px;
}
.hero-dots .dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.4s var(--ease), background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.hero-dots .dot:hover { background: rgba(255, 255, 255, 0.72); }
.hero-dots .dot.is-on {
  width: 30px;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
}
.hero-dots .dot:focus-visible { outline: 2px solid rgba(233, 197, 142, 0.8); outline-offset: 4px; }

@media (max-width: 900px) {
  .hero-slider .hs { background-position: center 44%; }
  .hero-cap-inner { height: 64px; padding: 0 76px; }
  .hero-cap-text { font-size: 15.5px; gap: 12px; }
  .hero-cap-text .cap-k { padding: 3px 11px 3px 22px; }
  .hero-cap-text .cap-k::before { left: 9px; width: 6px; height: 6px; margin-top: -3px; }
  .hero-cap-text .cap-date { font-size: 20px; }
  .hero-dots { right: 20px; }
}
@media (max-width: 680px) {
  .hero-cap-inner { height: auto; min-height: 66px; padding: 10px 64px 12px; }
  /* 手机一行放不下「课程名 + 日期」，上下分成两行居中，都不做省略号截断 */
  .hero-cap-text { flex-direction: column; gap: 3px; font-size: 16px; text-align: center; }
  .hero-cap-text .cap-k, .hero-cap-text .cap-sep { display: none; }
  .hero-cap-text .cap-name { flex: 0 1 auto; max-width: 100%; overflow: visible; font-size: 17px; }
  .hero-cap-text .cap-date { flex: 0 0 auto; font-size: 22px; }
  .hero-dots { right: 14px; }
  .hero-dots { gap: 7px; }
  .hero-dots .dot { width: 6px; height: 6px; }
  .hero-dots .dot.is-on { width: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider .hs { transition: none; transform: none; }
  .hero-cap-text.is-in { animation: none; }
  .hero-dots .dot { transition: none; }
}

/* ================================================================== */
/* v1.23.0 · 新闻 / 学员动态归档：更多按钮 + 可滚动历史面板             */
/* ================================================================== */
.archive-more-wrap { display: flex; justify-content: center; margin-top: 30px; }
.archive-more-wrap[hidden] { display: none; }
.archive-more {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 26px; border-radius: 999px;
  border: 1px solid rgba(233, 197, 142, .45);
  background: linear-gradient(180deg, rgba(233, 197, 142, .10), rgba(233, 197, 142, .03));
  color: #f3dcb8; font-size: 15.5px; font-weight: 650; cursor: pointer;
  transition: all .3s var(--ease);
}
.archive-more:hover {
  border-color: rgba(233, 197, 142, .85); background: rgba(233, 197, 142, .16);
  transform: translateY(-2px); box-shadow: 0 10px 30px rgba(233, 197, 142, .12);
}
.archive-more .am-count { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--muted-2); }
.archive-more svg { transform: rotate(-90deg); opacity: .85; }

.modal-box.is-archive {
  width: min(920px, 100%); max-height: min(90vh, 880px);
  overflow: hidden; display: flex; flex-direction: column;
}
.archive-panel { display: flex; flex-direction: column; min-height: 0; }
.archive-head { flex: none; padding: 32px 38px 20px; border-bottom: 1px solid var(--line); }
.archive-head h3 { font-size: 24px; font-weight: 750; letter-spacing: -.02em; margin: 10px 0 8px; }
.archive-head p { font-size: 13.5px; color: var(--muted-2); }
.archive-tabs {
  flex: none; display: flex; gap: 8px; padding: 16px 38px;
  overflow-x: auto; scrollbar-width: none;
}
.archive-tabs::-webkit-scrollbar { display: none; }
.atab {
  flex: none; padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent;
  color: var(--muted); font-size: 13.5px; cursor: pointer; transition: all .25s;
}
.atab:hover { color: var(--text); border-color: var(--line-strong); }
.atab.active { background: var(--gold); border-color: var(--gold); color: #1a1206; font-weight: 650; }

/* 历史面板的核心：列表区独立滚动，滚动条可见且风格与站点一致 */
.archive-scroll {
  flex: 1 1 auto; min-height: 0;
  max-height: min(54vh, 520px);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  padding: 4px 38px 12px;
}
.archive-scroll::-webkit-scrollbar { width: 8px; }
.archive-scroll::-webkit-scrollbar-track { background: rgba(255, 255, 255, .05); border-radius: 8px; }
.archive-scroll::-webkit-scrollbar-thumb { background: rgba(233, 197, 142, .45); border-radius: 8px; }
.archive-scroll::-webkit-scrollbar-thumb:hover { background: rgba(233, 197, 142, .72); }
.archive-scroll::-webkit-scrollbar-button { display: none; height: 0; width: 0; }

.archive-item {
  display: grid; grid-template-columns: 78px minmax(0, 1fr) 30px; gap: 22px;
  align-items: center; padding: 22px 4px;
  border-bottom: 1px solid var(--line); cursor: pointer;
  transition: background .25s, padding .25s;
}
.archive-item:last-child { border-bottom: none; }
.archive-item:hover { background: var(--panel-2); padding-left: 14px; padding-right: 14px; }
.archive-item:hover h4 { color: var(--gold); }
.ai-date { font-family: var(--mono); font-size: 13px; color: var(--muted-2); line-height: 1.5; }
.ai-date b { display: block; font-family: var(--font); font-size: 26px; color: var(--text); font-weight: 750; letter-spacing: -.03em; }
.ai-top { display: flex; align-items: center; gap: 12px; }
.ai-cat { font-size: 12.5px; color: #b9c8ff; background: var(--grad-soft); padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.ai-ym { font-family: var(--mono); font-size: 12.5px; color: var(--muted-2); }
.ai-main { min-width: 0; }
.ai-main h4 { font-size: 17.5px; font-weight: 720; line-height: 1.45; margin: 9px 0 7px; transition: color .25s; }
.ai-main p { font-size: 14.5px; color: var(--muted); line-height: 1.7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-meta { font-size: 13px; color: var(--muted-2); margin-top: 7px; }
.ai-go { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: all .25s; }
.archive-item:hover .ai-go { border-color: var(--gold); color: var(--gold); }
.archive-empty { padding: 60px 0; text-align: center; color: var(--muted-2); font-size: 14.5px; }
.archive-foot { flex: none; padding: 14px 38px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-2); }
.archive-back { margin-top: 30px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--gold); font-size: 13.5px; cursor: pointer; transition: all .25s; }
.archive-back:hover { border-color: var(--gold); background: rgba(233, 197, 142, .1); }
.story-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.latest-badge { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 680; color: #1a1206; background: var(--gold); vertical-align: middle; }

@media (max-width: 680px) {
  .modal-box.is-archive { max-height: 92vh; border-radius: 18px; }
  .archive-head { padding: 24px 20px 16px; }
  .archive-head h3 { font-size: 20px; }
  .archive-tabs { padding: 12px 20px; }
  .archive-scroll { padding: 4px 20px 10px; max-height: min(56vh, 460px); }
  .archive-foot { padding: 12px 20px; }
  .archive-item { grid-template-columns: 60px 1fr; gap: 14px; padding: 18px 2px; }
  .ai-go { display: none; }
  .ai-date b { font-size: 22px; }
  .archive-more { padding: 12px 20px; font-size: 14.5px; }
}

/* ---------------------------------------------------------------- */
/* v1.36.0 · 全站小字放大 + 正文对比度提升                            */
/*  1. 字号阶梯整体上移一档：正文 15~15.5px，辅助信息 13~13.5px，      */
/*     装饰性英文标签不小于 12px                                      */
/*  2. --muted / --muted-2 提亮（对比度 12.9:1 / 10.8:1）             */
/*  3. 半透明白字统一提亮 0.05~0.06，避免小字发灰看不清                */
/*  4. 正文启用 text-wrap: pretty，减少中文末行孤字                    */
/* ---------------------------------------------------------------- */

/* ---------------------------------------------------------------- */
/* v1.37.0 · 品牌标识（徽标 + 字标）与头部小屏适配                      */
/*  1. 未上传自定义 LOGO 时用内置金色六边徽标 + 字标，替代占位图        */
/*  2. 上传自定义 LOGO 后自动切换到图片，并加半透明底板保证深底对比度   */
/*  3. 顶部电话不换行，窄屏按档缩小，避免与徽标、汉堡争位              */
/* ---------------------------------------------------------------- */
.nav-phone b { white-space: nowrap; }

@media (max-width: 900px) {
  .nav-phone b { font-size: 16.5px; letter-spacing: 0; }
}

@media (max-width: 480px) {
  .brand { gap: 9px; }
  .brand-badge { width: 34px; height: 34px; border-radius: 10px; }
  .brand-badge svg { width: 23px; height: 23px; }
  .brand-name { font-size: 15.5px; }
  .brand-sub { font-size: 10px; letter-spacing: 0.08em; }
  .nav-phone b { font-size: 15px; }
}

/* v1.39.0 · 品牌 LOGO 直接呈现（无底板） ---------------------------------- */
/*  白色单色版 logo 直接贴在深色导航上，尺寸放大一档；去掉圆角底板与描边，   */
/*  只保留极轻投影，避免图片像"贴"在背景上。                              */
.brand.has-logo .brand-logo { object-fit: contain; }

@media (max-width: 480px) {
  .brand.has-logo .brand-logo { height: 36px; }
  .brand.has-logo .brand-logo.brand-logo-footer { height: 32px; }
}
