/* ============================================================================
   ZczHub · 统一设计系统 v5 · Graphite + Electric Violet
   底色换成近中性的冷石墨（L* 2.0~8.3），不再用饱和蓝铺底；
   主色只做点睛：电光紫 #7C5CFF 家族 + 极光青 #35E0C8 作唯一辅助。
   相邻区段靠 L* 差 ≤6 的石墨阶分层，不靠换明暗。
   ========================================================================== */

:root {
  /* —— 背景：冷石墨台阶（L* 2.0 / 2.9 / 4.2 / 5.8 / 8.3，相邻差 ≤2.6） —— */
  --bg-0: #07070A;
  --bg-1: #0A0A0F;
  --bg-2: #0E0E15;
  --bg-3: #12121B;
  --bg-4: #171724;

  /* —— 品牌：电光紫家族（默认色调） —— */
  --brand: #7C5CFF;
  --brand-600: #6A4AEB;
  --brand-300: #9D85FF;
  --brand-200: #B9A7FF;
  --brand-100: #DCD4FF;
  --accent: #35E0C8;       /* 极光青：只用于数据点/成功态，占比 <20% */

  /* —— 文字 —— */
  --fg: #F3F1FA;
  --fg-2: rgba(243, 241, 250, .74);
  --fg-3: rgba(243, 241, 250, .52);
  --fg-4: rgba(243, 241, 250, .34);

  /* —— 线 —— */
  --line: rgba(185, 167, 255, .14);
  --line-2: rgba(185, 167, 255, .22);
  --line-3: rgba(185, 167, 255, .32);

  --grad-brand: linear-gradient(112deg, #DCD4FF 0%, #9D85FF 42%, #7C5CFF 100%);
  --grad-soft: linear-gradient(180deg, rgba(124, 92, 255, .14), rgba(124, 92, 255, 0));
  --halo-1: 124, 92, 255;
  --halo-2: 53, 224, 200;

  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;

  --shadow-1: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 40px -24px rgba(0, 0, 0, .9);
  --shadow-2: 0 40px 120px -40px rgba(124, 92, 255, .45);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--brand-200); text-decoration: none; }
a:hover { color: var(--brand-100); }
img, svg, canvas, video { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.022em; line-height: 1.14; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(124, 92, 255, .38); color: #fff; }

/* 全站底色：一条固定的深蓝渐变，任何 section 都压在它上面，
   这样无论怎么滚都不会出现「白底段落」 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(124, 92, 255, .30), transparent 62%),
    radial-gradient(820px 520px at 6% 8%, rgba(34, 211, 238, .10), transparent 60%),
    linear-gradient(180deg, #0A0A0F 0%, #07070A 46%, #08080C 100%);
}
/* 细网格：给深色背景一点结构，不至于「一块死黑」 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(185, 167, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 167, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(1200px 800px at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(1200px 800px at 50% 0%, #000 20%, transparent 78%);
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ============================ 顶部导航 ============================ */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: 64px;
  transition: height .25s ease, background .3s ease, border-color .3s ease;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-nav.is-stuck {
  height: 56px;              /* 滚动后收窄 8px：原来只改了背景，高度写死 64 不动 */
  background: rgba(6, 10, 20, .78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: 100%; max-width: var(--maxw); padding: 0 var(--pad);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); flex: 0 0 auto; }
.brand:hover { color: var(--fg); }
.brand svg { height: 26px; width: auto; }
.brand-word { font-size: 15px; font-weight: 700; letter-spacing: .18em; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 8px 12px; border-radius: var(--r-sm);
  font-size: 13.5px; color: var(--fg-2); white-space: nowrap;
  transition: color .18s, background .18s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); background: rgba(185, 167, 255, .10); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
  transition: transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .25s, background .2s, border-color .2s;
}
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 10px 30px -12px rgba(124, 92, 255, .95), 0 0 0 1px rgba(185, 167, 255, .28) inset;
}
.btn-primary:hover { background: #8E72FF; color: #fff; transform: translateY(-1px); box-shadow: 0 16px 40px -14px rgba(124, 92, 255, 1); }
.btn-ghost { background: rgba(185, 167, 255, .07); color: var(--fg); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(185, 167, 255, .14); color: var(--fg); border-color: var(--line-3); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 12.5px; }

.nav-burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-2); background: rgba(185, 167, 255, .07);
}
.nav-burger span { display: block; width: 17px; height: 1.6px; background: var(--fg); border-radius: 2px; position: relative; }
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.6px; background: var(--fg); border-radius: 2px;
}
.nav-burger span::before { top: -5.5px; }
.nav-burger span::after { top: 5.5px; }

.mobile-panel {
  position: fixed; inset: 64px 0 auto 0; z-index: 89;
  background: rgba(6, 10, 20, .97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 14px var(--pad) 22px;
  display: none;
}
.mobile-panel.open { display: block; }
.mobile-panel a {
  display: block; padding: 14px 4px; font-size: 15px; color: var(--fg-2);
  border-bottom: 1px solid var(--line);
}
.mobile-panel a:last-child { border-bottom: 0; }

/* ============================ 区段 ============================ */
.section { position: relative; padding: clamp(68px, 9vw, 128px) 0; }
.section + .section { border-top: 1px solid var(--line); }
/* 交替层：只用极小的蓝阶差，不换明暗 */
.band-a { background: rgba(10, 15, 29, .55); }
.band-b { background: rgba(13, 19, 36, .40); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand-200); font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-300));
}

.h2 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.1; letter-spacing: -.03em; }
.h2 em { font-style: normal; color: var(--brand-200); }
.lead { margin-top: 18px; max-width: 60ch; font-size: clamp(15px, 1.15vw, 17px); color: var(--fg-2); }

/* ============================ 首屏 ============================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 108px; padding-bottom: 64px; }
#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; opacity: 0; transition: opacity 1.1s ease;
}
#heroCanvas.ready { opacity: 1; }
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 76% 34%, rgba(124, 92, 255, .14), transparent 66%),
    linear-gradient(90deg, rgba(5, 7, 15, .93) 0%, rgba(5, 7, 15, .74) 30%, rgba(5, 7, 15, .16) 58%, rgba(5, 7, 15, 0) 72%),
    linear-gradient(180deg, rgba(5, 7, 15, .46) 0%, rgba(5, 7, 15, .10) 34%, rgba(5, 7, 15, .86) 92%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4vw, 64px); align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  height: 30px; padding: 0 13px; border-radius: var(--r-pill);
  background: rgba(124, 92, 255, .12); border: 1px solid rgba(185, 167, 255, .26);
  font-size: 12px; color: var(--brand-100); margin-bottom: 24px;
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .16); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

.hero h1 {
  font-size: clamp(34px, 4.35vw, 62px);
  line-height: 1.02; letter-spacing: -.038em; font-weight: 600;
  text-wrap: balance;
}
.hero h1 .grad {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 22px; max-width: 46ch; font-size: clamp(15px, 1.2vw, 17.5px); color: var(--fg-2); }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 16px; font-size: 12.5px; color: var(--fg-3); }

.hero-stats { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.hero-stats > div { padding: 18px 12px 0 0; }
.hero-stats b { display: block; font-size: clamp(20px, 2vw, 27px); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-stats span { display: block; margin-top: 5px; font-size: 11.5px; color: var(--fg-3); letter-spacing: .04em; }

/* 仪表盘玻璃卡（首屏右侧） */
.glass {
  position: relative; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(16, 24, 44, .92), rgba(8, 13, 26, .96));
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-2), var(--shadow-1);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.glass-bar {
  height: 40px; display: flex; align-items: center; gap: 7px;
  padding: 0 14px; border-bottom: 1px solid var(--line);
  background: rgba(5, 9, 20, .7);
}
.glass-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(185, 167, 255, .22); }
.glass-bar i:first-child { background: rgba(255, 95, 87, .55); }
.glass-bar i:nth-child(2) { background: rgba(255, 189, 46, .55); }
.glass-bar i:nth-child(3) { background: rgba(61, 220, 132, .55); }
.glass-bar span { margin-left: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--fg-3); }
.glass-body { padding: 18px 20px 20px; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { padding: 10px 12px; border-radius: var(--r-sm); background: rgba(185, 167, 255, .06); border: 1px solid var(--line); }
.kpi small { display: block; font-size: 10.5px; color: var(--fg-3); letter-spacing: .05em; }
.kpi b { display: block; margin-top: 4px; font-size: 16px; font-variant-numeric: tabular-nums; }
.kpi b.up { color: #3ddc84; }
.kpi b.warn { color: #ffb02e; }

.spark { width: 100%; height: 132px; display: block; }
.chart-note { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--fg-3); font-family: var(--mono); margin-top: 4px; }

/* ============================ 通用卡片 ============================ */
.grid { display: grid; gap: 14px; }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  position: relative; display: block; padding: 22px;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 24, 44, .70), rgba(9, 14, 27, .82));
  transition: transform .3s cubic-bezier(.2,.8,.3,1), border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(360px 220px at var(--mx, 50%) var(--my, 0%), rgba(124, 92, 255, .18), transparent 70%);
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-3); box-shadow: 0 28px 60px -34px rgba(124, 92, 255, .7); color: inherit; }
.card:hover::after { opacity: 1; }
.card h3 { font-size: 16.5px; margin-bottom: 8px; }
.card p { font-size: 13.5px; color: var(--fg-2); line-height: 1.62; }
.card .num { font-family: var(--mono); font-size: 11px; color: var(--brand-300); letter-spacing: .12em; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip {
  padding: 4px 9px; border-radius: 7px; font-size: 11px; color: var(--fg-3);
  background: rgba(185, 167, 255, .07); border: 1px solid var(--line);
}

/* ============================ 爆品追踪（真数据） ============================ */
.track-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.ad-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ad-card {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line-2); background: var(--bg-3);
  display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.8,.3,1), border-color .3s, box-shadow .3s;
}
.ad-card:hover { transform: translateY(-4px); border-color: var(--brand-300); box-shadow: 0 24px 50px -28px rgba(124, 92, 255, .85); }
/* 爆品卡：不依赖源素材的「数据卡」
   2026-10-27：素材质检 6/6 全部不适合公开展示（拼贴/真人手/纯文字海报/外挂字幕），
   阈值调不出来。改成数据卡：国家、品类、在投天数、同款数照常展示，
   视觉由 adId 决定的确定性信号条 + 水印国家码构成 —— 素材再烂也不会丑。
   原始创意仍然一点就到（点卡片跳广告库）。 */
.ad-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(var(--halo-1), .20), transparent 62%),
    radial-gradient(90% 70% at 92% 100%, rgba(var(--halo-2), .12), transparent 60%),
    linear-gradient(180deg, #12121b 0%, #0a0a10 100%);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 11px 12px 10px;
}
.ad-watermark {
  position: absolute; right: -6px; bottom: -18px; pointer-events: none;
  font-size: 92px; font-weight: 800; letter-spacing: -.06em; line-height: 1;
  color: rgba(243, 241, 250, .045);
  font-family: var(--mono);
}
.ad-tile-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.ad-tile .flag, .ad-tile .days {
  position: static;
  padding: 2px 7px; border-radius: 5px; font-size: 10px; font-weight: 600; letter-spacing: .06em;
  background: rgba(7, 7, 10, .6); border: 1px solid var(--line-2); color: var(--brand-100);
}
.ad-tile .days { color: var(--fg-3); font-weight: 500; letter-spacing: 0; }

/* 确定性信号条：同一 adId 永远同一形状 */
.ad-bars {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; gap: 3px;
  height: 44%; margin: 10px 0 0;
  mask-image: linear-gradient(180deg, #000 60%, rgba(0, 0, 0, .35));
  -webkit-mask-image: linear-gradient(180deg, #000 60%, rgba(0, 0, 0, .35));
}
.ad-bars i {
  flex: 1 1 0; min-width: 2px;
  border-radius: 2px 2px 1px 1px;
  background: linear-gradient(180deg, var(--brand-200), var(--brand));
  opacity: .55;
  transform-origin: bottom;
  transition: opacity .3s, transform .3s;
}
.ad-card:hover .ad-bars i { opacity: .95; }

.ad-tile-foot {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  font-size: 9.5px; color: var(--fg-4);
}
.ad-kicker { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-open { color: var(--brand-300); white-space: nowrap; opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s; }
.ad-card:hover .ad-open { opacity: 1; transform: none; }

/* 卡片下半部分（2026-10-27：上一轮整段替换时被误删，导致标题/时间挤在一起） */
.ad-meta { padding: 10px 12px 11px; }
.ad-name {
  font-size: 12px; line-height: 1.42; color: var(--fg);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.84em;
}
.ad-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.ad-tags span {
  font-size: 9.5px; padding: 2px 6px; border-radius: 4px;
  background: rgba(185, 167, 255, .10); color: var(--fg-3);
}
.ad-stat {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  margin-top: 9px; padding-top: 8px; border-top: 1px solid var(--line);
}
.ad-stat > span {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--mono); font-size: 10px; color: var(--fg-4);
}
.ad-stat > span:last-child { flex: 0 0 auto; text-align: right; }

/* 流程条 */
.flow { margin-top: 46px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.flow > div { position: relative; padding: 20px 16px 0 0; }
.flow > div::before {
  content: ""; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px rgba(124, 92, 255, .18);
}
.flow b { display: block; font-size: 13px; }
.flow span { display: block; margin-top: 6px; font-size: 12px; color: var(--fg-3); line-height: 1.5; }

/* ============================ 拆分视图（左图右文） ============================ */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; }
.fact-list { margin-top: 26px; border-top: 1px solid var(--line); }
.fact-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.fact-list dt, .fact-list span:first-child { color: var(--fg-3); }
.fact-list b { font-weight: 600; color: var(--fg); text-align: right; }

/* 可靠性三卡 */
.rel-card { padding: 24px 22px 22px; }
.rel-card .ico {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(124, 92, 255, .14); border: 1px solid rgba(185, 167, 255, .26); margin-bottom: 16px;
}
.rel-card .ico svg { width: 18px; height: 18px; stroke: var(--brand-200); fill: none; stroke-width: 1.6; }
.rel-card h3 { font-size: 16px; }
.rel-card p { margin-top: 8px; font-size: 13px; color: var(--fg-2); }

/* ============================ 数字带 ============================ */
.numbers { padding: clamp(48px, 6vw, 78px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(124, 92, 255, .045); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.numbers-grid b { display: block; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.035em; font-variant-numeric: tabular-nums; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbers-grid span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--fg-3); }

/* ============================ CTA / 页脚 ============================ */
.cta { position: relative; padding: clamp(72px, 9vw, 132px) 0; text-align: center; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 380px at 50% 100%, rgba(124, 92, 255, .34), transparent 70%);
}
.cta h2 { position: relative; font-size: clamp(30px, 4.6vw, 56px); letter-spacing: -.035em; }
.cta p { position: relative; margin-top: 16px; color: var(--fg-2); }
.cta .hero-actions { position: relative; justify-content: center; }

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 34px; background: rgba(5, 7, 15, .6); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-4); margin-bottom: 14px; font-weight: 600; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a { font-size: 13.5px; color: var(--fg-2); }
.foot-grid a:hover { color: var(--brand-200); }
.foot-desc { margin-top: 14px; font-size: 12.5px; color: var(--fg-3); line-height: 1.7; max-width: 42ch; }
.foot-bottom {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--fg-4);
}
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-bottom a { color: var(--fg-4); }
.foot-bottom a:hover { color: var(--brand-200); }
.live { display: inline-flex; align-items: center; gap: 6px; }
.live i { width: 5px; height: 5px; border-radius: 50%; background: #3ddc84; }

/* ============================ 动效基座 ============================ */
[data-reveal] { opacity: 0; transform: translateY(22px); will-change: transform, opacity; }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.8,.3,1), transform .8s cubic-bezier(.2,.8,.3,1); }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(20px); }
[data-reveal-stagger].is-in > * { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.8,.3,1), transform .7s cubic-bezier(.2,.8,.3,1); }

/* 声音开关 */
.sound-toggle {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(8, 13, 26, .92); border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  transition: border-color .2s, transform .2s;
}
.sound-toggle:hover { border-color: var(--brand-300); transform: scale(1.06); }
.sound-toggle svg { width: 18px; height: 18px; stroke: var(--fg-2); fill: none; stroke-width: 1.7; }
.sound-toggle[aria-pressed="true"] svg { stroke: var(--brand-200); }
.sound-toggle .wave { opacity: 0; }
.sound-toggle[aria-pressed="true"] .wave { opacity: 1; }
.sound-toggle .mute { opacity: 1; }
.sound-toggle[aria-pressed="true"] .mute { opacity: 0; }

/* 进度条 */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 100; background: var(--grad-brand); }

/* ============================ 响应式 ============================ */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: auto; padding-top: 120px; }
  .hero-visual { order: 2; }
  .track-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-right .btn-ghost { display: none; }
  .flow { grid-template-columns: 1fr; }
  .flow > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .flow > div::before { top: 20px; }
  .flow > div::after { display: none; }
  .numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
}
@media (max-width: 700px) {
  .g-4, .g-3, .g-2 { grid-template-columns: 1fr; }
  .ad-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .kpi-row { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .kpi b { font-size: 13px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .ad-cards { grid-template-columns: 1fr; }
  .brand svg { height: 22px; }
  .brand-word { font-size: 13px; letter-spacing: .14em; }
}

/* ============================ 无障碍：减少动效 ============================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
  #heroCanvas { display: none; }
  .hero { background: radial-gradient(800px 500px at 70% 30%, rgba(124, 92, 255, .22), transparent 70%); }
}

/* ============================ 钉住横滑（业务线） ============================ */
/* 钉住块必须自己占满一屏并垂直居中。
   2026-10-27 实测：原来只钉住 348px 高的 strip 却贴顶钉在 900px 视口里，
   钉住期间 61.3% 视口永远是空白（1440 下 552px）。 */
.pin-track {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 96px 0 64px;        /* 96 = 64 固定导航 + 32 呼吸，避免卡片被顶栏压住 */
}
#platform.section { padding-top: 0; padding-bottom: 0; }
.pin-inner {
  display: flex; align-items: stretch; gap: 18px;
  flex: 0 0 auto;
  will-change: transform;
}
.pin-head { flex: 0 0 300px; padding-right: 18px; }
.pin-card {
  flex: 0 0 228px;
  display: flex; flex-direction: column; justify-content: space-between;
  /* 高度跟视口走。900 视口下 495px：钉住期空白 45%，
     比原来的 61% 收了一半；卡里三行要点把中段填满，不再是"标题+一片空" */
  min-height: clamp(360px, 55svh, 560px);
  justify-content: flex-start;
  gap: 10px;
}

/* 左右渐隐：横滑时被裁的卡看起来是"还有"而不是"坏了" */
.pin-fade {
  position: absolute; top: 0; bottom: 0; width: 64px; z-index: 3; pointer-events: none;
  opacity: 0; transition: opacity .25s;
}
/* 渐隐条必须与 band-a 的**合成后**颜色一致：
   band-a 是 rgba(10,15,29,.55) 叠在 #07070A 上，实际 #090C15。
   原来直接用 #07070A，横滑时两侧会多出一条更黑的竖带（2026-10-27 实测）。 */
.pin-fade-l { left: 0; background: linear-gradient(90deg, #090C15, rgba(9, 12, 21, 0)); }
.pin-fade-r { right: 0; background: linear-gradient(270deg, #090C15, rgba(9, 12, 21, 0)); }
.pin-track[data-pinned="on"] .pin-fade.is-on { opacity: 1; }

/* 横滑进度条 */
.pin-progress {
  position: absolute; left: 0; right: 0; bottom: 34px; height: 2px; z-index: 4;
  background: rgba(185, 167, 255, .14); opacity: 0; transition: opacity .25s;
}
.pin-track[data-pinned="on"] .pin-progress { opacity: 1; }
.pin-progress i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--brand-300), var(--brand));
  transition: width .08s linear;
}
.pin-card h3 { margin-top: 12px; }
.pin-card .chips { margin-top: auto; padding-top: 16px; }
@media (max-width: 900px) {
  .pin-inner { display: block; }
  .pin-head { flex: none; padding-right: 0; }
  .pin-card { width: 100%; min-height: 0; margin-top: 14px; }
}

/* ============================ 图表描边 ============================ */
.spark-line { stroke-dasharray: 760; stroke-dashoffset: 760; }
.is-in .spark-line, .hero .spark-line { animation: draw 2.2s cubic-bezier(.2,.8,.3,1) .25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spark-area { opacity: 0; animation: fadein 1.2s ease .9s forwards; }
@keyframes fadein { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .spark-line { stroke-dashoffset: 0 !important; animation: none !important; }
  .spark-area { opacity: 1 !important; animation: none !important; }
}

/* ============================ 跨页转场（View Transitions） ============================
   Chrome 126+ 支持跨文档转场：站内跳转时旧页淡出、新页淡入，不需要 SPA 化。
   不支持的老浏览器会直接忽略这两条，属于渐进增强，不是"降级适配"。 */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(root) { animation: vt-in .34s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}


/* ============================ 配色试穿（3 套） ============================
   只换品牌色与光晕，底色台阶不动 —— 这样切色调不会破坏区段 L* 的连续性。
   切换入口在 /compare/，结果存 localStorage['zczhub:tone']。 */
html[data-tone="violet"] { }   /* 默认，见 :root */

html[data-tone="amber"] {
  --brand: #F5A524;
  --brand-600: #D98E12;
  --brand-300: #FFC46B;
  --brand-200: #FFD79A;
  --brand-100: #FFEBC7;
  --accent: #7C5CFF;
  --line: rgba(255, 196, 107, .14);
  --line-2: rgba(255, 196, 107, .22);
  --line-3: rgba(255, 196, 107, .32);
  --grad-brand: linear-gradient(112deg, #FFEBC7 0%, #FFC46B 42%, #F5A524 100%);
  --grad-soft: linear-gradient(180deg, rgba(245, 165, 36, .14), rgba(245, 165, 36, 0));
  --halo-1: 245, 165, 36;
  --halo-2: 124, 92, 255;
}

html[data-tone="teal"] {
  --brand: #2DD4BF;
  --brand-600: #14B8A6;
  --brand-300: #5EEAD4;
  --brand-200: #99F6E4;
  --brand-100: #CCFBF1;
  --accent: #A78BFA;
  --line: rgba(94, 234, 212, .14);
  --line-2: rgba(94, 234, 212, .22);
  --line-3: rgba(94, 234, 212, .32);
  --grad-brand: linear-gradient(112deg, #CCFBF1 0%, #5EEAD4 42%, #2DD4BF 100%);
  --grad-soft: linear-gradient(180deg, rgba(45, 212, 191, .14), rgba(45, 212, 191, 0));
  --halo-1: 45, 212, 191;
  --halo-2: 167, 139, 250;
}

/* ============================ 广告能力双卡 ============================ */
.cap-grid { margin-top: 46px; }
.cap-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(18, 18, 27, .72), rgba(10, 10, 15, .92));
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.3,1), border-color .35s, box-shadow .35s;
}
.cap-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-3);
  box-shadow: 0 34px 70px -40px rgba(124, 92, 255, .75);
}
.cap-media {
  padding: 20px 20px 4px;
  background:
    radial-gradient(520px 260px at 20% 0%, rgba(124, 92, 255, .10), transparent 70%),
    rgba(7, 7, 10, .5);
  border-bottom: 1px solid var(--line);
}
.cap-media svg { width: 100%; height: auto; display: block; }
.cap-body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.cap-head { display: flex; align-items: center; gap: 10px; }
.cap-head h3 { font-size: 17px; }
.cap-tag {
  font-size: 10.5px; padding: 3px 9px; border-radius: var(--r-pill);
  border: 1px solid; letter-spacing: .04em; flex: 0 0 auto;
}
.tag-half { color: #F5A524; border-color: rgba(245, 165, 36, .38); background: rgba(245, 165, 36, .10); }
.tag-read { color: #35E0C8; border-color: rgba(53, 224, 200, .38); background: rgba(53, 224, 200, .10); }
.cap-body > p { margin-top: 10px; font-size: 13.5px; color: var(--fg-2); line-height: 1.65; }
.cap-body > p strong { color: var(--fg); font-weight: 600; }
.cap-list { margin-top: 14px; display: grid; gap: 7px; }
.cap-list li { position: relative; padding-left: 16px; font-size: 12.5px; color: var(--fg-3); line-height: 1.55; }
.cap-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand-300);
}
.cap-list code {
  font-family: var(--mono); font-size: 11px; padding: 1px 5px; border-radius: 4px;
  background: rgba(185, 167, 255, .13); color: var(--brand-200);
}
.cap-card .chips { margin-top: auto; padding-top: 16px; }


/* 四块业务卡里的三行要点（原来只有一句描述，504px 高的卡空了 59%） */
.pin-list { margin-top: 4px; display: grid; gap: 7px; }
.pin-list li {
  position: relative; padding-left: 14px;
  font-size: 12px; line-height: 1.55; color: var(--fg-3);
}
.pin-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--brand-300);
}
.pin-card .chips { margin-top: auto; }


/* ============================================================================
   四块业务：栅格版（2026-10-27 起不再钉住）
   为什么去掉钉住：钉住要求被钉元素占满一屏，而 4 张卡的内容只有约 370px——
   撑到 100svh 就卡内空 40%，不撑就上下空 50%。两种都被读成"割裂"。
   改成正常栅格后：卡片按内容高度、第 4 张不再被裁、手机上不用横滑。
   ========================================================================== */
.pin-track[data-pin-mode="grid"] {
  min-height: 0;
  display: block;
  padding: 0;
  overflow: visible;
}
#platform.section { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.pin-track[data-pin-mode="grid"] .pin-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  will-change: auto;
}
.pin-track[data-pin-mode="grid"] .pin-head {
  grid-column: 1 / -1;
  max-width: 62ch;
  margin-bottom: 18px;
  padding-right: 0;
}
.pin-track[data-pin-mode="grid"] .pin-card {
  min-height: 0;
  padding: 20px 20px 18px;
  gap: 8px;
}
.pin-track[data-pin-mode="grid"] .pin-card h3 { font-size: 17px; }
.pin-track[data-pin-mode="grid"] .pin-card p { font-size: 13px; }
.pin-track[data-pin-mode="grid"] .pin-list li { font-size: 12.5px; }
.pin-track[data-pin-mode="grid"] .pin-fade,
.pin-track[data-pin-mode="grid"] .pin-progress { display: none; }
.pin-track[data-pin-mode="grid"] .pin-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-3);
  box-shadow: 0 26px 60px -40px rgba(var(--halo-1), .9);
}
@media (max-width: 1100px) {
  .pin-track[data-pin-mode="grid"] .pin-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pin-track[data-pin-mode="grid"] .pin-inner { grid-template-columns: 1fr; }
}
