/* ==========================================================================
   奥道 WMS · 落地页样式
   设计基调：深空蓝底 + 青蓝/香槟金品牌渐变 + 玻璃拟态 + 便当格
   无外部依赖（字体、图标、图片全部本地），可直接部署到 Cloudflare Pages
   ========================================================================== */

/* ------------------------------ 1. 令牌 ------------------------------ */
:root {
  --bg: #04060c;
  --bg-soft: #080d18;
  --bg-elev: #0c1322;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #e9eef8;
  --text-dim: #9aabc4;
  --text-mute: #6b7c96;
  --teal: #4fd1c5;
  --teal-deep: #2c7a7b;
  --gold: #d4af37;
  --gold-light: #f6e27a;
  --grad-brand: linear-gradient(115deg, #4fd1c5 0%, #7ee0d6 28%, #f6e27a 68%, #d4af37 100%);
  --grad-line: linear-gradient(90deg, transparent, rgba(79, 209, 197, 0.6), rgba(212, 175, 55, 0.55), transparent);
  --radius-s: 12px;
  --radius: 18px;
  --radius-l: 26px;
  --maxw: 1180px;
  --shadow-lift: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------ 2. 基础 ------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

/* 关键：<img> 的 height 属性是 "presentational hint"，只写 width:100% 时它依然生效，
   图片会被撑成属性里的固定高度（看起来就是被纵向拉伸）。必须显式 height:auto，
   图片才会按自身比例缩放；需要固定框的场景（手机机身、二维码）再单独覆盖。 */
img {
  height: auto;
}

[hidden] {
  display: none !important;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: rgba(79, 209, 197, 0.32);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--line-2);
  border-radius: 0 0 12px 0;
}

.skip-link:focus {
  left: 0;
}

/* 页面背景：极光 + 网格 + 噪点 */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 78%);
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.32'/%3E%3C/svg%3E");
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 18s var(--ease) infinite;
}

.orb-a {
  width: 620px;
  height: 620px;
  top: -240px;
  left: -140px;
  background: radial-gradient(circle, rgba(44, 122, 123, 0.75), transparent 68%);
}

.orb-b {
  width: 560px;
  height: 560px;
  top: -120px;
  right: -180px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.4), transparent 70%);
  animation-delay: -6s;
}

.orb-c {
  width: 700px;
  height: 700px;
  bottom: -420px;
  left: 35%;
  background: radial-gradient(circle, rgba(79, 209, 197, 0.28), transparent 70%);
  animation-delay: -11s;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 34px, 0) scale(1.06);
  }
}

/* 跟随光标的光晕 */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 209, 197, 0.12), transparent 62%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.cursor-glow.is-on {
  opacity: 1;
}

/* ------------------------------ 3. 排版 ------------------------------ */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.022em;
}

p {
  margin: 0;
}

.display {
  font-size: clamp(2.5rem, 5.4vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}

.h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
}

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: var(--text-dim);
  line-height: 1.8;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ------------------------------ 4. 布局 ------------------------------ */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

section {
  position: relative;
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
  scroll-margin-top: 84px;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head .lead {
  margin-top: 16px;
}

.divider {
  height: 1px;
  background: var(--grad-line);
  opacity: 0.55;
}

/* ------------------------------ 5. 导航 ------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  background: rgba(4, 6, 12, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 14px rgba(79, 209, 197, 0.35));
}

.brand-name {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  color: var(--text-mute);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 4px;
}

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

.nav-links a {
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface-2);
}

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

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.lang button {
  min-width: 40px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mute);
  transition: color 0.2s ease, background 0.2s ease;
}

.lang button[aria-pressed="true"] {
  color: #04121a;
  background: var(--grad-brand);
}

.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
}

.nav-burger span {
  display: block;
  width: 17px;
  height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s var(--ease);
}

.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav-burger span::before {
  top: -5.5px;
}

.nav-burger span::after {
  top: 5.5px;
}

.nav.is-open .nav-burger span {
  transform: rotate(45deg);
}

.nav.is-open .nav-burger span::before {
  transform: translateY(5.5px) rotate(-90deg);
}

.nav.is-open .nav-burger span::after {
  opacity: 0;
}

/* ------------------------------ 6. 按钮 ------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s ease,
    background 0.25s ease;
  overflow: hidden;
  isolation: isolate;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.btn-primary {
  color: #03201f;
  background: var(--grad-brand);
  box-shadow: 0 14px 34px -16px rgba(79, 209, 197, 0.75);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s var(--ease);
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px -18px rgba(79, 209, 197, 0.9);
}

.btn-primary:hover::after {
  left: 120%;
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-2);
  background: var(--surface);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 209, 197, 0.55);
  background: var(--surface-2);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.85rem;
  border-radius: 12px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ------------------------------ 7. Hero ------------------------------ */
.hero {
  padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 7vw, 96px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  font-size: 0.8rem;
  color: var(--text-dim);
}

.badge b {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--grad-brand);
  color: #04201f;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hero h1 {
  margin: 22px 0 0;
}

.hero .lead {
  margin-top: 20px;
  max-width: 34em;
}

.hero .btn-row {
  margin-top: 30px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-mute);
}

.trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(79, 209, 197, 0.9);
}

/* 手机组 */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(316px, 78vw);
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(160deg, #1b2537 0%, #0a0f1b 42%, #131c2c 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(0, 0, 0, 0.6),
    0 0 90px -30px rgba(79, 209, 197, 0.55);
  /* 只用 2D 刚性旋转：保留一点姿态感，但不会像 3D 透视那样把截图投成梯形 */
  transform: rotate(-1.6deg);
  transition: transform 0.7s var(--ease);
}

.phone:hover {
  transform: rotate(-0.4deg) translateY(-6px);
}

.phone::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  z-index: 3;
}

.phone-screen {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1080 / 2424;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-glare {
  position: absolute;
  inset: 11px;
  border-radius: 36px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 42%);
  pointer-events: none;
  z-index: 2;
}

.scanline {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 96px;
  border-radius: 36px;
  background: linear-gradient(180deg, transparent, rgba(79, 209, 197, 0.22) 45%, rgba(79, 209, 197, 0.62));
  border-bottom: 1px solid rgba(126, 224, 214, 0.9);
  box-shadow: 0 0 26px rgba(79, 209, 197, 0.7);
  animation: scan 3.6s var(--ease) infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes scan {
  0% {
    top: 12%;
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  82% {
    opacity: 1;
  }
  100% {
    top: 84%;
    opacity: 0;
  }
}

.phone-back {
  position: absolute;
  right: max(2px, 4%);
  top: 46px;
  width: min(232px, 52vw);
  transform: rotate(6.5deg) translate(10px, 12px) scale(0.96);
  opacity: 0.86;
  filter: saturate(0.85) brightness(0.9);
}

.phone-back .phone-screen {
  aspect-ratio: 1080 / 2424;
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 15px;
  background: rgba(10, 16, 28, 0.82);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.95);
  font-size: 0.78rem;
  line-height: 1.35;
  z-index: 4;
  animation: bob 6s ease-in-out infinite;
}

.chip b {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
}

.chip small {
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.chip-ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(79, 209, 197, 0.14);
  border: 1px solid rgba(79, 209, 197, 0.3);
  color: var(--teal);
  flex: 0 0 auto;
}

.chip-ico.gold {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.32);
  color: var(--gold-light);
}

.chip-1 {
  top: 12%;
  left: -4%;
}

.chip-2 {
  bottom: 22%;
  right: -3%;
  animation-delay: -2.2s;
}

.chip-3 {
  bottom: 5%;
  left: -2%;
  animation-delay: -4.1s;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* ------------------------------ 8. 指标 ------------------------------ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(38px, 5vw, 62px);
}

.stat {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.stat b {
  display: block;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.84rem;
  color: var(--text-mute);
}

/* ------------------------------ 9. 跑马灯 ------------------------------ */
.marquee {
  margin-top: clamp(30px, 4vw, 48px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  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-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-dim);
  font-size: 0.85rem;
  white-space: nowrap;
}

.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--grad-brand);
}

/* ------------------------------ 10. 便当格 ------------------------------ */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  grid-column: span 2;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s ease, background 0.4s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(79, 209, 197, 0.14), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}

.card:hover::after {
  opacity: 1;
}

.card-wide {
  grid-column: span 3;
}

.card-full {
  grid-column: span 6;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.card-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 13px;
  border: 1px solid rgba(79, 209, 197, 0.28);
  background: linear-gradient(150deg, rgba(79, 209, 197, 0.18), rgba(212, 175, 55, 0.1));
  color: var(--teal);
}

.card-ico svg {
  width: 21px;
  height: 21px;
}

.card-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.card-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.86rem;
  color: var(--text-mute);
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 1.5px;
  background: var(--teal);
  opacity: 0.8;
}

.card-shot {
  display: flex;
  gap: 22px;
  align-items: center;
}

.card-shot .card-body {
  flex: 1 1 auto;
  min-width: 0;
}

.card-shot .mini-phone {
  flex: 0 0 auto;
  width: 118px;
  padding: 6px;
  border-radius: 20px;
  background: linear-gradient(160deg, #1b2537, #0a0f1b);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 44px -26px rgba(0, 0, 0, 1);
}

.card-shot .mini-phone img {
  border-radius: 15px;
  width: 100%;
  height: auto;
}

/* ------------------------------ 11. 流程 ------------------------------ */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
}

.step-no {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold-light);
}

.step-no i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-style: normal;
}

.step h3 {
  margin: 14px 0 8px;
  font-size: 1.06rem;
}

.step p {
  font-size: 0.87rem;
  color: var(--text-dim);
}

.step-shot {
  /* margin-top:auto 让四张截图在卡片底部对齐 */
  margin-top: auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b1220;
}

.step-shot img {
  width: 100%;
  height: auto;
}

.step-code {
  margin: 14px 0 16px;
  padding: 8px 11px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--teal);
  overflow-x: auto;
  white-space: nowrap;
}

/* ------------------------------ 12. 截图长廊 ------------------------------ */
.gallery {
  display: grid;
  /* 205px 起：1180 内容宽下正好 5 列 × 2 行，10 张截图排成整齐一屏半 */
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 16px;
}

.shot {
  position: relative;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  text-align: left;
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}

.shot:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
}

.shot img {
  width: 100%;
  border-radius: 15px;
  background: #fff;
}

.shot-cap {
  display: block;
  padding: 12px 6px 4px;
  font-size: 0.84rem;
  color: var(--text-dim);
}

.shot-cap b {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

/* 灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 4, 8, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-height: 86vh;
  width: auto;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lift);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  font-size: 1.2rem;
  line-height: 1;
}

/* ------------------------------ 13. 集成 ------------------------------ */
.panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 54px);
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: radial-gradient(120% 140% at 8% 0%, rgba(44, 122, 123, 0.28), transparent 55%),
    radial-gradient(100% 120% at 100% 100%, rgba(212, 175, 55, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  align-items: center;
}

.checklist {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: flex;
  gap: 11px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.checklist svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--teal);
}

.versions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.ver {
  padding: 6px 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.32);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-dim);
}

.ver.is-hot {
  border-color: rgba(79, 209, 197, 0.5);
  color: var(--teal);
  background: rgba(79, 209, 197, 0.1);
}

.code-block {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.code-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.code-head i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
}

.code-head i:first-child {
  background: rgba(212, 175, 55, 0.7);
}

.code-head i:nth-child(2) {
  background: rgba(79, 209, 197, 0.7);
}

.code-block pre {
  margin: 0;
  padding: 15px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.75;
  color: #b9c7dc;
}

.code-block .k {
  color: var(--gold-light);
}

.code-block .s {
  color: var(--teal);
}

/* ------------------------------ 14. 下载 ------------------------------ */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* 第二组（安装步骤 / 手机安装）与上方两张分发包卡片拉开距离，避免看成同一块 */
.dl-grid + .dl-grid {
  margin-top: 36px;
}

.dl-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.012));
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}

.dl-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}

.dl-card.is-featured {
  border-color: rgba(79, 209, 197, 0.42);
  background: radial-gradient(120% 120% at 0% 0%, rgba(44, 122, 123, 0.3), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
}

.dl-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dl-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.36);
  color: var(--teal);
}

.dl-ico svg {
  width: 23px;
  height: 23px;
}

.dl-meta {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
}

.dl-meta li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--line);
  color: var(--text-mute);
}

.dl-meta li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dl-meta b {
  color: var(--text-dim);
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 0.79rem;
  text-align: right;
  word-break: break-all;
}

.steps-mini {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.steps-mini li {
  display: flex;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.steps-mini span {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.4);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-light);
}

.dl-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.phone-install {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  flex-wrap: wrap;
}

.phone-install-ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 15px;
  border: 1px solid rgba(79, 209, 197, 0.3);
  background: linear-gradient(150deg, rgba(79, 209, 197, 0.18), rgba(212, 175, 55, 0.1));
  color: var(--teal);
}

.phone-install-body {
  flex: 1 1 260px;
  min-width: 0;
}

.phone-install-body p {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.copy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.copy-row code {
  flex: 1 1 200px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.42);
  color: var(--teal);
  font-size: 0.78rem;
  overflow-x: auto;
  white-space: nowrap;
}

.qr-frame {
  flex: 0 0 auto;
  width: 118px;
  height: 118px;
  padding: 9px;
  border-radius: 16px;
  background: #fff;
}

.qr-frame img {
  width: 100%;
  height: 100%;
}

.qr-note {
  margin-top: 12px;
  font-size: 0.85rem;
}

.notice {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.07);
  font-size: 0.83rem;
  color: #e7d9a8;
}

/* ------------------------------ 15. FAQ ------------------------------ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

.qa {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}

.qa summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 560;
  transition: color 0.2s ease;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary:hover {
  color: var(--teal);
}

.qa summary::after {
  content: "";
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s var(--ease);
  opacity: 0.65;
  flex: 0 0 auto;
}

.qa[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.qa .qa-body {
  padding: 0 22px 20px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.qa .qa-body code {
  font-family: var(--font-mono);
  font-size: 0.82em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid var(--line);
  color: var(--teal);
}

/* ------------------------------ 16. 结尾 CTA + 页脚 ------------------------------ */
.cta-band {
  position: relative;
  padding: clamp(38px, 5vw, 64px);
  border-radius: 32px;
  border: 1px solid var(--line-2);
  background: radial-gradient(110% 130% at 12% 10%, rgba(44, 122, 123, 0.42), transparent 55%),
    radial-gradient(90% 120% at 92% 92%, rgba(212, 175, 55, 0.24), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  text-align: center;
}

.cta-band .btn-row {
  justify-content: center;
  margin-top: 26px;
}

.lead-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 26px auto 0;
  max-width: 520px;
}

.lead-form input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(4, 8, 16, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lead-form input::placeholder {
  color: var(--text-mute);
}

.lead-form input:focus {
  outline: none;
  border-color: rgba(79, 209, 197, 0.65);
  box-shadow: 0 0 0 4px rgba(79, 209, 197, 0.14);
}

.form-msg {
  margin: 14px 0 0;
  font-size: 0.86rem;
  color: var(--teal);
  min-height: 1.2em;
}

.form-note {
  margin: 6px 0 0;
  font-size: 0.78rem;
  color: var(--text-mute);
}

.barcode-line {
  height: 30px;
  margin-top: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='30'%3E%3Cg fill='%23ffffff' fill-opacity='0.42'%3E%3Crect x='0' y='0' width='3' height='30'/%3E%3Crect x='7' y='0' width='1.5' height='30'/%3E%3Crect x='12' y='0' width='4' height='30'/%3E%3Crect x='20' y='0' width='1.5' height='30'/%3E%3Crect x='25' y='0' width='2.5' height='30'/%3E%3Crect x='32' y='0' width='1.5' height='30'/%3E%3Crect x='37' y='0' width='4' height='30'/%3E%3Crect x='45' y='0' width='2' height='30'/%3E%3Crect x='51' y='0' width='1.5' height='30'/%3E%3Crect x='56' y='0' width='3.5' height='30'/%3E%3Crect x='64' y='0' width='1.5' height='30'/%3E%3Crect x='69' y='0' width='2.5' height='30'/%3E%3Crect x='76' y='0' width='4' height='30'/%3E%3Crect x='84' y='0' width='1.5' height='30'/%3E%3Crect x='89' y='0' width='3' height='30'/%3E%3Crect x='96' y='0' width='2' height='30'/%3E%3Crect x='102' y='0' width='1.5' height='30'/%3E%3Crect x='107' y='0' width='4' height='30'/%3E%3Crect x='115' y='0' width='2' height='30'/%3E%3Crect x='121' y='0' width='1.5' height='30'/%3E%3Crect x='126' y='0' width='3' height='30'/%3E%3Crect x='133' y='0' width='2.5' height='30'/%3E%3Crect x='140' y='0' width='1.5' height='30'/%3E%3Crect x='145' y='0' width='4' height='30'/%3E%3Crect x='153' y='0' width='2' height='30'/%3E%3Crect x='159' y='0' width='1.5' height='30'/%3E%3Crect x='164' y='0' width='3.5' height='30'/%3E%3Crect x='172' y='0' width='2' height='30'/%3E%3Crect x='178' y='0' width='4' height='30'/%3E%3Crect x='186' y='0' width='1.5' height='30'/%3E%3Crect x='191' y='0' width='2.5' height='30'/%3E%3Crect x='198' y='0' width='1.5' height='30'/%3E%3Crect x='203' y='0' width='3' height='30'/%3E%3Crect x='210' y='0' width='2' height='30'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  opacity: 0.5;
}

footer {
  padding: clamp(40px, 5vw, 64px) 0 34px;
  border-top: 1px solid var(--line);
  margin-top: clamp(56px, 7vw, 96px);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.foot-about p {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--text-mute);
  max-width: 34em;
}

.foot-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-weight: 500;
}

.foot-col ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.foot-col a {
  font-size: 0.88rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.foot-col a:hover {
  color: var(--teal);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--text-mute);
}

.foot-bottom .mono {
  letter-spacing: 0.02em;
}

/* ------------------------------ 17. 滚动出现 ------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

/* ------------------------------ 18. 响应式 ------------------------------ */
@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-visual {
    order: 2;
  }

  .chip-1 {
    left: 2%;
  }

  .chip-2 {
    right: 2%;
  }

  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .card {
    grid-column: span 2;
  }

  .card-wide {
    grid-column: span 4;
  }

  .card-full {
    grid-column: span 4;
  }

  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 70px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 18px 22px;
    background: rgba(6, 9, 16, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    margin-left: 0;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, transform 0.28s var(--ease), visibility 0.28s;
  }

  .nav.is-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links a {
    padding: 13px 14px;
    font-size: 0.98rem;
    border-radius: 12px;
  }

  .nav-burger {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-tools {
    margin-left: 0;
  }

  .nav-tools .btn {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dl-grid {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }

  .phone-back {
    display: none;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15.5px;
  }

  .shell {
    padding: 0 16px;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .card,
  .card-wide,
  .card-full {
    grid-column: span 1;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .card-shot {
    flex-direction: column;
    align-items: stretch;
  }

  .card-shot .mini-phone {
    width: 116px;
    align-self: center;
  }

  .chip {
    padding: 9px 11px;
    font-size: 0.72rem;
  }

  .chip small {
    display: none;
  }

  .chip-1 {
    left: -2%;
    top: 6%;
  }

  .chip-2 {
    right: -2%;
  }

  .chip-3 {
    left: -2%;
  }

  .stats {
    gap: 10px;
  }

  .stat {
    padding: 16px 14px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .qr-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ------------------------------ 20. QQ 联系弹窗 ------------------------------ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 4, 8, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  width: min(430px, 100%);
  padding: 32px 28px 26px;
  text-align: center;
  border: 1px solid var(--line-2);
  border-radius: 28px;
  background: radial-gradient(130% 120% at 12% 0%, rgba(44, 122, 123, 0.34), transparent 58%),
    radial-gradient(120% 120% at 100% 100%, rgba(212, 175, 55, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)), var(--bg-elev);
  box-shadow: var(--shadow-lift);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.34s var(--ease);
}

.modal.is-open .modal-card {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-dim);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.modal-close:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--line-2);
}

.modal-ico {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 18px;
  border: 1px solid rgba(79, 209, 197, 0.3);
  background: linear-gradient(150deg, rgba(79, 209, 197, 0.2), rgba(212, 175, 55, 0.12));
  color: var(--teal);
}

.modal-card h2 {
  font-size: 1.28rem;
}

.modal-body {
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-dim);
}

.qq-no {
  display: inline-block;
  margin: 0 2px;
  padding: 1px 10px;
  border-radius: 9px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  background: rgba(212, 175, 55, 0.12);
  font-family: var(--font-mono);
  font-size: 1.06rem;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.modal-note {
  min-height: 1.2em;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--teal);
}

/* ------------------------------ 20. 404 ------------------------------ */
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.error-box {
  max-width: 560px;
  padding: 40px 34px;
  text-align: center;
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}

.error-box img {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
}

.error-code {
  font-family: var(--font-mono);
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--teal);
}

.error-box h1 {
  margin: 14px 0 12px;
  font-size: 1.6rem;
}

.error-text {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 6px;
}

.error-box .btn {
  margin-top: 22px;
}

/* ------------------------------ 21. 动效偏好 ------------------------------ */
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .scanline {
    display: none;
  }
}

@media print {
  .nav,
  .backdrop,
  .cursor-glow,
  .lightbox {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
