/* ==========================================================================
   灵境星云 · 营销站设计系统（site.css）
   文件：web/site/css/site.css
   定位：独立可用的深色星云风样式表，与网页工作台（/css/app.css）同一套配色与
         圆角、阴影语言，但不依赖 app.css，也不加载任何字体 / 图标库 / CDN。
   托管：由主服务静态托管（路径 /site/css/site.css），
         /site/ 与 /h5/ 页面可用相对路径引用。

   ── 类名契约（按需取用，全部可选） ────────────────────────────────
   容器       .wrap .section .section-head .section-title .section-lede .eyebrow
              .grid .grid-2 .grid-3 .grid-4 .grid-auto .split .stack
   顶栏       .site-header .header-inner .brand .brand-mark .brand-text
              .site-nav .nav-cta .nav-toggle .bars .is-scrolled
   首屏       .hero .hero-grid .hero-copy .hero-lede .hero-actions .hero-stats
              .hero-visual .mock .mock-bar .mock-body .gradient-text
   按钮       .btn .btn-primary .btn-ghost .btn-outline .btn-link .btn-sm
              .btn-lg .btn-block .btn-row
   卡片       .card .card-head .card-title .card-sub .card-foot .card-link
              .card-hover .feature .feature-grid .feature-icon
   数据       .stats .stat .stat-value .stat-label .stat-sub .kpi
   流程       .steps .step .step-no .step-body
   价格       .pricing-grid .plan .plan-badge .plan-price .plan-list .is-featured
   表格       .table-wrap table .num .table--stack（480px 下改为标签堆叠）
   徽标       .badge .badge-violet|cyan|emerald|amber|rose .chip .chips
              .tag-row .meta .avatar .t-violet|cyan|emerald|amber|rose|sky
   提示       .notice .notice-icon .callout .callout.ok .list .list-check
              .list-cross .code
   行动区     .cta-band .cta-actions
   问答       .faq（details / summary）
   页脚       .site-footer .footer-grid .footer-brand .footer-demo
              .footer-nav .footer-bottom .foot .links .spacer
   工具       .muted .dim .mono .tnum .nowrap .center .hide .sr-only .fade-up
              .reveal-ready [data-reveal] .is-in

   ── 约定 ──────────────────────────────────────────────────────────
   · 响应式断点：1180（平板横屏）/ 860（导航收起、首屏单列）/ 768（卡片单列）
                 / 480（390px 手机，安全区适配）。
   · 顶栏若包含 .nav-toggle，则 ≤860px 自动切换为下拉面板；未包含时导航
     自动折行，无需 JS。面板展开状态支持 data-open="true" / .is-open / .open。
   · 滚动显现为渐进增强：仅当 <html> 或 <body> 带 .reveal-ready 时才隐藏
     [data-reveal]，未启用 JS 的页面内容始终可见。
   · 颜色对比：正文 #a6aec7 在 #05070f 上 ≥ 7:1；按钮与徽标均带焦点环。
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  color-scheme: dark;
  --bg: #05070f;
  --bg-2: #080c18;
  --bg-soft: #0b1020;
  --panel: rgba(17, 23, 41, 0.72);
  --panel-solid: #0b1020;
  --line: rgba(148, 163, 208, 0.14);
  --line-strong: rgba(148, 163, 208, 0.26);
  --text: #e9edfb;
  --muted: #a6aec7;
  --dim: #7d87a3;
  --violet: #8b5cf6;
  --indigo: #6366f1;
  --cyan: #22d3ee;
  --emerald: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;
  --accent: linear-gradient(135deg, #8b5cf6 0%, #6366f1 45%, #22d3ee 100%);
  --accent-soft: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(34, 211, 238, 0.07));
  --btn-primary: linear-gradient(135deg, #7c3aed, #4f46e5 60%, #4338ca);
  --btn-primary-hover: linear-gradient(135deg, #8b5cf6, #6366f1 60%, #4f46e5);
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.9);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.95);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --gutter: 24px;
  --header-h: 64px;
  --ease: 0.18s ease;
  --font: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 星云光晕：与工作台 body::before 同一组径向渐变 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 8% -10%, rgba(109, 76, 255, 0.24), transparent 62%),
    radial-gradient(760px 540px at 96% 2%, rgba(34, 211, 238, 0.14), transparent 64%),
    radial-gradient(900px 700px at 58% 108%, rgba(99, 102, 241, 0.12), transparent 62%),
    var(--bg);
}

/* 星点纹理：只在页面上半部可见，避免干扰长文阅读 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 0.6px, transparent 0.6px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 72%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
strong, b { font-weight: 650; }

::selection { background: rgba(139, 92, 246, 0.35); }

:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 3px;
  border-radius: 6px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 208, 0.2);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-track { background: transparent; }

/* ---------- 3. 布局容器 ---------- */
main { position: relative; z-index: 1; }

.wrap {
  position: relative;
  z-index: 1;
  width: min(var(--maxw), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(56px, 7vw, 84px) 0;
}

.section--tight { padding: clamp(36px, 4.5vw, 56px) 0; }

section[id],
[id="main"] { scroll-margin-top: calc(var(--header-h) + 24px); }

.section-head { max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-lede { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 550;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a9b2cd;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.85);
  flex: none;
}

.section-title {
  font-size: clamp(25px, 3.1vw, 35px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 720;
  text-wrap: balance;
}

.section-lede {
  margin-top: 14px;
  max-width: 680px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.center { text-align: center; }

.grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 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)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

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

.split--reverse > :first-child { order: 2; }

.stack { display: grid; gap: 14px; }

.divider {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--line);
}

/* ---------- 4. 跳转链接 / 图标 / 无障碍工具 ---------- */
.skip-link,
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: #121a30;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: top 0.18s ease;
}

.skip-link:focus,
.skip:focus {
  top: 12px;
  color: var(--text);
  text-decoration: none;
}

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

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm { width: 15px; height: 15px; }
.icon-lg { width: 22px; height: 22px; }

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

/* ---------- 5. 顶栏与导航 ---------- */
.site-header,
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: rgba(5, 7, 15, 0.72);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled,
.top.is-scrolled {
  background: rgba(5, 7, 15, 0.9);
  box-shadow: 0 14px 34px -26px #000;
}

.header-inner,
.top-in {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: var(--text);
}

.brand:hover { text-decoration: none; }

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  flex: none;
  background: var(--accent);
  box-shadow: 0 0 26px -6px rgba(139, 92, 246, 0.85);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #070b18;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.brand-text,
.brand-txt {
  display: grid;
  line-height: 1.2;
}

.brand-text b,
.brand-txt b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-text i,
.brand-txt i {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

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

.site-nav a,
.top-nav a {
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 13.5px;
  color: #b9c1da;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav a:hover,
.top-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.top-nav a[aria-current="page"],
.site-nav a.is-current,
.top-nav a.is-current {
  color: #fff;
  background: rgba(139, 92, 246, 0.16);
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.26);
}

.site-nav .nav-cta,
.top-nav .nav-cta {
  margin-left: 8px;
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 650;
  color: #fff;
  background: var(--btn-primary);
  box-shadow: 0 10px 26px -12px rgba(99, 102, 241, 0.9);
}

.site-nav .nav-cta:hover,
.top-nav .nav-cta:hover {
  color: #fff;
  background: var(--btn-primary-hover);
}

.env-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.1);
  color: #fde68a;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.env-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.16);
  flex: none;
}

/* 汉堡按钮：仅当页面确实放了 .nav-toggle 时才显示（由下方 :has 规则接管） */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  place-items: center;
}

.nav-toggle:hover { background: rgba(255, 255, 255, 0.09); }

.bars,
.bars::before,
.bars::after {
  display: block;
  width: 16px;
  height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.bars { position: relative; }
.bars::before,
.bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -5px; }
.bars::after { top: 5px; }

.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 6. 首屏 ---------- */
.hero {
  position: relative;
  padding: clamp(44px, 6vw, 82px) 0 clamp(48px, 6vw, 88px);
}

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

.hero-copy { min-width: 0; }

.hero h1,
.hero-title {
  margin-top: 16px;
  font-size: clamp(31px, 4.6vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 760;
  text-wrap: balance;
}

.hero h1 em,
.hero-title em {
  font-style: normal;
  display: inline-block;
}

.gradient-text,
.hero h1 em,
.hero-title em {
  background: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede,
.hero-sub {
  margin-top: 20px;
  max-width: 560px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.82;
  text-wrap: pretty;
}

.hero-lede strong,
.hero-sub strong { color: #dfe4f7; font-weight: 650; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--dim);
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-stats b,
.hero-stats .stat-value {
  display: block;
  font-size: 23px;
  font-weight: 720;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.hero-stats span,
.hero-stats .stat-label {
  display: block;
  margin-top: 2px;
  font-size: 11.8px;
  color: var(--dim);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -16% 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.28), transparent 72%);
  filter: blur(14px);
}

.hero-visual > * { position: relative; z-index: 1; }

/* 玻璃拟态示意面板（可用于首屏或功能演示） */
.mock {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 208, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(34, 211, 238, 0.1), transparent 65%),
    linear-gradient(180deg, rgba(23, 29, 50, 0.88), rgba(8, 12, 23, 0.92));
  box-shadow: var(--shadow-lg);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.mock-dots { display: flex; gap: 6px; }

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.mock-dot:nth-child(1) { background: rgba(251, 113, 133, 0.6); }
.mock-dot:nth-child(2) { background: rgba(251, 191, 36, 0.6); }
.mock-dot:nth-child(3) { background: rgba(52, 211, 153, 0.6); }

.mock-title {
  margin-left: 4px;
  font-size: 11px;
  font-family: var(--mono);
  color: var(--dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}

.mock-row span { color: var(--dim); }
.mock-row b { font-weight: 620; font-variant-numeric: tabular-nums; }

.mock-line {
  height: 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
}

.mock-line--short { width: 62%; }

.mock-meter {
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.mock-meter i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--accent);
}

.mock-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mock-metric {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.mock-metric b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.mock-metric span { font-size: 10.5px; color: var(--dim); }

/* 界面截图（替换 .mock 占位图时使用，见 site/README.md） */
.lj-shot-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: background var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(148, 163, 208, 0.42);
  color: var(--text);
  text-decoration: none;
}

.btn:active { transform: translateY(1px); }

.btn[disabled],
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn .icon { width: 16px; height: 16px; }

.btn-primary {
  border: 0;
  color: #fff;
  background: var(--btn-primary);
  box-shadow: 0 12px 30px -12px rgba(99, 102, 241, 0.85);
}

.btn-primary:hover {
  color: #fff;
  background: var(--btn-primary-hover);
  box-shadow: 0 16px 36px -12px rgba(99, 102, 241, 0.95);
}

.btn-outline {
  background: transparent;
  border-color: rgba(139, 92, 246, 0.45);
  color: #ddd6fe;
}

.btn-outline:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.7);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: #b9c1da;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: transparent;
  color: var(--text);
}

.btn-link {
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #c4b5fd;
  font-weight: 600;
}

.btn-link:hover {
  background: none;
  color: #ddd6fe;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-sm {
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 12.5px;
}

.btn-sm .icon { width: 14px; height: 14px; }

.btn-lg {
  height: 48px;
  padding: 0 24px;
  border-radius: 13px;
  font-size: 14.5px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-icon {
  width: 42px;
  padding: 0;
}

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

/* ---------- 8. 徽标 / 标签 / 头像 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
}

.badge-violet { color: #c4b5fd; border-color: rgba(139, 92, 246, 0.35); background: rgba(139, 92, 246, 0.12); }
.badge-cyan { color: #a5f3fc; border-color: rgba(34, 211, 238, 0.3); background: rgba(34, 211, 238, 0.1); }
.badge-emerald { color: #a7f3d0; border-color: rgba(52, 211, 153, 0.3); background: rgba(52, 211, 153, 0.1); }
.badge-amber { color: #fde68a; border-color: rgba(251, 191, 36, 0.3); background: rgba(251, 191, 36, 0.1); }
.badge-rose { color: #fecdd3; border-color: rgba(251, 113, 133, 0.3); background: rgba(251, 113, 133, 0.1); }

.chips,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #b9c1da;
  font-size: 11.5px;
  white-space: nowrap;
}

.chip.is-active,
.chip[aria-pressed="true"] {
  color: #e9e4ff;
  border-color: rgba(139, 92, 246, 0.55);
  background: rgba(139, 92, 246, 0.14);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tag-row li,
.tag {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  color: #aeb6cf;
  font-family: var(--mono);
  font-size: 10.5px;
  white-space: nowrap;
}

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

.meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #b9c1da;
  font-size: 11.5px;
  white-space: nowrap;
}

.meta li b { color: var(--text); font-weight: 600; }

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
  color: #0a0d18;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.avatar-sm { width: 34px; height: 34px; font-size: 12px; }
.avatar-lg { width: 56px; height: 56px; font-size: 18px; }

.t-violet { background: linear-gradient(135deg, #c4b5fd, #8b5cf6); }
.t-cyan { background: linear-gradient(135deg, #a5f3fc, #22d3ee); }
.t-emerald { background: linear-gradient(135deg, #a7f3d0, #34d399); }
.t-amber { background: linear-gradient(135deg, #fde68a, #fbbf24); }
.t-rose { background: linear-gradient(135deg, #fecdd3, #fb7185); }
.t-sky { background: linear-gradient(135deg, #bae6fd, #38bdf8); }

/* ---------- 9. 卡片 ---------- */
.card {
  position: relative;
  display: block;
  padding: clamp(20px, 2.4vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(21, 27, 47, 0.78), rgba(10, 14, 26, 0.78));
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.card--flush { padding: 0; overflow: hidden; }
.card--soft { background: rgba(11, 16, 32, 0.6); box-shadow: none; }

.card-hover {
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.card-hover:hover,
a.card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.42);
  box-shadow: 0 26px 60px -30px rgba(139, 92, 246, 0.6);
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 660;
  letter-spacing: -0.01em;
}

.card-sub {
  margin-top: 5px;
  color: var(--dim);
  font-size: 11.8px;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c4b5fd;
  font-size: 12.5px;
  font-weight: 600;
}

.card-link .icon { width: 14px; height: 14px; }
.card-link:hover { color: #ddd6fe; text-decoration: underline; text-underline-offset: 4px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 13px;
  background: rgba(139, 92, 246, 0.12);
  color: #c4b5fd;
}

.feature-icon .icon { width: 20px; height: 20px; }

.feature h3,
.feature .feature-title {
  font-size: 15.5px;
  font-weight: 660;
  letter-spacing: -0.01em;
}

.feature p {
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.75;
}

.feature .card-link { margin-top: auto; padding-top: 4px; }

/* 数据卡 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat,
.kpi {
  position: relative;
  overflow: hidden;
  padding: 19px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(24, 30, 52, 0.8), rgba(9, 13, 24, 0.8));
}

.stat::after,
.kpi::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 68%);
  pointer-events: none;
}

.stat-value {
  margin-top: 8px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.stat-value small {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.stat-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
}

.stat-sub {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--dim);
}

/* 引用 / 愿景 */
.quote {
  position: relative;
  overflow: hidden;
  padding: 30px 28px 28px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(420px 260px at 0% 0%, rgba(139, 92, 246, 0.18), transparent 68%),
    linear-gradient(180deg, rgba(20, 24, 44, 0.85), rgba(9, 13, 25, 0.85));
}

.quote::after {
  content: "\201C";
  position: absolute;
  right: 18px;
  top: -18px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 120px;
  line-height: 1;
  color: rgba(139, 92, 246, 0.16);
  pointer-events: none;
}

.quote-label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a9b2cd;
}

.quote blockquote > p {
  position: relative;
  margin-top: 14px;
  font-size: clamp(18px, 2.1vw, 21px);
  font-weight: 600;
  line-height: 1.66;
  letter-spacing: -0.01em;
}

.quote figcaption {
  margin-top: 18px;
  font-size: 12px;
  color: var(--dim);
}

/* ---------- 10. 流程步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  position: relative;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(11, 16, 32, 0.56);
}

.step-no {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 9px;
  background: rgba(139, 92, 246, 0.12);
  color: #c4b5fd;
  font-family: var(--mono);
  font-size: 12px;
}

.step h3,
.step-title { font-size: 14px; font-weight: 650; }

.step p,
.step-desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.72;
}

/* ---------- 11. 价格方案 ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(21, 27, 47, 0.78), rgba(10, 14, 26, 0.78));
  box-shadow: var(--shadow);
}

.plan.is-featured,
.plan.featured {
  border-color: rgba(139, 92, 246, 0.46);
  background:
    radial-gradient(520px 260px at 82% 0%, rgba(139, 92, 246, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(24, 28, 52, 0.9), rgba(10, 14, 26, 0.9));
  box-shadow: 0 30px 70px -40px rgba(99, 102, 241, 0.9);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--btn-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.plan-name {
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -0.01em;
}

.plan-desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 4px;
}

.plan-price b,
.price-value {
  font-size: 38px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}

.plan-price span,
.price-unit {
  color: var(--dim);
  font-size: 12px;
}

.plan-list {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.plan-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.7;
}

.plan-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald);
  font-size: 12px;
  font-weight: 700;
}

.plan .btn { margin-top: auto; }
.plan-list { margin-bottom: 20px; }

/* ---------- 12. 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(6, 10, 20, 0.5);
  -webkit-overflow-scrolling: touch;
}

.table-wrap table { min-width: 560px; }
.split .table-wrap table,
.grid .table-wrap table { min-width: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.65;
}

caption {
  padding: 13px 15px 0;
  text-align: left;
  color: var(--dim);
  font-size: 11.5px;
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(148, 163, 208, 0.09);
}

th {
  background: rgba(139, 92, 246, 0.07);
  color: #c3cbe4;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

td { color: var(--muted); }
td b, td strong { color: #e9edfb; font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.14s ease; }
tbody tr:hover { background: rgba(255, 255, 255, 0.025); }

th.num,
td.num,
.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- 13. 表单 ---------- */
.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.field label,
.field .label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
}

.input,
.select,
.textarea {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(4, 7, 14, 0.65);
  color: var(--text);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.textarea {
  height: auto;
  min-height: 104px;
  padding: 11px 13px;
  line-height: 1.65;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder { color: #6b7590; }

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}

.select {
  appearance: none;
  padding-right: 36px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.hint {
  color: var(--dim);
  font-size: 11px;
  line-height: 1.6;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-row > .input { flex: 1 1 220px; }

.form-note {
  margin-top: 12px;
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.7;
}

/* 订阅式行内表单 */
.subscribe {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  max-width: 480px;
}

.subscribe .input { flex: 1 1 240px; }

/* ---------- 14. 提示 / 列表 / 代码 ---------- */
.notice {
  display: flex;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(251, 191, 36, 0.09), rgba(251, 191, 36, 0.03));
  color: #e6dcbf;
  font-size: 12.5px;
  line-height: 1.8;
}

.notice b { color: #fde68a; }

.notice-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.14);
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.callout {
  padding: 14px 16px;
  border: 1px solid rgba(139, 92, 246, 0.26);
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.07);
  color: #c7cdea;
  font-size: 12.7px;
  line-height: 1.85;
}

.callout b { color: #efe9ff; }

.callout.ok {
  border-color: rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.07);
}

.callout.ok b { color: #d1fae5; }

.list {
  display: grid;
  gap: 9px;
}

.list > li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13.3px;
  line-height: 1.85;
}

.list > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.74em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, #8b5cf6, #22d3ee);
}

.list > li b { color: #e9edfb; }

.list-check > li::before {
  content: "\2713";
  top: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--emerald);
  font-size: 12px;
  font-weight: 700;
}

.list-cross > li::before {
  top: 0.74em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(251, 113, 133, 0.75);
}

.code {
  position: relative;
  overflow-x: auto;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #04060d;
  color: #c3cbe4;
  font-family: var(--mono);
  font-size: 11.8px;
  line-height: 1.75;
  white-space: pre;
}

.code .k { color: #c4b5fd; }
.code .s { color: #6ee7b7; }

/* ---------- 15. 行动区 ---------- */
.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin: 34px 0 8px;
  padding: clamp(30px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(620px 300px at 12% 0%, rgba(139, 92, 246, 0.22), transparent 62%),
    radial-gradient(520px 280px at 96% 100%, rgba(34, 211, 238, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(19, 24, 44, 0.9), rgba(8, 12, 23, 0.92));
}

.cta-band h2 { font-size: clamp(21px, 2.6vw, 27px); letter-spacing: -0.02em; font-weight: 720; }

.cta-band p {
  margin-top: 8px;
  max-width: 520px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 16. 问答 ---------- */
.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq details {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.faq details[open] { border-color: rgba(139, 92, 246, 0.35); }

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  margin-left: 12px;
  color: #c4b5fd;
  font-family: var(--mono);
  font-size: 17px;
  line-height: 1.25;
}

.faq details[open] summary::after { content: "\2212"; }

.faq summary:hover { background: rgba(255, 255, 255, 0.03); }

.faq .faq-body,
.faq details > p {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

/* ---------- 17. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 7vw, 80px);
  padding: clamp(34px, 5vw, 50px) 0 calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(6, 9, 18, 0.6);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(24px, 3.4vw, 40px);
}

.footer-brand {
  flex: 1 1 300px;
  max-width: 440px;
}

.footer-nav { flex: 1 1 320px; }
.footer-col { flex: 1 1 180px; max-width: 280px; }

.footer-brand p {
  margin-top: 14px;
  max-width: 380px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.footer-demo {
  margin-top: 10px;
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.7;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.footer-nav h3,
.footer-col h2,
.footer-col h3 {
  color: var(--dim);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-nav ul,
.footer-col ul {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.footer-nav a,
.footer-col a {
  color: #b3bbd4;
  font-size: 13px;
}

.footer-nav a:hover,
.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-nav a[aria-current="page"] { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 11.8px;
}

.footer-bottom .links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom a { color: #a5b4fc; }
.footer-bottom a:hover { color: #ddd6fe; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom .spacer { margin-left: auto; }

/* 简版页脚条（法律页 / 二级页可直接使用） */
.foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 40px;
  padding: 26px 0 calc(30px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 11.5px;
}

.foot .links { display: flex; flex-wrap: wrap; gap: 16px; }
.foot a { color: #a5b4fc; }
.foot a:hover { color: #ddd6fe; text-decoration: underline; text-underline-offset: 3px; }
.foot .spacer { margin-left: auto; }

/* ---------- 18. 动画（含渐进增强的滚动显现） ---------- */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseOpacity {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
}

.fade-up { animation: fadeUp 0.5s ease both; }
.pulse { animation: pulseOpacity 2.6s ease infinite; }
.float { animation: floatY 6s ease-in-out infinite; }
.spin { animation: spin 1.1s linear infinite; }

/* 仅当脚本给 <html>/<body> 加上 .reveal-ready 时才隐藏，避免无 JS 页面空白 */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-ready [data-reveal].is-in,
.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 19. 工具类 ---------- */
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.mono { font-family: var(--mono); }
.tnum { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }
.strong { font-weight: 650; }
.tx {
  font-family: var(--mono);
  font-size: 12px;
  color: #9aa4c4;
  word-break: break-all;
}

/* ---------- 20. 响应式：1180 / 860 / 768 / 480 ---------- */
@media (max-width: 1180px) {
  .hero-grid { gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3,
  .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 导航收起：仅当页面提供 .nav-toggle 时才启用下拉面板；否则导航折行 */
@media (max-width: 860px) {
  :root { --gutter: 18px; }

  .site-header:has(.nav-toggle) .nav-toggle,
  .top:has(.nav-toggle) .nav-toggle { display: grid; }

  .site-header:has(.nav-toggle) .site-nav,
  .top:has(.nav-toggle) .top-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px var(--gutter) calc(16px + env(safe-area-inset-bottom));
    background: #080c18;
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 30px 60px -30px #000;
  }

  .site-header:has(.nav-toggle) .site-nav[data-open="true"],
  .site-header:has(.nav-toggle) .site-nav.is-open,
  .site-header:has(.nav-toggle) .site-nav.open,
  .top:has(.nav-toggle) .top-nav[data-open="true"],
  .top:has(.nav-toggle) .top-nav.is-open,
  .top:has(.nav-toggle) .top-nav.open { display: flex; }

  .site-header:has(.nav-toggle) .site-nav a,
  .top:has(.nav-toggle) .top-nav a {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
  }

  .site-header:has(.nav-toggle) .site-nav .nav-cta,
  .top:has(.nav-toggle) .top-nav .nav-cta {
    display: flex;
    justify-content: center;
    margin: 8px 0 0;
  }

  /* 无汉堡按钮时：导航换行成一行，避免溢出 */
  .header-inner:not(:has(.nav-toggle)),
  .top-in:not(:has(.nav-toggle)) { flex-wrap: wrap; padding: 8px 0; }

  .header-inner:not(:has(.nav-toggle)) .site-nav,
  .top-in:not(:has(.nav-toggle)) .top-nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .hero-grid,
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse > :first-child { order: 0; }
  .hero-visual { margin-top: 8px; }
  .hero-visual::before { inset: -10% 0; }
  .hero-lede,
  .hero-sub { max-width: none; }

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

/* 不支持 :has() 的旧浏览器：导航直接折行，不提供汉堡面板 */
@supports not selector(:has(*)) {
  @media (max-width: 860px) {
    .header-inner,
    .top-in {
      flex-wrap: wrap;
      padding: 8px 0;
    }

    .site-nav,
    .top-nav {
      order: 3;
      width: 100%;
      flex-wrap: wrap;
      margin-left: 0;
    }
  }
}

@media (max-width: 768px) {
  body { font-size: 14.5px; }

  .section { padding: 58px 0; }
  .hero { padding-top: 34px; padding-bottom: 40px; }
  .hero h1,
  .hero-title { font-size: clamp(29px, 6.2vw, 38px); }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .hero-stats b,
  .hero-stats .stat-value { font-size: 21px; }

  .grid-2,
  .grid-3,
  .grid-4,
  .steps,
  .pricing-grid,
  .feature-grid { grid-template-columns: minmax(0, 1fr); }

  .footer-grid { flex-direction: column; align-items: stretch; }
  .footer-brand,
  .footer-nav,
  .footer-col { flex: 0 0 auto; max-width: none; width: 100%; }
  .footer-nav { gap: 20px; }
  .footer-bottom { gap: 10px; }
  .foot .spacer { display: none; }

  .cta-band { align-items: flex-start; }
  .cta-band h2 { font-size: 22px; }
  .quote::after { font-size: 88px; }
  .quote { padding: 24px 22px; }

  .table-wrap table { min-width: 560px; }
  th,
  td { padding: 10px 12px; }
  .notice { padding: 14px; font-size: 12.2px; }
  .card--flush { border-radius: var(--radius); }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }

  body { font-size: 14px; }
  .wrap {
    width: 100%;
    max-width: var(--maxw);
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
  }

  .header-inner,
  .top-in { min-height: 56px; gap: 10px; }
  .brand-text i,
  .brand-txt i { display: none; }
  .brand-text b,
  .brand-txt b { font-size: 14px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
  .brand-mark::after { inset: 8px; }
  .env-badge { padding: 5px 9px; font-size: 10.5px; }
  .nav-toggle { width: 44px; height: 44px; }
  .btn { height: 44px; }
  .btn-sm { height: 36px; }

  .hero { padding-top: 28px; padding-bottom: 34px; }
  .hero h1,
  .hero-title { font-size: 27px; letter-spacing: -0.02em; }
  .hero-lede,
  .hero-sub { margin-top: 16px; font-size: 14.5px; }
  .hero-actions { margin-top: 22px; gap: 10px; }
  .hero-actions .btn,
  .cta-actions .btn { flex: 1 1 100%; }
  .hero-note { font-size: 11.5px; }
  .hero-stats { padding-top: 18px; margin-top: 26px; gap: 14px 12px; }

  .section { padding: 44px 0; }
  .section-title { font-size: 23px; }
  .section-lede { margin-top: 10px; font-size: 13.5px; }
  .eyebrow { margin-bottom: 10px; font-size: 10.5px; letter-spacing: 0.14em; }

  .card,
  .plan { padding: 18px 16px; border-radius: 16px; }
  .card-head { margin-bottom: 12px; }
  .feature-grid { gap: 12px; }
  .stats { gap: 12px; }
  .stat,
  .kpi { padding: 15px 16px; }
  .stat-value { font-size: 22px; }
  .step { padding: 18px 16px; }

  .mock { border-radius: 18px; }
  .mock-body { padding: 14px; gap: 10px; }
  .mock-metrics { gap: 8px; }
  .mock-metric { padding: 9px 10px; }
  .mock-metric b { font-size: 14px; }

  .plan-price b,
  .price-value { font-size: 32px; }
  .cta-band { margin-top: 26px; padding: 24px 20px; border-radius: 20px; }
  .cta-band h2 { font-size: 20px; }
  .cta-actions { width: 100%; }

  .table-wrap { border-radius: 14px; }
  .table-wrap table { min-width: 520px; font-size: 12px; }
  caption { padding: 11px 12px 0; font-size: 11px; }
  th,
  td { padding: 9px 11px; }
  .table--stack { min-width: 0; }

  /* 可选：带 data-label 的表格在手机上堆叠为卡片 */
  .table--stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .table--stack,
  .table--stack tbody,
  .table--stack tr,
  .table--stack td { display: block; width: 100%; }

  .table--stack tr {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
  }

  .table--stack tr:last-child { margin-bottom: 0; }

  .table--stack td {
    display: grid;
    grid-template-columns: minmax(84px, 0.42fr) minmax(0, 1fr);
    gap: 12px;
    padding: 9px 13px;
    border-bottom: 1px solid rgba(148, 163, 208, 0.08);
    font-size: 12.5px;
  }

  .table--stack tr td:last-child { border-bottom: 0; }

  .table--stack td::before {
    content: attr(data-label);
    color: var(--dim);
    font-size: 11px;
    line-height: 1.7;
    text-align: left;
  }

  .table--stack td:not([data-label])::before { content: none; }
  .table--stack td:not([data-label]) { grid-template-columns: minmax(0, 1fr); }

  .table-wrap:has(.table--stack) {
    border: 0;
    background: none;
    overflow: visible;
  }

  .table--stack caption {
    display: block;
    width: 100%;
    padding: 0 2px 10px;
  }

  .footer-nav { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-bottom .links { gap: 12px; }
  .site-footer { padding-top: 30px; }

  .faq summary { padding: 13px 14px; font-size: 13px; }
  .faq .faq-body,
  .faq details > p { padding: 0 14px 14px; font-size: 12.5px; }

  .subscribe { gap: 8px; }
  .subscribe .btn { width: 100%; }
  .foot { margin-top: 30px; padding-top: 20px; font-size: 11px; }
}

/* ---------- 21. 能力降级 / 减弱动效 / 高对比度 ---------- */
/* 不支持背景模糊时提高底色不透明度，保证文字对比度 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header,
  .top { background: rgba(5, 7, 15, 0.96); }

  .card { background: linear-gradient(180deg, #151b2f, #0a0e1a); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
  .float,
  .pulse,
  .spin { animation: none; }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(148, 163, 208, 0.32);
    --line-strong: rgba(148, 163, 208, 0.5);
    --muted: #c3cbe4;
    --dim: #a6aec7;
  }
}

/* ==========================================================================
   浅色主题：与工作台（/css/app.css）统一
   覆盖深色令牌与少量硬编码深色表面，保持营销站原有版式与类名契约。
   ========================================================================== */
:root {
  color-scheme: light;
  --bg: #f5f6fc;
  --bg-2: #eef0fa;
  --bg-soft: #f8f9ff;
  --panel: #ffffff;
  --panel-solid: #ffffff;
  --line: rgba(60, 72, 120, 0.12);
  --line-strong: rgba(60, 72, 120, 0.22);
  --text: #1f2333;
  --muted: #5f6880;
  --dim: #8a92a8;
  --violet: #7c3aed;
  --indigo: #6366f1;
  --cyan: #0891b2;
  --emerald: #059669;
  --amber: #b45309;
  --rose: #e11d48;
  --accent: linear-gradient(135deg, #7c3aed 0%, #6366f1 55%, #0891b2 100%);
  --accent-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(8, 145, 178, 0.04));
  --btn-primary: linear-gradient(135deg, #7c3aed, #6366f1 60%, #4f46e5);
  --btn-primary-hover: linear-gradient(135deg, #8b5cf6, #6d6ef5 60%, #5b52e8);
  --shadow: 0 16px 40px -28px rgba(50, 60, 110, 0.35);
  --shadow-lg: 0 30px 70px -40px rgba(50, 60, 110, 0.4);
}

body {
  background: var(--bg);
  color: var(--text);
}

body::before {
  background:
    radial-gradient(900px 620px at 8% -10%, rgba(124, 58, 237, 0.1), transparent 62%),
    radial-gradient(760px 540px at 96% 2%, rgba(8, 145, 178, 0.07), transparent 64%),
    radial-gradient(900px 700px at 58% 108%, rgba(99, 102, 241, 0.06), transparent 62%),
    var(--bg);
}

body::after { display: none; }

.site-header,
.top {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header.is-scrolled,
.top.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 34px -28px rgba(50, 60, 110, 0.35);
}

.hero-lede strong,
.hero-sub strong { color: #3b2a6b; }

.card,
.plan,
.feature,
.step,
.faq details,
.table-wrap,
.mock,
.cta-band,
.callout,
.notice {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.mock {
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(8, 145, 178, 0.06), transparent 65%),
    linear-gradient(180deg, #ffffff, #f8f9ff);
}

.mock-bar { background: #f8f9ff; }

.plan.is-featured {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 24px 60px -34px rgba(124, 58, 237, 0.35);
}

.table-wrap { background: #ffffff; }

.code {
  background: #f7f5ff;
  border-color: rgba(124, 58, 237, 0.16);
  color: #2b2440;
}

.code .k { color: #6d28d9; }
.code .s { color: #047857; }

.btn-outline {
  background: #ffffff;
  border-color: rgba(124, 58, 237, 0.3);
  color: #6d28d9;
}

.btn-outline:hover {
  background: #f5f1ff;
  border-color: rgba(124, 58, 237, 0.55);
  color: #4c1d95;
}

.btn-ghost { color: #5f6880; }

.btn-ghost:hover {
  background: #f1efff;
  color: #3b2a6b;
}

.chip {
  background: #f8f7ff;
  border-color: var(--line);
  color: #4b5563;
}

.badge-violet { color: #6d28d9; border-color: rgba(124, 58, 237, 0.25); background: #f3edff; }
.badge-cyan { color: #0e7490; border-color: rgba(8, 145, 178, 0.25); background: #ecfeff; }
.badge-emerald { color: #047857; border-color: rgba(5, 150, 105, 0.25); background: #ecfdf5; }
.badge-amber { color: #92400e; border-color: rgba(180, 83, 9, 0.25); background: #fffbeb; }
.badge-rose { color: #be123c; border-color: rgba(225, 29, 72, 0.22); background: #fff1f2; }

.notice {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.notice b { color: #78350f; }

.faq details { background: #ffffff; }
.faq summary:hover { background: #faf8ff; }
.faq summary::after { color: #7c3aed; }
.faq details[open] { border-color: rgba(124, 58, 237, 0.3); }

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-demo {
  background: #f8f9ff;
  border-color: var(--line);
}

input,
select,
textarea {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line-strong);
}

input::placeholder,
textarea::placeholder { color: #9aa2b8; }

.muted { color: var(--muted); }
.dim { color: var(--dim); }

@media (prefers-contrast: more) {
  :root {
    --line: rgba(60, 72, 120, 0.28);
    --line-strong: rgba(60, 72, 120, 0.45);
    --muted: #4a536b;
    --dim: #5f6880;
  }
}
