/* ==========================================================================
   内容素材小程序 · 官网样式
   深色高端 SaaS 风格；主色与后台保持一致（#22c55e 系）
   修改配色只改下面 :root 里的变量即可
   ========================================================================== */

:root {
  --bg: #07090d;
  --bg-soft: #0b0f15;
  --panel: #10161f;
  --panel-2: #0d131b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9eef7;
  --muted: #94a3b8;
  --muted-2: #6b7a90;
  --brand: #22c55e;
  --brand-soft: rgba(34, 197, 94, 0.12);
  --brand-line: rgba(34, 197, 94, 0.35);
  --cyan: #38bdf8;
  --amber: #fbbf24;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", Menlo, 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: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(34, 197, 94, 0.3); }

/* ---- 自定义滚动条（贴合深色主题） ---- */
* {
  scrollbar-width: thin;
  scrollbar-color: #26313f transparent;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #26313f;
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: #3d4b5e;
  background-clip: padding-box;
}
::-webkit-scrollbar-corner {
  background: transparent;
}

/* 顶部氛围光 */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 720px;
  background:
    radial-gradient(880px 420px at 18% -6%, rgba(34, 197, 94, 0.16), transparent 68%),
    radial-gradient(760px 380px at 84% 2%, rgba(56, 189, 248, 0.12), transparent 66%);
  pointer-events: none;
  z-index: 0;
}

/* ---------------- 布局 ---------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section { padding: 92px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brand-line);
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; line-height: 1.22; }
h1 { font-size: clamp(34px, 5.4vw, 60px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: 19px; }
h4 { font-size: 16px; }

.lead { color: var(--muted); font-size: clamp(15px, 1.5vw, 17px); line-height: 1.85; }
.dim { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: var(--mono); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(135deg, #2ee06a, #14a34a);
  color: #04140a;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.28);
}
.btn--primary:hover { box-shadow: 0 14px 36px rgba(34, 197, 94, 0.4); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn.is-pending { opacity: 0.75; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  background: rgba(7, 9, 13, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(7, 9, 13, 0.9); }
.nav {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2ee06a, #0f9d47);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.3);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 14.5px; font-weight: 700; letter-spacing: 0.02em; }
.brand-sub { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--muted-2); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.16s ease, background 0.16s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-links a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.07); }

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

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}
.nav-toggle span::before { transform: translateY(-5px); }
.nav-toggle span::after { transform: translateY(3.5px); }

/* ---------------- Hero ---------------- */
.hero { padding: 78px 0 34px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .grad {
  background: linear-gradient(120deg, #4ade80 10%, #22c55e 45%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 22px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 6px 12px;
}
.badge i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
.hero-meta { margin-top: 22px; font-size: 12.5px; color: var(--muted-2); font-family: var(--mono); }

/* Hero 右侧主视觉（浏览器窗口 + 手机） */
.hero-visual { position: relative; min-height: 420px; }
.hero-visual .phone-wrap {
  position: absolute;
  right: -6px;
  bottom: -18px;
  width: 168px;
  transform: rotate(-4deg);
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.55));
  z-index: 3;
}

/* ---------------- 截图框 ---------------- */
.frame-browser {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.frame-browser .bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
}
.frame-browser .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.frame-browser .url {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted-2);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  padding: 2px 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.frame-browser .body { position: relative; aspect-ratio: 16 / 10; }
.frame-browser .body img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.frame-phone {
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: #0a0e14;
  padding: 7px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}
.frame-phone .notch {
  width: 62px; height: 5px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  margin: 4px auto 6px;
}
.frame-phone .body {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9 / 18;
  background: #0b1016;
  position: relative;
}
.frame-phone .body img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* 占位（截图未补充时） */
.ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.022) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #0e141d, #0a0f15);
  color: var(--muted-2);
}
.ph svg { opacity: 0.5; }
.ph strong { color: var(--muted); font-size: 13px; font-weight: 600; }
.ph span { font-size: 11.5px; line-height: 1.6; max-width: 240px; }

/* ---------------- 数据条 ---------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 26px;
}
.stat { background: var(--panel-2); padding: 26px 22px; }
.stat .num { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.stat .num em { font-style: normal; font-size: 13px; color: var(--muted); margin-left: 4px; }
.stat .label { font-size: 12.5px; color: var(--muted-2); margin-top: 6px; line-height: 1.6; }

/* ---------------- 卡片网格 ---------------- */
.grid { display: grid; gap: 18px; }
.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 {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 197, 94, 0.28);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.75; }
.card-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  color: var(--brand);
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

/* ---------------- 序号大节 ---------------- */
.hl { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; padding: 62px 0; border-top: 1px solid var(--line); }
.hl:first-of-type { border-top: 0; }
.hl.rev .hl-media { order: -1; }
.hl-no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--brand);
  margin-bottom: 14px;
}
.hl h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 14px; }
.hl .lead { font-size: 14.5px; }
.hl-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.hl-points li { display: flex; gap: 10px; font-size: 13.5px; color: var(--muted); }
.hl-points li svg { flex-shrink: 0; margin-top: 4px; color: var(--brand); }

/* ---------------- 规格表 ---------------- */
.specs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.spec-row:first-child { border-top: 0; }
.spec-row .k { color: var(--muted-2); font-family: var(--mono); font-size: 12.5px; }
.spec-row .v { color: var(--text); }

/* ---------------- 价格 ---------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.is-hot {
  border-color: var(--brand-line);
  background:
    radial-gradient(520px 220px at 50% -12%, rgba(34, 197, 94, 0.16), transparent 70%),
    linear-gradient(180deg, #101a15, #0c1219);
  box-shadow: 0 24px 60px rgba(34, 197, 94, 0.12);
}
.plan-tag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2ee06a, #14a34a);
  color: #04140a;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}
.plan-name { font-size: 16px; font-weight: 700; }
.plan-desc { color: var(--muted-2); font-size: 12.5px; margin-top: 6px; min-height: 38px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 4px; }
.plan-price .cur { font-size: 16px; color: var(--muted); }
.plan-price .val { font-size: 42px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan-price .unit { font-size: 12.5px; color: var(--muted-2); }
.plan-orig { font-size: 12.5px; color: var(--muted-2); text-decoration: line-through; }
.plan-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; flex: 1; }
.plan-list li { display: flex; gap: 9px; font-size: 13.5px; color: var(--muted); }
.plan-list li svg { flex-shrink: 0; margin-top: 4px; color: var(--brand); }
.plan .btn { margin-top: 24px; width: 100%; }

/* ---------------- 更新日志 ---------------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--brand-line), var(--line) 40%, transparent);
}
.log-item { position: relative; padding: 0 0 38px; }
.log-item::before {
  content: "";
  position: absolute;
  left: -26px; top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}
.log-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.log-ver {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  padding: 2px 9px;
  border-radius: 7px;
}
.log-date { font-size: 12.5px; color: var(--muted-2); font-family: var(--mono); }
.log-type {
  font-size: 11.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 9px;
}
.log-title { font-size: 15.5px; font-weight: 600; margin: 4px 0 10px; }
.log-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.log-list li { position: relative; padding-left: 15px; font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.log-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 5px; height: 1px; background: var(--muted-2); }

/* ---------------- 文档 ---------------- */
.docs-layout {
  display: grid;
  grid-template-columns: 258px 1fr;
  gap: 46px;
  align-items: start;
  padding-top: 40px;
}
.docs-toc {
  position: sticky;
  top: 88px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(16, 22, 31, 0.7);
  padding: 18px 16px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.docs-toc .toc-title {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.docs-toc a {
  display: block;
  font-size: 13px;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.docs-toc a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.docs-toc a.sub { padding-left: 22px; font-size: 12.5px; color: var(--muted-2); }
.docs-toc a.is-active { color: var(--brand); border-left-color: var(--brand); background: rgba(34, 197, 94, 0.08); }

.docs-body { min-width: 0; }
.doc-chapter { margin-bottom: 58px; scroll-margin-top: 90px; }
.doc-chapter-head { margin-bottom: 22px; }
.doc-chapter-no { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.2em; color: var(--brand); }
.doc-chapter h2 { font-size: clamp(23px, 2.6vw, 30px); margin: 8px 0 8px; }
.doc-chapter .desc { color: var(--muted); font-size: 14px; }

.doc-section { scroll-margin-top: 90px; margin-bottom: 34px; }
.doc-section h3 { font-size: 17px; margin-bottom: 12px; padding-left: 12px; border-left: 3px solid var(--brand); line-height: 1.4; }
.doc-section h4 { font-size: 14.5px; margin: 18px 0 8px; color: var(--text); }
.doc-section p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.doc-section ul, .doc-section ol { margin: 0 0 14px; padding-left: 20px; color: var(--muted); font-size: 14px; }
.doc-section li { margin: 6px 0; line-height: 1.8; }
.doc-section li::marker { color: var(--brand); }
.doc-section strong { color: var(--text); }

.doc-note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  background: rgba(56, 189, 248, 0.06);
  border-radius: 0 10px 10px 0;
  padding: 13px 16px;
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 14px;
}
.doc-note.warn { border-left-color: var(--amber); background: rgba(251, 191, 36, 0.07); }
.doc-note.info { border-left-color: var(--cyan); }

.doc-code {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #060a0f;
  margin: 0 0 14px;
  overflow: hidden;
}
.doc-code .code-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.02);
}
.doc-code .code-copy {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted-2);
  border-radius: 6px;
  padding: 1px 8px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.doc-code .code-copy:hover { color: var(--brand); border-color: var(--brand-line); }
.doc-code pre {
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.75;
  color: #cfe3d6;
}

.doc-table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 13px; }
.doc-table th, .doc-table td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: left;
  color: var(--muted);
  vertical-align: top;
}
.doc-table th { background: rgba(255, 255, 255, 0.03); color: var(--text); font-weight: 600; white-space: nowrap; }

/* ---------------- CTA ---------------- */
.cta {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 54px 40px;
  text-align: center;
  background:
    radial-gradient(700px 260px at 50% 0%, rgba(34, 197, 94, 0.15), transparent 70%),
    linear-gradient(180deg, #0d151c, #080c11);
  position: relative;
  overflow: hidden;
}
.cta h2 { margin-bottom: 12px; }
.cta .lead { max-width: 620px; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-foot { margin-top: 18px; font-size: 12.5px; color: var(--muted-2); }

/* ---------------- 联系方式 ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  padding: 24px;
}
.contact-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.contact-row:first-of-type { border-top: 0; }
.contact-row .k { width: 84px; color: var(--muted-2); font-size: 12.5px; flex-shrink: 0; }
.contact-row .v { font-size: 13.5px; font-family: var(--mono); color: var(--text); word-break: break-all; }
.copy-btn {
  margin-left: auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted-2);
  border-radius: 7px;
  padding: 2px 9px;
  font-size: 11.5px;
  transition: color 0.15s, border-color 0.15s;
}
.copy-btn:hover { color: var(--brand); border-color: var(--brand-line); }

.qr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.qr-box { text-align: center; }
.qr-frame {
  aspect-ratio: 1;
  border-radius: 14px;
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.6;
  padding: 10px;
}
.qr-frame img { width: 100%; height: 100%; object-fit: cover; }
.qr-label { margin-top: 8px; font-size: 12px; color: var(--muted); }

/* ---------------- 页脚 ---------------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 54px 0 30px; background: #05080c; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); font-size: 13px; max-width: 380px; margin: 14px 0 0; }
.footer-col h4 { font-size: 12.5px; letter-spacing: 0.12em; color: var(--muted-2); text-transform: uppercase; font-family: var(--mono); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--muted); padding: 5px 0; }
.footer-col a:hover { color: var(--brand); }
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 6px 13px;
}
.ai-badge svg { color: var(--brand); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted-2);
}

/* ---------------- 提示条 ---------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 18px);
  background: #122018;
  border: 1px solid var(--brand-line);
  color: var(--text);
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 200;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.notice-bar {
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
  color: #f6d78a;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  margin: 18px 0 0;
}

/* ---------------- 动效 ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 380px; max-width: 620px; }
  .hl, .hl.rev .hl-media { grid-template-columns: 1fr; order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .docs-layout { grid-template-columns: 1fr; gap: 24px; }
  .docs-toc { position: static; max-height: none; }
  .plans { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav { height: 60px; gap: 12px; }
  .nav-links {
    position: absolute;
    left: 12px; right: 12px; top: 62px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #0b1017;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px;
    display: none;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; }
  .nav-toggle { display: inline-flex; }
  .nav-right .btn span.long { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .hero { padding: 48px 0 24px; }
  .hero-visual .phone-wrap { width: 128px; }
  .cta { padding: 38px 22px; }
  .container { padding: 0 18px; }
}
