/* ==========================================================================
   职充充 · 全站样式（深色科技风）
   基底：近黑 #07080A｜主色：电光青 #22E0C8｜点缀：品牌黄 #FFD100（取自 logo）
   变量名沿用旧版，便于页面模板零改动复用。
   ========================================================================== */

:root {
  /* 底色层级（相邻区块留出可辨的明度差，形成节奏） */
  --bg: #07080a;
  --bg-soft: #0c1016;
  --bg-warm: #0e1219;
  --surface: #101319;
  --surface-2: #151922;

  /* 文字层级（沿用旧变量名，值反转为深色体系） */
  --ink: #ffffff;
  --ink-2: #d5dbe3;
  --ink-3: #a3acb9;
  --gray: #868f9c;
  --gray-4: #656d79;

  /* 描边 */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* 主色（沿用旧变量名 --yellow*，实为电光青） */
  --yellow: #22e0c8;
  --yellow-600: #0fbca6;
  --yellow-soft: rgba(34, 224, 200, 0.14);
  --yellow-tint: rgba(34, 224, 200, 0.055);
  --on-primary: #032622;

  /* 辅助色 */
  --brand-yellow: #ffd100;
  --accent: #7c6cff;
  --accent-soft: rgba(124, 108, 255, 0.14);
  --glow: rgba(34, 224, 200, 0.3);
  --glow-accent: rgba(124, 108, 255, 0.28);

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 24px;
  --r-pill: 999px;

  --sh-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --sh: 0 8px 30px -12px rgba(0, 0, 0, 0.7);
  --sh-lg: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
  --sh-glow: 0 0 0 1px rgba(34, 224, 200, 0.35), 0 18px 50px -20px rgba(34, 224, 200, 0.35);

  --container: 1220px;
  --gutter: 24px;
  --header-h: 72px;

  --font: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  /* clip 而非 hidden：不创建滚动容器，不会破坏 sticky 头部 */
  overflow-x: clip;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-3);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.16s ease;
}

a:hover {
  color: var(--yellow);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.022em;
}

h1 {
  font-size: clamp(34px, 4.8vw, 62px);
}
h2 {
  font-size: clamp(26px, 3.2vw, 42px);
}
h3 {
  font-size: 19px;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

li {
  margin-bottom: 0.35em;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--glow);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--yellow);
  color: var(--on-primary);
  padding: 12px 20px;
  font-weight: 700;
}
.skip-link:focus {
  left: 0;
}

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

/* 单列窄版：课程详情 / 企业服务子页去掉右侧栏后，正文仍留在 .container 内，
   保持靠左排布（与删除侧栏前的位置一致），只限制行宽以保证可读性。
   注意：不要给这里加 margin:auto —— 那会让正文变成居中，与改版前不一致。 */
.container-narrow .course-main {
  max-width: 800px;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* ------------------------------------------------------------------ 通用元素 */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  background: var(--yellow-soft);
  border: 1px solid rgba(34, 224, 200, 0.24);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin: 0 0 20px;
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  transition: transform 0.16s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.24s ease;
  cursor: pointer;
}

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

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}
.btn-sm {
  padding: 9px 17px;
  font-size: 14px;
}
.btn-block {
  width: 100%;
}

/* 主按钮：电光青实心 + 外发光 */
.btn-primary {
  background: var(--yellow);
  color: var(--on-primary);
  box-shadow: 0 0 24px -6px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover {
  background: #4deada;
  color: var(--on-primary);
  box-shadow: 0 0 34px -4px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* 深色按钮：半透明面 + 描边 */
.btn-dark {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-strong);
  color: var(--ink);
  backdrop-filter: blur(6px);
}
.btn-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--ink);
}

/* 描边按钮 */
.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink-2);
}
.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: var(--yellow-tint);
}

/* 幽灵按钮（用于深色 CTA 区） */
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--ink-2);
}
.btn-ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: var(--yellow-tint);
}

.tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-3);
  border: 1px solid var(--line);
  line-height: 1.6;
  white-space: nowrap;
}
.tag-yellow {
  background: var(--yellow-soft);
  border-color: rgba(34, 224, 200, 0.3);
  color: var(--yellow);
}
.tag-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
  color: var(--ink);
}
/* 「热门」标记：导航下拉里的 em 与课程卡片上的 .tag 共用配色 */
.tag-hot,
em.tag-hot {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: #1a1500;
  font-style: normal;
  font-weight: 700;
}
/* 导航下拉里的小号形态 */
em.tag-hot {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: 1px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* -------------------------------------------------------------------- Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.24s ease, background 0.24s ease;
  /* 注意：不要加 backdrop-filter，它会让内部 fixed 抽屉导航定位错乱 */
}

.site-header.is-scrolled {
  background: #050608;
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.95), 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 209, 0, 0.35), 0 6px 22px -8px rgba(255, 209, 0, 0.5);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-text strong {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.brand-text small {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.06em;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-3);
  transition: background 0.16s ease, color 0.16s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.nav-item.is-active > .nav-link {
  color: var(--yellow);
  background: var(--yellow-soft);
}

.nav-caret {
  display: none;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 340px;
  transform: translateX(-50%) translateY(-6px);
  background: #0d1016;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 90;
}

.nav-item.has-menu:hover .nav-menu,
.nav-item.has-menu:focus-within .nav-menu,
.nav-item.has-menu.is-open .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-sub {
  display: block;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  transition: background 0.14s ease;
}
.nav-sub:hover {
  background: rgba(255, 255, 255, 0.055);
}
.nav-sub-label {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}
.nav-sub-desc {
  display: block;
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.5;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  position: relative;
  flex: 0 0 auto;
}
.nav-burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-burger span:nth-child(1) {
  top: 15px;
}
.nav-burger span:nth-child(2) {
  top: 21px;
}
.nav-burger span:nth-child(3) {
  top: 27px;
}
body.nav-open .nav-burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.nav-open .nav-burger span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-mobile-foot {
  display: none;
}

/* ------------------------------------------------------------------ 面包屑 */

.breadcrumb {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 13px 0;
}
.breadcrumb li {
  margin: 0;
  color: var(--gray-4);
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb li + li::before {
  content: "/";
  color: rgba(255, 255, 255, 0.2);
}
.breadcrumb a {
  color: var(--ink-3);
}
.breadcrumb a:hover {
  color: var(--yellow);
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

/* 网格纹理 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(90% 75% at 60% 10%, #000 15%, transparent 78%);
  mask-image: radial-gradient(90% 75% at 60% 10%, #000 15%, transparent 78%);
  pointer-events: none;
}

/* 双色光晕 */
.hero::after {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  background: radial-gradient(46% 52% at 78% 12%, rgba(34, 224, 200, 0.22), transparent 66%),
    radial-gradient(38% 46% at 16% 4%, rgba(124, 108, 255, 0.18), transparent 68%);
  pointer-events: none;
  animation: heroGlow 14s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% {
    opacity: 0.85;
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate3d(-2%, 1.5%, 0) scale(1.06);
  }
}

/* Hero 默认单列（左文右光晕）；仅当页面带有 hero-aside 表单时才切两列 */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 940px);
  padding-block: 100px 92px;
}

/* 首屏没有按钮时收窄底部留白（删掉按钮后维持原留白会显得空） */
.hero-no-actions .hero-inner {
  padding-block: 100px 68px;
}

.hero-inner:has(.hero-aside) {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-inner.hero-solo {
  padding-block: 80px 72px;
}

/* 文字层级：组内紧凑、组间留白
   eyebrow ─24─ h1 ─28─ lead ─44─ points ─48─ 按钮 */

.hero .eyebrow {
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 28px;
  padding-bottom: 0.06em;
  max-width: 17ch;
  line-height: 1.14;
  text-wrap: balance;
  background: linear-gradient(178deg, #ffffff 32%, #9fabbb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.95;
  color: var(--ink-3);
  max-width: 33em;
  margin-bottom: 44px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 48px;
  display: grid;
  gap: 16px;
}
.hero-points li {
  position: relative;
  padding-left: 30px;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray);
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 14px var(--glow), inset 0 0 0 4px var(--bg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-aside {
  position: relative;
}

.hero-dark,
.hero-warm {
  background: var(--bg);
}
.hero-warm {
  background: var(--bg-soft);
}

/* 首页 Hero（.hero-xl）：纯 CSS 背景 + 居中排版
   不用位图，避免图片被 cover 放大后发糊；靠底色层次、双色光晕、
   字号与留白来撑大气。 */
.hero-xl {
  background: radial-gradient(112% 96% at 50% 0%, #13222d 0%, #0a1017 46%, var(--bg) 76%);
}

/* 顶部网格，范围收在光晕附近，中间淡出 */
.hero-xl::before {
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(66% 62% at 50% 34%, #000 8%, transparent 76%);
  mask-image: radial-gradient(66% 62% at 50% 34%, #000 8%, transparent 76%);
}

/* 三束光：正中主青光 + 左右辅助色，形成对称而有层次的舞台感 */
.hero-xl::after {
  inset: -46% 0 auto 0;
  height: 158%;
  background: radial-gradient(34% 42% at 50% 26%, rgba(34, 224, 200, 0.4), transparent 72%),
    radial-gradient(24% 34% at 12% 24%, rgba(124, 108, 255, 0.26), transparent 72%),
    radial-gradient(24% 34% at 88% 24%, rgba(34, 224, 200, 0.2), transparent 72%);
  animation: heroGlow 16s ease-in-out infinite alternate;
}

/* 居中排版：内容整体居中，行宽收窄保证阅读舒适 */
.hero-xl .hero-inner {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  align-content: center;
  min-height: 600px;
  padding-block: 140px 128px;
}

.hero-xl .eyebrow {
  margin-bottom: 32px;
}

/* 大字号 + 紧行距 + 紧字距：让两行字站成一个整块，力量感来自「密实」 */
.hero-xl h1 {
  /* 关掉默认的整块渐变，改用逐行着色 */
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #fff;
  font-size: clamp(40px, 7.2vw, 106px);
  max-width: none;
  line-height: 1.05;
  letter-spacing: -0.038em;
  font-weight: 800;
  margin-bottom: 40px;
  text-wrap: balance;
}

/* 第二行用品牌主色，形成色彩层次 */
.hero-xl h1 .line-2 {
  background: linear-gradient(178deg, #93ffee 0%, #22e0c8 38%, #11a893 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 34px rgba(34, 224, 200, 0.45)) drop-shadow(0 10px 44px rgba(34, 224, 200, 0.22));
}

/* 第一行纯白 + 白光晕，让字「发亮」而不是贴在背景上 */
.hero-xl h1 .line-1 {
  color: #fff;
  text-shadow: 0 0 52px rgba(255, 255, 255, 0.28), 0 0 18px rgba(255, 255, 255, 0.12),
    0 8px 34px rgba(0, 0, 0, 0.55);
}

/* 一句短话，给足分量但不与标题争主次 */
.hero-xl .hero-lead {
  font-size: 21px;
  line-height: 1.8;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.01em;
  margin: 0 auto;
}

/* ------------------------------------------------- 首页：导航栏透明 + 图片顶到页首 */

/* 首屏是实景照片时，导航栏透明浮在图上（其他页面保持实底，避免正文压在栏下） */
body.home .site-header {
  background: transparent;
  border-bottom-color: transparent;
}
/* 滚动后必须给实底：否则导航文字会压在下面的正文上，读不清 */
body.home .site-header.is-scrolled {
  background: rgba(5, 6, 8, 0.94);
  border-bottom-color: var(--line);
}

/* 首屏上移一个导航栏高度，让背景图从页面最顶部开始。
   全局是 border-box，所以 padding-top 不会改变 aspect-ratio 锁定的总高度，
   只是把文案往下推，避免顶到导航栏底下。
   同时去掉 hero 自身的下边框 —— 首屏与信任条之间靠「底部渐变」过渡，
   再叠一条 1px 实线会显得生硬。 */
body.home .hero-photo {
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  border-bottom: none;
}
/* 信任条的顶边框同理去掉，分隔感交给渐变 */
body.home .trust-bar {
  border-top: none;
}

/* ======================================================= 首页首屏 · 实景照片版
   .hero-xl.hero-photo
   照片右侧是讲师与学员、左侧是一大片暗区，正好留给文案，所以改成左对齐。
   「高级」来自三件事：左对齐的呼吸感、双层渐变遮罩的空间层次、
   以及克制的字号与两层投影（不让文字浮在照片上打滑）。
   ---------------------------------------------------------------- */

.hero-xl.hero-photo {
  /* 首屏占满整个视口。比例不再锁 2:1（高度由视口决定），
     所以图片在宽屏下会有少量纵向裁切——取景用 center 略偏上，
     保证站在画面上部 1/3 的讲师不被裁掉。 */
  width: 100%;
  min-height: 100vh;  /* 兜底 */
  min-height: 100svh; /* 移动端地址栏收起/展开时高度更稳 */
  background-color: var(--bg);
  background-image: url("../img/hero-classroom.jpg");
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
}

/* 文案居中后不再需要「左右对称」的横向遮罩，改用**径向**：
   中心区域加深承托文字，四周保留画面亮度，看起来像一束打在画面中心的光。
   两层方向不同（径向 + 纵向），叠加是必要的；但注意别在同一方向叠多层，
   否则会相乘过曝（左端 α=.94 与 .72 叠出 .983，图片会被压成纯黑）。 */
/* 去掉文字投影后，可读性全靠遮罩，所以中心径向加深一档。
   底部渐变的终点**不到纯色**：之前收到 var(--bg) 会在首屏最下方留出一条
   完全看不到图片的色带，现在终点停在 α.68，图片一路铺到底。 */
.hero-xl.hero-photo::before {
  background-image: radial-gradient(
      62% 76% at 50% 46%,
      rgba(7, 8, 10, 0.74) 0%,
      rgba(7, 8, 10, 0.58) 42%,
      rgba(7, 8, 10, 0.26) 74%,
      rgba(7, 8, 10, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 8, 10, 0.8) 0%,
      rgba(7, 8, 10, 0.16) 16%,
      rgba(7, 8, 10, 0.04) 42%,
      rgba(7, 8, 10, 0.1) 60%,
      rgba(7, 8, 10, 0.24) 78%,
      rgba(7, 8, 10, 0.46) 92%,
      rgba(7, 8, 10, 0.68) 100%
    );
  background-size: auto;
  -webkit-mask-image: none;
  mask-image: none;
  z-index: 0;
}

/* 照片自带光源，去掉原来的双色光晕，避免两层光叠加成脏色，也更像实拍现场 */
.hero-xl.hero-photo::after {
  display: none;
}

/* 居中排版：文案压在照片中央，靠遮罩与投影保证可读性。
   行宽比左对齐时放宽（880px），否则居中的大标题会频繁折行 */
.hero-xl.hero-photo .hero-inner {
  grid-template-columns: minmax(0, 880px);
  justify-content: center;
  justify-items: center;
  text-align: center;
  align-content: center;
  height: 100%;
  padding-block: 150px 140px;
}

/* 字号收一档：左对齐后行宽变窄，原来的 106px 会顶出容器 */
/* 首屏是全站的视觉重心，字号要比内页明显大一档（对齐参考站的比例：
   其标题高度约占首屏高度的 15%，这里按同比例放大）。
   **不加 text-shadow**：投影会让笔画边缘发虚、显脏，可读性交给遮罩保证。 */
.hero-xl.hero-photo h1 {
  font-size: clamp(46px, 7.2vw, 108px);
  line-height: 1.05;
  letter-spacing: -0.042em;
  margin-bottom: 32px;
  text-shadow: none;
}

.hero-xl.hero-photo .eyebrow {
  margin-bottom: 32px;
  font-size: 13px;
  padding: 8px 18px;
  /* 徽章加一层半透明深底：照片上直接放纯色胶囊边界会糊 */
  background: rgba(7, 8, 10, 0.52);
  text-shadow: none;
}

.hero-xl.hero-photo .hero-lead {
  font-size: clamp(18px, 1.5vw, 24px);
  color: #dfe5ea;
  margin: 0;
  text-shadow: none;
}

/* ------------------------------------------------- 首屏底部的 SCROLL 滚动提示 */

/* 绝对定位在首屏底部水平居中。做成可点击：点了滚到下一屏。
   注意 .hero::before 与 .hero-photo::before 已被网格纹理/遮罩占用，
   所以动效放在子元素 <i> 上，避免伪元素冲突。 */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border: 0;
  background: none;
  cursor: pointer;
  /* 实景照片上要够亮才看得清；再加一层投影兜底 */
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  transition: color 0.2s ease;
}
.hero-scroll:hover {
  color: #fff;
}
.hero-scroll-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  /* 字距会在末尾多出一格，补 text-indent 让文字视觉居中 */
  text-indent: 0.3em;
  line-height: 1;
}
/* 轨道：一条静止的暗线，作为进度条的底 */
.hero-scroll-track {
  position: relative;
  width: 1px;
  height: 36px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
}
/* 滚动光点：从上方进入、向下穿出，循环。1px 在照片上太细，加 glow 补足存在感 */
.hero-scroll-track i {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 16px;
  background: linear-gradient(180deg, transparent, #4deed8);
  box-shadow: 0 0 8px 1px rgba(34, 224, 200, 0.75);
  animation: heroScrollHint 2s cubic-bezier(0.55, 0, 0.45, 1) infinite;
}
@keyframes heroScrollHint {
  0% {
    transform: translateY(-16px);
    opacity: 0;
  }
  22% {
    opacity: 1;
  }
  78% {
    opacity: 1;
  }
  100% {
    transform: translateY(36px);
    opacity: 0;
  }
}
/* 尊重系统的「减少动态效果」偏好：保留静态指示 */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-track i {
    animation: none;
    transform: translateY(10px);
    opacity: 0.8;
  }
}

/* 窄屏：首屏底部有「咨询老师」悬浮条（实测高 79px），SCROLL 必须让开它 */
@media (max-width: 900px) {
  .hero-scroll {
    bottom: calc(96px + env(safe-area-inset-bottom));
  }
  .hero-scroll-track {
    height: 28px;
  }
  .hero-scroll-track i {
    height: 13px;
  }
  @keyframes heroScrollHint {
    0% {
      transform: translateY(-13px);
      opacity: 0;
    }
    22% {
      opacity: 1;
    }
    78% {
      opacity: 1;
    }
    100% {
      transform: translateY(28px);
      opacity: 0;
    }
  }
}

/* 光晕藏在两行的**子元素**上，光清 h1 本身不够：
   .line-1 带白色 text-shadow（52px），.line-2 带青色 drop-shadow（34px+44px）。
   首屏是实景照片，这两层光会在笔画外糊成一团，全部去掉。 */
.hero-xl.hero-photo h1 .line-1 {
  color: #fff;
  text-shadow: none;
}

.hero-xl.hero-photo h1 .line-2 {
  filter: none;
}

/* 窄屏：文案在上、画面在下，改成纵向遮罩，并换成小图省流量。
   高度同样跟随视口（100svh），保证首屏占满整屏 */
@media (max-width: 900px) {
  .hero-xl.hero-photo {
    min-height: 100vh;
    min-height: 100svh;
    background-image: url("../img/hero-classroom-sm.jpg");
    background-position: center 32%;
  }
  .hero-xl.hero-photo::before {
    background-image: linear-gradient(
      180deg,
      rgba(7, 8, 10, 0.96) 0%,
      rgba(7, 8, 10, 0.88) 28%,
      rgba(7, 8, 10, 0.5) 52%,
      rgba(7, 8, 10, 0.56) 70%,
      rgba(7, 8, 10, 0.7) 88%,
      rgba(7, 8, 10, 0.82) 100%
    );
  }
  .hero-xl.hero-photo .hero-inner {
    padding-block: 108px 124px;
  }
}

/* ------------------------------------------------------------------- Section */

.section {
  padding: 106px 0;
  border-bottom: 1px solid var(--line);
}
.section:last-of-type {
  border-bottom: 0;
}
.section-soft {
  background: var(--bg-soft);
}
.section-warm {
  background: var(--bg-warm);
}
.section-dark {
  background: #040507;
}

.section-head {
  max-width: 820px;
  margin-bottom: 62px;
}
.section-head.align-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-lead {
  font-size: 16.5px;
  line-height: 1.92;
  color: var(--gray);
  margin: 22px 0 0;
  max-width: 68ch;
}

/* 分节标题左侧竖条 */
.section-head h2 {
  position: relative;
  padding-left: 22px;
}
.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.14em;
  bottom: 0.14em;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--yellow), var(--accent));
  box-shadow: 0 0 18px -2px var(--glow);
}
.section-head.align-center h2 {
  padding-left: 0;
}
.section-head.align-center h2::before {
  display: none;
}

/* --------------------------------------------------------------------- Grids */

.grid {
  display: grid;
  gap: 22px;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-2-1 {
  grid-template-columns: 1.2fr 0.8fr;
}
/* 注意：模板里写的是 class="container grid-side"（没有 grid 类），
   所以这里必须自带 display:grid，否则会退化成单列堆叠、侧栏跑到内容下方 */
.grid-side {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 370px;
  align-items: start;
}

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

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px;
  transition: transform 0.22s ease, box-shadow 0.26s ease, border-color 0.22s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 224, 200, 0.42);
  box-shadow: var(--sh-lg), 0 0 40px -22px var(--glow);
}

.card-title {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--ink);
}
.card-desc {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.88;
  margin: 0;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--yellow-soft);
  border: 1px solid rgba(34, 224, 200, 0.28);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 20px;
}
.card-icon svg {
  width: 23px;
  height: 23px;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 13px;
}
.card-list li {
  position: relative;
  padding-left: 20px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--ink-3);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px var(--glow);
}

/* 强调卡片 */
.card-feature {
  background: linear-gradient(180deg, rgba(34, 224, 200, 0.1), rgba(34, 224, 200, 0.02));
  border-color: rgba(34, 224, 200, 0.32);
}
.card-feature .card-title,
.card-feature h3 {
  color: #fff;
}
.card-feature .card-desc,
.card-feature p {
  color: rgba(255, 255, 255, 0.72);
}
.card-feature .card-list li {
  color: rgba(255, 255, 255, 0.8);
}

/* 课程卡片 */
.course-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.26s ease, border-color 0.22s ease;
}
.course-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 224, 200, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.26s ease;
}
.course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 224, 200, 0.4);
  box-shadow: var(--sh-lg), 0 0 50px -26px var(--glow);
}
.course-card:hover::after {
  opacity: 1;
}
.course-card.is-top {
  border-color: rgba(34, 224, 200, 0.5);
  box-shadow: 0 0 0 1px rgba(34, 224, 200, 0.18), 0 30px 70px -40px var(--glow);
}
.course-card.is-top::before {
  content: "";
  position: absolute;
  inset: -60% 40% auto -20%;
  height: 120%;
  background: radial-gradient(circle, rgba(34, 224, 200, 0.16), transparent 65%);
  pointer-events: none;
}
.course-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  position: relative;
}
.course-rank {
  font-size: 12px;
  font-weight: 800;
  color: var(--gray-4);
  letter-spacing: 0.1em;
}
.course-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 22px;
  line-height: 1.42;
  margin: 0 0 14px;
  position: relative;
}
.course-card h3 a:hover {
  color: var(--yellow);
}
.course-card-point {
  font-size: 15px;
  line-height: 1.88;
  color: var(--ink-3);
  margin: 0 0 26px;
  position: relative;
}
.course-meta {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 22px 0 0;
  border-top: 1px dashed var(--line-strong);
  font-size: 14px;
  position: relative;
}
.course-meta div {
  display: flex;
  gap: 10px;
}
.course-meta dt,
.course-meta .k {
  color: var(--gray-4);
  flex: 0 0 68px;
  font-weight: 600;
}
.course-meta .v {
  color: var(--ink-3);
}
.course-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  flex-wrap: wrap;
  position: relative;
}

/* 课程分类概览卡 */
.cat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.24s ease;
}
.cat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 224, 200, 0.4);
  box-shadow: 0 24px 60px -34px var(--glow);
}
.cat-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.cat-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.cat-count {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--yellow);
  white-space: nowrap;
}
.cat-desc {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--gray);
  margin: 0 0 20px;
}
.cat-courses {
  list-style: none;
  padding: 20px 0 0;
  margin: auto 0 0;
  border-top: 1px dashed var(--line-strong);
  display: grid;
  gap: 9px;
}
.cat-courses li {
  position: relative;
  padding-left: 16px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-3);
}
.cat-courses li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.74em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
}

/* 步骤 / 流程 */
.steps {
  display: grid;
  gap: 0;
}

.step-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 26px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  transition: background 0.2s ease;
}
.step-row:last-child {
  border-bottom: 1px solid var(--line);
}
.step-no {
  font-size: 27px;
  font-weight: 800;
  color: transparent;
  background: linear-gradient(180deg, var(--yellow), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.step-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
}
.step-desc {
  margin: 0;
  color: var(--gray);
  font-size: 15px;
  line-height: 1.88;
}

/* 服务矩阵：三条服务线归为一个大板块，内部以编号区分子块
   注意：这里必须用 block 而不是 grid —— grid 子项默认 min-width:auto，
   会被内部宽内容（步骤卡网格）撑开，在窄屏导致横向溢出。 */
.svc-list {
  display: block;
}

.svc-block {
  padding: 46px 0;
  border-top: 1px solid var(--line);
}
.svc-block:first-child {
  padding-top: 0;
  border-top: 0;
}
.svc-block:last-child {
  padding-bottom: 0;
}

.svc-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.svc-no {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--on-primary);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px -6px var(--glow);
}

.svc-title {
  flex: 1 1 auto;
  min-width: 0;
}
.svc-title h3 {
  font-size: 23px;
  margin: 0 0 5px;
}
.svc-title p {
  margin: 0;
  font-size: 15px;
  color: var(--gray);
}

.svc-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow);
  white-space: nowrap;
}
.svc-link::after {
  content: "→";
  transition: transform 0.2s ease;
}
.svc-link:hover::after {
  transform: translateX(4px);
}

.steps-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}
.step-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.step-card:hover {
  border-color: rgba(34, 224, 200, 0.36);
  transform: translateY(-3px);
}
.step-card .step-no {
  font-size: 15px;
  color: var(--on-primary);
  background: var(--yellow);
  -webkit-text-fill-color: currentColor;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 22px -6px var(--glow);
}

/* 信任条 */
/* 信任条：紧贴首屏下方，承担「实景照片 → 内容区」的过渡。
   大气感来自三件事 —— 足够的纵向留白、拉开档次的字号、顶部那束承接首屏的光晕。 */
.trust-bar {
  position: relative;
  background: #040507;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 68px;
  overflow: hidden;
}
.trust-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 152% at 50% 0%, rgba(34, 224, 200, 0.15), transparent 72%);
  pointer-events: none;
}
.trust-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 26px;
  border-left: 2px solid rgba(34, 224, 200, 0.5);
}
.trust-value {
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.trust-label {
  font-size: 15px;
  color: var(--gray);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* 窄屏：两列排布，留白与字号同步收一档 */
@media (max-width: 900px) {
  .trust-bar {
    padding: 44px 0 48px;
  }
  .trust-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 26px;
  }
  .trust-item {
    padding-left: 16px;
  }
  /* 字号收到 19px：再大「前大厂 CXO 级」会在半栏里折行，反而显小气 */
  .trust-value {
    font-size: 19px;
    letter-spacing: -0.02em;
  }
  .trust-label {
    font-size: 12.5px;
  }
}

/* ------------------------------------------------------------------- Tables */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.022);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 560px;
}

th,
td {
  text-align: left;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.78;
}

th {
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover td {
  background: rgba(34, 224, 200, 0.045);
}
td:first-child {
  font-weight: 600;
  color: var(--ink);
}

/* ---------------------------------------------------------------------- FAQ */

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 940px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.028);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-item:hover {
  border-color: var(--line-strong);
}
.faq-item[open] {
  border-color: rgba(34, 224, 200, 0.36);
  background: rgba(34, 224, 200, 0.045);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 58px 24px 26px;
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover h3 {
  color: var(--yellow);
}
.faq-item summary h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.6;
  color: var(--ink);
  transition: color 0.16s ease;
}
.faq-icon {
  position: absolute;
  right: 24px;
  top: 50%;
  margin-top: -9px;
  width: 18px;
  height: 18px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--yellow);
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.faq-icon::before {
  left: 0;
  top: 8px;
  width: 18px;
  height: 2px;
}
.faq-icon::after {
  left: 8px;
  top: 0;
  width: 2px;
  height: 18px;
}
.faq-item[open] .faq-icon::after {
  transform: scaleY(0);
}
.faq-body {
  padding: 20px 26px 26px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 15.5px;
  line-height: 1.92;
}
.faq-body p:last-child {
  margin-bottom: 0;
}

.faq-group {
  margin-bottom: 62px;
}
.faq-group:last-child {
  margin-bottom: 0;
}
.faq-group-title {
  font-size: 22px;
  margin: 0 0 24px;
  padding-left: 18px;
  border-left: 4px solid var(--yellow);
  line-height: 1.4;
  box-shadow: -8px 0 24px -12px var(--glow);
}

/* --------------------------------------------------------------------- Form */

.lead-form {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.lead-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  opacity: 0.7;
}

.form-head h2 {
  font-size: 24px;
  margin-bottom: 8px;
}
.form-head p {
  color: var(--gray);
  font-size: 14.5px;
  margin: 0 0 24px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
}
.field label i {
  color: #ff6b6b;
  font-style: normal;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  line-height: 1.5;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: var(--gray-4);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23868f9c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 18px;
  padding-right: 40px;
}

.field select option {
  background: #101319;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 3px var(--yellow-soft);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.14);
}

.field-error {
  font-size: 12.5px;
  color: #ff8f8f;
  min-height: 0;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  margin-top: 24px;
}
.form-note {
  font-size: 12.5px;
  color: var(--gray-4);
  text-align: center;
  margin: 13px 0 0;
}

.form-result {
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  background: var(--yellow-soft);
  border: 1px solid rgba(34, 224, 200, 0.4);
  color: var(--ink-2);
}
.form-result.is-error {
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.4);
  color: #ffbcbc;
}
.form-result strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-result ol {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.copy-box {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.copy-box pre {
  flex: 1 1 240px;
  margin: 0;
  padding: 13px 15px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-2);
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 220px;
  overflow: auto;
}

/* Hero 内嵌表单：收窄为单列 */
.hero-aside .lead-form {
  padding: 28px;
}
.hero-aside .form-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.form-sticky {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

/* ------------------------------------------------------------------ CTA Band */

.cta-band {
  position: relative;
  background: #040507;
  border-top: 1px solid var(--line);
  padding: 88px 0;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% 20% auto 20%;
  height: 180%;
  background: radial-gradient(circle, rgba(34, 224, 200, 0.16), transparent 62%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 34px;
  align-items: center;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(25px, 2.8vw, 34px);
  line-height: 1.3;
  margin-bottom: 16px;
}
.cta-band p {
  color: var(--gray);
  margin: 0;
  font-size: 16px;
}
.cta-band-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

.site-footer {
  position: relative;
  background: #040507;
  border-top: 1px solid var(--line);
  color: var(--gray);
  padding-top: 68px;
  font-size: 14.5px;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 224, 200, 0.5), rgba(124, 108, 255, 0.4), transparent);
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 2fr) 200px;
  gap: 48px;
  padding-bottom: 52px;
}

.foot-brand .brand {
  margin-bottom: 22px;
}

.foot-slogan {
  color: var(--ink);
  font-weight: 800;
  font-size: 17px;
  margin: 0 0 6px;
}
.foot-sub {
  color: var(--gray);
  margin: 0 0 24px;
  font-size: 14px;
}

.foot-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.foot-contact li {
  display: flex;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  align-items: baseline;
}
.foot-contact span {
  color: var(--gray-4);
  flex: 0 0 34px;
}
.foot-contact a,
.foot-contact b {
  color: var(--ink-3);
  font-weight: 500;
}
.foot-contact a:hover {
  color: var(--yellow);
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.foot-title {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}

.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.foot-col li {
  margin: 0;
}
.foot-col a {
  color: var(--gray);
  font-size: 14px;
}
.foot-col a:hover {
  color: var(--yellow);
}

.foot-qr {
  text-align: center;
}
/* 微信二维码图片（页脚 + 联系页） */
.qr-img {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px -14px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.foot-qr .qr-img {
  margin: 0 auto 15px;
}
.qr-img--light {
  flex: 0 0 auto;
  margin: 0;
}

.qr-placeholder {
  width: 150px;
  height: 150px;
  margin: 0 auto 15px;
  border: 1.5px dashed rgba(255, 255, 255, 0.22);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-4);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
}
.qr-placeholder svg {
  width: 30px;
  height: 30px;
}
.qr-placeholder small {
  font-size: 10.5px;
  opacity: 0.8;
}
.foot-qr-tip {
  font-size: 12.5px;
  color: var(--gray-4);
  margin: 0;
  line-height: 1.7;
}

.foot-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.foot-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.foot-copy,
.foot-legal {
  margin: 0;
  font-size: 13px;
  color: var(--gray-4);
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.foot-legal a {
  color: var(--gray);
}
.foot-legal a:hover {
  color: var(--yellow);
}
.foot-legal .dot {
  opacity: 0.4;
}

/* ------------------------------------------------------------ 右下角浮动客服 */

/* 与站内所有咨询入口一致：指向 /signup/，打开同一个弹窗 */
.chat-fab {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 96;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 54px;
  padding: 0 22px 0 16px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #2ceada 0%, #14b8a6 100%);
  color: var(--on-primary);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 42px -14px rgba(34, 224, 200, 0.6), 0 10px 28px -14px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}
.chat-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px -14px rgba(34, 224, 200, 0.75), 0 12px 32px -14px rgba(0, 0, 0, 0.85);
}
.chat-fab:active {
  transform: translateY(-1px);
}
.chat-fab svg {
  width: 22px;
  height: 22px;
  flex: none;
}

/* 窄屏：底部「打电话 + 咨询老师」悬浮条本身就是咨询入口，
   再叠一个浮动客服会压住信任条的文字，直接隐藏 */
@media (max-width: 900px) {
  .chat-fab {
    display: none;
  }
}

/* --------------------------------------------------------- 右下角 AI 客服（Coze） */

/* 入口按钮：圆形聊天图标（右下角唯一入口，「咨询老师」浮动按钮已下线）。
   用「呼吸脉冲环」表达"随时可聊"，比静态图标更有邀请感，也不喧宾夺主。 */
.coze-fab {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 96;
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ceada 0%, #14b8a6 100%);
  color: var(--on-primary);
  box-shadow: 0 16px 42px -14px rgba(34, 224, 200, 0.6), 0 10px 28px -14px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}
/* 文案在大屏也一并隐藏 —— 只留图标 */
.coze-fab > span {
  display: none;
}

/* 脉冲环：向外扩散后淡出，loop 呼吸。放在按钮外围，不遮挡图标 */
.coze-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(34, 224, 200, 0.7);
  pointer-events: none;
  animation: cozePulse 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes cozePulse {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  70%,
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}
/* 尊重系统的「减少动态效果」偏好 */
@media (prefers-reduced-motion: reduce) {
  .coze-fab::before {
    animation: none;
    opacity: 0;
  }
}

.coze-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px -14px rgba(34, 224, 200, 0.75), 0 12px 32px -14px rgba(0, 0, 0, 0.85);
}
.coze-fab:active {
  transform: translateY(-1px);
}
.coze-fab svg {
  width: 27px;
  height: 27px;
  flex: none;
}

/* 面板：右侧滑出，宽度贴合 SDK 的 390px 布局 */
.coze-widget {
  position: fixed;
  inset: 0;
  z-index: 120;
}
.coze-widget[hidden] {
  display: none;
}
.coze-veil {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 6, 0.64);
}
.coze-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 100%);
  display: flex;
  flex-direction: column;
  background: #07080a;
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 80px -30px rgba(0, 0, 0, 0.9);
  animation: cozeSlideIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cozeSlideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .coze-panel {
    animation: none;
  }
}
.coze-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding-left: 20px;
  background: #101216;
  border-bottom: 1px solid var(--line);
}
.coze-head-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.coze-close {
  width: 44px;
  height: 44px;
  margin-right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--gray);
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}
.coze-close:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}
.coze-close svg {
  width: 20px;
  height: 20px;
}
.coze-frame {
  flex: 1;
  display: block;
  width: 100%;
  border: 0;
  background: #07080a;
}

/* 打开客服时锁住页面滚动，避免背后内容跟着动 */
body.coze-open {
  overflow: hidden;
}

/* 窄屏：入口略缩、面板全屏。位置抬高让开底部的「咨询老师」悬浮条 ——
   实测悬浮条高 79px（含安全区），bottom 要 > 79 才不会贴上，这里留 13px 间隙 */
@media (max-width: 900px) {
  .coze-fab {
    right: 14px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }
  .coze-fab svg {
    width: 25px;
    height: 25px;
  }
  .coze-panel {
    width: 100%;
    border-left: 0;
  }
}

/* ------------------------------------------------------------- 移动端悬浮条 */

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: rgba(7, 8, 10, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-strong);
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -12px 40px -20px rgba(0, 0, 0, 0.95);
}
.mb-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}
.mb-item svg {
  width: 18px;
  height: 18px;
}
.mb-item-primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--on-primary);
  box-shadow: 0 0 26px -8px var(--glow);
}
/* 悬浮条只剩一个入口时（已去掉「打电话」），给它更多高度与更强的存在感 */
.mb-item-single {
  padding: 15px 10px;
  font-size: 15.5px;
}

/* --------------------------------------------------- 详情页内容块（通用） */

.block-title {
  font-size: 24px;
  margin: 70px 0 26px;
  padding-left: 18px;
  border-left: 4px solid var(--yellow);
  line-height: 1.4;
  box-shadow: -10px 0 28px -14px var(--glow);
}
.block-title:first-child {
  margin-top: 0;
}

.course-main > p {
  color: var(--ink-3);
  font-size: 16px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.info-item {
  background: var(--surface);
  padding: 23px 25px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.info-item .k {
  font-size: 12.5px;
  color: var(--gray-4);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.info-item .v {
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.6;
}

.meta-rows {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-strong);
  font-size: 14px;
}
.meta-rows div {
  display: flex;
  gap: 10px;
}
.meta-rows .k {
  color: var(--gray-4);
  flex: 0 0 78px;
  font-weight: 600;
}
.meta-rows .v {
  color: var(--ink-3);
  line-height: 1.65;
}

.case-mini {
  background: var(--yellow-tint);
  border: 1px solid rgba(34, 224, 200, 0.32);
  border-radius: var(--r);
  padding: 28px;
}
.case-mini h3 {
  margin: 0 0 18px;
  font-size: 20px;
}
.case-mini dl {
  margin: 0 0 22px;
  display: grid;
  gap: 13px;
  font-size: 15px;
}
.case-mini dl div {
  display: flex;
  gap: 14px;
}
.case-mini dt {
  flex: 0 0 46px;
  color: var(--yellow);
  font-weight: 700;
}
.case-mini dd {
  margin: 0;
  color: var(--ink-3);
}

.mini-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.028);
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.18s ease;
}
.mini-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 224, 200, 0.4);
  box-shadow: 0 20px 50px -30px var(--glow);
}
.mini-card strong {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
}
.mini-card-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
}
.mini-card .tag {
  align-self: flex-start;
}

/* ------------------------------------------------------------------- Prose */

.prose {
  font-size: 16.5px;
  line-height: 2;
  color: var(--ink-3);
  max-width: 780px;
}
.prose h2 {
  font-size: 26px;
  margin: 60px 0 22px;
  padding-top: 4px;
}
.prose h3 {
  font-size: 19px;
  margin: 38px 0 15px;
}
.prose p {
  margin: 0 0 25px;
}
.prose ul,
.prose ol {
  margin: 0 0 23px;
  padding-left: 1.35em;
}
.prose li {
  margin-bottom: 9px;
}
.prose li::marker {
  color: var(--yellow);
}
.prose strong {
  color: var(--ink);
  font-weight: 700;
}
.prose a {
  color: var(--yellow);
  border-bottom: 1px solid rgba(34, 224, 200, 0.4);
  font-weight: 600;
}
.prose a:hover {
  border-bottom-color: var(--yellow);
  background: var(--yellow-tint);
}
.prose code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.prose blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  background: var(--yellow-tint);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.prose blockquote p {
  margin: 0;
  color: var(--ink-2);
}
.prose .table-wrap {
  margin: 28px 0;
}

/* 文章头部 */
.article-head {
  position: relative;
  padding: 74px 0 46px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.article-head::after {
  content: "";
  position: absolute;
  inset: -80% 40% auto -10%;
  height: 160%;
  background: radial-gradient(circle, rgba(34, 224, 200, 0.13), transparent 62%);
  pointer-events: none;
}
.article-head .container {
  position: relative;
}
.article-head h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(29px, 3.8vw, 44px);
}
.article-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--gray);
  align-items: center;
}
.article-excerpt {
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-3);
  max-width: 800px;
  margin: 0 0 28px;
}

/* 文章目录 */
.toc {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 26px;
  margin-bottom: 36px;
}
.toc h2 {
  font-size: 13px;
  margin: 0 0 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 700;
}
.toc ol {
  margin: 0;
  padding-left: 1.3em;
  font-size: 14.5px;
}
.toc li {
  margin-bottom: 8px;
}
.toc a {
  color: var(--ink-3);
  border-bottom: 0;
  font-weight: 500;
}
.toc a:hover {
  color: var(--yellow);
  background: transparent;
}
.toc li::marker {
  color: var(--gray-4);
}

/* 侧栏信息块 */
.side-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  margin-bottom: 20px;
}
.side-card h3 {
  font-size: 16px;
  margin: 0 0 18px;
}
.side-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 13px;
  font-size: 14.5px;
}
.side-list li {
  margin: 0;
  color: var(--ink-3);
  line-height: 1.7;
}
.side-list a {
  color: var(--ink-3);
}
.side-list a:hover {
  color: var(--yellow);
}
.side-list .k {
  display: block;
  color: var(--gray-4);
  font-size: 12.5px;
  margin-bottom: 2px;
}

/* ------------------------------------------------------------ 内容块 / 提示 */

.note-box {
  display: flex;
  gap: 15px;
  padding: 22px 26px;
  background: var(--yellow-tint);
  border: 1px solid rgba(34, 224, 200, 0.3);
  border-radius: var(--r-sm);
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.88;
}
.note-box svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--yellow);
}
.note-box p:last-child {
  margin: 0;
}
.note-box strong {
  color: var(--ink);
}
.note-box a {
  color: var(--yellow);
  border-bottom: 1px solid rgba(34, 224, 200, 0.4);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.checklist li {
  position: relative;
  padding-left: 33px;
  margin: 0;
  color: var(--ink-3);
  line-height: 1.88;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--yellow-soft);
  border: 1px solid rgba(34, 224, 200, 0.4);
  box-shadow: 0 0 14px -4px var(--glow);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 0.84em;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: rotate(-45deg);
}

.deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.deliverables li {
  margin: 0;
  padding: 10px 17px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.deliverables li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px var(--glow);
  flex: 0 0 auto;
}

/* 数字指标 */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 24px;
}
.stat {
  padding-left: 20px;
  border-left: 3px solid var(--yellow);
}
.stat-value {
  font-size: 31px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 14px;
  color: var(--gray);
}

/* 案例卡片 */
.case-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
}
.case-visual {
  background: radial-gradient(120% 120% at 100% 100%, rgba(34, 224, 200, 0.22), transparent 60%), #08090c;
  color: #fff;
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
}
.case-visual::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.3), transparent 68%);
}
.case-client {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--yellow);
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
}
.case-visual h3 {
  color: #fff;
  font-size: 29px;
  line-height: 1.35;
  margin: 0;
  position: relative;
}
.case-body {
  padding: 38px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.case-body dl {
  margin: 0;
  display: grid;
  gap: 11px;
  font-size: 14.5px;
}
.case-body dl div {
  display: flex;
  gap: 12px;
}
.case-body dt {
  color: var(--gray-4);
  flex: 0 0 74px;
  font-weight: 600;
}
.case-body dd {
  margin: 0;
  color: var(--ink-3);
}

/* 引言 */
.quote-block {
  border-left: 4px solid var(--yellow);
  padding: 8px 0 8px 24px;
  margin: 0;
  font-size: 17px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.85;
  box-shadow: -10px 0 30px -16px var(--glow);
}
.quote-block cite {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--gray);
  font-style: normal;
  font-weight: 500;
}

/* 对比标记 */
.compare-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--yellow);
  background: var(--yellow-soft);
  border: 1px solid rgba(34, 224, 200, 0.3);
  padding: 4px 12px;
  border-radius: var(--r-pill);
}

/* 空状态 / 占位 */
.empty-note {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r);
  padding: 28px;
  text-align: center;
  color: var(--gray);
  font-size: 14.5px;
  background: rgba(255, 255, 255, 0.022);
}

/* 列表卡片（博客/指南） */
.post-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px;
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.26s ease, border-color 0.22s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 224, 200, 0.4);
  box-shadow: var(--sh-lg), 0 0 40px -26px var(--glow);
}
.post-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12.5px;
  color: var(--gray);
}
.post-card h3 {
  font-size: 19px;
  margin: 0 0 16px;
  line-height: 1.52;
}
.post-card h3 a:hover {
  color: var(--yellow);
}
.post-card p {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.85;
  margin: 0 0 24px;
}
.post-card-more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post-card-more::after {
  content: "→";
  transition: transform 0.2s ease;
}
.post-card:hover .post-card-more::after {
  transform: translateX(4px);
}

/* 二维码区块（浅色版） */
.qr-block {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 36px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.03);
}
.qr-block > div:last-child {
  flex: 1 1 260px;
}
.qr-placeholder--light {
  width: 152px;
  height: 152px;
  margin: 0;
  flex: 0 0 auto;
  border-color: var(--line-strong);
  background: rgba(0, 0, 0, 0.3);
  color: var(--gray);
}

/* ------------------------------------------------------------- 首屏入场动效 */

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

.hero-main > * {
  animation: fadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-main > *:nth-child(1) {
  animation-delay: 0.04s;
}
.hero-main > *:nth-child(2) {
  animation-delay: 0.12s;
}
.hero-main > *:nth-child(3) {
  animation-delay: 0.2s;
}
.hero-main > *:nth-child(4) {
  animation-delay: 0.28s;
}
.hero-main > *:nth-child(5) {
  animation-delay: 0.36s;
}

.hero-aside {
  animation: fadeUp 0.85s 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ------------------------------------------------------------- 滚动出现动效 */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

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

@media (max-width: 1180px) {
  .foot-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 40px;
  }
  .foot-qr {
    grid-column: 1 / -1;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 26px;
  }
  .foot-qr .qr-placeholder {
    margin: 0;
    flex: 0 0 auto;
  }
  .foot-qr-tip {
    max-width: 320px;
  }
}

@media (max-width: 1080px) {
  :root {
    --gutter: 20px;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    width: min(90vw, 400px);
    background: #08090c;
    border-left: 1px solid var(--line-strong);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
    overflow-y: auto;
    padding: 16px 20px 40px;
    box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.9);
    margin-left: 0;
  }

  body.nav-open .site-nav {
    transform: none;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(3px);
    z-index: 98;
  }

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

  .nav-item {
    border-bottom: 1px solid var(--line);
  }

  .nav-link {
    padding: 16px 4px;
    border-radius: 0;
    font-size: 16.5px;
    color: var(--ink-2);
  }

  .nav-item.is-active > .nav-link {
    background: transparent;
    color: var(--yellow);
  }

  .nav-caret {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 6px;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    color: var(--gray);
    transition: transform 0.2s ease;
  }
  .nav-caret .i {
    width: 20px;
    height: 20px;
  }
  .nav-item.has-menu.is-open .nav-caret {
    transform: rotate(180deg);
    color: var(--yellow);
  }

  .nav-menu {
    position: static;
    width: auto;
    transform: none;
    opacity: 1;
    visibility: hidden;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }

  .nav-item.has-menu:hover .nav-menu,
  .nav-item.has-menu:focus-within .nav-menu {
    opacity: 1;
    visibility: hidden;
    transform: none;
  }

  .nav-item.has-menu.is-open .nav-menu {
    visibility: visible;
    max-height: 760px;
    padding-bottom: 14px;
  }

  .nav-sub {
    padding: 12px 4px 12px 15px;
    border-left: 2px solid var(--line-strong);
    border-radius: 0;
  }
  .nav-sub:hover {
    background: transparent;
    border-left-color: var(--yellow);
  }

  .nav-mobile-foot {
    display: grid;
    gap: 10px;
    margin-top: 30px;
  }
  .nav-mobile-contact {
    text-align: center;
    font-size: 13.5px;
    color: var(--gray);
    padding: 10px;
  }

  .header-actions {
    display: none;
  }

  .nav-burger {
    display: block;
    margin-left: auto;
  }

  .mobile-bar {
    display: flex;
  }

  body {
    padding-bottom: 70px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    padding-block: 64px 58px;
  }

  .case-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .case-visual {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-side {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-sticky {
    position: static;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 74px 0;
  }
  /* 窄屏网格间距收紧，避免视觉噪音 */
  .hero-xl::before {
    background-size: 48px 48px;
  }
  .grid-3,
  .grid-2-1 {
    grid-template-columns: minmax(0, 1fr);
  }
  .trust-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-band-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
  .cta-band-actions .btn {
    flex: 1 1 auto;
  }
  .foot-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .foot-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .faq-item summary {
    padding-right: 50px;
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .lead-form {
    padding: 24px;
  }
  .course-card,
  .card,
  .post-card {
    padding: 26px;
  }
  .case-visual,
  .case-body {
    padding: 30px 24px;
  }
  .step-row {
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 24px 0;
  }
  .step-no {
    font-size: 23px;
  }
  /* 移动端收窄间距阶梯，但保持组间 > 组内 */
  .hero-lead {
    margin-bottom: 32px;
    font-size: 16.5px;
  }
  .hero-points {
    gap: 14px;
    margin-bottom: 38px;
  }
  .hero-points li {
    font-size: 14.5px;
  }
  .hero h1 {
    margin-bottom: 22px;
  }
  .section-head {
    margin-bottom: 44px;
  }
  .hero-xl .hero-inner {
    min-height: 0;
    padding-block: 92px 84px;
  }
  .hero-xl .eyebrow {
    margin-bottom: 22px;
  }
  .hero-xl h1 {
    font-size: 42px;
    line-height: 1.08;
    margin-bottom: 28px;
  }
  .hero-xl .hero-lead {
    font-size: 18px;
  }
  /* 窄屏取消人工换行，交给浏览器自然折行 */
  .br-desktop {
    display: none;
  }
  /* 弹窗在窄屏改为底部抽屉 */
  .modal {
    padding: 0;
    align-items: flex-end;
  }
  .modal-panel {
    width: 100%;
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
    animation: sheetIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .modal-scroll {
    max-height: 92vh;
    padding: 28px 26px calc(28px + env(safe-area-inset-bottom));
  }
  .consult-card {
    padding: 24px;
  }
  /* 服务矩阵窄屏 */
  .svc-block {
    padding: 34px 0;
  }
  .steps-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .svc-head {
    gap: 14px;
    margin-bottom: 24px;
  }
  .svc-no {
    width: 34px;
    height: 34px;
    font-size: 13.5px;
    border-radius: 10px;
  }
  .svc-title h3 {
    font-size: 19px;
  }
  .svc-title p {
    font-size: 14px;
  }
  .svc-link {
    font-size: 13.5px;
  }
  .btn {
    padding: 11px 19px;
    font-size: 14.5px;
  }
  .btn-lg {
    padding: 14px 22px;
    font-size: 15px;
  }
  .hero-actions,
  .course-card-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn,
  .course-card-actions .btn {
    width: 100%;
  }
  .brand-text small {
    display: none;
  }
  .foot-cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .stats {
    gap: 18px;
  }
  .stat-value {
    font-size: 26px;
  }
  .block-title {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------- 侧栏咨询卡 */
/* 替代原先内嵌在侧栏里的整块表单，点击按钮弹出表单弹窗 */

.consult-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 28px;
}
.consult-card h3 {
  font-size: 19px;
  margin: 0 0 12px;
}
.consult-card-lead {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--gray);
  margin: 0 0 22px;
}
.consult-card .btn + .btn {
  margin-top: 10px;
}
.consult-card-note {
  font-size: 12.5px;
  color: var(--gray-4);
  margin: 16px 0 0;
  text-align: center;
  line-height: 1.7;
}

/* ----------------------------------------------------------- 表单弹窗 */

body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] {
  display: none;
}

.modal-veil {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 6, 0.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: veilIn 0.2s ease both;
}

.modal-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: min(88vh, 880px);
  background: #0b0e13;
  border: 1px solid var(--line-strong);
  /* 圆角刻意小于 .modal-scroll 的水平内边距（32px），
     否则 overflow:hidden + 圆角会把左上角标题的首字切掉 */
  border-radius: 16px;
  box-shadow: 0 40px 110px -30px rgba(0, 0, 0, 0.95);
  overflow: hidden;
  animation: panelIn 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.modal-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  opacity: 0.85;
  z-index: 1;
}

.modal-scroll {
  overflow-y: auto;
  max-height: min(88vh, 880px);
  padding: 32px 32px 34px;
}

/* 弹窗标题：去掉负字距并留 1px 内边距，
   避免首字在部分字体 / 系统缩放下发虚或被贴边裁切 */
.modal-scroll .form-head h2 {
  letter-spacing: 0;
  padding-left: 1px;
}

/* 弹窗内的表单去掉自身外框，避免双层边框。
   注意：必须一并清掉 border-radius 与 overflow —— .lead-form 自带
   border-radius: 24px + overflow: hidden，而这里 padding 归零后标题会紧贴
   表单左上角，正好落在自己的圆角上被裁掉（表现为首字缺一角）。 */
.modal-scroll .lead-form {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}
.modal-scroll .lead-form::before {
  display: none;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.3);
}
.modal-close svg {
  width: 18px;
  height: 18px;
}

@keyframes veilIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes sheetIn {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------- 打印 */

@media print {
  .site-header,
  .mobile-bar,
  .cta-band,
  .site-footer,
  .breadcrumb,
  .hero::after,
  .hero::before {
    display: none;
  }
  html,
  body {
    background: #fff;
    color: #000;
    padding-bottom: 0;
  }
  .hero h1,
  .step-no {
    background: none;
    color: #000;
    -webkit-text-fill-color: #000;
  }
  .card,
  .course-card,
  .post-card,
  .faq-item,
  .table-wrap {
    border-color: #ccc;
    background: #fff;
  }
}
