/* ==========================================================================
   WJC · AI 赋能与工程 — 科技蓝白配色（Sapphire Blue × Crisp Ice White）
   ========================================================================== */

:root {
  /* 蓝白主视觉色板 */
  --bg-void: #040915;
  --bg-deep: #071022;
  --bg-plate: #0b1830;
  --bg-card: rgba(12, 26, 52, 0.68);
  --bg-card-hi: rgba(18, 38, 74, 0.82);
  --bg-white-glass: rgba(240, 247, 255, 0.07);

  /* 文字：纯白与冰蓝灰阶 */
  --ink: #ffffff;
  --ink-soft: #e2eeff;
  --slate: #a4bce0;
  --muted: #6885b0;

  /* 核心蓝白强调色 */
  --blue: #2563eb;
  --blue-hi: #60a5fa;
  --cyan: #38bdf8;
  --ice: #e0f2fe;
  --white: #ffffff;
  --rose: #fb7185;

  /* 蓝白边框与高光 */
  --line: rgba(148, 195, 255, 0.16);
  --line-strong: rgba(96, 165, 250, 0.45);
  --glow-blue: rgba(56, 189, 248, 0.22);

  /* 字体家族 */
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-display: "Bahnschrift", "DIN Alternate", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", "Consolas", monospace;

  --wrap: 1220px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

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

html {
  background: var(--bg-void);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.62;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background:
    radial-gradient(1100px 600px at 15% 0%, rgba(56, 189, 248, 0.13), transparent 65%),
    radial-gradient(950px 560px at 85% 8%, rgba(37, 99, 235, 0.14), transparent 65%),
    var(--bg-void);
}

/* 柔和蓝白网格底纹 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(148, 195, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 195, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 25%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 25%, #000 35%, transparent 100%);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--white);
  color: var(--bg-void);
  border-radius: 6px;
  font-weight: 700;
}
.skip:focus { top: 16px; }

/* --------------------------------------------------------------------------
   1. 全屏固定背景画布（星尘流体 + 神经节点）与最初的双环阻尼光标
   -------------------------------------------------------------------------- */
.v6-field {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

header, main, footer, .modal-backdrop {
  position: relative;
  z-index: 2;
}

.v6-ring, .v6-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s ease;
}
html.v6-cursor-on .v6-ring,
html.v6-cursor-on .v6-dot {
  opacity: 1;
}
.v6-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 12px #38bdf8, 0 0 24px rgba(56, 189, 248, 0.8);
}
.v6-ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1.5px solid rgba(147, 197, 253, 0.55);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08), transparent 70%);
  transition:
    width 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    margin 0.24s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.2s ease,
    background 0.2s ease;
}
.v6-ring.is-link {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-color: #ffffff;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 72%);
}
.v6-ring.is-down {
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-color: #38bdf8;
}

/* --------------------------------------------------------------------------
   2. 进站开场特效（蓝白双光束对撞 + 14万像素 WebGL 粒子字）
   -------------------------------------------------------------------------- */
.v8-lock { overflow: hidden; }
.v8-intro {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background:
    radial-gradient(900px 520px at 50% 46%, rgba(37, 99, 235, 0.24), transparent 70%),
    #030813;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}
.v8-intro.is-leaving {
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
}
.v8-intro-sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.v8-stage {
  position: relative;
  z-index: 2;
  width: min(92vw, 1080px);
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.v8-intro.is-forming .v8-stage {
  opacity: 1;
  transform: translateY(0);
}
.v8-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(147, 197, 253, 0.35);
  color: var(--ice);
  font: 600 12px var(--font-mono);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.v8-word {
  position: relative;
  height: clamp(150px, 24vw, 240px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.v8-word-fallback {
  font: 800 clamp(54px, 11vw, 136px)/0.95 var(--font-display);
  letter-spacing: 0.04em;
  color: #ffffff;
  text-shadow: 0 0 40px rgba(56, 189, 248, 0.45);
}
.v8-word.is-live .v8-word-fallback {
  opacity: 0;
}
.v8-sub {
  margin-top: 8px;
  color: var(--ice);
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.06em;
}
.v8-enter {
  position: relative;
  z-index: 3;
  margin-top: 28px;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%);
  color: #061229;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 32px rgba(56, 189, 248, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.v8-enter:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(56, 189, 248, 0.52);
}

/* --------------------------------------------------------------------------
   3. 悬浮蓝白玻璃胶囊导航栏
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 100;
  padding: 0 20px;
  margin-bottom: 8px;
}

.dock-bar {
  max-width: var(--wrap);
  margin: 0 auto;
  min-height: 62px;
  padding: 8px 14px 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(7, 17, 36, 0.82);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 999px;
  box-shadow: 0 16px 42px -12px rgba(2, 6, 18, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand b {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
}
.brand small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 195, 255, 0.14);
  border-radius: 999px;
}
.nav a {
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  border-radius: 999px;
}
.nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}
.nav a[aria-current="page"] {
  color: #061229;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.32);
}

.debug-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.25);
  background: rgba(37, 99, 235, 0.12);
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 11.5px;
}
.debug-toggle i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.debug-toggle.is-active {
  border-color: #ffffff;
  background: rgba(56, 189, 248, 0.25);
  color: #ffffff;
}

.debug-hud {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 900;
  padding: 12px 16px;
  background: rgba(5, 12, 26, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font: 500 12px/1.6 var(--font-mono);
  color: var(--ice);
  pointer-events: none;
  display: none;
}
.debug-hud.is-visible { display: block; }

.menu { display: none; position: relative; }
.menu summary {
  list-style: none;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
}
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 220px;
  padding: 12px;
  background: rgba(7, 16, 34, 0.96);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
}
.menu-panel a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 14px;
}
.menu-panel a:hover { background: rgba(56, 189, 248, 0.14); color: #fff; }

/* --------------------------------------------------------------------------
   4. 通用容器、蓝白按钮与徽标
   -------------------------------------------------------------------------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(147, 197, 253, 0.3);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ice);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px var(--cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 999px;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}
/* 蓝白主按钮：冰白渐变配深海蓝字，清爽醒目 */
.btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%);
  color: #06132b;
  border: 1px solid #ffffff;
  box-shadow: 0 8px 26px -4px rgba(56, 189, 248, 0.42);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 14px 32px -4px rgba(56, 189, 248, 0.62);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(147, 197, 253, 0.3);
}
.btn-ghost:hover {
  border-color: #ffffff;
  background: rgba(56, 189, 248, 0.14);
  transform: translateY(-2px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
}
.tag-safe, .tag-bench {
  background: rgba(56, 189, 248, 0.14);
  color: #e0f2fe;
  border-color: rgba(56, 189, 248, 0.35);
}
.tag-amber, .tag-arch, .tag-config {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
}

/* --------------------------------------------------------------------------
   5. 首屏：紧凑高对比度排版 + 右侧三栏切换台
   -------------------------------------------------------------------------- */
.hero {
  padding: 56px 0 48px;
}

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

.hero h1, .page-hero h1 {
  margin-top: 16px;
  font-size: clamp(32px, 4.1vw, 50px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.hero h1 em, .page-hero h1 em {
  font-style: normal;
  background: linear-gradient(95deg, #ffffff 0%, #93c5fd 48%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--slate);
  max-width: 58ch;
}
.lead strong {
  color: #ffffff;
  font-weight: 600;
}

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

/* 蓝白科技切换台 */
.control-deck {
  background: linear-gradient(165deg, rgba(14, 30, 62, 0.88), rgba(7, 16, 36, 0.92));
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px -16px rgba(2, 8, 22, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.deck-top {
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ice);
}
.deck-id {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.deck-id i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.deck-badge {
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 11px;
}

.deck-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px 12px;
  background: rgba(4, 10, 24, 0.55);
  border-bottom: 1px solid var(--line);
}
.deck-tab {
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  transition: all 0.2s ease;
}
.deck-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}
.deck-tab.is-active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.24), rgba(37, 99, 235, 0.28));
  border-color: rgba(147, 197, 253, 0.6);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.deck-screen {
  padding: 20px 22px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.t-req {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(147, 197, 253, 0.22);
  font-size: 13.5px;
}
.t-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink-soft);
}
.t-p { color: var(--cyan); font-weight: 700; margin-right: 4px; font-family: var(--font-mono); font-size: 12px; }
.t-k { color: #ffffff; font-weight: 700; }
.t-s { color: #93c5fd; font-weight: 600; }

.t-out {
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-soft);
  white-space: pre-line;
}

.deck-foot {
  padding: 11px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ice);
}

/* 4格蓝白指标横条 */
.spec-ribbon {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(10, 23, 48, 0.76);
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(14px);
}
.spec-cell {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  position: relative;
}
.spec-cell:last-child { border-right: none; }
.spec-cell .k {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.06em;
  display: block;
}
.spec-cell .v {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  display: block;
}
.spec-cell .s {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--slate);
  display: block;
}

/* --------------------------------------------------------------------------
   6. 章节与清爽蓝白卡片（带径向鼠标追光）
   -------------------------------------------------------------------------- */
.section {
  padding: 72px 0;
  position: relative;
}
.zone-dark {
  background: transparent;
}
.zone-plate {
  background: linear-gradient(180deg, rgba(11, 25, 52, 0.52), rgba(6, 14, 30, 0.62));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}
.section-head h2 {
  margin-top: 12px;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
}
.section-head p {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--slate);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.card, .ledger-card, .step-card, .dossier-shell {
  position: relative;
  background:
    radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(96, 165, 250, 0.16), transparent 55%),
    var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(16px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card:hover, .ledger-card:hover, .step-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 48px -16px rgba(3, 10, 28, 0.85), 0 0 24px rgba(56, 189, 248, 0.12);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--slate);
}
.card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.32;
}
.card > p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.65;
}

.card-list {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.8px;
  color: var(--ink-soft);
}
.card-list li {
  position: relative;
  padding-left: 16px;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.card-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.card-foot .code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}
.card-foot .link, .card-foot .arrow {
  font-weight: 700;
  color: var(--cyan);
}

/* --------------------------------------------------------------------------
   7. 动态 SVG 场景卡片（蓝白配色）
   -------------------------------------------------------------------------- */
.card-scene {
  padding: 0;
  overflow: hidden;
}
.card-scene .scene {
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.14), transparent 70%),
    rgba(5, 12, 26, 0.72);
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-scene .scene svg {
  width: 100%;
  height: auto;
  max-height: 200px;
  display: block;
}
.card-scene .card-body {
  padding: 20px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.card-scene .kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 6px;
}

/* SVG 内部统一样式（蓝白主题） */
.s-box { fill: rgba(10, 22, 46, 0.9); stroke: rgba(147, 197, 253, 0.32); stroke-width: 1.2; }
.s-box-hi { fill: rgba(37, 99, 235, 0.2); stroke: #60a5fa; stroke-width: 1.4; }
.s-box-ok { fill: rgba(56, 189, 248, 0.18); stroke: #38bdf8; stroke-width: 1.4; }
.s-line { stroke: rgba(147, 197, 253, 0.35); stroke-width: 1.4; fill: none; }
.s-cyan { stroke: #38bdf8; stroke-width: 1.6; fill: none; }
.s-dash { stroke-dasharray: 5 4; animation: dashMove 14s linear infinite; }
.s-fill-ice { fill: #ffffff; filter: drop-shadow(0 0 5px #38bdf8); }
.s-fill-emerald { fill: #38bdf8; filter: drop-shadow(0 0 5px #38bdf8); }
.label-hi { fill: #ffffff; font: 600 11px var(--font-sans); }
.label { fill: #a4bce0; font: 500 10px var(--font-mono); }

/* 培训标杆实景卡片（上市化妆品企业千人 AI 讲座） */
.lecture-showcase {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px 28px;
  background:
    radial-gradient(460px circle at var(--mx, -999px) var(--my, -999px), rgba(96, 165, 250, 0.16), transparent 55%),
    linear-gradient(165deg, rgba(14, 30, 62, 0.88), rgba(7, 16, 36, 0.92));
  border: 1px solid rgba(147, 197, 253, 0.34);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 54px -16px rgba(2, 8, 22, 0.82);
  margin-bottom: 24px;
}
.lecture-photo-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(147, 197, 253, 0.36);
  aspect-ratio: 4 / 4.4;
  background: #061024;
}
.lecture-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transition: transform 0.3s ease;
}
.lecture-photo-wrap:hover img {
  transform: scale(1.02);
}
.lecture-photo-wrap.is-board {
  aspect-ratio: auto;
  background: #edf2fa;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lecture-photo-wrap.is-board img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 8px;
}

/* 真实业务系统工作台宽屏实景框（已脱敏 NONWOVEN Factory OS） */
.workbench-preview {
  margin: 0 0 26px;
  padding: 12px;
  background: rgba(5, 13, 30, 0.78);
  border: 1px solid rgba(147, 197, 253, 0.35);
  border-radius: 14px;
  box-shadow: 0 20px 50px -14px rgba(0, 0, 0, 0.75);
}
.workbench-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 8px 10px;
  font: 600 12px var(--font-mono);
  color: var(--ice);
}
.workbench-preview-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.workbench-preview-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(147, 197, 253, 0.45);
}
.workbench-preview-dots i:first-child { background: #38bdf8; }
.workbench-preview-main {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: opacity 0.2s ease;
}
.workbench-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.workbench-thumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(10, 23, 48, 0.78);
  border: 1px solid rgba(147, 197, 253, 0.22);
  border-radius: 9px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.workbench-thumb:hover {
  border-color: rgba(56, 189, 248, 0.65);
  background: rgba(16, 36, 72, 0.88);
  transform: translateY(-1px);
}
.workbench-thumb.is-active {
  border-color: #38bdf8;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(14, 32, 66, 0.92));
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35), 0 8px 20px -8px rgba(56, 189, 248, 0.45);
}
.workbench-thumb img {
  width: 76px;
  height: 44px;
  object-fit: cover;
  object-position: left top;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}
.workbench-thumb-meta {
  min-width: 0;
}
.workbench-thumb-meta b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.workbench-thumb-meta span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--ink-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 760px) {
  .workbench-thumbs {
    grid-template-columns: 1fr;
  }
}
.lecture-photo-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(5, 13, 30, 0.86);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(147, 197, 253, 0.4);
  font: 600 11px var(--font-mono);
  color: #ffffff;
}
.lecture-body h3 {
  margin-top: 8px;
  font-size: clamp(20px, 2.3vw, 25px);
  color: #ffffff;
}
.lecture-body p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--slate);
  max-width: 64ch;
}
.lecture-stats {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.lecture-stats > div {
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.lecture-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: #ffffff;
}
.lecture-stats span {
  font-size: 12px;
  color: var(--ice);
}
@media (max-width: 760px) {
  .lecture-showcase {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .lecture-photo-wrap {
    max-width: 280px;
  }
}

@keyframes dashMove { to { stroke-dashoffset: -120; } }

/* --------------------------------------------------------------------------
   8. 标杆案例横幅、六维铭牌与精简流程卡
   -------------------------------------------------------------------------- */
.page-hero {
  padding: 46px 0 36px;
}
.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 14px;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--muted);
}

.ledger-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ledger-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--slate);
}
.ledger-num {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}
.ledger-num small {
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  margin-left: 6px;
}
.ledger-title {
  margin-top: 8px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-soft);
}
.ledger-pills {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ledger-pills i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--ice);
}
.ledger-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--slate);
}

.dossier-shell {
  padding: 30px;
  background: linear-gradient(165deg, rgba(14, 30, 62, 0.86), rgba(7, 16, 36, 0.92));
  border: 1px solid rgba(147, 197, 253, 0.28);
}
.dossier-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.dossier-head .kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--cyan);
  letter-spacing: 0.08em;
}
.dossier-head h3 {
  margin-top: 4px;
  font-size: 24px;
  color: #ffffff;
}
.dossier-head p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--slate);
  max-width: 68ch;
}
.dossier-meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 14px;
}
.dossier-meta > div {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: center;
}
.dossier-meta b {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  color: #ffffff;
}
.dossier-meta span {
  font-size: 12px;
  color: var(--slate);
}

.step-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.step-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
}
.step-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.step-card h3 {
  font-size: 17.5px;
  color: #ffffff;
  margin-bottom: 6px;
}
.step-card p {
  font-size: 13.5px;
  color: var(--slate);
}

/* 对比表 */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.compare-table th, .compare-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}
.compare-table th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  color: #ffffff;
}
.compare-table td { color: var(--slate); }
.compare-table td.good {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.09);
  font-weight: 600;
}

/* 双栏与诚实边界 */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: start;
}
.def-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.def-grid > div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.def-grid p {
  margin-top: 6px;
  font-size: 12.8px;
  color: var(--slate);
}
.principles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.principles li {
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-md);
  font-size: 13.8px;
  color: var(--ink-soft);
}
.principles strong { color: #ffffff; }

/* 微信横幅条 */
.wp-card {
  margin-top: 28px;
  padding: 20px 26px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.2), rgba(56, 189, 248, 0.14));
  border: 1px solid rgba(147, 197, 253, 0.38);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.wp-card:hover {
  border-color: #ffffff;
  transform: translateY(-2px);
}
.wp-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: #061229;
  flex-shrink: 0;
}
.wp-card b {
  display: block;
  font-size: 16px;
  color: #ffffff;
}
.wp-card span {
  font-size: 13.5px;
  color: var(--ice);
}
.wp-card .arrow {
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   9. 页脚与 WebGL 14万像素蓝白流体大字
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 64px 0 36px;
  border-top: 1px solid var(--line);
  background: rgba(4, 9, 20, 0.9);
}
.footer-cta {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-cta h2 {
  margin-top: 8px;
  font-size: clamp(22px, 2.6vw, 30px);
  color: #ffffff;
}
.footer-cta p {
  margin-top: 6px;
  color: var(--slate);
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
.footer-about p {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--slate);
  max-width: 34ch;
}
.footer-grid h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}
.footer-grid ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-grid li a {
  font-size: 13.5px;
  color: var(--slate);
}
.footer-grid li a:hover { color: #ffffff; }

.v9-band {
  position: relative;
  height: clamp(110px, 16vw, 180px);
  margin: 16px 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.v9-band-static {
  font-family: var(--font-display);
  font-size: clamp(48px, 11vw, 136px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.12);
  user-select: none;
}
.v9-band.is-live .v9-band-static { opacity: 0; }
.v9-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   10. 弹窗（微信二维码 + 案例详情）
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(3, 8, 20, 0.78);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal-dialog {
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  background: #09152b;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.85);
}
.modal-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { color: #fff; border-color: #fff; }
.modal-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-block {
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.modal-block h4 {
  font-size: 13.5px;
  color: var(--cyan);
  margin-bottom: 8px;
}
.modal-block p, .modal-block li {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.modal-block ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wechat-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(147, 197, 253, 0.35);
  border-radius: var(--radius-md);
}
.wechat-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.wechat-qr {
  width: 140px;
  height: 140px;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  object-fit: contain;
}
.wechat-qr-tip {
  font-size: 11px;
  color: var(--ice);
}
.wechat-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wechat-info .id {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}
.wechat-sub {
  font-size: 13px;
  color: var(--slate);
}

/* 滚动渐显 */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   11. 响应式适配
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid, .split, .dossier-head {
    grid-template-columns: 1fr;
  }
  .spec-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }
  .spec-cell:nth-child(2) { border-right: none; }
  .spec-cell:nth-child(1), .spec-cell:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .grid-3, .ledger-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .step-bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .span-7, .span-5, .span-6, .span-4, .span-8 {
    grid-column: span 12;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav, .header-cta, .debug-toggle { display: none; }
  .menu { display: block; }
  .hero { padding: 34px 0 30px; }
  .section { padding: 52px 0; }
  .grid-3, .grid-2, .ledger-grid, .step-bento, .spec-ribbon, .def-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .spec-cell {
    border-right: none !important;
    border-bottom: 1px solid var(--line);
  }
  .deck-rail { grid-template-columns: 1fr; }
  .wechat-box { grid-template-columns: 1fr; text-align: center; }
  .wp-card { flex-direction: column; align-items: flex-start; }
  .dossier-meta { grid-template-columns: 1fr; }
}
