/* ==========================================================================
   CNWAY 中卫信息 · 官网 Landing Page
   --------------------------------------------------------------------------
   设计语言：深色科技 + 白底中段 的色彩分块叙事
   质感三原则：1px 细边框 / 大留白 / 不靠投影堆叠

   形状规则（全站统一，无例外）：
     · 所有容器、卡片、按钮 → 14px 圆角（--radius）
     · 纯标签型 pill（能力标签、架构格） → 全圆角
   ========================================================================== */

/* ------------------------------- 设计令牌 ------------------------------- */
:root {
  /* 品牌色，取自 Logo 蓝紫 */
  --brand-300: #8B9BFF;
  --brand-500: #5A6ACF;
  --brand-700: #3D4A9E;

  /* 深色系 */
  --ink-950: #080C1A;
  --ink-900: #0E1430;
  --ink-800: #1A2242;
  --ink-000: #05070F;

  /* 浅色系 */
  --paper:   #FFFFFF;
  --paper-2: #F5F6FA;
  --line:    #E3E5EF;

  /* 文字 */
  --text:           #12162B;
  --text-mute:      #5A6178;
  --text-dark:      #FFFFFF;
  --text-dark-mute: #A8B0CC;

  /* 稀缺强调色，仅用于「数据 / 智能」点缀，全站占比 < 5% */
  --signal: #2DD4BF;

  /* 深色区块内的线与面 */
  --line-dark:    rgba(255, 255, 255, .12);
  --line-dark-2:  rgba(255, 255, 255, .22);
  --surface-dark: rgba(255, 255, 255, .035);

  /* 尺寸 */
  --radius:    14px;
  --shell:     1200px;
  --gutter:    24px;
  --section-y: 140px;
  --nav-h:     72px;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
strong { font-weight: 600; color: var(--brand-700); }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }

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

.sec--dark :focus-visible,
.sec--final :focus-visible,
.hero :focus-visible { outline-color: var(--signal); }

/* 锚点跳转时给吸顶导航留出空间 */
section[id], [id="hero"] { scroll-margin-top: calc(var(--nav-h) + 16px); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--brand-500);
  color: #fff;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------- 栅格 --------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

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

.btn--primary {
  background: var(--brand-500);
  color: #fff;
}
.btn--primary:hover { background: var(--brand-700); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-dark-2);
  color: var(--text-dark);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .42);
}

.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn__icon { flex: none; }

/* 文字箭头链接 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-700);
  transition: gap .22s ease, color .22s ease;
}
.link-arrow:hover { gap: 12px; color: var(--brand-500); }
.link-arrow--bright { color: var(--brand-300); }
.link-arrow--bright:hover { color: var(--signal); }

/* ------------------------------- 导航栏 ------------------------------- */
.nav {
  --nav-fg: #fff;
  --nav-fg-mute: rgba(255, 255, 255, .74);
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-solid {
  --nav-fg: var(--text);
  --nav-fg-mute: var(--text-mute);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
}

.nav__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo 为白底位图，统一用白色圆角徽章承载，深 / 浅背景上都成立 */
.nav__brand { display: flex; align-items: center; flex: none; }
.nav__logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  object-fit: cover;
}
.nav.is-solid .nav__logo { border-color: var(--line); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-inline: auto;
}

.nav__links a {
  position: relative;
  font-size: 15px;
  color: var(--nav-fg-mute);
  transition: color .2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .26s cubic-bezier(.16, 1, .3, 1);
}
.nav__links a:hover { color: var(--nav-fg); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { flex: none; }

/* 汉堡按钮 */
.nav__burger {
  display: none;
  flex: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-dark-2);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--nav-fg);
  transition: transform .25s ease, opacity .2s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* 移动端抽屉 */
.drawer {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: var(--ink-950);
  padding: 40px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.drawer[hidden] { display: none; }

.drawer__links { display: flex; flex-direction: column; }
.drawer__links a {
  padding: 20px 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid var(--line-dark);
}
.drawer__cta { margin-top: 32px; align-self: flex-start; }

/* ----------------------------- 通用区块 ----------------------------- */
.sec {
  padding-block: var(--section-y);
  scroll-margin-top: var(--nav-h);
}
.sec--paper { background: var(--paper); }
.sec--muted { background: var(--paper-2); }
.sec--dark  { background: var(--ink-900); color: var(--text-dark); }
.sec--final { background: var(--ink-950); color: var(--text-dark); }

.sec__head { margin-bottom: 56px; }
.sec__head > * + * { margin-top: 18px; }

.sec__title {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.22;
  letter-spacing: -.02em;
}

.sec__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 400;
  color: var(--text-mute);
  line-height: 1.6;
}
.sec--dark .sec__lead { color: var(--text-dark-mute); }

.sec__lead--big {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 600;
  color: var(--brand-700);
  letter-spacing: -.01em;
}
.sec--dark .sec__lead--big { color: var(--brand-300); }

/* 中文行长用 em 而非 ch：ch 以西文「0」的宽度为基准，
   中文单字约占 1.7ch，用 ch 会导致行长明显偏窄、断行偏碎。 */
.sec__body {
  max-width: 44em;
  color: var(--text-mute);
  margin-bottom: 56px;
}
.sec__body--dark { color: var(--text-dark-mute); }

/* eyebrow：全站仅 4 处（Hero / 平台 / 行业 / AI），刻意稀缺 */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin: 0;
}
.eyebrow--bright { color: var(--brand-300); }

/* 正文段落 */
.prose { max-width: 44em; margin-bottom: 64px; }
.prose p + p { margin-top: 18px; }
.prose p { color: var(--text-mute); }
.prose__em {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  color: var(--text) !important;
  letter-spacing: -.01em;
}

/* ------------------------------ 01 Hero ------------------------------ */
.hero {
  position: relative;
  background: var(--ink-900);
  color: var(--text-dark);
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 56px;
  overflow: hidden;
  isolation: isolate;
}

/* 抽象视觉：现实实验室 → 数字实验室 → 智能实验室 */
.hero__viz {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 0;
  color: var(--brand-300);
  opacity: .85;
  /* 双向遮罩：左侧渐隐让开文案区，底部渐隐让开数据条 */
  -webkit-mask-image:
    linear-gradient(100deg, transparent 0%, transparent 26%, #000 72%),
    linear-gradient(to bottom, #000 0%, #000 58%, transparent 82%);
  mask-image:
    linear-gradient(100deg, transparent 0%, transparent 26%, #000 72%),
    linear-gradient(to bottom, #000 0%, #000 58%, transparent 82%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  pointer-events: none;
}
.hero__viz svg { width: 100%; height: 100%; display: block; }

.hero__inner { position: relative; z-index: 2; }
.hero__copy { max-width: 680px; }

.hero__title {
  /* 下限压到 2.4rem：375px 屏上「让实验室，更智能」8 字才不会被拆成「更智 / 能」 */
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 700;
  margin-top: 24px;
}

.hero__sub {
  margin-top: 28px;
  max-width: 33em;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.8;
  color: var(--text-dark-mute);
}

.hero__cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* 首屏数据 */
.stats {
  position: relative;
  z-index: 2;
  margin: 72px 0 0;
  padding-top: 36px;
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stats__num {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--text-dark);
  font-variant-numeric: tabular-nums;
}
.stats__label {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--text-dark-mute);
}

/* --------------------------- 02 三个关键词 --------------------------- */
/* 排版分栏而非卡片容器，第一栏权重更大，避免「三张一模一样的卡片」 */
.pillars {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.pillar {
  padding: 36px 32px 0 0;
  border-right: 1px solid var(--line);
}
.pillar:last-child { border-right: 0; padding-right: 0; }
.pillar:not(:first-child) { padding-left: 32px; }

.pillar__title {
  font-size: 1.35rem;
  letter-spacing: -.015em;
  color: var(--text);
}
.pillar:first-child .pillar__title { font-size: 1.7rem; }

.pillar__body {
  margin-top: 12px;
  color: var(--text-mute);
  font-size: 15px;
  line-height: 1.75;
}

/* ----------------------------- 03 痛点 ----------------------------- */
.pains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pain {
  position: relative;
  padding: 40px 32px 44px;
  background: var(--paper);
  transition: background-color .25s ease;
}
.pain:hover { background: #FBFBFE; }

.pain__no {
  display: block;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--brand-500);
  opacity: .16;
  font-variant-numeric: tabular-nums;
}
.pain__title {
  margin-top: 20px;
  font-size: 1.08rem;
  line-height: 1.5;
  letter-spacing: -.01em;
}
.pain__body {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-mute);
}

/* --------------------------- 04 数字底座 --------------------------- */
.stack {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.stack__layer {
  position: relative;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  text-align: center;
}

.stack__name {
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.stack__name--big { font-size: 1.25rem; }
.stack__note {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--text-mute);
}

.stack__tag {
  position: absolute;
  top: 14px;
  left: 16px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--signal);
  color: #04302C;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

.stack__layer--top {
  background: var(--ink-900);
  border-color: var(--ink-800);
  color: var(--text-dark);
}
.stack__layer--top .stack__name { color: var(--brand-300); }

.stack__layer--mid {
  background: var(--paper);
  border-color: var(--brand-300);
}

.stack__layer--main {
  padding: 28px;
  background: var(--paper);
  border-color: var(--brand-500);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}

.stack__cells {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.stack__cells--base { grid-template-columns: repeat(6, 1fr); }

.stack__cells li {
  padding: 11px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 14px;
  color: var(--text);
}

.stack__connector {
  width: 1px;
  height: 26px;
  margin-inline: auto;
  background: linear-gradient(to bottom, var(--brand-300), var(--brand-500));
}

/* --------------------------- 05 LIMS 能力 --------------------------- */
.caps { margin-bottom: 40px; }

.caps__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 22px;
}

.caps__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.caps__list li {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 14.5px;
  transition: border-color .22s ease, color .22s ease;
}
.caps__list li:hover { border-color: var(--brand-300); color: var(--brand-700); }

/* --------------------------- 06 仪器互联 --------------------------- */
/* 四栏排版分栏 + 顶部细线，非卡片 */
.quartet {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 72px;
}
.quartet__item {
  padding: 28px 28px 0 0;
  border-top: 2px solid var(--brand-500);
  margin-right: 28px;
}
.quartet__item:last-child { margin-right: 0; padding-right: 0; }

.quartet__title {
  font-size: 1.1rem;
  letter-spacing: -.01em;
}
.quartet__body {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-mute);
}

.pullquote {
  margin: 0;
  padding-left: 28px;
  border-left: 3px solid var(--signal);
}
.pullquote p {
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.02em;
  color: var(--text);
  max-width: 20em;
}

/* --------------------------- 07 质量管理 --------------------------- */
.matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.matrix__cell {
  padding: 30px 28px;
  background: var(--paper);
}
.matrix__key {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-700);
  letter-spacing: -.01em;
}
.matrix__val {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-mute);
}

/* ------------------------- 08 行业解决方案 ------------------------- */
.trades {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.trade {
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color .25s ease, transform .25s cubic-bezier(.16, 1, .3, 1);
}
.trade:hover {
  border-color: var(--brand-300);
  transform: translateY(-2px);
}
.trade__name {
  font-size: 1.2rem;
  letter-spacing: -.015em;
}
.trade__body {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-mute);
}

/* ---------------------------- 09 客户案例 ---------------------------- */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.case {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

/* 占位标识块，待真实机构 Logo 替换 */
.case__mark {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--brand-500);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 600;
}

.case__tag {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--brand-700);
}
.case__org {
  margin-top: 8px;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.case__gain {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mute);
}

/* --------------------------- 10 为什么选中卫 --------------------------- */
.reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.reason {
  padding: 34px 32px;
  background: var(--paper);
}
/* 第 5 项横跨整行，避免出现九宫格末尾的空洞 */
.reason:last-child { grid-column: 1 / -1; }

.reason__no {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--brand-500);
}
.reason__title {
  margin-top: 14px;
  font-size: 1.2rem;
  letter-spacing: -.015em;
}
.reason__body {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-mute);
  max-width: 30em;
}

.mantra {
  margin: 0;
  padding: 48px 0 0;
  border-top: 1px solid var(--line);
}
.mantra p {
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -.03em;
  color: var(--text);
}
.mantra p + p { color: var(--brand-500); }

/* ---------------------------- 11 AI 实验室 ---------------------------- */
.ai { position: relative; overflow: hidden; }

/* 全站唯一的光晕，克制使用：低透明度径向渐变，无外发光 */
/* 光晕收在标题右上的局部光斑，而不是铺满全屏。
   铺满会让整个区块泛灰发雾，还会在 section 边缘被裁出硬边；
   收在一角则既保住左侧深色纯净，也不与下方卡片抢注意力。 */
.ai::before {
  content: "";
  position: absolute;
  top: 0;
  right: -8%;
  width: min(900px, 80%);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%,
              rgba(90, 106, 207, .46) 0%,
              rgba(90, 106, 207, .17) 34%,
              rgba(45, 212, 191, .07) 52%,
              transparent 70%);
  pointer-events: none;
}
.ai > .shell { position: relative; z-index: 1; }

.ai__q {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--brand-300);
  margin-bottom: 28px;
}

/* 5 项内容排入 6 栏网格：首行 3 项各占 2 栏，次行 2 项各占 3 栏。
   这样 5 项精确铺满，末尾不留空单元格。 */
.ai__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.ai__card {
  padding: 30px 28px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--surface-dark);
  transition: border-color .25s ease, background-color .25s ease;
}
.ai__card:nth-child(-n+3) { grid-column: span 2; }
.ai__card:nth-child(n+4)  { grid-column: span 3; }

.ai__card:hover {
  border-color: rgba(139, 155, 255, .45);
  background: rgba(139, 155, 255, .07);
}

.ai__name {
  font-size: 1.08rem;
  letter-spacing: -.01em;
  color: var(--text-dark);
}
.ai__body {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-dark-mute);
}

/* --------------------------- 12 数字化路线 --------------------------- */
.track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-bottom: 56px;
}
.track__step {
  position: relative;
  padding-top: 26px;
  padding-right: 20px;
  border-top: 2px solid var(--line);
}
.track__step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-500);
}
.track__step:last-child { border-top-color: var(--brand-500); }
.track__step:last-child::before { background: var(--signal); }

.track__no {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--brand-500);
  font-variant-numeric: tabular-nums;
}
.track__name {
  display: block;
  margin-top: 8px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -.01em;
}

/* --------------------------- 13 最终 CTA --------------------------- */
.sec--final { padding-block: clamp(110px, 14vw, 170px); }

.final { text-align: center; }
.final__title {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.16;
  letter-spacing: -.035em;
  font-weight: 700;
}
.final__sub {
  margin: 24px auto 0;
  max-width: 28em;
  color: var(--text-dark-mute);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}
.final__cta {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.final__contact {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 15px;
}
.final__contact a {
  color: var(--text-dark-mute);
  transition: color .2s ease;
  font-variant-numeric: tabular-nums;
}
.final__contact a:hover { color: var(--signal); }
.final__sep {
  width: 1px;
  height: 14px;
  background: var(--line-dark-2);
}

/* ------------------------------ 14 Footer ------------------------------ */
.foot {
  background: var(--ink-000);
  color: var(--text-dark-mute);
  padding-top: 88px;
  font-size: 14.5px;
}

.foot__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2.4fr;
  gap: 64px;
  padding-bottom: 72px;
}

.foot__logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
}
.foot__org {
  margin-top: 22px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
}
.foot__en {
  margin-top: 8px;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(168, 176, 204, .72);
}
.foot__slogan {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--brand-300);
}

.foot__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.foot__h {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.foot__col li + li { margin-top: 11px; }
.foot__col a {
  color: var(--text-dark-mute);
  transition: color .2s ease;
}
.foot__col a:hover { color: var(--brand-300); }

.foot__legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 26px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  color: rgba(168, 176, 204, .66);
}
.foot__legal p { margin: 0; }

/* ---------------------------- 入场动画 ---------------------------- */
/* 只在 JS 可用（html.js）且用户未要求减少动效时启用初始隐藏态。
   两者任一不成立，内容默认完整可见。 */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1),
                transform .7s cubic-bezier(.16, 1, .3, 1);
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  /* 架构图自下而上逐层点亮 */
  .js .stack__layer--base { transition-delay: 0s; }
  .js .stack__layer--main { transition-delay: .1s; }
  .js .stack__layer--mid  { transition-delay: .2s; }
  .js .stack__layer--top  { transition-delay: .3s; }

  /* Hero 抽象视觉：数据流动 + 核心脉冲 */
  .viz__net path {
    stroke-dasharray: 10 14;
    animation: flow 9s linear infinite;
  }
  .viz__core { animation: pulse 3.4s ease-in-out infinite; }
  .viz__ring {
    transform-origin: 600px 165px;
    animation: ripple 3.4s ease-out infinite;
  }
  .viz__halo { animation: halo 5s ease-in-out infinite; }
  .viz__nodes circle { animation: blink 4s ease-in-out infinite; }
  .viz__nodes circle:nth-child(2n) { animation-delay: .8s; }
  .viz__nodes circle:nth-child(3n) { animation-delay: 1.6s; }
}

@keyframes flow {
  to { stroke-dashoffset: -240; }
}
@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: .6;  transform: scale(.78); }
}
@keyframes ripple {
  0%   { transform: scale(.7); opacity: .55; }
  100% { transform: scale(2.1); opacity: 0; }
}
@keyframes halo {
  0%, 100% { opacity: .8; }
  50%      { opacity: .45; }
}
@keyframes blink {
  0%, 100% { opacity: .45; }
  50%      { opacity: 1; }
}

/* ============================== 响应式 ============================== */
@media (max-width: 1199px) {
  :root { --section-y: 96px; }
  .nav__links { gap: 26px; }
  .foot__inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 899px) {
  :root { --nav-h: 64px; }

  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; margin-left: auto; }

  /* Hero 视觉退为背景层。窄屏文案占满宽度，图形只剩氛围作用，
     压到很低的不透明度，避免与标题、按钮互相干扰。 */
  .hero__viz {
    width: 100%;
    opacity: .22;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .pillars {
    grid-template-columns: 1fr;
    border-top: 0;
  }
  .pillar,
  .pillar:not(:first-child) {
    padding: 30px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .quartet { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .quartet__item:nth-child(2n) { margin-right: 0; padding-right: 0; }

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

  .ai__grid { grid-template-columns: repeat(2, 1fr); }
  .ai__card:nth-child(-n+3),
  .ai__card:nth-child(n+4) { grid-column: span 1; }

  .track { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .track__step:nth-child(2n) { border-top-color: var(--line); }
}

@media (max-width: 599px) {
  :root { --section-y: 72px; --gutter: 20px; }

  body { font-size: 16px; }

  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .pains,
  .matrix,
  .trades,
  .cases,
  .reasons,
  .quartet,
  .ai__grid,
  .track { grid-template-columns: 1fr; }

  .reason:last-child { grid-column: auto; }

  .quartet__item,
  .quartet__item:nth-child(2n) { margin-right: 0; padding-right: 0; }

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

  .foot__cols { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }

  .final__cta { flex-direction: column; }
  .final__cta .btn { width: 100%; }
  .final__contact { flex-direction: column; gap: 12px; }
  .final__sep { display: none; }

  .pullquote { padding-left: 20px; }
}

/* ------------------------- 减少动效偏好 ------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* --------------------------- 深色模式兜底 --------------------------- */
/* 本页为品牌指定的固定色彩分块，不随系统深色模式整体反转。
   这里只保证系统深色偏好下浅色区块的文字对比度不被浏览器强制反转破坏。 */
@media (prefers-color-scheme: dark) {
  body { color-scheme: light; }
}
