/* =========================================================
   源码授权中心 · 深空星轨主题
   深空背景 / 玻璃面板 / 青紫霓虹 / 3D 星轨
   ========================================================= */

:root {
  color-scheme: dark;
  --bg: #05060f;
  --bg-2: #0a0c1a;
  --bg-3: #0e1226;
  --panel: rgba(255, 255, 255, .035);
  --panel-2: rgba(255, 255, 255, .06);
  --panel-solid: #0b0e1e;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #e8ecff;
  --muted: #8b93b5;
  --dim: #5b6488;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --pink: #f472b6;
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #fb7185;
  --grad: linear-gradient(120deg, #22d3ee, #8b5cf6 55%, #f472b6);
  --grad-soft: linear-gradient(120deg, rgba(34, 211, 238, .16), rgba(139, 92, 246, .16));
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow: 0 20px 60px -24px rgba(0, 0, 0, .8);
  --glow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 24px 70px -28px rgba(34, 211, 238, .35);
  --nav-h: 72px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: transparent;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 700;
}

p { margin: 0 0 1em; }
img { max-width: 100%; }

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color .18s ease;
}
a:hover { color: #67e8f9; }

svg { display: inline-block; vertical-align: -.15em; flex: none; }

::selection { background: rgba(139, 92, 246, .45); color: #fff; }

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

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .12);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(34, 211, 238, .35); background-clip: padding-box; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= 背景层 ================= */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
#bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: .9;
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
}
.bg-glow-1 {
  width: 60vw;
  height: 60vw;
  left: -15vw;
  top: -22vw;
  background: radial-gradient(circle, rgba(34, 211, 238, .32), transparent 65%);
}
.bg-glow-2 {
  width: 55vw;
  height: 55vw;
  right: -18vw;
  top: 18vh;
  background: radial-gradient(circle, rgba(139, 92, 246, .30), transparent 65%);
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
  opacity: .55;
}
.bg-noise {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 200;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(34, 211, 238, .8);
  transition: width .1s linear;
}

.cursor-glow {
  position: fixed;
  width: 440px;
  height: 440px;
  margin: -220px 0 0 -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .10), transparent 62%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity .35s ease;
  mix-blend-mode: screen;
}
body.has-cursor .cursor-glow { opacity: 1; }

/* ================= 导航 ================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 6, 15, .55);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.nav.scrolled {
  background: rgba(5, 6, 15, .85);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .9);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand:hover { color: #fff; }
.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(120deg, #34d399, #22d3ee);
  color: #05060f;
  box-shadow: 0 8px 24px -8px rgba(52, 211, 153, .7);
  flex: none;
}
.brand-mark svg { width: 21px; height: 21px; stroke-width: 2; }
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 15px;
  border: 1px solid rgba(52, 211, 153, .35);
  opacity: 0;
  animation: pulseRing 3.2s infinite;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
}
.nav-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-links a.active { color: #fff; background: rgba(34, 211, 238, .10); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
}

/* ================= 按钮 ================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn-primary {
  background: #eef1f6;
  color: #0b0e1e;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .28), 0 0 0 1px rgba(0, 0, 0, .05) inset;
}
.btn-primary:hover {
  background: #ffffff;
  color: #0b0e1e;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px -8px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .05) inset;
}
.btn-ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-strong);
  color: var(--text);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(34, 211, 238, .5);
  color: #fff;
  transform: translateY(-2px);
}
.btn-dark { background: #0b0e1e; color: #fff; border-color: var(--line); }
.btn-dark:hover { background: #12162c; color: #fff; }
.btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 9px; gap: 6px; }
.btn-lg { padding: 14px 26px; font-size: 15.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-icon { padding: 0; width: 38px; height: 38px; border-radius: 10px; }
.btn:disabled,
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn[data-loading="1"] { pointer-events: none; }
.btn .spin { animation: spin 1s linear infinite; }

/* ================= 徽标 ================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge.ok { background: rgba(52, 211, 153, .12); color: #6ee7b7; border-color: rgba(52, 211, 153, .28); }
.badge.info { background: rgba(34, 211, 238, .10); color: #67e8f9; border-color: rgba(34, 211, 238, .26); }
.badge.warn { background: rgba(251, 191, 36, .10); color: #fcd34d; border-color: rgba(251, 191, 36, .28); }
.badge.danger { background: rgba(251, 113, 133, .10); color: #fda4af; border-color: rgba(251, 113, 133, .28); }
.badge.gray { background: rgba(255, 255, 255, .06); color: var(--muted); border-color: var(--line); }

/* ================= Hero ================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 110px;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .95;
  display: block;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy { max-width: 640px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  color: #c7d2fe;
  letter-spacing: .02em;
  margin-bottom: 24px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
  animation: blink 2s infinite;
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.grad-text {
  background: var(--grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
}
.hero-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 40px;
  margin-top: 56px;
}
.hero-stat b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat span { font-size: 12.5px; color: var(--dim); }

.hero-visual {
  position: relative;
  height: 470px;
  display: grid;
  place-items: center;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, .14);
  pointer-events: none;
}
.orb-ring.r1 {
  width: 340px;
  height: 340px;
  border-style: dashed;
  animation: spin 34s linear infinite;
}
.orb-ring.r2 {
  width: 450px;
  height: 450px;
  border-color: rgba(139, 92, 246, .12);
  animation: spin 52s linear infinite reverse;
}
.orb-ring.r3 {
  width: 260px;
  height: 260px;
  border-color: rgba(244, 114, 182, .10);
}
.hero-badge {
  position: absolute;
  bottom: 16px;
  left: 0;
  width: 268px;
  padding: 16px 18px;
  border-radius: var(--r);
  background: rgba(10, 12, 26, .72);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--glow);
  animation: float 7s ease-in-out infinite;
  z-index: 2;
}
.hero-badge-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 1.8s infinite;
}
.hero-badge-code {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .06em;
  color: #fff;
  margin-bottom: 12px;
}
.hero-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  padding-top: 11px;
  border-top: 1px solid var(--line);
}
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(180deg,
    rgba(5, 6, 15, 0) 0%,
    rgba(5, 6, 15, .32) 42%,
    rgba(5, 6, 15, .82) 78%,
    var(--bg) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ================= 内页头部 ================= */
.page-hero {
  position: relative;
  padding: 52px 0 4px;
}
.page-hero .breadcrumb { margin-bottom: 30px; }
.page-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px 56px;
  flex-wrap: wrap;
}
.page-hero h1 {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.12;
  margin-bottom: 16px;
}
.page-hero .hero-lead {
  margin-bottom: 0;
  max-width: 620px;
  font-size: 15.5px;
}
.page-hero .hero-stats { margin-top: 0; }
.page-stats {
  grid-template-columns: repeat(2, auto);
  gap: 22px 44px;
  padding-bottom: 2px;
}
.section-products { padding-top: 46px; }

.products-help {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px 32px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.products-help h3 { font-size: 17px; margin: 0 0 4px; }
.products-help p { margin: 0; color: var(--muted); font-size: 14px; }

/* ================= 区块 ================= */
.section {
  position: relative;
  padding: 92px 0;
}
.section.alt {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, .014) 8%,
    rgba(255, 255, 255, .028) 50%,
    rgba(255, 255, 255, .014) 92%,
    rgba(255, 255, 255, 0) 100%);
}
/* 首页 Hero 与下方区块之间：从 Hero 收尾色渐变到星空，消除硬边 */
.page-home #how {
  background:
    linear-gradient(180deg,
      var(--bg) 0%,
      rgba(5, 6, 15, .72) 6%,
      rgba(5, 6, 15, 0) 18%),
    linear-gradient(180deg,
      rgba(255, 255, 255, .012) 0%,
      rgba(255, 255, 255, .028) 50%,
      rgba(255, 255, 255, 0) 100%);
}
.section-head {
  max-width: 680px;
  margin-bottom: 44px;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -.04em;
}
.section-head p { color: var(--muted); font-size: 15.5px; margin: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ================= 网格 / 卡片 ================= */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .16), transparent 38%, transparent 62%, rgba(34, 211, 238, .14));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: .7;
}
.card.hover {
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card.hover:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, .3);
  box-shadow: 0 30px 80px -30px rgba(34, 211, 238, .35);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  color: var(--cyan);
  margin-bottom: 16px;
}
.card-icon svg { width: 23px; height: 23px; }
.card h3 { font-size: 17px; font-weight: 700; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }

/* 3D 倾斜 + 光斑 */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .25s ease, border-color .3s ease, box-shadow .3s ease;
}
.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, .14), transparent 55%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.tilt:hover::after { opacity: 1; }
.tilt > * { position: relative; z-index: 1; }

/* ================= 产品卡 ================= */
.app-card { display: flex; flex-direction: column; }
.app-top { display: flex; gap: 14px; align-items: flex-start; }
.app-avatar {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  flex: none;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 19px;
  color: #05060f;
  background: var(--grad);
  box-shadow: 0 10px 26px -12px rgba(34, 211, 238, .7);
}
.app-avatar svg { width: 24px; height: 24px; stroke-width: 2; }
.app-title h3 { margin: 0 0 3px; font-size: 17px; }
.app-meta {
  color: var(--dim);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.app-meta svg { width: 13px; height: 13px; }
.app-desc { color: var(--muted); font-size: 13.5px; margin: 16px 0 20px; }
.app-foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.price-label { display: block; font-size: 11.5px; color: var(--dim); letter-spacing: .04em; }
.price-num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.price-num small { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ================= 流程步骤 ================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.step {
  position: relative;
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: .14em;
}
.step h3 { font-size: 16px; margin: 10px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; }
.step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.step:last-child::after { display: none; }

/* ================= FAQ ================= */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease;
}
.faq-item[open] {
  border-color: rgba(34, 211, 238, .3);
  background: rgba(34, 211, 238, .04);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 15px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .fq-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: transform .3s ease, color .3s ease, border-color .3s ease;
  flex: none;
}
.faq-item[open] summary .fq-ico {
  transform: rotate(45deg);
  color: var(--cyan);
  border-color: rgba(34, 211, 238, .4);
}
.faq-item .faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 14px; }
.faq-item .faq-body p { margin: 0; }

/* ================= 表单 ================= */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  color: #c3c9e6;
  letter-spacing: .01em;
}
.input,
select.input,
textarea.input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-family: inherit;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.input::placeholder { color: var(--dim); }
.input:focus {
  border-color: rgba(34, 211, 238, .65);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .10);
  background: rgba(255, 255, 255, .05);
}
.input:disabled { opacity: .6; cursor: not-allowed; }
select.input {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b93b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 40px;
}
select.input option { background: #0b0e1e; color: var(--text); }
textarea.input { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12.5px; color: var(--dim); margin-top: 6px; }
.copy-line { display: flex; gap: 8px; align-items: center; }
.copy-line .input { flex: 1; }

.pass-field { position: relative; }
.pass-field .input { padding-right: 48px; }
.pass-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.pass-toggle:hover { color: var(--text); background: rgba(255, 255, 255, .06); }

/* ================= 提示 / Toast ================= */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  font-size: 14px;
  margin-bottom: 18px;
  border: 1px solid transparent;
  line-height: 1.55;
}
.alert svg { margin-top: 2px; flex: none; }
.alert.ok { background: rgba(52, 211, 153, .08); border-color: rgba(52, 211, 153, .22); color: #a7f3d0; }
.alert.err { background: rgba(251, 113, 133, .08); border-color: rgba(251, 113, 133, .22); color: #fecdd3; }
.alert.info { background: rgba(34, 211, 238, .07); border-color: rgba(34, 211, 238, .20); color: #a5f3fc; }
.alert.warn { background: rgba(251, 191, 36, .08); border-color: rgba(251, 191, 36, .22); color: #fde68a; }

.toast-wrap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(10, 12, 26, .92);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 13.5px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transform: translateY(10px);
  opacity: 0;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .3s ease;
  pointer-events: auto;
  max-width: 340px;
}
.toast.show { transform: none; opacity: 1; }
.toast.ok svg { color: var(--ok); }
.toast.err svg { color: var(--danger); }
.toast.info svg { color: var(--cyan); }

/* ================= 表格 ================= */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .02);
}
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left;
  padding: 13px 16px;
  background: rgba(255, 255, 255, .03);
  color: #b9c0dd;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: .03em;
}
.table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  vertical-align: middle;
  color: #d5daf0;
}
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s ease; }
.table tbody tr:hover td { background: rgba(34, 211, 238, .035); }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; }

/* ================= 认证页 ================= */
.auth-wrap {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  padding: 64px 18px;
  overflow: hidden;
}
.auth-wrap::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, .18), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.auth-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: rgba(10, 12, 26, .66);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--glow), 0 40px 100px -40px #000;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.auth-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.auth-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  flex: none;
}
.auth-icon svg { width: 24px; height: 24px; }
.auth-card h1 { font-size: 23px; margin: 0; }
.auth-card .sub { color: var(--muted); font-size: 13.5px; margin: 4px 0 26px; }
.auth-foot { text-align: center; margin-top: 20px; font-size: 13.5px; color: var(--muted); }

/* ================= 用户中心 ================= */
.dash {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 26px;
  padding: 38px 0 84px;
  align-items: start;
}
.dash > * { min-width: 0; }
.side {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 12px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.side-title {
  padding: 10px 14px 6px;
  font-size: 11px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.side a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.side a svg { width: 17px; height: 17px; opacity: .8; }
.side a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.side a.active {
  background: rgba(34, 211, 238, .10);
  color: #a5f3fc;
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .18);
}
.side a.active svg { color: var(--cyan); opacity: 1; }
.side-sep { height: 1px; background: var(--line); margin: 8px 6px; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.panel + .panel { margin-top: 18px; }
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.panel-head h2 { font-size: 18px; margin: 0; }
.panel-head .sub { color: var(--muted); font-size: 13px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.stat {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 20px;
  overflow: hidden;
}
.stat::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .16), transparent 70%);
}
.stat .k {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.stat .k svg { width: 14px; height: 14px; }
.stat .v {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.04em;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

.license-card { margin-bottom: 16px; }
.license-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.license-code {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  flex-wrap: wrap;
}
.license-meta { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.license-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0;
}
.license-grid .k { font-size: 11.5px; color: var(--dim); display: block; }
.license-grid .v { font-size: 13.5px; color: #d5daf0; }
.license-actions { border-top: 1px solid var(--line); padding-top: 16px; }
.bind-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  padding: 8px 0;
}
.bind-row .mono { color: #d5daf0; }

/* ================= 分页 ================= */
.pager { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 20px; }
.pager a,
.pager span {
  min-width: 36px;
  height: 36px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-size: 13px;
  color: var(--muted);
  transition: border-color .18s ease, color .18s ease;
}
.pager a:hover { border-color: rgba(34, 211, 238, .45); color: var(--cyan); }
.pager .active {
  background: var(--grad);
  border-color: transparent;
  color: #05060f;
  font-weight: 700;
}

/* ================= 空状态 ================= */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-ico {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  color: var(--dim);
}
.empty-ico svg { width: 26px; height: 26px; }
.empty .big { display: none; }

/* ================= 页脚 ================= */
.footer {
  position: relative;
  margin-top: 40px;
  padding: 64px 0 32px;
  background: linear-gradient(180deg,
    rgba(10, 12, 26, 0) 0%,
    rgba(10, 12, 26, .5) 20%,
    rgba(10, 12, 26, .85) 100%);
  overflow: hidden;
}
.footer-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 34px 38px;
  margin-bottom: 52px;
  border-radius: var(--r-xl);
  background: linear-gradient(120deg, rgba(34, 211, 238, .10), rgba(139, 92, 246, .14) 55%, rgba(244, 114, 182, .08));
  border: 1px solid var(--line-strong);
  box-shadow: var(--glow);
  overflow: hidden;
}
.footer-cta h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 6px; }
.footer-cta p { margin: 0; color: var(--muted); font-size: 14px; }
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer h4 {
  color: #fff;
  font-size: 12.5px;
  margin-bottom: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-grid a { display: block; color: var(--muted); font-size: 13.5px; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--cyan); }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; color: var(--muted); max-width: 300px; }
.copy {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--dim);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-canvas {
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 380px;
  height: 380px;
  opacity: .4;
  pointer-events: none;
  z-index: 0;
}

/* ================= 文档 ================= */
.doc {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 30px;
  padding: 40px 0 84px;
  align-items: start;
}
.doc > * { min-width: 0; }
.doc-nav {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.doc-nav .side-title { padding: 8px 12px; }
.doc-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13.5px;
  border-left: 2px solid transparent;
}
.doc-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.doc-nav a.active {
  color: var(--cyan);
  background: rgba(34, 211, 238, .07);
  border-left-color: var(--cyan);
}
.doc-body {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 38px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.doc-body h1 { font-size: 30px; }
.doc-body h2 {
  font-size: 20px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.doc-body h3 { font-size: 16px; margin-top: 26px; }
.doc-body p,
.doc-body li { color: #c3c9e6; font-size: 14px; }
.doc-body pre {
  position: relative;
  background: #070912;
  border: 1px solid var(--line);
  color: #d6e0ff;
  padding: 18px;
  border-radius: var(--r);
  overflow-x: auto;
  font-size: 12.8px;
  line-height: 1.65;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.doc-body pre code { font-family: var(--mono); }
.doc-body p code,
.doc-body li code,
.doc-body td code {
  background: rgba(34, 211, 238, .10);
  color: #67e8f9;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 12.5px;
  font-family: var(--mono);
}
.doc-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13.5px; }
.doc-body th,
.doc-body td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.doc-body th { background: rgba(255, 255, 255, .03); color: #b9c0dd; }
.doc-copy {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 5px 9px;
  font-size: 11.5px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .18s ease, border-color .18s ease;
}
.doc-copy:hover { color: var(--cyan); border-color: rgba(34, 211, 238, .4); }
.doc-copy svg { width: 13px; height: 13px; }

/* ================= 产品页 ================= */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb svg { width: 15px; height: 15px; }
.breadcrumb:hover { color: var(--cyan); }
.product-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 18px 0 14px;
  flex-wrap: wrap;
}
.product-avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #05060f;
  background: var(--grad);
  box-shadow: 0 14px 34px -14px rgba(34, 211, 238, .8);
  flex: none;
}
.product-avatar svg { width: 30px; height: 30px; stroke-width: 2; }
.product-title { font-size: clamp(24px, 3vw, 32px); margin: 0 0 6px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.chip svg { width: 13px; height: 13px; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.plan:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, .3);
  box-shadow: 0 24px 60px -30px rgba(34, 211, 238, .4);
}
.plan.featured {
  border-color: rgba(139, 92, 246, .5);
  background: linear-gradient(180deg, rgba(139, 92, 246, .10), rgba(255, 255, 255, .02));
}
.plan.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at 50% 0%, rgba(139, 92, 246, .18), transparent 70%);
  pointer-events: none;
}
.plan-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--grad);
  color: #05060f;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .02em;
  z-index: 1;
}
.plan-name { font-weight: 700; font-size: 15px; position: relative; }
.plan-price {
  position: relative;
  margin: 12px 0 4px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.plan-price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.plan-desc { position: relative; color: var(--muted); font-size: 12.5px; margin-bottom: 18px; }
.plan-features { position: relative; display: grid; gap: 8px; margin-bottom: 20px; }
.plan-feature { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: #c3c9e6; }
.plan-feature svg { color: var(--ok); margin-top: 2px; width: 14px; height: 14px; }
.plan .btn { margin-top: auto; position: relative; }

.code-card { margin-top: 28px; }
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.code-head h3 { margin: 0; font-size: 16px; }
.code-head .mono { font-size: 11.5px; color: var(--dim); }
.code-block {
  background: #070912;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
  overflow: auto;
  font-size: 12.8px;
  line-height: 1.7;
  color: #d6e0ff;
  font-family: var(--mono);
  margin: 0;
}

/* ================= 购买页 ================= */
.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
  margin-top: 26px;
}
.summary-list { display: grid; }
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.summary-row:last-child { border-bottom: 0; }
.summary-row .k { color: var(--muted); }
.summary-row .v { color: var(--text); font-weight: 600; text-align: right; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, .03);
}
.qty-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.qty-btn:hover { background: rgba(34, 211, 238, .10); color: var(--cyan); }
.qty-input {
  width: 64px;
  height: 42px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  outline: none;
  -moz-appearance: textfield;
  font-family: inherit;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .02);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option .pay-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
  transition: color .2s ease, background .2s ease;
}
.pay-option .pay-ico svg { width: 18px; height: 18px; }
.pay-option .pay-name { font-size: 13.5px; font-weight: 600; }
.pay-option.is-active {
  border-color: rgba(34, 211, 238, .55);
  background: rgba(34, 211, 238, .06);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .08);
}
.pay-option.is-active .pay-ico { color: var(--cyan); background: rgba(34, 211, 238, .12); }
.pay-option.is-active::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.total-amount {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ================= 网络装饰 ================= */
.section-net { position: relative; overflow: hidden; }
.net-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .55;
  z-index: 0;
}
.section-net > .container { position: relative; z-index: 1; }

/* ================= 锚点偏移 ================= */
.section[id],
section[id],
h2[id],
h3[id],
[id="apps"],
[id="faq"],
[id="how"],
[id="plans"],
[id="agent"] {
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

/* ================= 工具类 ================= */
.text-muted { color: var(--muted); }
.text-right { text-align: right; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0; }
.hidden { display: none !important; }
.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;
}

/* ================= 滚动渐显 ================= */
[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: .07s; }
.js [data-reveal][data-delay="2"] { transition-delay: .14s; }
.js [data-reveal][data-delay="3"] { transition-delay: .21s; }
.js [data-reveal][data-delay="4"] { transition-delay: .28s; }
.js [data-reveal][data-delay="5"] { transition-delay: .35s; }

[data-magnetic] { will-change: transform; }

/* ================= 动画 ================= */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulseRing {
  0% { opacity: .6; transform: scale(.9); }
  70% { opacity: 0; transform: scale(1.18); }
  100% { opacity: 0; transform: scale(1.18); }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ================= 响应式 ================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero { min-height: auto; padding: 70px 0 90px; }
  .hero-visual { height: 380px; order: -1; }
  .hero-copy { max-width: 720px; }
  .hero-stats { margin-top: 40px; }
  .page-hero-inner { flex-direction: column; align-items: flex-start; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .doc { grid-template-columns: 200px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .grid-3,
  .grid-2,
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .dash,
  .doc { grid-template-columns: minmax(0, 1fr); }
  .side,
  .doc-nav { position: static; }
  .order-grid { grid-template-columns: 1fr; }
  .license-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-inner { height: 64px; gap: 12px; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 18px 16px;
    background: rgba(6, 7, 18, .97);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    display: none;
    margin-left: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 14px; }
  .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 56px 0 70px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .page-hero { padding-top: 34px; }
  .page-stats { width: 100%; gap: 20px 24px; }
  .products-help { padding: 22px; }
  .hero-visual { height: 300px; }
  .orb-ring.r1 { width: 260px; height: 260px; }
  .orb-ring.r2 { width: 330px; height: 330px; }
  .orb-ring.r3 { width: 210px; height: 210px; }
  .hero-badge { width: 226px; bottom: 0; left: 50%; margin-left: -113px; }
  .section { padding: 64px 0; }
  .form-row,
  .pay-options { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta { padding: 26px; }
  .doc-body { padding: 24px; }
  .auth-card { padding: 28px; }
  .dash { padding: 24px 0 60px; }
  .panel { padding: 20px; }
  .license-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 18px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .product-head { gap: 12px; }
  .toast-wrap { right: 12px; left: 12px; bottom: 12px; }
  .toast { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal],
  [data-reveal] { opacity: 1; transform: none; }
}
