:root {
  --bg: #070b14;
  --bg2: #0c1526;
  --panel: rgba(20, 33, 52, 0.62);
  --panel-solid: #16243a;
  --teal: #7ef0dc;
  --teal2: #35cdb8;
  --blue: #4ab8ff;
  --orange: #ff9b7a;
  --gold: #ffd76b;
  --text: #e8f4ff;
  --muted: #8fa9c2;
  --faint: #5d7a96;
  --border: rgba(126, 240, 220, 0.16);
  --radius: 18px;
  --maxw: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ---------- 背景光晕 ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(74, 184, 255, 0.12), transparent 60%),
    radial-gradient(50% 45% at 10% 10%, rgba(53, 205, 184, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2) 60%, var(--bg));
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(126, 240, 220, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 240, 220, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 60% at 50% 30%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 30%, #000, transparent 80%);
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(7, 11, 20, 0.55);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 18px;
}
.brand svg { width: 26px; height: 26px; flex: none; }
.brand b {
  background: linear-gradient(100deg, #fff, var(--teal) 55%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav .links {
  display: flex;
  gap: 26px;
  margin-left: 12px;
}
.nav .links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.18s;
}
.nav .links a:hover { color: var(--text); }
.nav-cta {
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #04121a;
  padding: 10px 22px;
  border-radius: 12px;
  background: linear-gradient(180deg, #8bfbe8, #35cdb8);
  box-shadow: 0 8px 24px rgba(53, 205, 184, 0.32);
  transition: filter 0.15s, transform 0.12s;
}
.nav-cta:hover { filter: brightness(1.07); }
.nav-cta:active { transform: translateY(1px); }

/* ---------- 通用容器 ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { padding: 84px 0; position: relative; }
.kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal2);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.section-sub {
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 44px;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 90px 0 70px;
}
.hero .lede {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 52ch;
  margin: 18px 0 30px;
}
.hero h1 {
  font-size: clamp(48px, 10vw, 92px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(100deg, #fff 10%, var(--teal) 55%, var(--blue) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 30px rgba(80, 220, 255, 0.22));
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #04121a;
  padding: 15px 38px;
  border-radius: 14px;
  background: linear-gradient(180deg, #8bfbe8, #35cdb8);
  box-shadow: 0 10px 30px rgba(53, 205, 184, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: filter 0.15s, transform 0.12s;
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary:active { transform: translateY(2px); }
.btn-ghost {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 14px 26px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.15s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.hero-meta {
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--faint);
}

/* ---------- Hero 设备预览 ---------- */
.device {
  position: relative;
  margin: 0 auto;
  width: min(320px, 80vw);
  aspect-ratio: 9 / 17;
  border-radius: 34px;
  padding: 12px;
  background: linear-gradient(180deg, #1a2c44, #0b1422);
  border: 1px solid rgba(126, 240, 220, 0.22);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.device::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 3;
}
.screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1220, #05080f);
}
.screen .road {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 0;
  bottom: 0;
  background: linear-gradient(180deg, #202a3b, #161d2b);
  box-shadow: 0 0 0 2px rgba(126, 240, 220, 0.5);
}
.screen .road::before,
.screen .road::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(226, 240, 255, 0.4) 0 22px,
    transparent 22px 46px
  );
}
.screen .road::before { left: 33%; }
.screen .road::after { right: 33%; }
.screen .hazard {
  position: absolute;
  left: 8%;
  width: 84%;
  height: 26px;
  border-radius: 5px;
  background: repeating-linear-gradient(45deg, #d98324 0 10px, #fff 10px 20px);
  box-shadow: 0 0 18px rgba(217, 131, 36, 0.6);
}
.screen .hazard.a { top: 40%; }
.screen .hazard.b { top: 64%; background: repeating-linear-gradient(45deg, #c0392b 0 10px, #fff 10px 20px); box-shadow: 0 0 18px rgba(192,57,43,.6); }
.screen .car {
  position: absolute;
  left: 50%;
  bottom: 16%;
  transform: translateX(-50%);
  width: 46px;
  height: 78px;
  border-radius: 12px 12px 8px 8px;
  background: linear-gradient(180deg, #3fe6d0, #1f9c8c);
  box-shadow: 0 10px 26px rgba(53, 205, 184, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.4);
}
.screen .car::before {
  content: "";
  position: absolute;
  left: 6px; right: 6px; top: 14px; height: 20px;
  border-radius: 5px;
  background: rgba(7, 18, 30, 0.9);
}
.screen .glow {
  position: absolute;
  left: 50%; bottom: 12%;
  transform: translateX(-50%);
  width: 130px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 240, 220, 0.5), transparent 70%);
}
.screen .hud-chip {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 9px; letter-spacing: 0.18em;
  color: var(--teal);
  background: rgba(0,0,0,.35);
  border: 1px solid var(--border);
  padding: 4px 8px; border-radius: 8px;
}

/* ---------- 特性卡片 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 240, 220, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.card .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  font-size: 22px;
  background: rgba(126, 240, 220, 0.1);
  border: 1px solid var(--border);
}
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: 0.02em; }
.card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ---------- 玩法 ---------- */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.how-card {
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--border);
}
.how-card h3 { font-size: 18px; margin-bottom: 18px; }
.how-card h3 span { color: var(--teal); }
.kv { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.keycap {
  flex: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: #d8ecff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 11px;
  border-radius: 8px;
  min-width: 64px;
  text-align: center;
}
.kv .desc { font-size: 14px; color: var(--muted); }
.mobile-keys { display: flex; gap: 10px; }
.mobile-keys .mk {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  color: #04121a;
}
.mobile-keys .mk small { display: block; font-size: 10px; font-weight: 600; opacity: 0.7; margin-top: 2px; }
.mobile-keys .mk.l { background: radial-gradient(circle at 35% 30%, #cfe4ff, #6f9fd8 72%); }
.mobile-keys .mk.r { background: radial-gradient(circle at 35% 30%, #cfe4ff, #6f9fd8 72%); }
.mobile-keys .mk.f { background: radial-gradient(circle at 35% 30%, #a5ffee, #2ec9b5 70%); }

/* ---------- 事故图鉴 ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 13px;
  color: #c9dcea;
  padding: 8px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.chip:hover {
  border-color: rgba(126, 240, 220, 0.45);
  color: var(--teal);
  background: rgba(126, 240, 220, 0.06);
}

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 60px;
  text-align: center;
}
.footer .badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal);
  padding: 9px 18px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: rgba(126, 240, 220, 0.06);
  margin-bottom: 18px;
}
.footer .made { font-size: 13px; color: var(--muted); }
.footer .tags { margin-top: 12px; font-size: 11px; letter-spacing: 0.14em; color: var(--faint); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 60px; }
  .hero .device { order: -1; }
  .nav .links { display: none; }
  .how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  section { padding: 60px 0; }
  .nav-cta { padding: 9px 16px; font-size: 13px; }
}
