/* ==========================================================================
   ONECGEV · 重卡充电运营平台 官网样式
   设计语言：深色科技 / 电光渐变 / 玻璃拟态 / 多层景深
   ========================================================================== */

:root {
  --bg: #04060c;
  --bg-soft: #080d18;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.02);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #e9f1ff;
  --ink-2: #b9c8e0;
  --muted: #7f92ae;
  --brand: #00e5a0;
  --brand-2: #2f7bff;
  --accent: #8b5cff;
  --amber: #ffb63d;
  --grad: linear-gradient(135deg, var(--brand) 0%, #25d0ff 45%, var(--brand-2) 100%);
  --grad-2: linear-gradient(135deg, var(--accent), var(--brand-2));
  --shadow-1: 0 18px 46px -22px rgba(0, 0, 0, 0.9);
  --shadow-2: 0 40px 90px -40px rgba(0, 0, 0, 1);
  --glow: 0 0 0 1px rgba(0, 229, 160, 0.35), 0 22px 60px -30px rgba(0, 229, 160, 0.55);
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --nav-h: 74px;
  --font: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui,
    -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: rgba(0, 229, 160, 0.28); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #05080f; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(0, 229, 160, 0.55), rgba(47, 123, 255, 0.55));
  border-radius: 10px;
  border: 2px solid #05080f;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--brand), var(--brand-2)); }

/* ============================ 全局背景层 ============================ */
.bg-stack {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-stack::before {
  /* 顶部辉光 */
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 90vh;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(47, 123, 255, 0.22), transparent 70%),
    radial-gradient(45% 40% at 18% 8%, rgba(0, 229, 160, 0.16), transparent 70%),
    radial-gradient(40% 40% at 84% 12%, rgba(139, 92, 255, 0.16), transparent 70%);
  filter: blur(6px);
}

.bg-grid {
  position: absolute;
  inset: auto 0 0 0;
  height: 78vh;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(700px) rotateX(64deg) scale(1.9);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(to top, #000 5%, transparent 62%);
  mask-image: linear-gradient(to top, #000 5%, transparent 62%);
  opacity: 0.9;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
}
.bg-orb--a { width: 46vw; height: 46vw; left: -12vw; top: 6vh; background: radial-gradient(circle, rgba(0, 229, 160, 0.4), transparent 65%); animation: float1 22s ease-in-out infinite; }
.bg-orb--b { width: 40vw; height: 40vw; right: -10vw; top: 32vh; background: radial-gradient(circle, rgba(47, 123, 255, 0.4), transparent 65%); animation: float2 26s ease-in-out infinite; }
.bg-orb--c { width: 36vw; height: 36vw; left: 32vw; bottom: -8vh; background: radial-gradient(circle, rgba(139, 92, 255, 0.32), transparent 65%); animation: float1 30s ease-in-out infinite reverse; }

@keyframes float1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vw, -4vh, 0) scale(1.12); }
}
@keyframes float2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.08); }
  50% { transform: translate3d(-5vw, 5vh, 0) scale(0.95); }
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}

/* 跟随光标的光斑（仅 PC） */
.cursor-glow {
  position: fixed;
  z-index: 1;
  width: 520px;
  height: 520px;
  left: 0; top: 0;
  margin: -260px 0 0 -260px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.1), rgba(47, 123, 255, 0.06) 40%, transparent 68%);
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-glow { opacity: 1; }
}

/* ============================ 布局 ============================ */
.wrap {
  position: relative;
  z-index: 2;
  width: min(1180px, 90vw);
  margin-inline: auto;
}
section { position: relative; z-index: 2; padding: clamp(92px, 11vw, 168px) 0; }

.sec-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 84px); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  padding: 7px 14px;
  border: 1px solid rgba(0, 229, 160, 0.28);
  border-radius: 999px;
  background: rgba(0, 229, 160, 0.07);
  backdrop-filter: blur(8px);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.7); } }

h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.18; letter-spacing: -0.01em; }
.sec-title {
  font-size: clamp(30px, 4.2vw, 48px);
  margin: 24px 0 18px;
  letter-spacing: -0.02em;
}
.sec-desc { color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); margin: 0; line-height: 1.85; }

.tx-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================ 顶部导航 ============================ */
.progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 2px;
  width: 0;
  z-index: 60;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(0, 229, 160, 0.7);
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease, height 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  height: 64px;
  background: rgba(6, 10, 18, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 40px -30px #000;
}
.nav__inner {
  width: min(1240px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 26px -10px rgba(0, 229, 160, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}
.logo__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 4.5s ease-in-out infinite;
}
@keyframes sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.logo__mark svg { width: 22px; height: 22px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.12; }
.logo__name { font-weight: 800; font-size: 17px; letter-spacing: 0.04em; }
.logo__sub { font-size: 11px; color: var(--muted); letter-spacing: 0.16em; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  position: relative;
  padding: 9px 13px;
  font-size: 14.5px;
  color: var(--ink-2);
  border-radius: 10px;
  transition: color 0.22s ease, background 0.22s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 4px;
  height: 1.5px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  background: var(--grad);
  color: #04121a;
  box-shadow: 0 12px 30px -14px rgba(0, 229, 160, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(0, 229, 160, 1); filter: brightness(1.06); }

.burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================ Hero ============================ */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(48px, 6vw, 90px);
  min-height: min(100svh, 980px);
  display: flex;
  align-items: center;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 4vw, 62px);
  align-items: center;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: var(--ink-2);
  box-shadow: var(--shadow-1);
}
.hero__badge b { color: var(--brand); font-weight: 700; }
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(0, 229, 160, 0.7);
  animation: ring 2s infinite;
}
@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 160, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(0, 229, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 160, 0); }
}

.hero h1 {
  font-size: clamp(34px, 5.6vw, 68px);
  margin: 26px 0 0;
  letter-spacing: -0.025em;
}
.hero h1 .line { display: block; }
.hero h1 .line + .line { margin-top: 4px; }

.hero__lead {
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: clamp(15.5px, 1.5vw, 18.5px);
  max-width: 56ch;
}
.hero__lead em { font-style: normal; color: #fff; font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--grad); color: #04121a; box-shadow: 0 16px 38px -16px rgba(0, 229, 160, 0.95); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 22px 48px -16px rgba(0, 229, 160, 1); }
.btn--ghost { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); color: var(--ink); backdrop-filter: blur(8px); }
.btn--ghost:hover { transform: translateY(-3px); border-color: rgba(0, 229, 160, 0.5); background: rgba(0, 229, 160, 0.08); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__stats div span {
  display: block;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--mono);
}
.hero__stats div small { color: var(--muted); font-size: 12.5px; letter-spacing: 0.05em; }

/* Hero 右侧：实时充电面板 */
.hero__panel { position: relative; }
.panel {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.015) 55%, rgba(0, 229, 160, 0.05));
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  padding: 22px;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--brand-2), transparent);
  opacity: 0.8;
}
.panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.panel__title { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; }
.panel__title i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand);
}
.chip {
  font-size: 11.5px;
  font-family: var(--mono);
  color: var(--brand);
  border: 1px solid rgba(0, 229, 160, 0.3);
  background: rgba(0, 229, 160, 0.08);
  border-radius: 999px;
  padding: 4px 10px;
}

.gauge { display: grid; place-items: center; position: relative; padding: 6px 0 2px; }
.gauge svg { width: min(300px, 78%); height: auto; transform: rotate(-90deg); }
.gauge__core {
  position: absolute;
  text-align: center;
  display: grid;
  gap: 2px;
}
.gauge__num { font-size: clamp(34px, 4.4vw, 50px); font-weight: 800; font-family: var(--mono); line-height: 1; }
.gauge__num i { font-size: 0.42em; font-style: normal; color: var(--muted); margin-left: 2px; }
.gauge__label { font-size: 11.5px; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; }

.telemetry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.tele {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.03);
  padding: 9px 10px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.tele:hover { border-color: rgba(0, 229, 160, 0.4); background: rgba(0, 229, 160, 0.06); }
.tele b { display: block; font-family: var(--mono); font-size: 15px; font-weight: 700; }
.tele b u { text-decoration: none; font-size: 10px; color: var(--muted); margin-left: 2px; }
.tele small { color: var(--muted); font-size: 11px; }

.wave {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.25);
  padding: 10px;
  overflow: hidden;
}
.wave svg { width: 100%; height: 54px; }
.wave__cap { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-bottom: 6px; font-family: var(--mono); }

/* 滚动提示 */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.24em;
}
.scroll-hint i {
  width: 22px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  position: relative;
}
.scroll-hint i::after {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--brand);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(12px); opacity: 0.15; } }

/* ============================ 技术栈跑马灯 ============================ */
.marquee {
  position: relative;
  z-index: 2;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(0, 229, 160, 0.05), rgba(47, 123, 255, 0.05));
  overflow: hidden;
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
  white-space: nowrap;
}
.marquee__track span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 8px var(--brand-2);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================ 指标带 ============================ */
.metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow-2);
}
.metric {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  padding: 34px 26px;
  position: relative;
  transition: background 0.3s ease;
}
.metric::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.metric:hover { background: linear-gradient(180deg, rgba(0, 229, 160, 0.09), rgba(255, 255, 255, 0.02)); }
.metric:hover::after { transform: scaleX(1); }
.metric b {
  display: block;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  font-family: var(--mono);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.metric b i { font-style: normal; font-size: 0.45em; margin-left: 2px; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.metric small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }

/* ============================ 能力 Bento ============================ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px;
}
.card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.014));
  backdrop-filter: blur(12px);
  padding: clamp(28px, 3vw, 40px);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 0% 0%, rgba(0, 229, 160, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: rgba(0, 229, 160, 0.34); box-shadow: 0 34px 70px -40px rgba(0, 229, 160, 0.6), var(--shadow-2); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }

.card__ico {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(0, 229, 160, 0.18), rgba(47, 123, 255, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.card__ico svg { width: 23px; height: 23px; stroke: var(--brand); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.card ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.card ul li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.75;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--grad);
  box-shadow: 0 0 8px rgba(0, 229, 160, 0.7);
}
.card--wide { grid-column: span 3; }
.card--half { grid-column: span 2; }
.card--third { grid-column: span 2; }
.card--tall { grid-column: span 2; grid-row: span 2; }

/* 角色功能区 */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.role__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.role__head i {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(0, 229, 160, 0.18), rgba(47, 123, 255, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.role__head i svg { width: 22px; height: 22px; stroke: var(--brand); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.role__head b { font-size: 19px; }
.role__head span { display: block; font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
.role ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.role ul li { display: grid; gap: 4px; font-size: 14.5px; color: var(--ink-2); }
.role ul li b { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.role ul li span { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.role ul li::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--grad);
  opacity: 0.55;
  margin-bottom: 8px;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 8px;
  padding: 5px 10px;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.card:hover .tag { border-color: rgba(0, 229, 160, 0.28); color: #fff; }

/* ============================ 流程时间轴 ============================ */
.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px;
  margin-top: 20px;
}
.flow::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 46px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 160, 0.5), rgba(47, 123, 255, 0.5), transparent);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__dot {
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-weight: 800;
  font-size: 17px;
  color: var(--brand);
  box-shadow: var(--shadow-1), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.step:hover .step__dot {
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(0, 229, 160, 0.55);
  box-shadow: 0 0 0 6px rgba(0, 229, 160, 0.08), 0 20px 44px -20px rgba(0, 229, 160, 0.8);
}
.step h4 { font-size: 17px; margin-bottom: 10px; }
.step p { margin: 0; font-size: 13.8px; line-height: 1.75; color: var(--muted); }

/* ============================ 协议接入 ============================ */
.proto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.proto {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  padding: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.proto::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.22), transparent 65%);
  filter: blur(20px);
}
.proto--ylt::after { background: radial-gradient(circle, rgba(139, 92, 255, 0.26), transparent 65%); }
.proto__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.proto__name { display: flex; align-items: center; gap: 12px; }
.proto__name b { font-size: 20px; }
.proto__name span { display: block; font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
.port {
  font-family: var(--mono);
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 160, 0.35);
  background: rgba(0, 229, 160, 0.09);
  color: var(--brand);
}
.proto--ylt .port { border-color: rgba(139, 92, 255, 0.4); background: rgba(139, 92, 255, 0.1); color: #b39bff; }

.pipeline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 4px 0 18px;
  font-family: var(--mono);
  font-size: 12.5px;
}
.pipeline span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 6px 11px;
  color: var(--ink-2);
}
.pipeline i { color: var(--brand); font-style: normal; }

.code {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, 0.4);
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-2);
  overflow-x: auto;
  line-height: 1.85;
}
.code .k { color: #7fd7ff; }
.code .v { color: var(--brand); }
.code .c { color: #5d6f8c; }
.code .f { color: var(--amber); }

/* ============================ 架构图 ============================ */
.arch {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow-2);
}
.arch__layer { display: grid; gap: 12px; }
.arch__layer + .arch__layer { margin-top: 14px; }
.arch__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--mono);
}
.arch__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.arch__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.node {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  padding: 14px 16px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
  cursor: default;
}
.node b { display: block; font-size: 14.5px; }
.node span { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.node:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 160, 0.45);
  background: linear-gradient(160deg, rgba(0, 229, 160, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: 0 20px 44px -26px rgba(0, 229, 160, 0.9);
}
.node.is-core { border-color: rgba(0, 229, 160, 0.4); box-shadow: inset 0 0 30px -10px rgba(0, 229, 160, 0.35); }
.node.is-core b { color: var(--brand); }

.arch__flowline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 12px;
  font-family: var(--mono);
}
.arch__flowline::before, .arch__flowline::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 160, 0.5), transparent);
}

/* ============================ 支付模式 ============================ */
.pays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pay {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  padding: clamp(28px, 3vw, 38px);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.32s ease, border-color 0.32s ease;
}
.pay:hover { transform: translateY(-6px); border-color: rgba(0, 229, 160, 0.34); }
.pay__no {
  position: absolute;
  right: 18px; top: 10px;
  font-size: 62px;
  font-weight: 900;
  font-family: var(--mono);
  color: rgba(255, 255, 255, 0.045);
  line-height: 1;
  pointer-events: none;
}
.pay h3 { font-size: 21px; margin-bottom: 8px; }
.pay .sub { font-family: var(--mono); font-size: 12px; color: var(--brand); letter-spacing: 0.12em; }
.pay p { margin: 16px 0 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.pay ol { margin: 16px 0 0; padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 9px; }
.pay ol li {
  counter-increment: s;
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.pay ol li::before {
  content: counter(s);
  position: absolute;
  left: 0; top: 1px;
  width: 18px; height: 18px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 700;
  color: #04121a;
  background: var(--grad);
}

/* ============================ 后台 / 小程序 展示 ============================ */
.showcase { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; }

.window {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  box-shadow: var(--shadow-2);
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.window__bar i:first-child { background: #ff5f57; }
.window__bar i:nth-child(2) { background: #febc2e; }
.window__bar i:nth-child(3) { background: #28c840; }
.window__url {
  margin-left: 10px;
  flex: 1;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.window__body { display: grid; grid-template-columns: 190px 1fr; min-height: 380px; }
.side {
  border-right: 1px solid var(--line);
  padding: 16px 12px;
  display: grid;
  gap: 6px;
  align-content: start;
  background: rgba(0, 0, 0, 0.22);
}
.side span {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 9px;
  transition: background 0.2s ease, color 0.2s ease;
}
.side span u { text-decoration: none; width: 6px; height: 6px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); }
.side span.on { background: rgba(0, 229, 160, 0.12); color: #fff; }
.side span.on u { background: var(--brand); box-shadow: 0 0 8px var(--brand); }
.dash { padding: 18px; display: grid; gap: 14px; align-content: start; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.035);
}
.kpi b { display: block; font-size: 20px; font-family: var(--mono); }
.kpi small { color: var(--muted); font-size: 11.5px; }
.kpi--up b { color: var(--brand); }
.kpi--blue b { color: #58a6ff; }
.kpi--amber b { color: var(--amber); }
.chart {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.25);
  padding: 14px;
}
.chart__head { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.chart svg { width: 100%; height: 120px; }
.table { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.table__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  font-size: 12.5px;
  padding: 9px 13px;
  color: var(--muted);
}
.table__row + .table__row { border-top: 1px solid var(--line); }
.table__row:first-child { background: rgba(255, 255, 255, 0.04); color: var(--ink-2); font-weight: 700; }
.badge {
  justify-self: start;
  font-size: 11px;
  padding: 2px 9px;
  border-radius: 999px;
  font-family: var(--mono);
}
.badge--ok { color: var(--brand); background: rgba(0, 229, 160, 0.12); border: 1px solid rgba(0, 229, 160, 0.3); }
.badge--run { color: #58a6ff; background: rgba(88, 166, 255, 0.12); border: 1px solid rgba(88, 166, 255, 0.3); }
.badge--warn { color: var(--amber); background: rgba(255, 182, 61, 0.12); border: 1px solid rgba(255, 182, 61, 0.3); }

/* 手机 mock */
.phone {
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  border-radius: 42px;
  padding: 11px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  position: relative;
}
.phone__screen {
  border-radius: 33px;
  overflow: hidden;
  background: linear-gradient(180deg, #071019, #04070d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
  display: grid;
  gap: 12px;
}
.phone__notch {
  width: 92px; height: 22px;
  margin: 0 auto;
  border-radius: 999px;
  background: #000;
  position: relative;
  top: -4px;
}
.ph-map {
  position: relative;
  height: 132px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(0, 229, 160, 0.16), transparent 70%),
    linear-gradient(120deg, #0a1622, #060b13);
  border: 1px solid var(--line);
}
.ph-map::before, .ph-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
.ph-pin {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(0, 229, 160, 0.18), 0 0 16px var(--brand);
  z-index: 2;
}
.ph-pin--2 { background: var(--brand-2); box-shadow: 0 0 0 5px rgba(47, 123, 255, 0.18), 0 0 16px var(--brand-2); }
.ph-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.ph-card h5 { margin: 0 0 4px; font-size: 13.5px; }
.ph-card small { color: var(--muted); font-size: 11.5px; }
.ph-bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-top: 9px; }
.ph-bar i { display: block; height: 100%; width: 68%; background: var(--grad); border-radius: 999px; box-shadow: 0 0 12px rgba(0, 229, 160, 0.6); }
.ph-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.ph-btn {
  border-radius: 11px;
  padding: 10px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
}
.ph-btn--p { background: var(--grad); color: #04121a; }
.ph-btn--g { border: 1px solid var(--line-strong); color: var(--ink-2); }
.phone__cap { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 14px; }

/* ============================ 场景 ============================ */
.scenes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.scene {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 320px;
  padding: clamp(26px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.35));
  box-shadow: var(--shadow-1);
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
}
.scene:hover { transform: translateY(-6px); border-color: rgba(0, 229, 160, 0.35); }
.scene:hover::before { transform: scale(1.08); opacity: 0.75; }
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 12, 0.15) 0%, rgba(4, 6, 12, 0.9) 72%);
}
.scene > * { position: relative; z-index: 1; }
.scene h4 { font-size: 22px; }
.scene p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); max-width: 42ch; }
.scene em {
  font-style: normal;
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--brand);
  border: 1px solid rgba(0, 229, 160, 0.3);
  background: rgba(0, 229, 160, 0.08);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ============================ 部署 / 安全 ============================ */
.sec-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.checks { display: grid; gap: 12px; margin-top: 6px; }
.check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.28s ease, background 0.28s ease, transform 0.28s ease;
}
.check:hover { border-color: rgba(0, 229, 160, 0.32); background: rgba(0, 229, 160, 0.06); transform: translateX(4px); }
.check i {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(0, 229, 160, 0.14);
  border: 1px solid rgba(0, 229, 160, 0.32);
  color: var(--brand);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}
.check b { display: block; font-size: 14.5px; }
.check span { color: var(--muted); font-size: 13px; }

.stack {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  padding: 24px;
  box-shadow: var(--shadow-2);
}
.stack__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.stack__row:last-child { border-bottom: 0; }
.stack__row span { color: var(--muted); font-size: 13px; }
.stack__row b { font-family: var(--mono); font-size: 13.5px; }

/* ============================ CTA ============================ */
.cta {
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  padding: clamp(38px, 5vw, 68px);
  text-align: center;
  background: linear-gradient(140deg, rgba(0, 229, 160, 0.12), rgba(47, 123, 255, 0.1) 55%, rgba(139, 92, 255, 0.12));
  box-shadow: var(--shadow-2);
}
.cta::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 0deg, transparent, rgba(0, 229, 160, 0.5), transparent 30%, rgba(47, 123, 255, 0.5), transparent 60%);
  animation: spin 9s linear infinite;
  opacity: 0.55;
  z-index: 0;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  background: #060b14;
  z-index: 0;
}
.cta > * { position: relative; z-index: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta h2 { font-size: clamp(26px, 3.6vw, 42px); }
.cta p { color: var(--ink-2); max-width: 60ch; margin: 16px auto 30px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================ 页脚 ============================ */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 46px 0 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; }
.footer h5 { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer li a { font-size: 14px; color: var(--ink-2); transition: color 0.22s ease, padding-left 0.22s ease; }
.footer li a:hover { color: var(--brand); padding-left: 5px; }
.footer p { color: var(--muted); font-size: 13.5px; max-width: 42ch; margin: 14px 0 0; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  font-family: var(--mono);
}

/* 场景插画（JS 注入的 SVG） */
.scene__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.9;
  transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}
.scene:hover .scene__art { transform: scale(1.07); opacity: 1; }

/* 导航当前节高亮 */
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after { transform: scaleX(1); }

/* ============================ 揭示动画 ============================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ============================ 响应式 ============================ */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { order: -1; max-width: 560px; }
  .showcase { grid-template-columns: 1fr; }
  .phone { max-width: 320px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .card--wide, .card--half, .card--third, .card--tall { grid-column: span 3; grid-row: auto; }
  .roles { grid-template-columns: 1fr; }
  .pays { grid-template-columns: 1fr; }
  .scenes { grid-template-columns: repeat(2, 1fr); }
  .sec-split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 4vw 22px;
    background: rgba(5, 9, 16, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    box-shadow: 0 30px 60px -30px #000;
  }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__links a { padding: 13px 6px; font-size: 16px; border-radius: 12px; }
  .nav__links a::after { display: none; }
  .nav__links .nav__cta { justify-content: center; margin-top: 10px; padding: 13px 18px; }
  .burger { display: block; }
  .nav__cta--desktop { display: none; }
  .flow { grid-template-columns: repeat(3, 1fr); gap: 22px 14px; }
  .flow::before { display: none; }
  .proto-grid { grid-template-columns: 1fr; }
  .pays { grid-template-columns: 1fr; }
  .window__body { grid-template-columns: 1fr; }
  .side { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { grid-template-columns: 1fr; gap: 10px; }
  .hero__stats div { display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
  .hero__stats div:last-child { border-bottom: 0; }
  .telemetry { grid-template-columns: repeat(2, 1fr); }
  .card--wide, .card--half, .card--third, .card--tall { grid-column: span 6; }
  .bento { gap: 18px; }
  .roles { gap: 18px; }
  .scenes { grid-template-columns: 1fr; min-height: 260px; }
  .scene { min-height: 260px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 22px; }
  .scroll-hint { display: none; }
  .bg-orb { filter: blur(60px); opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
