﻿/* ==========================================================================
   ABMM 首页方案 · showcase.css
   --------------------------------------------------------------------------
   定位：首页纯面向人类访客，视觉优先，不承载长内容。
   爬虫路径：页面里保留少量真实 <a href> 指向内页（/services/ 等），
            全部写在 HTML 里而非 JS 生成，爬虫能直接读到。
   零外部资源：无 CDN、无字体文件、无第三方脚本。
   ========================================================================== */

:root {
  --bg: #060912;
  --bg-soft: #0b1020;
  --surface: rgba(255, 255, 255, .045);
  --border: rgba(255, 255, 255, .11);
  --text: #e9eefb;
  --text-strong: #fff;
  --text-dim: #96a3bd;
  --brand-1: #4f7cff;
  --brand-2: #22d3ee;
  --accent: #a855f7;
  --brand-soft: rgba(79, 124, 255, .13);
  --brand-line: rgba(79, 124, 255, .4);
  --focus: #7dd3fc;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC",
               "Microsoft YaHei", sans-serif;
  /* 中文优先的标题字体栈：先系统中文字体，再回退西文 */
  --font-display: "PingFang SC", "Source Han Sans SC", "Noto Sans CJK SC",
                  -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", "Microsoft YaHei", monospace;
  /* 演讲级展示字号 */
  --display: clamp(2.7rem, 1.1rem + 4.6vw, 5.4rem);
  --title: clamp(2rem, 1.2rem + 2.8vw, 3.8rem);
  --subtitle: clamp(1.05rem, .95rem + .45vw, 1.4rem);
  --lh-display: 1.04;
  --lh-title: 1.12;
  --gutter: clamp(16px, 3vw, 34px);
  --step--1: clamp(.8rem, .78rem + .1vw, .875rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.12rem + .4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + .8vw, 2rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.7vw, 2.8rem);
  --step-4: clamp(2.4rem, 1.5rem + 3.6vw, 4.2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; font-family: var(--font-sans); font-size: var(--step-0);
  line-height: 1.75; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.16; font-weight: 800; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: none; }
strong { color: var(--text-strong); }
::selection { background: var(--brand-1); color: #fff; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--brand-1); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------- 画布：整屏固定层 ---------- */
#fx {
  position: fixed; inset: 0; z-index: 0;
  display: block; width: 100%; height: 100%;
  background:
    radial-gradient(1100px 700px at 15% 0%, rgba(79, 124, 255, .22), transparent 60%),
    radial-gradient(900px 600px at 88% 12%, rgba(168, 85, 247, .18), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, rgba(34, 211, 238, .12), transparent 60%),
    var(--bg);
  touch-action: pan-y;
}

/* ---------- 前景 UI ---------- */
/* 注意：这里不用 flex 布局。
   之前 .ui 是 flex column，main 作为可收缩的 flex item 会把各分屏压扁，
   min-height:100svh 失效（实测 pageHeight 只有 2341px）。
   改为普通块级流，分屏高度最可靠。 */
.ui { position: relative; z-index: 5; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 14px; padding-block: 14px;
  background: rgba(6, 9, 18, .72); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
}

/* 顶栏 */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; color: var(--text); letter-spacing: -.02em; margin-right: auto; }
.brand img { width: 30px; height: 30px; }
.vswitch { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.vswitch a { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-dim); font-weight: 600; font-size: var(--step--1); white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }
.vswitch a:hover { color: var(--text); border-color: var(--brand-1); }
.vswitch a[aria-current="page"] { color: var(--text); background: var(--brand-soft); border-color: var(--brand-line); }
.vswitch .sep { color: var(--text-dim); opacity: .45; }

/* 视觉主区 */
.stage { flex: 1; display: flex; align-items: center; padding-block: clamp(20px, 5vh, 70px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; color: var(--brand-2); font-size: var(--step--1); font-weight: 700; letter-spacing: .14em; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.h-xl { font-size: var(--step-4); }
.h-md { font-size: var(--step-2); }
.lead { font-size: var(--step-1); color: var(--text-dim); max-width: 46ch; }
.text-dim { color: var(--text-dim); }
.text-sm { font-size: var(--step--1); }
.mono { font-family: var(--font-mono); }
.gradient-text { background: linear-gradient(100deg, var(--brand-1), var(--brand-2) 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.balance { text-wrap: balance; }
.glass {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: clamp(18px, 2.2vw, 28px);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  position: relative; overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.glass::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(140deg, rgba(255, 255, 255, .10), transparent 42%); }
.glass:hover { border-color: var(--brand-line); box-shadow: 0 26px 64px -32px rgba(79, 124, 255, .75); transform: translateY(-3px); }
.glass h3 { font-size: var(--step-1); margin-bottom: 6px; }
.glass p { color: var(--text-dim); font-size: var(--step--1); margin: 0; }
.grid { display: grid; gap: clamp(13px, 1.5vw, 20px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: var(--step-0);
  border: 1px solid transparent; cursor: pointer; line-height: 1.2; white-space: nowrap;
  transition: transform .28s cubic-bezier(.22, .61, .36, 1), box-shadow .28s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(120deg, var(--brand-1), var(--accent)); color: #fff; box-shadow: 0 10px 28px -12px var(--brand-1); }
.btn--ghost { border-color: var(--border); color: var(--text); background: var(--surface); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--brand-1); }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }

/* 内页入口（同时是给爬虫的入口） */
.portal { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.portal a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--text); font-weight: 600; font-size: var(--step--1);
  transition: border-color .25s, color .25s, transform .25s, background .25s;
}
.portal a:hover { border-color: var(--brand-line); color: var(--text-strong); transform: translateY(-2px); background: var(--brand-soft); }
.portal a .n { font-family: var(--font-mono); color: var(--brand-2); font-size: .9em; }
.portal .cap { font-size: var(--step--1); color: var(--text-dim); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }

/* 底部说明条 */
.footbar { padding-block: 20px 26px; border-top: 1px solid var(--border); font-size: var(--step--1); color: var(--text-dim); display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }

/* 提示气泡 */
.tip {
  position: fixed; z-index: 9; pointer-events: none; padding: 7px 13px; border-radius: 999px;
  background: rgba(6, 9, 18, .82); border: 1px solid var(--brand-line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: var(--step--1); color: var(--text);
  transform: translate(-50%, -160%); opacity: 0; transition: opacity .2s; white-space: nowrap;
}
.tip.on { opacity: 1; }

/* ---------- v3 终端风 ---------- */
.crt::after {
  content: ""; position: fixed; inset: 0; z-index: 4; pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(0, 0, 0, .17) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 80% 70% at 50% 50%, transparent 50%, rgba(0, 0, 0, .7) 100%);
}
.crt .ui { text-shadow: 0 0 12px rgba(34, 211, 238, .28); }
.term { font-family: var(--font-mono); font-size: var(--step-0); line-height: 1.9; }
.term .p { color: var(--brand-2); }
.term .k { color: var(--accent); }
.term .v { color: #7ee787; }
.term .c { color: var(--text-dim); }
.term .w { color: #ffd479; }
.caret { display: inline-block; width: 9px; height: 1.05em; vertical-align: -2px; background: var(--brand-2); animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.glitch { animation: glitch .42s steps(2) 2; }
@keyframes glitch {
  0% { transform: translate(0, 0); filter: none; }
  25% { transform: translate(-3px, 1px); filter: hue-rotate(28deg) saturate(1.6); }
  50% { transform: translate(3px, -1px); filter: hue-rotate(-18deg); }
  75% { transform: translate(-2px, 0); }
  100% { transform: translate(0, 0); filter: none; }
}

/* ---------- v2 星云 / v4 隧道 降级底（WebGL 不可用时由 JS 加类） ---------- */
.fallback-nebula #fx, .fallback-warp #fx {
  background:
    radial-gradient(900px 700px at 20% 10%, rgba(168, 85, 247, .32), transparent 58%),
    radial-gradient(800px 600px at 80% 30%, rgba(79, 124, 255, .28), transparent 58%),
    radial-gradient(1000px 800px at 50% 100%, rgba(34, 211, 238, .18), transparent 62%),
    #05060f;
}

/* ---------- v4 图谱详情面板 ---------- */
.graph-panel {
  position: fixed; z-index: 8; left: var(--gutter); bottom: var(--gutter);
  width: min(370px, calc(100vw - var(--gutter) * 2));
  padding: 17px 19px; background: rgba(6, 9, 18, .86);
  border: 1px solid var(--brand-line); border-radius: 14px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.graph-panel.on { opacity: 1; transform: none; pointer-events: auto; }
.graph-panel h3 { font-size: var(--step-1); margin-bottom: 5px; }
.graph-panel h3 .num { font-family: var(--font-mono); color: var(--brand-2); font-size: .82em; margin-right: 8px; }
.graph-panel p { margin-bottom: 7px; color: var(--text-dim); font-size: var(--step--1); }
.graph-panel .rel { color: var(--brand-2); font-size: var(--step--1); }

/* ---------- 屏幕导航点（右侧竖排，可点击跳转） ---------- */
.secnav {
  position: fixed; right: clamp(10px, 1.6vw, 22px); top: 50%;
  transform: translateY(-50%); z-index: 35;
  display: grid; gap: 12px; justify-items: center;
}
.secnav__dot {
  position: relative; width: 10px; height: 10px; padding: 0;
  border-radius: 50%; border: 1px solid var(--border);
  background: rgba(255, 255, 255, .06); cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s, background .3s, box-shadow .3s;
}
.secnav__dot::after {
  content: attr(data-label);
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%) translateX(6px);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  background: rgba(6, 9, 18, .9); border: 1px solid var(--border);
  color: var(--text); font-size: 11px; font-family: var(--font-mono);
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.secnav__dot:hover { border-color: var(--brand-1); transform: scale(1.35); }
.secnav__dot:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.secnav__dot.on {
  background: var(--brand-2); border-color: var(--brand-2);
  transform: scale(1.5);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .16), 0 0 14px rgba(34, 211, 238, .8);
}
@media (max-width: 640px), (max-height: 560px) { .secnav { display: none; } }

/* ---------- 标题故障效果（进入时 + 悬停时） ----------
   注意：不能用 ::before/::after + content:attr() 复制文字做色散 ——
   伪元素内容会进无障碍树，屏幕阅读器会把标题连读三遍。
   改用 text-shadow 做 RGB 分离，视觉 glitch 保留，文字只有一份。      */
.glitch { position: relative; display: inline-block; }
.glitch:hover {
  animation: gl-x .48s steps(2) infinite;
}
@keyframes gl-x {
  0%   { transform: translateX(-2px); text-shadow: 2px 0 var(--brand-2), -2px 0 var(--accent); }
  50%  { transform: translateX(2px);  text-shadow: -2px 0 var(--brand-2), 2px 0 var(--accent); }
  100% { transform: translateX(-1px); text-shadow: 1px 0 var(--brand-2), -1px 0 var(--accent); }
}

/* ---------- 内容屏的图谱压暗层 ----------
   内容屏上文字必须压过图谱，否则节点标签和前景文字互相干扰。
   不用 JS 改画布，用一层纯色遮罩实现，零性能开销、可被 CSS 直接降级。 */
#dim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 62% 58% at 34% 50%, rgba(6, 9, 18, .94) 0%, rgba(6, 9, 18, .82) 45%, rgba(6, 9, 18, .5) 100%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
body[data-screen="1"] #dim,
body[data-screen="2"] #dim,
body[data-screen="3"] #dim { opacity: 1; }
/* 文字侧再补一层柔和底衬，让正文彻底脱离背景纹理 */
.sec__inner { position: relative; }
.sec__inner::before {
  content: ""; position: absolute; z-index: -1;
  left: calc(var(--gutter) * -1); right: 8%;
  top: -12%; bottom: -12%;
  background: linear-gradient(100deg, rgba(6, 9, 18, .92) 0%, rgba(6, 9, 18, .78) 55%, rgba(6, 9, 18, 0) 100%);
  border-radius: 24px;
  pointer-events: none;
}

/* ---------- 开机自检序列 ----------
   消失动作完全由 CSS 驱动：即使 JS 彻底失效、计时器被限流，
   加载层也会在 2.0 秒自行淡出并置为 visibility:hidden，不会把访客困住。
   背景刻意半透明：图谱在加载层后面先跑起来。                       */
.boot {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(5, 6, 15, .82), rgba(5, 6, 15, .96) 70%);
  backdrop-filter: blur(2px) saturate(120%);
  -webkit-backdrop-filter: blur(2px) saturate(120%);
  font-family: var(--font-mono);
  animation: boot-selfdismiss .5s var(--ease) 1.5s forwards;
}
@keyframes boot-selfdismiss {
  to { opacity: 0; transform: scale(1.05); filter: blur(8px); visibility: hidden; }
}
/* JS 提前结束（点击跳过 / 正常播完）时加这个类，立即淡出 */
.boot--out { opacity: 0; transform: scale(1.06); filter: blur(10px); pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .boot { animation-duration: .01s !important; animation-delay: 0s !important; }
}
/* 扫描线 + 中心辉光 */
.boot__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(0, 0, 0, .30) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(79, 124, 255, .16), transparent 70%);
}
.boot__box { position: relative; width: min(440px, calc(100vw - 40px)); text-align: left; }

.boot__mark {
  width: 54px; height: 54px; border-radius: 15px; margin-bottom: 18px;
  background: linear-gradient(135deg, #4f7cff, #a855f7);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 14px 40px -14px rgba(79, 124, 255, .9);
  animation: boot-pop .55s var(--ease) both;
}
.boot__mark svg { width: 30px; height: 30px; }
/* 描边逐段画出 */
.boot__mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: boot-draw .6s .12s var(--ease) forwards; }
.boot__mark .bm-b { animation-delay: .34s; }
@keyframes boot-draw { to { stroke-dashoffset: 0; } }
@keyframes boot-pop { from { opacity: 0; transform: scale(.7) translateY(10px); } to { opacity: 1; transform: none; } }

.boot__brand { font-size: 30px; font-weight: 800; letter-spacing: .04em; color: #fff; line-height: 1.1; }
.boot__title { color: var(--brand-2); font-size: 13px; margin: 4px 0 20px; letter-spacing: .06em; }

.boot__log { list-style: none; margin: 0 0 18px; padding: 0; font-size: 12.5px; min-height: 132px; }
.boot__log li {
  display: flex; align-items: center; gap: 9px;
  padding: 3px 0; color: var(--text-dim);
  animation: boot-line .3s var(--ease) both;
}
@keyframes boot-line { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.boot__log .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2);
  flex: none; animation: boot-blink .9s ease-in-out infinite;
}
@keyframes boot-blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.boot__log li.done .dot { animation: none; background: #7ee787; box-shadow: 0 0 10px #7ee787; }
.boot__log .k { color: var(--text); min-width: 82px; }
.boot__log .d { color: var(--brand-2); }
.boot__log .v { margin-left: auto; color: #7ee787; }

.boot__bar { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .10); overflow: hidden; }
.boot__bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #4f7cff, #22d3ee, #a855f7);
  box-shadow: 0 0 12px rgba(34, 211, 238, .8);
  transition: width .3s var(--ease);
}
/* 关键：进度条同时由 CSS 动画驱动。
   JS 定时器在后台标签页会被限流（可能延后数十秒），导致加载屏卡住不消失；
   CSS 动画走合成器，不受主线程限流影响，保证进度条一定走满。
   JS 的 animationend 与两重超时任一触发即收起。 */
.boot__bar i.run { animation: boot-fill 1.6s linear forwards; }
@keyframes boot-fill { from { width: 0; } to { width: 100%; } }
.boot__hint { margin-top: 12px; font-size: 11px; color: var(--text-dim); opacity: .55; }

/* ---------- 整屏滚动分屏 ----------
   注意：base 里 body 有 overflow-x:hidden，会把 body 提升成滚动容器，
   导致 scroll-snap-type 设在 html 上完全失效。因此：
   - overflow-x 移到 html
   - scroll-snap-type 在 html 与 body 上都声明，兼容不同滚动容器判定
   用 proximity 而非 mandatory：给"翻动感"但不把访客锁死在某一屏。      */
html {
  scroll-snap-type: y proximity;
  scroll-padding-top: 64px;
  overflow-x: hidden;
}
body { scroll-snap-type: y proximity; overflow-x: visible; }

.scrollbar {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 30;
  background: rgba(255, 255, 255, .06); pointer-events: none;
}
.scrollbar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #4f7cff, #22d3ee, #a855f7);
  box-shadow: 0 0 10px rgba(34, 211, 238, .7);
  transition: width .12s linear;
}

.sec {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: clamp(80px, 11vh, 120px);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}
.sec + .sec { border-top: 1px solid var(--border); }
.sec--last { min-height: auto; padding-bottom: clamp(64px, 8vw, 100px); }

/* 内容屏压暗画布：只用一层均匀暗色，**不用 backdrop-filter**。
   模糊会把画布上的术语标签糊成一团，反而更看不清。 */
.sec:not(.sec--hero)::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 9, 18, .55) 0%, rgba(6, 9, 18, .88) 18%, rgba(6, 9, 18, .88) 82%, rgba(6, 9, 18, .55) 100%);
}

/* ---------- 排版系统：演讲风格 ----------
   大字号 · 紧字距 · 强层级 · 长行高。
   中文正文比西文需要更大的行高与更紧的字距，否则整块会发糊。            */
h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  text-wrap: balance;
  font-feature-settings: "kern" 1;
}

/* 章节序号：等宽大字，渐变，像演讲稿的章节标记 */
.sec__k {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem);
  font-weight: 700; line-height: 1; letter-spacing: .02em;
  margin: 0 0 24px;
  background: linear-gradient(120deg, var(--brand-2), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .92;
}
/* 每屏只留一行标题 */
.sec h2 {
  font-size: var(--title);
  line-height: var(--lh-title);
  letter-spacing: -.03em;
  font-weight: 800;
  margin: 0; max-width: 15ch;
  color: var(--text-strong);
  text-shadow: 0 3px 26px rgba(6, 9, 18, .95), 0 0 50px rgba(6, 9, 18, .85);
}
.sec p.sec__sub {
  margin: 24px 0 0;
  font-size: var(--subtitle);
  line-height: 1.82;            /* 中文正文行高放宽 */
  color: var(--text-dim);
  max-width: 30ch;
  letter-spacing: .012em;
  text-shadow: 0 2px 18px rgba(6, 9, 18, .95);
}

/* 首屏：展示级字号 */
.sec--hero h1 {
  font-size: var(--display);
  line-height: var(--lh-display);
  letter-spacing: -.042em;
  font-weight: 800;
  color: var(--text-strong);
  margin: 0; max-width: 14ch;
  text-shadow: 0 4px 32px rgba(6, 9, 18, .92);
}
.sec--hero .eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(.76rem, .72rem + .18vw, .95rem);
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 22px;
  text-shadow: 0 2px 16px rgba(6, 9, 18, .95);
}
.cue {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 30px;
  color: var(--text-dim); font-size: var(--step--1); font-family: var(--font-mono);
}
.cue::after {
  content: ""; width: 1px; height: 30px; background: linear-gradient(180deg, var(--brand-2), transparent);
  animation: cue 1.7s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: scaleY(.4); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
.cue:hover { color: var(--text); text-decoration: none; }

/* 屏内小图注：替代大段文字 */
.hint {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 26px; color: var(--text-dim); font-size: var(--step--1);
  font-family: var(--font-mono); text-shadow: 0 2px 14px rgba(6, 9, 18, .95);
}
.hint i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); display: block; animation: ping 2.1s ease-in-out infinite; }
.hint i:nth-child(2) { animation-delay: .25s; }
.hint i:nth-child(3) { animation-delay: .5s; }
@keyframes ping { 0%, 100% { opacity: .22; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }

/* 服务列表：只保留编号 + 名称（去掉交付物与周期两列，减少文字） */
.svc-list { display: grid; gap: 1px; max-width: 620px; }
.svc-row {
  display: grid; align-items: baseline; gap: 4px 18px;
  grid-template-columns: 34px 1fr;
  padding: 13px 6px; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--border);
  transition: background .25s, padding-left .25s, border-color .25s;
}
.svc-row:first-child { border-top: 1px solid var(--border); }
.svc-row:hover { background: var(--brand-soft); padding-left: 16px; border-color: var(--brand-line); text-decoration: none; }
.svc-row__n { font-family: var(--font-mono); color: var(--brand-2); font-size: var(--step--1); }
.svc-row__t { font-weight: 700; color: var(--text-strong); font-size: var(--step-1); }

/* 内容卡：去掉描述段，只留标题 + 行动词 */
.panel-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-m, 14px); padding: clamp(18px, 2.2vw, 26px);
  transition: border-color .28s, transform .28s, box-shadow .28s, background .28s;
}
.panel-card:hover {
  text-decoration: none; transform: translateY(-4px);
  border-color: var(--brand-line); background: var(--brand-soft);
  box-shadow: 0 26px 60px -32px rgba(79, 124, 255, .8);
}
.panel-card h3 { font-size: var(--step-1); margin-bottom: 8px; }
.panel-card .go { color: var(--brand-2); font-weight: 600; font-size: var(--step--1); font-family: var(--font-mono); }

/* ---------- 首屏之下的内容区 ----------
   视觉不承担信息，首屏之下的内容也只做导航，不做叙述。              */
.below {
  position: relative;
  z-index: 6;
  background: linear-gradient(180deg, transparent 0, var(--bg) 72px, var(--bg) 100%);
  padding-block: clamp(56px, 7vw, 96px) clamp(36px, 4vw, 56px);
}
.below > section + section { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--border); }

/* 紧凑链接芯片：替代原来的大卡片，文字量降到最低 */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--text); font-weight: 600; font-size: var(--step--1);
  transition: border-color .25s, color .25s, transform .25s, background .25s, box-shadow .25s;
}
.chip .n { font-family: var(--font-mono); color: var(--brand-2); font-size: .88em; }
.chip:hover {
  border-color: var(--brand-line); color: var(--text-strong);
  transform: translateY(-2px); background: var(--brand-soft);
  box-shadow: 0 10px 26px -14px rgba(79, 124, 255, .8);
  text-decoration: none;
}

/* ---------- 首屏入场：错峰上浮 ---------- */
.rise { animation: rise .8s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* 说明：首屏呼吸提示的 .hint 已在第 24 节定义，此处不再重复声明 */

/* ---------- 降级与响应式 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .btn:hover, .glass:hover, .portal a:hover, .chip:hover, .panel-card:hover, .svc-row:hover { transform: none; }
  .rise { animation: none !important; }
  .hint i { animation: none !important; opacity: 1; }
  .cue::after { animation: none !important; }
  html { scroll-snap-type: none; }
}
@media (max-width: 700px) {
  .hud, .graph-panel { display: none; }
  .topbar { flex-wrap: wrap; }
  .vswitch { width: 100%; overflow-x: auto; }
  .sec { min-height: auto; padding-block: clamp(72px, 12vh, 110px); }
  .sec h2 { font-size: var(--step-2); }
}
