/* ==========================================================================
   小熊加速器 — 全站样式
   ========================================================================== */

:root {
  --bg: #070c16;
  --bg-2: #0b1322;
  --surface: rgba(19, 30, 50, 0.72);
  --surface-solid: #131e32;
  --surface-2: rgba(28, 42, 68, 0.6);
  --line: rgba(120, 170, 220, 0.16);
  --line-strong: rgba(120, 190, 235, 0.34);
  --text: #eef5ff;
  --text-2: #b3c4dc;
  --text-3: #8497b3;
  --cyan: #22d3ee;
  --mint: #34d399;
  --blue: #3b82f6;
  --orange: #fb923c;
  --pink: #f472b6;
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 26px;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.85);
  --shadow-soft: 0 30px 80px -40px rgba(34, 211, 238, 0.55);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, "SFMono-Regular", monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 640px at 78% -8%, rgba(34, 211, 238, 0.16), transparent 62%),
    radial-gradient(900px 620px at 4% 12%, rgba(59, 130, 246, 0.14), transparent 60%),
    radial-gradient(1000px 700px at 50% 108%, rgba(52, 211, 153, 0.12), transparent 62%),
    linear-gradient(180deg, #070c16 0%, #080f1c 45%, #060a13 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(140, 190, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 190, 235, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 78%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: #7de8fb; }
h1, h2, h3, h4 { line-height: 1.28; margin: 0 0 0.6em; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: 0.45em; }
code, kbd { font-family: var(--mono); font-size: 0.9em; }
strong { color: #fff; }

::selection { background: rgba(34, 211, 238, 0.32); color: #fff; }

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

.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;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--cyan);
  color: #03202a;
  font-weight: 700;
  border-radius: 0 0 12px 12px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; color: #03202a; }

.wrap {
  width: min(100% - 40px, var(--maxw));
  margin-inline: auto;
}

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  background: rgba(7, 12, 22, 0.72);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.brand:hover { color: #fff; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-3);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 9px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(120, 190, 235, 0.12); color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(34, 211, 238, 0.14); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(19, 30, 50, 0.8);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
    background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, #34d399 0%, #22d3ee 58%, #38bdf8 100%);
  color: #032028;
  box-shadow: 0 14px 34px -14px rgba(34, 211, 238, 0.85);
}
.btn-primary:hover { color: #032028; box-shadow: 0 20px 46px -16px rgba(52, 211, 153, 0.9); }

.btn-ghost {
  background: rgba(19, 30, 50, 0.72);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(34, 211, 238, 0.14); color: #fff; border-color: var(--cyan); }

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

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

/* ---------------- 通用区块 ---------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tight { padding: clamp(40px, 5vw, 66px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.32);
  border-radius: 999px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 54px);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(27px, 3.6vw, 42px);
  margin-bottom: 14px;
}
.section-head p {
  color: var(--text-2);
  font-size: 17px;
  margin-bottom: 0;
}

.gradient-text {
  background: linear-gradient(100deg, #34d399, #22d3ee 48%, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- 卡片 ---------------- */
.card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: transform 0.28s var(--ease), border-color 0.28s, box-shadow 0.28s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.22), rgba(52, 211, 153, 0.14));
  border: 1px solid rgba(34, 211, 238, 0.34);
  color: var(--cyan);
}
.icon-badge svg { width: 24px; height: 24px; }

.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15px; margin-bottom: 0; }

/* ---------------- 首页 Hero ---------------- */
.hero {
  position: relative;
  padding: clamp(48px, 6vw, 86px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 60px);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.hero .lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-visual {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
  background: var(--surface-solid);
}
.hero-visual img { width: 100%; height: auto; }

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--text-3);
}
.trust-bar li { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.trust-bar li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.16);
}

/* ---------------- 数据条 ---------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.stats > div {
  padding: 24px 20px;
  background: rgba(11, 19, 34, 0.92);
  text-align: center;
}
.stats b {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #6ee7b7, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats span { font-size: 13px; color: var(--text-3); }

/* ---------------- 步骤 ---------------- */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.step {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 800;
  color: rgba(34, 211, 238, 0.55);
  margin-bottom: 12px;
}
.step h3 { font-size: 18px; }
.step p { color: var(--text-2); font-size: 15px; margin: 0; }

/* ---------------- 价格 ---------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan--featured {
  border-color: rgba(52, 211, 153, 0.55);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.12), rgba(19, 30, 50, 0.85) 42%);
  box-shadow: 0 30px 70px -40px rgba(52, 211, 153, 0.7);
}
.plan-tag {
  position: absolute;
  top: -13px; left: 26px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 999px;
  background: linear-gradient(120deg, #34d399, #22d3ee);
  color: #032028;
}
.plan h3 { font-size: 20px; margin-bottom: 2px; }
.plan .price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 8px 0 4px;
  font-weight: 800;
}
.plan .price b { font-size: 40px; letter-spacing: -0.03em; }
.plan .price small { font-size: 14px; color: var(--text-3); font-weight: 600; }
.plan .plan-desc { font-size: 14px; color: var(--text-3); margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: 14.5px; }
.plan ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(120, 170, 220, 0.12);
  color: var(--text-2);
}
.plan ul li:last-child { border-bottom: 0; }
.plan ul li::before {
  content: "✓";
  color: var(--mint);
  font-weight: 800;
  flex-shrink: 0;
}
.plan .btn { margin-top: auto; }

/* ---------------- 表格 ---------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 19, 34, 0.6);
}
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
caption { caption-side: bottom; padding: 12px 16px; font-size: 13px; color: var(--text-3); text-align: left; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
thead th {
  background: rgba(34, 211, 238, 0.09);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 700;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(34, 211, 238, 0.05); }
td.num { font-family: var(--mono); color: var(--mint); }

/* ---------------- 面包屑 ---------------- */
.breadcrumb {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--text-3);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: rgba(140, 170, 200, 0.4); }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb [aria-current="page"] { color: var(--text-2); }

/* ---------------- FAQ ---------------- */
.faq-list { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
details.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 4px 22px;
  transition: border-color 0.25s, background 0.25s;
}
details.faq[open] { border-color: var(--line-strong); background: rgba(24, 38, 60, 0.8); }
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 34px 16px 0;
  font-weight: 700;
  font-size: 16.5px;
  position: relative;
  color: var(--text);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--cyan);
  transition: transform 0.25s var(--ease);
}
details.faq[open] summary::after { content: "−"; }
details.faq .faq-body { padding-bottom: 18px; color: var(--text-2); font-size: 15px; }
details.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------------- 博客 ---------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.28s var(--ease), border-color 0.28s, box-shadow 0.28s;
}
.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card .post-body { padding: 20px 22px 22px; }
.post-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.post-card h3 a { color: #fff; }
.post-card h3 a:hover { color: var(--cyan); }
.post-card p { font-size: 14.5px; color: var(--text-2); margin-bottom: 12px; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: auto;
}

.article {
  max-width: 800px;
  margin-inline: auto;
}
.article h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.article h2 { font-size: clamp(22px, 2.6vw, 29px); margin-top: 2em; }
.article h3 { font-size: 19px; margin-top: 1.6em; }
.article p, .article li { color: var(--text-2); font-size: 16.5px; }
.article figure { margin: 28px 0; }
.article figure img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.article figcaption { font-size: 13px; color: var(--text-3); margin-top: 10px; text-align: center; }
.article blockquote {
  margin: 24px 0;
  padding: 16px 22px;
  border-left: 3px solid var(--mint);
  background: rgba(52, 211, 153, 0.07);
  border-radius: 0 12px 12px 0;
  color: var(--text-2);
}
.article blockquote p:last-child { margin-bottom: 0; }
.article-cover {
  width: 100%;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  margin-bottom: 28px;
}
.article-foot {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

/* ---------------- CTA 条 ---------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 5vw, 62px);
  border-radius: var(--radius-l);
  border: 1px solid rgba(52, 211, 153, 0.36);
  background:
    radial-gradient(700px 300px at 12% 0%, rgba(34, 211, 238, 0.24), transparent 65%),
    radial-gradient(700px 340px at 92% 100%, rgba(52, 211, 153, 0.22), transparent 62%),
    rgba(13, 24, 40, 0.9);
  text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 3.4vw, 38px); margin-bottom: 12px; }
.cta-band p { color: var(--text-2); max-width: 620px; margin: 0 auto 26px; }
.cta-band .btn-row { justify-content: center; }

/* ---------------- 下载页 ---------------- */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.platform:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.platform svg { width: 34px; height: 34px; color: var(--cyan); }
.platform b { font-size: 16px; }
.platform span { font-size: 13px; color: var(--text-3); }
.platform .btn { margin-top: 8px; }

/* ---------------- 提示 / 通知 ---------------- */
.notice {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(251, 146, 60, 0.36);
  background: rgba(251, 146, 60, 0.1);
  font-size: 14px;
  color: #ffd9b8;
}
.notice svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; }

/* ---------------- 页脚 ---------------- */
.site-footer {
  margin-top: clamp(50px, 7vw, 90px);
  padding: 54px 0 32px;
  border-top: 1px solid var(--line);
  background: rgba(6, 10, 18, 0.7);
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 34px;
  padding-bottom: 34px;
}
.foot-brand p { color: var(--text-3); font-size: 13.5px; margin: 14px 0 0; max-width: 300px; }
.foot-col .foot-heading {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 14px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 9px; }
.foot-col a { color: var(--text-2); font-size: 14px; }
.foot-col a:hover { color: var(--cyan); }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-3);
}
.foot-bottom p { margin: 0; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-bottom a { color: var(--text-3); }
.foot-bottom a:hover { color: var(--cyan); }

/* ---------------- 返回顶部 ---------------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 70;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(13, 22, 38, 0.92);
  color: var(--cyan);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.28s, visibility 0.28s, transform 0.28s;
  backdrop-filter: blur(8px);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------------- 深链复制 ---------------- */
.copy-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 18px 0;
}
.copy-field {
  flex: 1 1 260px;
  padding: 13px 16px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--mint);
  background: rgba(8, 15, 26, 0.9);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  overflow-x: auto;
  white-space: nowrap;
}

/* ==========================================================================
   广告弹窗 —— 每次打开 / 刷新必弹
   ========================================================================== */
.popup-mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 6, 12, 0.66);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.popup-mask.is-open { opacity: 1; visibility: visible; }

.popup-content {
  position: relative;
  width: min(420px, 100%);
  max-height: min(84vh, 720px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 0 20px;
  border-radius: 20px;
  border: 1px solid rgba(120, 190, 235, 0.34);
  background: linear-gradient(180deg, #16233a 0%, #0d1726 100%);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(34, 211, 238, 0.08);
  transform: translateY(22px) scale(0.97);
  opacity: 0;
  transition: transform 0.36s var(--ease), opacity 0.36s var(--ease);
}
.popup-mask.is-open .popup-content { transform: translateY(0) scale(1); opacity: 1; }

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  color: #dbe8f7;
  background: rgba(8, 14, 24, 0.72);
  border: 1px solid rgba(140, 180, 220, 0.28);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}
.popup-close:hover { background: rgba(244, 114, 182, 0.28); color: #fff; transform: rotate(90deg); }

/* 广告标识 —— 合规必须保留 */
.popup-ad-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #0a1620;
  background: rgba(251, 191, 36, 0.92);
  border-radius: 5px;
}

.popup-stack { display: block; }

.popup-link {
  display: block;
  color: inherit;
  text-decoration: none;
  outline-offset: -3px;
}
.popup-link:hover { color: inherit; }

.popup-title {
  margin: 0;
  padding: 52px 22px 12px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #f3f9ff;
  text-align: center;
}

.popup-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #0f1b2c;
}

.popup-shop-wrap { padding: 18px 22px 0; }

.popup-shop-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 18px;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #04222c;
  text-decoration: none;
  background: linear-gradient(120deg, #34d399 0%, #22d3ee 62%, #38bdf8 100%);
  border-radius: 12px;
  box-shadow: 0 14px 30px -14px rgba(34, 211, 238, 0.9);
  transition: transform 0.2s var(--ease), box-shadow 0.24s, filter 0.2s;
}
.popup-shop-btn:hover {
  color: #04222c;
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 20px 40px -16px rgba(52, 211, 153, 0.95);
}
.popup-shop-btn:active { transform: translateY(0); }

.popup-foot {
  margin: 14px 22px 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: #7d90ac;
  text-align: center;
}

/* 移动端：改为底部抽屉，降低对首屏内容的遮挡 */
@media (max-width: 640px) {
  .popup-mask { align-items: flex-end; padding: 0; }
  .popup-content {
    width: 100%;
    max-height: 82vh;
    border-radius: 20px 20px 0 0;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    transform: translateY(100%);
    opacity: 1;
  }
  .popup-mask.is-open .popup-content { transform: translateY(0); }
  .popup-title { padding: 46px 18px 10px; font-size: 16px; }
  .popup-shop-wrap { padding: 14px 18px 0; }
  .popup-foot { margin: 12px 18px 0; }
}

body.popup-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .popup-content { transform: none; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 560px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px 20px 20px;
    background: rgba(7, 12, 22, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: 11px 12px; }
  .nav-cta { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .platforms { grid-template-columns: 1fr 1fr; }
  .to-top { right: 14px; bottom: 14px; }
  .btn-row .btn { flex: 1 1 100%; }
}

@media (max-width: 480px) {
  body { font-size: 15.5px; }
  .wrap { width: calc(100% - 28px); }
  .card { padding: 22px 18px; }
  .plan { padding: 26px 20px; }
  .platforms { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .site-footer, .to-top, .popup-mask, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  body::before, body::after { display: none; }
}
