/* ============================================================
   号卡仓 · 闲鱼全托管系统 — 样式
   纯 CSS，无外部字体 / 图标库 / CDN
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-2: #0e0e0e;
  --bg-3: #111111;
  --gold: #d4af37;
  --gold-2: #f0c75e;
  --gold-3: #b8912b;
  --gold-soft: rgba(212, 175, 55, .12);
  --text: #e9e7e2;
  --text-dim: #a8a49b;
  --text-mute: #7d7970;
  --line: rgba(212, 175, 55, .16);
  --line-soft: rgba(255, 255, 255, .06);
  --card: rgba(255, 255, 255, .022);
  --card-hover: rgba(255, 255, 255, .04);
  --grad-gold: linear-gradient(100deg, #b8912b 0%, #f0c75e 35%, #d4af37 62%, #f7dd94 100%);
  --radius: 14px;
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
          "Courier New", monospace;
}

* { 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.72;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-weight: 650; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); }
::selection { background: rgba(212, 175, 55, .28); color: #fff; }

/* ---------- 背景层 ---------- */
.bg-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 25%, transparent 78%);
  opacity: .55;
}
.bg-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.bg-glow-1 {
  width: 720px; height: 720px; top: -340px; left: 50%; transform: translateX(-62%);
  background: radial-gradient(circle, rgba(212, 175, 55, .30), rgba(212, 175, 55, 0) 68%);
  animation: drift1 18s ease-in-out infinite alternate;
}
.bg-glow-2 {
  width: 560px; height: 560px; top: 46vh; right: -240px;
  background: radial-gradient(circle, rgba(240, 199, 94, .16), rgba(240, 199, 94, 0) 70%);
  animation: drift2 24s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translateX(-50%) translateY(36px) scale(1.08); } }
@keyframes drift2 { to { transform: translateY(-48px) scale(1.12); } }

/* ---------- 顶部滚动进度 ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--grad-gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, .7);
  z-index: 200;
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 10, .66);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(10, 10, 10, .88); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none;
  border: 1px solid var(--line); border-radius: 10px;
  background: linear-gradient(180deg, rgba(212, 175, 55, .12), rgba(212, 175, 55, .02));
}
.brand-text { font-size: 15px; font-weight: 650; letter-spacing: .02em; white-space: nowrap; }
.brand-text em { color: var(--gold); font-style: normal; margin: 0 6px; }
.brand-text span { color: var(--text-dim); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 8px 12px; font-size: 14px; color: var(--text-dim);
  border-radius: 8px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--gold-2); background: rgba(212, 175, 55, .07); }
.nav-links a.active { color: var(--gold-2); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px;
  background: var(--grad-gold);
}
.nav-links .nav-cta {
  margin-left: 8px; color: #120e02; font-weight: 650;
  background: var(--grad-gold);
  border-radius: 999px; padding: 8px 18px;
  box-shadow: 0 4px 16px rgba(212, 175, 55, .22);
}
.nav-links .nav-cta:hover { color: #120e02; filter: brightness(1.06); }
.nav-links .nav-cta::after { display: none; }

.nav-toggle {
  display: none; width: 40px; height: 36px; padding: 8px;
  background: transparent; border: 1px solid var(--line); border-radius: 9px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1.5px; background: var(--gold-2); border-radius: 2px;
  margin: 4px 0; transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(94vh, 900px);
  display: flex; align-items: center; justify-content: center;
  padding: 88px 24px 76px;
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .85; }
.hero-inner { max-width: 960px; text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin-bottom: 26px;
  font-size: 12.5px; letter-spacing: .04em; color: var(--gold-2);
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(212, 175, 55, .06);
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2);
  box-shadow: 0 0 8px var(--gold-2); animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero-title {
  font-size: clamp(1.7rem, 7vw, 4.4rem);
  font-weight: 750; letter-spacing: -.02em; line-height: 1.14;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero-title .sep { color: var(--gold-3); margin: 0 .18em; font-weight: 400; }
.hero-title .grad {
  background: var(--grad-gold);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

.hero-lede {
  font-size: clamp(1rem, 2.4vw, 1.16rem);
  color: var(--text-dim); max-width: 720px; margin: 0 auto 40px;
}
.hero-lede br.pc-only { display: none; }
@media (min-width: 900px) { .hero-lede br.pc-only { display: block; } }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 按钮 ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-size: 15px; font-weight: 650;
  border: 1px solid transparent; cursor: pointer; overflow: hidden;
  transition: transform .22s, box-shadow .22s, background .22s, color .22s, border-color .22s;
}
.btn:active { transform: translateY(1px) scale(.995); }
.btn-gold {
  color: #100c02;
  background: var(--grad-gold);
  background-size: 160% 100%;
  box-shadow: 0 8px 28px rgba(212, 175, 55, .26), inset 0 1px 0 rgba(255, 255, 255, .34);
}
.btn-gold::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: sheen 4.2s ease-in-out infinite;
}
@keyframes sheen { 0%, 62% { transform: translateX(-120%); } 88%, 100% { transform: translateX(120%); } }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(212, 175, 55, .36), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-gold .arrow { font-weight: 400; transition: transform .22s; }
.btn-gold:hover .arrow { transform: translateX(4px); }
.btn-ghost {
  color: var(--text); border-color: var(--line);
  background: rgba(255, 255, 255, .02);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-ghost:hover { color: var(--gold-2); border-color: rgba(212, 175, 55, .5); background: rgba(212, 175, 55, .07); transform: translateY(-2px); }
.btn-outline {
  color: var(--gold-2); border-color: rgba(212, 175, 55, .38);
  background: rgba(212, 175, 55, .05);
}
.btn-outline:hover { background: rgba(212, 175, 55, .12); border-color: rgba(212, 175, 55, .62); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; font-weight: 600; }
.btn .hint { font-weight: 450; font-size: 12px; color: var(--text-mute); margin-left: 2px; }

/* ---------- 首屏数据条 ---------- */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin: 64px auto 0; max-width: 860px;
  border-top: 1px solid var(--line);
}
.hero-stats li {
  padding: 22px 10px 0; text-align: center;
  border-right: 1px solid var(--line-soft);
}
.hero-stats li:last-child { border-right: 0; }
.hero-stats strong {
  display: block; font-size: clamp(1.6rem, 3.6vw, 2.1rem); font-weight: 750;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
  color: transparent; line-height: 1.1; margin-bottom: 4px;
}
.hero-stats span { font-size: 12.5px; color: var(--text-mute); line-height: 1.5; display: block; }

.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 34px; border: 1px solid rgba(212, 175, 55, .3); border-radius: 12px;
  display: grid; place-items: start center; padding-top: 6px;
}
.scroll-hint span {
  width: 3px; height: 7px; border-radius: 2px; background: var(--gold-2);
  animation: wheel 1.9s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 通用区块 ---------- */
.section { position: relative; padding: 104px 0; }
.section-alt { background: linear-gradient(180deg, rgba(255, 255, 255, .012), transparent 45%, rgba(255, 255, 255, .012)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.sec-head { max-width: 640px; margin-bottom: 56px; }
.eyebrow {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .22em;
  color: var(--gold-3); margin-bottom: 14px; text-transform: uppercase;
}
.sec-head h2 {
  font-size: clamp(1.7rem, 4.2vw, 2.5rem); font-weight: 720; margin-bottom: 14px;
  letter-spacing: -.015em;
}
.sec-head h2::after {
  content: ""; display: block; width: 44px; height: 2px; margin-top: 18px;
  background: var(--grad-gold); border-radius: 2px;
}
.sec-sub { color: var(--text-dim); font-size: 15px; }

/* ---------- 功能卡片 ---------- */
.cards {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: center;
  align-items: stretch;
}
.card {
  position: relative; padding: 30px 26px 26px; border-radius: var(--radius);
  flex: 1 1 292px; max-width: calc((100% - 32px) / 3);
  background: var(--card); border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s, background .3s, box-shadow .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background: radial-gradient(420px circle at 50% 0%, rgba(212, 175, 55, .13), transparent 65%);
  transition: opacity .35s;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: var(--grad-gold); transition: width .4s ease;
}
.card:hover {
  transform: translateY(-4px);
  background: var(--card-hover);
  border-color: rgba(212, 175, 55, .34);
  box-shadow: 0 18px 44px -22px rgba(0, 0, 0, .9), 0 0 0 1px rgba(212, 175, 55, .06);
}
.card:hover::before { opacity: 1; }
.card:hover::after { width: 100%; }

.card-no {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--mono); font-size: 30px; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(212, 175, 55, .28);
  pointer-events: none; transition: -webkit-text-stroke-color .3s;
}
.card:hover .card-no { -webkit-text-stroke-color: rgba(240, 199, 94, .62); }
.card h3 { font-size: 17.5px; margin-bottom: 12px; color: #f4f1ea; padding-right: 34px; }
.card p { font-size: 14px; color: var(--text-dim); line-height: 1.72; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags li {
  font-size: 11.5px; color: var(--gold-2); padding: 3px 9px;
  border: 1px solid rgba(212, 175, 55, .22); border-radius: 5px;
  background: rgba(212, 175, 55, .055); letter-spacing: .02em;
}

/* ---------- 配套能力 ---------- */
.more { margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--line-soft); }
.more-title {
  font-size: 13px; letter-spacing: .18em; color: var(--text-mute);
  font-family: var(--mono); text-transform: uppercase; margin-bottom: 24px;
}
.more-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.more-item {
  padding: 22px 22px 20px; border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(212, 175, 55, .035), rgba(255, 255, 255, .01));
  transition: border-color .3s, transform .3s;
}
.more-item:hover { border-color: rgba(212, 175, 55, .3); transform: translateY(-2px); }
.more-item h4 { font-size: 15px; color: var(--gold-2); margin-bottom: 9px; }
.more-item p { font-size: 13.2px; color: var(--text-dim); line-height: 1.7; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li {
  font-size: 12.5px; color: var(--text-dim); padding: 6px 13px;
  border: 1px solid var(--line-soft); border-radius: 999px; background: rgba(255, 255, 255, .02);
  transition: color .2s, border-color .2s;
}
.chips li:hover { color: var(--gold-2); border-color: rgba(212, 175, 55, .34); }
.chips-lg li { font-size: 13px; padding: 8px 16px; color: var(--text); }

/* ---------- 快速开始 ---------- */
.steps { display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: 68px 1fr; gap: 22px;
  padding: 28px 30px; border-radius: var(--radius);
  border: 1px solid var(--line-soft); background: var(--card);
  transition: border-color .3s, background .3s;
}
.step > * { min-width: 0; }
.step:hover { border-color: rgba(212, 175, 55, .26); background: var(--card-hover); }
.step-no {
  font-size: 26px; line-height: 1; color: var(--gold-2);
  font-weight: 600; padding-top: 2px;
}
.step-body h3 { font-size: 17px; margin-bottom: 10px; color: #f4f1ea; }
.step-body p { font-size: 14px; color: var(--text-dim); margin-bottom: 12px; }
.step-body p:last-child { margin-bottom: 0; }
.step-body code {
  font-size: 12.8px; padding: 1.5px 6px; border-radius: 4px;
  color: var(--gold-2); background: rgba(212, 175, 55, .09);
  border: 1px solid rgba(212, 175, 55, .16);
}
.step-body .warn { color: #e3b341; font-size: 13.2px; }
.step-body .note { color: var(--text-mute); font-size: 12.8px; margin-top: 4px; }
.step .btn { margin-top: 2px; }

/* 下载按钮组（快速开始 ①） */
.download-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.download-row .btn { margin-top: 0; }
.download-row svg { flex: none; }
.download-hint { margin-top: 9px; font-size: 12px; color: #6b6860; line-height: 1.6; }

.code {
  position: relative; margin: 14px 0 4px; max-width: 100%;
  border: 1px solid var(--line-soft); border-radius: 10px;
  background: #060606;
  overflow: hidden;
}
.code pre {
  margin: 0; padding: 16px 18px; overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.code code {
  font-size: 12.8px; line-height: 1.8; color: #cfc9bd;
  background: none; border: 0; padding: 0; white-space: pre;
}
.copy {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  font-family: var(--font); font-size: 11.5px; color: var(--text-mute);
  padding: 4px 10px; border-radius: 6px; cursor: pointer;
  background: rgba(20, 20, 20, .92); border: 1px solid var(--line-soft);
  transition: color .2s, border-color .2s, background .2s;
}
.copy:hover { color: var(--gold-2); border-color: rgba(212, 175, 55, .4); }
.copy.done { color: #0e0e0e; background: var(--gold-2); border-color: var(--gold-2); }

.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .13); }
.dots i:first-child { background: rgba(212, 175, 55, .55); }

/* ---------- 使用流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.flow::before {
  content: ""; position: absolute; top: 17px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, .42), rgba(212, 175, 55, .42), transparent);
}
.flow-item { position: relative; padding-top: 46px; text-align: center; }
.flow-dot {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 35px; height: 35px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13.5px; font-weight: 700;
  color: var(--gold-2); font-family: var(--mono);
  background: #0d0d0d; border: 1px solid rgba(212, 175, 55, .42);
  box-shadow: 0 0 0 5px #0a0a0a, 0 0 18px rgba(212, 175, 55, .16);
}
.flow-item h3 { font-size: 15.5px; margin-bottom: 8px; color: #f2efe8; }
.flow-item p { font-size: 13px; color: var(--text-dim); line-height: 1.68; }

/* ---------- 联系我们 ---------- */
.contact { position: relative; }
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(212, 175, 55, .09), transparent 70%);
}
.contact .sec-head { margin-left: auto; margin-right: auto; text-align: center; max-width: 660px; }
.contact .sec-head h2::after { margin-left: auto; margin-right: auto; }
.contact-grid {
  display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 640px; margin: 0 auto;
}
.contact-card {
  padding: 34px 28px; border-radius: var(--radius); text-align: center;
  border: 1px solid rgba(212, 175, 55, .22);
  background: linear-gradient(180deg, rgba(212, 175, 55, .055), rgba(255, 255, 255, .012));
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.contact-card:hover {
  border-color: rgba(212, 175, 55, .45); transform: translateY(-3px);
  box-shadow: 0 20px 44px -26px rgba(212, 175, 55, .42);
}
.contact-ic {
  display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 16px;
  color: var(--gold-2); border-radius: 12px;
  background: rgba(212, 175, 55, .09); border: 1px solid rgba(212, 175, 55, .24);
}
.contact-ic svg { display: block; }
.contact-label { font-size: 12px; letter-spacing: .14em; color: var(--text-mute); font-family: var(--mono); margin-bottom: 8px; }
.contact-line {
  font-size: 13.5px; color: var(--text-dim); margin-bottom: 16px;
  line-height: 1.6;
}
.contact-val {
  font-family: var(--mono); font-size: clamp(1.05rem, 3.2vw, 1.22rem); font-weight: 650;
  color: var(--gold-2); letter-spacing: .02em; word-break: break-all;
}
.contact-note { margin-top: 30px; font-size: 13.5px; color: var(--text-mute); text-align: center; }

/* 二维码：白色留白边 = 扫描静区，绝不可改成深色 */
.qr-btn {
  display: block; margin: 0 auto 18px; padding: 0; border: 0;
  background: none; cursor: zoom-in; border-radius: 12px;
  transition: transform .25s, filter .25s;
}
.qr-btn:hover { transform: translateY(-3px); filter: brightness(1.04); }
.qr-btn:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 6px; }
.qr-frame {
  display: block; padding: 15px; border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .95), 0 0 0 1px rgba(212, 175, 55, .38);
}
.qr-frame img { display: block; width: 148px; height: auto; }
.qr-hint { font-size: 11.5px; color: var(--text-mute); margin-top: 10px; }

/* 二维码放大层 */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; gap: 14px;
  padding: 24px;
  background: rgba(6, 6, 6, .92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-img {
  max-width: min(86vw, 460px); max-height: 72vh; width: auto; height: auto;
  padding: 18px; border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, .45), 0 30px 70px -30px #000;
  transform: scale(.96); transition: transform .25s;
}
.lightbox.open .lb-img { transform: none; }
.lb-close {
  position: absolute; top: 18px; right: 20px;
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  font-size: 24px; line-height: 1; color: var(--gold-2);
  background: rgba(20, 20, 20, .9); border: 1px solid var(--line);
}
.lb-close:hover { border-color: rgba(212, 175, 55, .6); }
.lb-tip { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--text-mute); }
body.lb-open { overflow: hidden; }

/* ---------- 首屏试用 ---------- */
.hero-hint { margin-top: 16px; font-size: 12.5px; color: var(--text-mute); }
.btn-trial svg { flex: none; }

/* ---------- 两种购买方式 ---------- */
.section-buy {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(212, 175, 55, .07), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .012), transparent 60%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.buy-card {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 30px 30px; border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.buy-card:hover {
  transform: translateY(-3px); border-color: rgba(212, 175, 55, .38);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .95);
}
.buy-card-saas {
  border-color: rgba(212, 175, 55, .26);
  background: linear-gradient(180deg, rgba(212, 175, 55, .07), rgba(255, 255, 255, .012));
}
.buy-tag {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  color: var(--gold-2); padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, .34); background: rgba(212, 175, 55, .08);
}
.buy-card h3 { font-size: 21px; margin-bottom: 8px; padding-right: 60px; }
.buy-sub { font-size: 13px; color: var(--gold-3); margin-bottom: 20px; }
.buy-list { display: grid; gap: 11px; margin-bottom: 24px; }
.buy-list li {
  position: relative; padding-left: 24px;
  font-size: 13.8px; color: var(--text-dim); line-height: 1.65;
}
.buy-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gold-2); font-size: 12px; font-weight: 700;
}
.buy-list code {
  font-size: 12.4px; padding: 1px 5px; border-radius: 4px;
  color: var(--gold-2); background: rgba(212, 175, 55, .09);
  border: 1px solid rgba(212, 175, 55, .16);
}
.buy-price {
  font-size: 13.5px; color: var(--text-mute);
  margin: auto 0 18px; padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, .07);
}
.buy-card .btn { align-self: flex-start; }
.buy-note { margin-top: 26px; font-size: 13px; color: var(--text-mute); text-align: center; }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 52px;
  background: #080808;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: #ded9cf; margin-bottom: 6px; }
.footer-meta { font-size: 12.8px; color: var(--text-mute); }
.footer-meta .ph { color: #6b6860; }
.footer-fine { font-size: 11.8px; color: #57544d; margin-top: 8px; }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-size: 17px;
  color: var(--gold-2); background: rgba(14, 14, 14, .9);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s, border-color .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: rgba(212, 175, 55, .55); }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.cards .card:nth-child(1) { transition-delay: .02s; }
.cards .card:nth-child(2) { transition-delay: .06s; }
.cards .card:nth-child(3) { transition-delay: .1s; }
.cards .card:nth-child(4) { transition-delay: .14s; }
.cards .card:nth-child(5) { transition-delay: .18s; }
.cards .card:nth-child(6) { transition-delay: .22s; }
.cards .card:nth-child(7) { transition-delay: .26s; }
.cards .card:nth-child(8) { transition-delay: .3s; }
.cards .card:nth-child(9) { transition-delay: .34s; }
.cards .card:nth-child(10) { transition-delay: .38s; }
.cards .card:nth-child(11) { transition-delay: .42s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .nav-links a { padding: 8px 9px; font-size: 13.5px; }
  .nav-links a.active::after { left: 9px; right: 9px; }
  .nav-links .nav-cta { padding: 7px 14px; font-size: 13px; }
}

@media (max-width: 1024px) {
  .section { padding: 84px 0; }
  .card { max-width: calc((100% - 16px) / 2); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .flow::before { display: none; }
  .flow-item { padding-top: 42px; }
  .nav-links .nav-cta { display: none; }
}

@media (max-width: 760px) {
  .buy-grid { grid-template-columns: 1fr; }
  .buy-card { padding: 26px 22px; }
  .buy-tag { top: 20px; right: 20px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 16px 18px;
    background: rgba(9, 9, 9, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -20px #000;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; font-size: 15px; }
  .nav-links a.active::after { display: none; }
  .nav-links .nav-cta { margin: 10px 0 0; text-align: center; padding: 11px 16px; }
  .brand-text span { display: none; }
  .brand-text em { display: none; }
  .hero { min-height: auto; padding: 64px 20px 64px; }
  .hero-stats { margin-top: 46px; grid-template-columns: repeat(2, 1fr); border-top: 0; }
  .hero-stats li { padding: 18px 8px; border: 1px solid var(--line-soft); border-radius: 10px; margin: 0 3px 6px; }
  .hero-stats li:nth-child(2n) { border-right: 1px solid var(--line-soft); }
  .scroll-hint { display: none; }
  .step { grid-template-columns: 1fr; gap: 12px; padding: 24px 22px; }
  .step-no { font-size: 22px; }
  .sec-head { margin-bottom: 40px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { padding: 0 18px; }
  .section { padding: 68px 0; }
  .hero-inner { text-align: left; }
  .hero-badge { font-size: 11.5px; padding: 5px 12px; }
  .hero-title { margin-bottom: 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .hero-lede { margin-bottom: 32px; }
  .hero-stats { margin-top: 38px; }
  .card { max-width: 100%; flex-basis: 100%; padding: 24px 20px 22px; }
  .flow { grid-template-columns: 1fr; }
  .flow-item { text-align: left; padding: 0 0 0 52px; max-width: none; }
  .flow-dot { left: 0; transform: none; top: 2px; }
  .code pre { padding: 14px 14px; }
  .code code { font-size: 11.8px; white-space: pre-wrap; overflow-wrap: anywhere; }
  .copy { top: 6px; right: 6px; }
  .download-row { flex-direction: column; align-items: stretch; }
  .download-row .btn { width: 100%; justify-content: center; }
  .step-body h3 { font-size: 16px; }
  .to-top { right: 14px; bottom: 14px; }
  .contact-grid { grid-template-columns: 1fr; }
  .qr-frame { padding: 13px; }
  .qr-frame img { width: 132px; }
  .sec-head h2::after { margin-top: 14px; }
}

@media (hover: none) {
  .card:hover { transform: none; }
  .btn-gold::after { animation: 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;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-canvas { display: none; }
}

@media print {
  .nav, .hero-canvas, .to-top, .scroll-hint, .scroll-progress, .bg-layer { display: none !important; }
  body { background: #fff; color: #111; }
}
