/* ============================================================
   EigenLab 官网 — 深色科技风
   ============================================================ */

:root {
  --bg-0: #04070d;
  --bg-1: #060b14;
  --bg-2: #0b1322;
  --surface: rgba(13, 20, 36, 0.55);
  --surface-solid: #0d1424;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(96, 165, 250, 0.35);
  --text-1: #e8edf5;
  --text-2: #9aa7bd;
  --text-3: #5d6b84;
  --accent: #3b82f6;
  --accent-2: #60a5fa;
  --accent-3: #93c5fd;
  --ok: #4ade80;
  --glow: rgba(59, 130, 246, 0.32);
  --grad: linear-gradient(135deg, #7cb2ff 0%, #3b82f6 55%, #2563eb 100%);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas,
    monospace;
  --radius: 16px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(59, 130, 246, 0.35); color: #fff; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

.skip-link {
  position: fixed; top: -48px; left: 16px; z-index: 200;
  padding: 8px 16px; border-radius: 8px;
  background: var(--accent); color: #fff; font-size: 14px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 通用组件 ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 26px; border-radius: 12px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.25s ease,
    background-color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent-3); outline-offset: 3px; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(59, 130, 246, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  border: 1px solid var(--border);
  background: rgba(13, 20, 36, 0.4);
  backdrop-filter: blur(8px);
  color: var(--text-1);
}
.btn-ghost:hover {
  border-color: var(--border-strong);
  background: rgba(30, 45, 75, 0.4);
  transform: translateY(-2px);
}

.btn-lg { padding: 15px 34px; border-radius: 14px; font-size: 16px; }
.btn-sm { padding: 9px 20px; border-radius: 10px; font-size: 14px; }

.mono-label {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em;
  color: var(--text-3); text-transform: uppercase;
}
.mono-label-sm {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  color: var(--accent-2); margin-right: 8px;
}

/* ---------- 导航 ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4, 7, 13, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}

/* 品牌 Logo 组合：图形 + "eigen" 手写体（图片）+ "Lab"（文字）
   字号与对齐按 logo 图高等比缩放，基线与手写体基线（图内 y=112/150）对齐 */
.brand {
  --brand-h: 32px;
  display: inline-flex; align-items: center;
  gap: calc(var(--brand-h) * 0.15);
}
.brand-logo { height: var(--brand-h); width: auto; display: block; }
.brand-lab {
  font-size: calc(var(--brand-h) * 0.836);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  transform: translateY(calc(var(--brand-h) * -0.045));
  background: linear-gradient(120deg, #2fa3ef, #1b86da);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.footer .brand { --brand-h: 36px; }

.nav-links { display: flex; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 8px 14px; font-size: 14.5px; color: var(--text-2);
  border-radius: 8px; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-1); }
.nav-links a.active { color: var(--text-1); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--grad);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.06em; color: var(--text-2);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.lang-toggle:hover {
  border-color: var(--border-strong); color: var(--text-1);
  background: rgba(30, 45, 75, 0.35);
}

.menu-toggle {
  display: none; flex-direction: column; justify-content: center;
  width: 42px; height: 42px; gap: 7px;
  border: 1px solid var(--border); border-radius: 10px;
}
.menu-toggle span {
  display: block; width: 18px; height: 2px; margin: 0 auto;
  background: var(--text-1); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 96px) 0 96px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 78%);
}

.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow-a {
  width: 560px; height: 560px; top: -220px; left: 50%;
  transform: translateX(-85%);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.30), transparent 65%);
  animation: drift 14s ease-in-out infinite alternate;
}
.glow-b {
  width: 460px; height: 460px; top: -140px; left: 50%;
  transform: translateX(15%);
  background: radial-gradient(circle, rgba(56, 130, 246, 0.18), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translateX(-85%) translateY(0); }
  to   { transform: translateX(-70%) translateY(40px); }
}

.hero-inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 18px; border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: rgba(37, 99, 235, 0.10);
  font-size: 13.5px; color: var(--accent-3); letter-spacing: 0.04em;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  margin-top: 28px;
  font-size: clamp(38px, 6.4vw, 72px);
  font-weight: 800; line-height: 1.16; letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero-lead {
  margin-top: 24px; max-width: 720px;
  font-size: clamp(15.5px, 1.6vw, 18px); color: var(--text-2);
}

.hero-cta { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }

/* ---------- 流水线可视化面板 ---------- */

.pipeline-panel {
  position: relative;
  width: 100%; max-width: 1040px;
  margin-top: 76px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(37, 99, 235, 0.07), transparent 70%),
    rgba(9, 14, 26, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 90px -40px rgba(2, 6, 17, 0.9);
  overflow: hidden;
}
.pipeline-panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.5), transparent);
}

.pipeline-head, .pipeline-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.pipeline-head { border-bottom: 1px solid rgba(148, 163, 184, 0.08); }
.pipeline-foot { border-top: 1px solid rgba(148, 163, 184, 0.08); gap: 18px; }

.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 8px var(--ok);
  animation: pulse 1.8s ease-in-out infinite;
}

.pipeline-stage { position: relative; padding: 28px 20px 52px; }
.pipeline-stage svg { width: 100%; height: auto; }

.flow-dash path {
  stroke-dasharray: 5 9;
  animation: dashflow 1.1s linear infinite;
}
@keyframes dashflow { to { stroke-dashoffset: -14; } }

.node-card {
  fill: rgba(13, 20, 36, 0.75);
  stroke: rgba(148, 163, 184, 0.18);
  stroke-width: 1;
  transition: stroke 0.3s;
}
.node:hover .node-card { stroke: rgba(96, 165, 250, 0.55); }
.node-ai .node-card { stroke: rgba(96, 165, 250, 0.4); }

.node-icon {
  stroke: var(--accent-3); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; fill: none;
  animation: nodeGlow 3.5s ease-in-out infinite;
}
.node-ai .node-icon { animation-delay: 0.8s; }
@keyframes nodeGlow { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

.node-index {
  font-family: var(--font-mono); font-size: 11px;
  fill: var(--text-3); letter-spacing: 0.1em;
}
.node-label {
  font-family: var(--font-sans); font-size: 14px;
  fill: var(--text-2); letter-spacing: 0.02em;
}

.float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(10, 16, 30, 0.85);
  backdrop-filter: blur(8px);
  font-size: 13px; color: var(--text-2);
  font-family: var(--font-mono); letter-spacing: 0.02em;
  box-shadow: 0 12px 30px -12px rgba(2, 6, 17, 0.8);
  animation: floaty 6s ease-in-out infinite;
  white-space: nowrap;
}
.chip-a { top: 13%; left: 6%; }
.chip-b { top: 8%; right: 6%; animation-delay: 1.4s; }
.chip-c { bottom: 16px; left: 12%; animation-delay: 2.8s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.chip-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.chip-dot.ok { background: var(--ok); box-shadow: 0 0 8px rgba(74, 222, 128, 0.6); }
.chip-dot.info { background: var(--accent-2); box-shadow: 0 0 8px var(--glow); }

.progress {
  flex: 1; height: 5px; border-radius: 999px;
  background: rgba(148, 163, 184, 0.12); overflow: hidden;
}
.progress-bar {
  width: 0; height: 100%; border-radius: 999px;
  background: var(--grad);
  transition: width 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.reveal.in .progress-bar { width: 68%; }

/* ---------- 关键数字 ---------- */

.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-1); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-top: 44px; padding-bottom: 44px;
}
.stat { text-align: center; padding: 8px 12px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%); height: 56%; width: 1px;
  background: var(--border);
}
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(30px, 3.4vw, 42px); font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #e8edf5, #a8c6f0);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat-label { margin-top: 6px; font-size: 13.5px; color: var(--text-3); letter-spacing: 0.04em; }

/* ---------- 通用 Section ---------- */

.section { padding: 116px 0; }

.section-alt {
  background:
    radial-gradient(ellipse 55% 60% at 50% 40%, rgba(37, 99, 235, 0.05), transparent 70%),
    var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head { max-width: 640px; margin: 0 auto 64px; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2));
}
.eyebrow::after { background: linear-gradient(90deg, var(--accent-2), transparent); }

.section-head h2 {
  margin-top: 18px;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800; letter-spacing: -0.015em; line-height: 1.3;
}
.section-lead { margin-top: 16px; color: var(--text-2); font-size: 16px; }

/* ---------- 核心能力 ---------- */

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

.cap-card {
  padding: 34px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.62), rgba(13, 20, 36, 0.22));
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.cap-card:hover {
  transform: translateY(-5px);
  border-color: rgba(96, 165, 250, 0.42);
  box-shadow: 0 24px 48px -24px rgba(2, 8, 23, 0.9), 0 0 0 1px rgba(96, 165, 250, 0.08);
}
.cap-icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-3);
  background: rgba(37, 99, 235, 0.13);
  border: 1px solid rgba(96, 165, 250, 0.25);
}
.cap-icon svg { width: 24px; height: 24px; }
.cap-card h3 { margin-top: 22px; font-size: 18px; font-weight: 700; letter-spacing: 0.01em; }
.cap-card p { margin-top: 10px; font-size: 14.5px; color: var(--text-2); }

/* ---------- 解决方案 ---------- */

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

.sol-tile {
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(11, 19, 34, 0.45);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.sol-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(96, 165, 250, 0.42);
  background: rgba(15, 24, 44, 0.6);
}
.sol-top { display: flex; align-items: flex-start; justify-content: space-between; color: var(--accent-3); }
.sol-top svg { width: 26px; height: 26px; }
.sol-index { font-family: var(--font-mono); font-size: 13px; color: var(--text-3); letter-spacing: 0.1em; }
.sol-tile h3 { margin-top: 20px; font-size: 18px; font-weight: 700; }
.sol-tile p { margin-top: 8px; font-size: 14.5px; color: var(--text-2); }

/* ---------- 平台架构 ---------- */

.platform-stack {
  display: flex; flex-direction: column; gap: 14px;
  position: relative; padding-left: 26px;
}
.platform-stack::before {
  content: ""; position: absolute; left: 8px; top: 28px; bottom: 28px; width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #60a5fa, #2563eb 60%, rgba(37, 99, 235, 0.15));
}
.layer {
  position: relative;
  display: grid; grid-template-columns: 250px 1fr; align-items: center;
  gap: 24px;
  padding: 24px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(13, 20, 36, 0.72), rgba(13, 20, 36, 0.3));
  transition: border-color 0.3s ease;
}
.layer::before {
  content: ""; position: absolute; left: -24px; top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--glow);
}
.layer:hover { border-color: rgba(96, 165, 250, 0.4); }

.layer-name {
  display: flex; align-items: center; gap: 14px;
  font-size: 17px; font-weight: 700;
}
.layer-index {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  color: var(--accent-2); letter-spacing: 0.08em;
  padding: 4px 9px; border-radius: 7px;
  border: 1px solid rgba(96, 165, 250, 0.3);
  background: rgba(37, 99, 235, 0.12);
}
.layer-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 13.5px; color: var(--text-2);
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(9, 14, 26, 0.5);
  transition: color 0.2s, border-color 0.2s;
}
.layer:hover .chip { border-color: rgba(96, 165, 250, 0.24); color: var(--text-1); }

/* ---------- 核心优势 ---------- */

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

.why-item {
  position: relative;
  padding: 34px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(11, 19, 34, 0.45);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.why-item:hover { transform: translateY(-4px); border-color: rgba(96, 165, 250, 0.4); }
.why-index {
  position: absolute; top: 18px; right: 24px;
  font-family: var(--font-mono); font-size: 40px; font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(96, 165, 250, 0.14);
  transition: color 0.3s;
}
.why-item:hover .why-index { color: rgba(96, 165, 250, 0.26); }
.why-item h3 { font-size: 19px; font-weight: 700; }
.why-item p { margin-top: 10px; font-size: 15px; color: var(--text-2); max-width: 420px; }

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

.cta-section { padding-top: 60px; padding-bottom: 130px; }

.cta-panel {
  position: relative;
  max-width: 780px; margin: 0 auto;
  padding: 72px 40px;
  border-radius: 24px;
  text-align: center;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(37, 99, 235, 0.16), transparent 70%),
    rgba(9, 14, 26, 0.8);
  overflow: hidden;
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.6), transparent);
}
.cta-glow {
  position: absolute; left: 50%; bottom: -160px;
  width: 480px; height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.28), transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}
.cta-panel h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.015em; }
.cta-panel p { margin: 18px auto 36px; max-width: 520px; color: var(--text-2); font-size: 16px; }

/* ---------- 页脚 ---------- */

.footer { border-top: 1px solid var(--border); background: #03060b; padding: 72px 0 36px; }

.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.09);
}

.footer-blurb { margin-top: 20px; max-width: 380px; font-size: 14px; color: var(--text-3); }

.footer-col h4 {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-2);
  margin-bottom: 18px;
}
.footer-col a {
  display: block; padding: 6px 0; font-size: 14.5px; color: var(--text-3);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-1); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-top: 30px; font-size: 13px; color: var(--text-3);
}
.icp { font-size: 13px; color: var(--text-3); transition: color 0.2s; }
.icp:hover { color: var(--text-2); }

/* ---------- 滚动显现 ---------- */

.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }

.cap-grid .reveal:nth-child(2), .sol-grid .reveal:nth-child(2),
.why-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.cap-grid .reveal:nth-child(3), .sol-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.cap-grid .reveal:nth-child(4), .sol-grid .reveal:nth-child(4),
.why-grid .reveal:nth-child(4) { transition-delay: 0.1s; }
.cap-grid .reveal:nth-child(5), .sol-grid .reveal:nth-child(5) { transition-delay: 0.18s; }
.cap-grid .reveal:nth-child(6), .sol-grid .reveal:nth-child(6) { transition-delay: 0.24s; }
.stats-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.stats-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.stats-grid .reveal:nth-child(4) { transition-delay: 0.24s; }

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

@media (max-width: 1024px) {
  .cap-grid, .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .layer { grid-template-columns: 200px 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 62px; }
  .container { padding: 0 20px; }
  .brand { --brand-h: 26px; }
  .footer .brand { --brand-h: 30px; }

  .nav-cta { display: none; }

  .menu-toggle { display: flex; }

  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 2px;
    padding: 18px 24px 26px;
    background: rgba(4, 7, 13, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 13px 10px; font-size: 16px; }
  .nav-links a.active::after { display: none; }

  .hero { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 60px; }
  .hero-cta .btn { width: 100%; }
  .pipeline-panel { margin-top: 54px; }

  .float-chip { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stat:nth-child(3)::before { display: none; }

  .section { padding: 78px 0; }
  .section-head { margin-bottom: 44px; }

  .cap-grid, .sol-grid, .why-grid { grid-template-columns: 1fr; }

  .layer { grid-template-columns: 1fr; gap: 14px; }
  .platform-stack { padding-left: 20px; }
  .platform-stack::before { left: 5px; }
  .layer::before { left: -19px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------- 减弱动态效果 ---------- */

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