/* ============================================================
   琛岀┖ AI 路 瀹樼綉
   视觉语言：深空黑底 + 蓝紫辉光 + 网格透视 + 玻璃拟态
   ============================================================ */

:root {
  --void: #05060a;
  --bg: #0a0c12;
  --panel: rgba(20, 23, 32, 0.72);
  --panel-solid: #14171f;
  --ink: #f2f5fa;
  --ink-2: #a9b2c3;
  --ink-3: #6b7488;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --c1: #4a9eff;
  --c2: #7c5cff;
  --c3: #22d3ee;
  --c4: #34e39b;
  --c5: #ffb340;
  --grad-hot: linear-gradient(115deg, #6fd0ff 0%, #4a9eff 32%, #7c5cff 72%, #c77dff 100%);
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #2b3040 transparent; }

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--void);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::-webkit-scrollbar { width: 9px; }
body::-webkit-scrollbar-thumb { background: #2b3040; border-radius: 9px; }
body::-webkit-scrollbar-track { background: transparent; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- 背景层 ---------- */

#field { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

.bg-layer { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

.bg-grid {
  background-image:
    linear-gradient(to right, rgba(140, 170, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(140, 170, 255, 0.055) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 0%, transparent 78%);
}

.orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.5;
}
.orb-a {
  top: -22vh; left: -8vw; width: 62vw; height: 62vw;
  background: radial-gradient(circle, rgba(74, 158, 255, 0.5), transparent 66%);
  animation: drift-a 26s ease-in-out infinite alternate;
}
.orb-b {
  top: 12vh; right: -16vw; width: 56vw; height: 56vw;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.46), transparent 66%);
  animation: drift-b 32s ease-in-out infinite alternate;
}
.orb-c {
  top: 58vh; left: 24vw; width: 48vw; height: 48vw;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 68%);
  animation: drift-a 38s ease-in-out infinite alternate-reverse;
}
@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(7vw, 9vh, 0) scale(1.14); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.08); }
  to { transform: translate3d(-9vw, 6vh, 0) scale(1); }
}


/* ---------- 顶栏 ---------- */

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 40px;
  height: 68px;
  padding: 0 clamp(20px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s, height 0.35s;
}
.topbar.is-stuck {
  height: 60px;
  border-bottom-color: var(--line);
  background: rgba(8, 10, 16, 0.72);
  backdrop-filter: blur(20px) saturate(150%);
}

/* logo 与导航左对齐成组，下载按钮靠右 */
.topbar > .btn { margin-left: auto; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: 0.01em; flex: none; }
.logo img { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; flex: none; }
.logo .accent { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }

.topnav { display: flex; align-items: center; gap: 34px; font-size: 14px; color: var(--ink-2); }
.topnav a { position: relative; padding: 6px 0; white-space: nowrap; transition: color 0.2s; }
.topnav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--grad-hot);
  transition: width 0.28s var(--ease);
}
.topnav a:hover { color: var(--ink); }
.topnav a:hover::after { width: 100%; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }

.btn-hot {
  color: #fff;
  font-weight: 800;
  background: linear-gradient(115deg, #5eb8ff 0%, #3d8bff 45%, #7b5bff 100%);
  background-size: 160% 100%;
  box-shadow: 0 10px 30px rgba(74, 158, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: hue 8s ease-in-out infinite;
  text-shadow: 0 1px 3px rgba(8, 16, 40, 0.35);
}
.btn-hot:hover { box-shadow: 0 16px 44px rgba(124, 92, 255, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.3); }

.btn-ghost {
  height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.btn-ghost:hover { border-color: rgba(74, 158, 255, 0.6); background: rgba(74, 158, 255, 0.1); transform: translateY(-2px); }

.topbar .btn { height: 40px; padding: 0 18px; font-size: 13.5px; }

@keyframes hue {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.wrap { width: min(1440px, 90vw); margin: 0 auto; }
section { position: relative; }

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 84px 0 40px;
  text-align: center;
}

/* 首屏主视觉：软件界面预览（对标"有产品感"的首屏） */
.hero-visual {
  position: relative;
  width: min(880px, 78vw);
  margin: 26px auto 0;
  perspective: 1600px;
}
.hero-window {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: linear-gradient(160deg, #232a3a, #12161f);
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 70px rgba(74, 158, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.hero-window::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-hot);
  opacity: 0.28;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-window .win-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}
.hero-window .win-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2c3141; }
.hero-window .win-bar i:nth-child(1) { background: rgba(255, 107, 107, 0.7); }
.hero-window .win-bar i:nth-child(2) { background: rgba(255, 196, 84, 0.7); }
.hero-window .win-bar i:nth-child(3) { background: rgba(88, 214, 141, 0.7); }
.hero-window .win-bar span { margin-left: 8px; }
.hero-window img { width: 100%; height: auto; display: block; }

.hero-glow {
  position: absolute;
  top: 4vh; left: 50%;
  width: min(1000px, 92vw);
  height: 460px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(74, 158, 255, 0.26), rgba(124, 92, 255, 0.12) 42%, transparent 70%);
  filter: blur(48px);
  pointer-events: none;
}

.hero-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 17px 7px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px);
  color: #cbd4e6;
  font-size: 12.5px;
  letter-spacing: 0.05em;
}
.hero-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c4); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 227, 155, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 227, 155, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 227, 155, 0); }
}

.hero h1 {
  position: relative;
  margin: 22px 0 0;
  max-width: 18em;
  font-size: clamp(48px, 7.6vw, 118px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero h1 .grad { margin-left: -0.06em; }
.hero h1 .grad {
  background: var(--grad-hot);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hue 9s ease-in-out infinite;
}

.hero-sub {
  position: relative;
  max-width: 700px;
  margin: 22px auto 0;
  color: var(--ink-2);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.8;
}
.hero-sub em { font-style: normal; color: #d7e6ff; }

.hero-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-cta .btn { height: 48px; padding: 0 28px; font-size: 15px; }

.hero-facts {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin-top: 20px;
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: 0.03em;
}
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--c1); }

/* ---------- 首屏管道 ---------- */

.pipe-strip { position: relative; z-index: 1; padding-bottom: 36px; }

.pipeline {
  position: relative;
  width: 100%;
  padding: 20px 26px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(22, 26, 38, 0.82), rgba(10, 12, 20, 0.7));
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.pipeline::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-hot);
  opacity: 0.24;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pipe-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}
.pipe-head b { color: var(--ink-2); font-weight: 600; }
.pipe-live { display: inline-flex; align-items: center; gap: 8px; color: var(--c4); }
.pipe-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }

.pipe-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  padding: 22px 2px 4px;
}

.pipe-rail {
  position: absolute;
  top: 43px; left: 8%; right: 8%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.pipe-rail::after {
  content: "";
  position: absolute;
  top: 0; left: -30%;
  width: 32%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--c1), var(--c2), transparent);
  animation: rail 4.2s linear infinite;
}
@keyframes rail { to { left: 100%; } }

.node { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; width: 15.5%; }
.node-ic {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 13px;
  background: linear-gradient(160deg, rgba(38, 44, 62, 0.92), rgba(16, 19, 28, 0.96));
  color: #b9c8e6;
  transition: transform 0.3s var(--ease), border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.node-ic svg { width: 19px; height: 19px; }
.node small { color: var(--ink-3); font-size: 11px; letter-spacing: 0.04em; white-space: nowrap; transition: color 0.3s; }

.node.is-on .node-ic {
  border-color: rgba(74, 158, 255, 0.78);
  color: #eaf4ff;
  box-shadow: 0 0 0 4px rgba(74, 158, 255, 0.12), 0 10px 28px rgba(74, 158, 255, 0.34);
  transform: translateY(-3px) scale(1.06);
}
.node.is-on small { color: #d5e8ff; }
.node.is-soon .node-ic { border-style: dashed; color: var(--ink-3); }
.node.is-soon small { color: var(--c5); }

/* 悬浮仪表卡 */
.floaty {
  position: absolute;
  z-index: 3;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(16, 20, 30, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  text-align: left;
  animation: floaty 7s ease-in-out infinite;
}
.floaty b { display: block; font-size: 12.5px; color: #dce7f8; }
.floaty span { display: block; margin-top: 2px; color: var(--ink-3); font-size: 10.5px; font-family: var(--mono); }
.f-a { top: 120px; left: -46px; animation-delay: -1.4s; }
.f-b { top: 84px; right: -46px; animation-delay: -3.6s; }
.f-c { bottom: 96px; right: -52px; animation-delay: -5.2s; }
.f-bar { width: 116px; height: 4px; margin-top: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.f-bar i { display: block; height: 100%; border-radius: 4px; background: var(--grad-hot); }
.f-a .f-bar i { width: 74%; }
.f-c .f-bar i { width: 46%; background: linear-gradient(90deg, var(--c4), var(--c3)); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

.scroll-hint {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--ink-3);
  font-size: 10px;
  letter-spacing: 0.24em;
}
.scroll-hint i {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(140, 170, 255, 0.7), transparent);
  animation: drop 2.2s ease-in-out infinite;
}
@keyframes drop {
  0% { transform: scaleY(0.2); transform-origin: top; opacity: 0.2; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0.1; }
}

/* ---------- 滚动文字带 ---------- */

.marquee {
  position: relative;
  z-index: 1;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 16, 0.5);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-row { display: flex; width: max-content; animation: slide 32s linear infinite; }
.marquee-row.rev { animation-direction: reverse; animation-duration: 40s; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 0 22px;
  color: #7d879b;
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee-item b { color: #dbe6f7; font-weight: 800; }
.marquee-item i { width: 6px; height: 6px; border-radius: 50%; background: var(--c2); }
.marquee-item.hot b { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 区块通用 ---------- */

.sec { padding: clamp(90px, 11vh, 150px) 0; z-index: 1; }

.sec-head { max-width: 800px; margin-bottom: clamp(46px, 6vh, 76px); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--c3);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--c3); opacity: 0.7; }

.sec-head h2 {
  font-size: clamp(36px, 5vw, 76px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.05em;
}
.sec-head h2 .grad { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head h2 .thin { font-weight: 300; color: var(--ink-2); }
.sec-head p {
  margin-top: 22px;
  max-width: 620px;
  color: var(--ink-2);
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 1.85;
}

/* ---------- 流水线大卡 ---------- */

.flow { display: grid; gap: 18px; }

.flow-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr 1.05fr;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  padding: clamp(22px, 2.6vw, 34px) clamp(22px, 3vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(120deg, rgba(22, 26, 38, 0.86), rgba(12, 14, 22, 0.72));
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: border-color 0.35s, transform 0.45s var(--ease), box-shadow 0.45s;
}
.flow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(74, 158, 255, 0.13), transparent 42%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.flow-card:hover { border-color: rgba(74, 158, 255, 0.42); transform: translateY(-3px); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45); }
.flow-card:hover::before { opacity: 1; }

.flow-card .idx {
  font-family: var(--mono);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(140, 170, 255, 0.45);
  transition: -webkit-text-stroke-color 0.35s;
}
.flow-card:hover .idx { -webkit-text-stroke-color: var(--c1); }

.flow-main h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.flow-main p { margin-top: 10px; max-width: 520px; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.chip-live { border: 1px solid rgba(52, 227, 155, 0.35); background: rgba(52, 227, 155, 0.1); color: var(--c4); }
.chip-soon { border: 1px solid rgba(255, 179, 64, 0.35); background: rgba(255, 179, 64, 0.1); color: var(--c5); }

.flow-side { display: grid; gap: 9px; }
.flow-side .bar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.028);
  color: #b9c3d6;
  font-size: 12.5px;
  transition: border-color 0.3s, background 0.3s;
}
.flow-card:hover .flow-side .bar { border-color: rgba(124, 92, 255, 0.32); background: rgba(124, 92, 255, 0.07); }
.flow-side .bar b { color: #e8eefb; font-weight: 700; white-space: nowrap; }
.flow-side .bar span { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-side .bar .tagd { margin-left: auto; color: var(--c3); font-family: var(--mono); font-size: 10.5px; white-space: nowrap; }

/* ---------- 界面展示区 ---------- */

.stage {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(26, 30, 44, 0.9), rgba(9, 11, 18, 0.9));
  box-shadow: 0 50px 130px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-hot);
  opacity: 0.2;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.stage-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 14px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.stage-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c3141; }
.stage-bar i:first-child { background: rgba(255, 107, 107, 0.75); }
.stage-bar i:nth-child(2) { background: rgba(255, 196, 84, 0.75); }
.stage-bar i:nth-child(3) { background: rgba(88, 214, 141, 0.75); }
.stage-bar span { margin-left: 10px; }

.stage-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 6px 14px; }
.tab {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-3);
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.tab:hover { color: var(--ink-2); border-color: var(--line-2); }
.tab.is-active {
  border-color: rgba(74, 158, 255, 0.65);
  background: rgba(74, 158, 255, 0.14);
  color: #e6f2ff;
  box-shadow: 0 6px 20px rgba(74, 158, 255, 0.22);
}

.stage-shot {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0b0d14;
}
.stage-shot img {
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.45s ease, transform 0.7s var(--ease);
}
.stage-shot img.is-shown { opacity: 1; transform: scale(1); }
.stage-shot img[hidden] { display: none !important; }

.stage-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 8px 2px;
  color: var(--ink-3);
  font-size: 12.5px;
}
.stage-cap b { color: #cdd8ea; font-weight: 700; }

/* ---------- 下载 ---------- */

.dl {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  padding: clamp(28px, 5vw, 72px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 88% 8%, rgba(74, 158, 255, 0.24), transparent 46%),
    radial-gradient(circle at 6% 96%, rgba(124, 92, 255, 0.22), transparent 48%),
    linear-gradient(150deg, rgba(24, 28, 42, 0.92), rgba(9, 11, 18, 0.9));
  overflow: hidden;
}
.dl::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-hot);
  opacity: 0.3;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.dl h2 {
  font-size: clamp(32px, 4.4vw, 66px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.dl h2 span { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dl p { margin-top: 18px; max-width: 540px; color: var(--ink-2); font-size: 15px; line-height: 1.85; }

.dl-file {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 16px 18px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(5, 6, 10, 0.55);
}
.dl-file .ic {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(74, 158, 255, 0.16);
  color: var(--c1);
}
.dl-file strong { display: block; font-size: 14.5px; }
.dl-file span { display: block; margin-top: 2px; color: var(--ink-3); font-size: 12px; font-family: var(--mono); }
.dl-file .btn { margin-left: auto; }

.dl-note { margin-top: 18px; color: var(--ink-3); font-size: 12px; }
.dl-note a { color: #a8b6cc; border-bottom: 1px solid var(--line-2); }

/* ---------- 页脚 ---------- */

.foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px 40px;
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 12.5px;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.foot-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.foot-links a:hover { color: var(--c1); }
.foot-wx { cursor: zoom-in; }

.foot-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px dashed var(--line);
}
.foot-cta p { color: var(--ink-2); font-size: clamp(16px, 1.6vw, 22px); font-weight: 700; letter-spacing: -0.02em; }
.foot-cta p span { color: var(--c1); }

/* ---------- 二维码浮层 ---------- */

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 6vw;
  background: rgba(3, 4, 8, 0.86);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.qr-modal[aria-hidden="false"] { opacity: 1; visibility: visible; }
.qr-modal .qr-box {
  padding: 24px;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: linear-gradient(160deg, #161a24, #0a0c12);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.7);
  text-align: center;
  transform: scale(0.94);
  transition: transform 0.3s var(--ease);
}
.qr-modal[aria-hidden="false"] .qr-box { transform: scale(1); }
.qr-modal img { width: min(280px, 62vw); height: auto; border-radius: 14px; }
.qr-modal p { margin-top: 14px; color: var(--ink-2); font-size: 13.5px; }
.qr-modal .qr-tip { margin-top: 4px; color: var(--ink-3); font-size: 11.5px; }

/* ---------- 协议页 ---------- */

.legal { width: min(900px, 90vw); margin: 0 auto; padding: 128px 0 100px; }
.legal .back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  color: var(--ink-3);
  font-size: 13px;
  transition: color 0.2s;
}
.legal .back:hover { color: var(--c1); }
.legal h1 {
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.legal .legal-meta { margin: 12px 0 42px; color: var(--ink-3); font-size: 13px; font-family: var(--mono); }
.legal h2 {
  margin: 46px 0 14px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.legal h2::before {
  content: "";
  display: inline-block;
  width: 3px; height: 17px;
  margin-right: 11px;
  border-radius: 3px;
  background: var(--grad-hot);
  vertical-align: -2px;
}
.legal h2:first-of-type { margin-top: 30px; }
.legal p, .legal li { color: #aab4c6; font-size: 14.5px; line-height: 1.9; }
.legal p { margin-bottom: 14px; }
.legal ol, .legal ul { margin-bottom: 14px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--c1); }
.legal strong { color: var(--ink); font-weight: 700; }
.legal blockquote {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-left: 2px solid rgba(74, 158, 255, 0.55);
  border-radius: 0 12px 12px 0;
  background: rgba(74, 158, 255, 0.07);
}
.legal blockquote p { margin: 0; color: #c6cfdd; font-size: 14px; }
.legal code {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #8cc4ff;
  font-family: var(--mono);
  font-size: 13px;
}
.legal-table-wrap {
  margin-bottom: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.legal table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.legal table th, .legal table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: #aab4c6;
}
.legal table th { background: rgba(255, 255, 255, 0.045); color: var(--ink); font-size: 12.5px; white-space: nowrap; }
.legal table tbody tr:last-child td { border-bottom: 0; }

.dl-note a:hover { color: var(--c1); }

.qr-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: rgba(5, 6, 10, 0.5);
  text-align: center;
}
.qr-card img {
  width: 150px; height: 150px;
  border-radius: 12px;
  cursor: zoom-in;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.qr-card img:hover { transform: scale(1.05); box-shadow: 0 12px 34px rgba(74, 158, 255, 0.3); }
.qr-card strong { font-size: 13.5px; }
.qr-card span { color: var(--ink-3); font-size: 11.5px; }

/* ---------- 滚动入场编排 ---------- */

/* 入场动画：默认可见（无 JS / 截图 / IO 失效时也能正常显示），
   JS 加上 .js-anim 后才启用初始隐藏态 */
html.js-anim [data-rise] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
html.js-anim [data-rise].is-in { opacity: 1; transform: none; }

/* 首屏标题与文案入场（延迟极短，避免首屏停留时仍处半透明态） */
.hero h1    { animation: heroIn 0.6s var(--ease) both; }
.hero-sub   { animation: heroIn 0.6s var(--ease) 0.06s both; }
.hero-cta   { animation: heroIn 0.6s var(--ease) 0.12s both; }
.hero-facts { animation: heroIn 0.6s var(--ease) 0.18s both; }

@keyframes heroIn {
  from { transform: translateY(16px); }
  to   { transform: translateY(0); }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1180px) {
  .flow-card { grid-template-columns: 68px 1fr; }
  .flow-side { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
  .dl { grid-template-columns: minmax(0, 1fr); }
  .qr-card { justify-self: start; }
}

@media (max-width: 980px) {
  .topnav { display: none; }
  .hero { min-height: auto; padding: 120px 0 64px; }
  .hero h1 { font-size: clamp(44px, 11vw, 84px); }
  .floaty { display: none; }
  .pipeline { margin-top: 44px; padding: 16px 14px 12px; }
  .pipe-track { flex-wrap: wrap; justify-content: center; gap: 14px 4px; }
  .pipe-rail { display: none; }
  .node { width: 30%; }
  .sec-head h2 { font-size: clamp(32px, 6.4vw, 54px); }
  .foot { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-facts { gap: 8px 16px; font-size: 11.5px; }
  .flow-card { grid-template-columns: 1fr; gap: 14px; }
  .flow-card .idx { font-size: 30px; }
  .flow-main h3 { font-size: 19px; }
  .flow-main p { font-size: 13.5px; }
  .dl-file { flex-wrap: wrap; }
  .dl-file .btn { width: 100%; margin-left: 0; }
  .stage { padding: 10px; border-radius: 20px; }
  .stage-tabs { gap: 6px; }
  .tab { padding: 6px 12px; font-size: 12px; }
  .foot-cta { flex-direction: column; align-items: flex-start; }
  .legal { padding: 104px 0 72px; }
  .legal p, .legal li { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-rise] { opacity: 1 !important; transform: none !important; }
  .hero h1 .line > span { transform: none !important; opacity: 1 !important; }
  #field { display: none; }
}

