/* ==========================================================================
   快连 kaialand.com.cn — 全站共享样式
   结构：变量 / 基础 / 组件 / 布局 / 模块 / 响应式 / 动效
   ========================================================================== */

:root {
  --bg: #060a14;
  --bg-soft: #0a1020;
  --surface: #0f1729;
  --surface-2: #141e35;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eaf0fb;
  --text-soft: #a7b4cc;
  --text-dim: #7d8aa3;
  --brand: #2f7bff;
  --brand-2: #22d3ee;
  --brand-3: #7c5cff;
  --ok: #34d399;
  --warn: #fbbf24;
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 20px 60px -28px rgba(47, 123, 255, 0.65);
  --maxw: 1200px;
  --head-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 背景装饰 ---------- */
.bg-deco {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(47, 123, 255, 0.22), transparent 60%),
    radial-gradient(760px 480px at 92% 4%, rgba(34, 211, 238, 0.16), transparent 62%),
    radial-gradient(900px 600px at 50% 108%, rgba(124, 92, 255, 0.14), transparent 60%);
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
}

/* ---------- 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 84px 0; position: relative; }
.section--tight { padding: 60px 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.025), transparent); }
.section-line { border-top: 1px solid var(--line); }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--head-h);
  display: flex;
  align-items: center;
  background: rgba(6, 10, 20, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.site-header.is-stuck { background: rgba(6, 10, 20, 0.93); }
.header-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand span em {
  font-style: normal;
  background: linear-gradient(92deg, var(--brand-2), var(--brand) 55%, var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--text-soft);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav a[aria-current="page"] { color: var(--text); background: rgba(47, 123, 255, 0.16); }
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.28s var(--ease), opacity 0.2s;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-2px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  --btn-bg: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(96deg, var(--brand), var(--brand-3) 60%, var(--brand-2));
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { box-shadow: 0 26px 70px -26px rgba(47, 123, 255, 0.85); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 30px; font-size: 16.5px; }
.btn--block { display: flex; width: 100%; }

/* ---------- 通用标题 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid rgba(47, 123, 255, 0.4);
  border-radius: 999px;
  background: rgba(47, 123, 255, 0.1);
  color: #bcd6ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 18px 0 14px;
}
.section-head h2 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--brand-2), var(--brand) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head p { color: var(--text-soft); font-size: 16.5px; }
.lead { color: var(--text-soft); font-size: 17px; }
.text-grad {
  background: linear-gradient(92deg, #fff, #b9d2ff 60%, #7fe6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 123, 255, 0.45);
  box-shadow: var(--shadow);
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 15px; margin: 0; }
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(47, 123, 255, 0.28), rgba(34, 211, 238, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cfe2ff;
}
.card-icon svg { width: 24px; height: 24px; }
.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)); }

/* ---------- 模块1 首屏 ---------- */
.hero { padding: 76px 0 68px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.18;
  margin: 20px 0 20px;
}
.hero-sub { font-size: 17.5px; color: var(--text-soft); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 24px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--text-dim); font-size: 14px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.tick { color: var(--ok); font-weight: 700; }

/* 终端 / 客户端示意 */
.mock {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(20, 30, 53, 0.92), rgba(10, 16, 32, 0.92));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.mock-head i { width: 10px; height: 10px; border-radius: 50%; background: #33415c; }
.mock-head i:nth-child(1) { background: #ff5f57; }
.mock-head i:nth-child(2) { background: #febc2e; }
.mock-head i:nth-child(3) { background: #28c840; }
.mock-head span { margin-left: 8px; font-size: 12.5px; color: var(--text-dim); }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 14px;
}
.mock-row b { font-weight: 600; }
.mock-row .val { color: var(--brand-2); font-variant-numeric: tabular-nums; }
.bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.09); overflow: hidden; }
.bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.pulse {
  position: absolute;
  right: -70px;
  top: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.45), transparent 65%);
  filter: blur(12px);
  pointer-events: none;
}

/* ---------- 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
}
.stat b {
  display: block;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(92deg, #fff, #8fd8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat span { color: var(--text-dim); font-size: 14px; }

/* ---------- 模块2 核心功能 ---------- */
.feature {
  display: flex;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.022);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(255, 255, 255, 0.04);
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--text-soft); font-size: 14.8px; margin: 0; }
.feature .num {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand-3));
}
.tag {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  color: #a9d4ff;
  background: rgba(47, 123, 255, 0.14);
  border: 1px solid rgba(47, 123, 255, 0.3);
}

/* ---------- 模块3 使用场景 ---------- */
.scene {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 200px at 88% 0%, rgba(34, 211, 238, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.scene:hover { transform: translateY(-5px); border-color: rgba(47, 123, 255, 0.42); }
.scene h3 { font-size: 20px; margin-bottom: 10px; }
.scene p { color: var(--text-soft); font-size: 15px; }
.scene ul { margin-top: 14px; display: grid; gap: 8px; }
.scene li { position: relative; padding-left: 20px; color: var(--text-soft); font-size: 14.5px; }
.scene li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
}

/* ---------- 模块4 节点 ---------- */
.node-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 26px;
}
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover { color: var(--text); border-color: rgba(47, 123, 255, 0.5); }
.chip[aria-pressed="true"] {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(96deg, var(--brand), var(--brand-3));
}
.node-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14.5px;
}
.node-table caption { text-align: left; padding: 0 0 12px; color: var(--text-dim); font-size: 13.5px; }
.node-table th,
.node-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.node-table thead th {
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}
.node-table tbody tr { background: rgba(255, 255, 255, 0.016); transition: background 0.2s; }
.node-table tbody tr:hover { background: rgba(47, 123, 255, 0.08); }
.node-table tbody tr:last-child td { border-bottom: 0; }
.node-name { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.flag {
  width: 26px;
  height: 20px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand-3));
  flex-shrink: 0;
}
.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
  white-space: nowrap;
}
.pill--ok { color: #86efac; border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.1); }
.pill--warn { color: #fcd34d; border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.1); }
.pill--hot { color: #fcd34d; border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.1); }
.pill--new { color: #93c5fd; border-color: rgba(96, 165, 250, 0.45); background: rgba(96, 165, 250, 0.12); }

/* ---------- 模块5 价格 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.plan:hover { transform: translateY(-6px); border-color: rgba(47, 123, 255, 0.45); box-shadow: var(--shadow); }
.plan--hot {
  border-color: rgba(47, 123, 255, 0.55);
  background: linear-gradient(180deg, rgba(47, 123, 255, 0.16), rgba(124, 92, 255, 0.07));
  box-shadow: var(--shadow-glow);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #061021;
  background: linear-gradient(96deg, var(--brand-2), #a5b4fc);
  white-space: nowrap;
}
.plan h3 { font-size: 20px; }
.plan-desc { color: var(--text-dim); font-size: 14px; margin: 8px 0 20px; min-height: 42px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.plan-price .num { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-price .cur { font-size: 17px; color: var(--text-soft); }
.plan-price .per { color: var(--text-dim); font-size: 14px; }
.plan-origin { color: var(--text-dim); font-size: 13.5px; text-decoration: line-through; margin-bottom: 20px; }
.plan ul { display: grid; gap: 11px; margin-bottom: 26px; }
.plan li { position: relative; padding-left: 26px; color: var(--text-soft); font-size: 14.5px; }
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ok);
  font-weight: 700;
}
.plan .btn { margin-top: auto; }
.plan-note { margin-top: 14px; font-size: 13px; color: var(--text-dim); text-align: center; }
.pay-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }

/* ---------- 模块6 下载 ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dl-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.dl-card:hover { transform: translateY(-6px); border-color: rgba(47, 123, 255, 0.5); box-shadow: var(--shadow); }
.dl-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(47, 123, 255, 0.3), rgba(34, 211, 238, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.dl-icon svg { width: 30px; height: 30px; }
.dl-card h3 { font-size: 18px; }
.dl-ver { color: var(--text-dim); font-size: 13px; margin-top: -8px; }
.dl-card .btn { margin-top: auto; }
.dl-card--main {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, rgba(47, 123, 255, 0.18), rgba(124, 92, 255, 0.08));
  border-color: rgba(47, 123, 255, 0.45);
}
.dl-hash {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
}
.steps { counter-reset: s; display: grid; gap: 16px; }
.step {
  counter-increment: s;
  display: flex;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.022);
}
.step::before {
  content: counter(s, decimal-leading-zero);
  flex: 0 0 auto;
  font-size: 26px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(143, 216, 255, 0.75);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 14.8px; margin: 0; }
.step .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.step .tags span {
  font-size: 12.5px;
  color: var(--text-dim);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

/* ---------- 模块7 教程 / 文档 ---------- */
.doc-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.toc {
  position: sticky;
  top: calc(var(--head-h) + 20px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}
.toc h2 { font-size: 14px; color: var(--text-dim); letter-spacing: 0.08em; margin-bottom: 12px; }
.toc li { margin-bottom: 4px; }
.toc a {
  display: block;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--text-soft);
  border-left: 2px solid transparent;
  transition: all 0.2s;
}
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); border-left-color: var(--brand); }
.prose h2 {
  font-size: clamp(22px, 2.6vw, 29px);
  margin: 44px 0 16px;
  padding-top: 8px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 12px; }
.prose p, .prose li { color: var(--text-soft); }
.prose ul.bullets { display: grid; gap: 9px; margin: 0 0 18px; }
.prose ul.bullets li { position: relative; padding-left: 22px; }
.prose ul.bullets li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
}
.prose code {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #9fe4ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
}
.callout {
  padding: 18px 20px;
  border-radius: var(--radius-s);
  border: 1px solid rgba(47, 123, 255, 0.35);
  background: rgba(47, 123, 255, 0.09);
  margin: 20px 0;
}
.callout strong { color: #cfe2ff; }
.callout--warn { border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.08); }
.callout--warn strong { color: #fde68a; }

/* ---------- 模块8 评价 ---------- */
.review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.review:hover { transform: translateY(-5px); border-color: rgba(47, 123, 255, 0.42); }
.stars { color: #fbbf24; letter-spacing: 2px; font-size: 15px; }
.review p { color: var(--text-soft); font-size: 15px; flex: 1; }
.review-user { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand-3));
  flex-shrink: 0;
}
.review-user b { display: block; font-size: 15px; }
.review-user span { color: var(--text-dim); font-size: 13px; }
.rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 32px;
}
.rating-score { font-size: 46px; font-weight: 800; line-height: 1; }
.rating-score small { font-size: 18px; color: var(--text-dim); font-weight: 600; }

/* ---------- 模块9 FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.024);
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}
.faq-item[open] { border-color: rgba(47, 123, 255, 0.45); background: rgba(47, 123, 255, 0.06); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 17px;
  line-height: 1;
  transition: transform 0.25s var(--ease), background 0.25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--brand); }
.faq-body { padding: 0 20px 20px; color: var(--text-soft); font-size: 15px; }
.faq-body p:last-child, .faq-body ul:last-child, .faq-body ol:last-child { margin-bottom: 0; }
.faq-body ul.bullets { display: grid; gap: 8px; margin-bottom: 12px; }
.faq-body ul.bullets li { position: relative; padding-left: 20px; }
.faq-body ul.bullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-2);
}
.faq-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }

/* ---------- 模块10 博客 ---------- */
.post-list { display: grid; gap: 18px; }
.post {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.022);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.post:hover { transform: translateX(4px); border-color: rgba(47, 123, 255, 0.45); background: rgba(255, 255, 255, 0.04); }
.post h3 { font-size: 18.5px; margin-bottom: 8px; }
.post p { color: var(--text-soft); font-size: 14.8px; margin: 0 0 10px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--text-dim); font-size: 13px; }
.post-meta .pill { font-size: 12px; }
.post-arrow { color: var(--brand-2); font-size: 22px; flex-shrink: 0; }

/* ---------- 面包屑 ---------- */
.crumbs { padding: 20px 0 0; font-size: 13.5px; color: var(--text-dim); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs li::after { content: "/"; margin-left: 8px; color: var(--line-strong); }
.crumbs li:last-child::after { content: ""; }
.crumbs a:hover { color: var(--brand-2); }

/* ---------- 内页头部 ---------- */
.page-head { padding: 52px 0 34px; }
.page-head h1 { font-size: clamp(28px, 4.2vw, 44px); margin: 16px 0 16px; }
.page-head .lead { max-width: 720px; }
.page-head-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 52px 40px;
  border-radius: var(--radius-l);
  border: 1px solid rgba(47, 123, 255, 0.4);
  background:
    radial-gradient(600px 240px at 15% 0%, rgba(34, 211, 238, 0.2), transparent 70%),
    linear-gradient(120deg, rgba(47, 123, 255, 0.22), rgba(124, 92, 255, 0.16));
  text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 14px; }
.cta-band p { color: #cfe0ff; max-width: 620px; margin: 0 auto 26px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(4, 7, 14, 0.7); padding: 62px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  gap: 34px;
  padding-bottom: 42px;
}
.footer-about p { color: var(--text-dim); font-size: 14px; margin: 16px 0 18px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  transition: all 0.2s;
}
.footer-social a:hover { color: #fff; border-color: rgba(47, 123, 255, 0.55); background: rgba(47, 123, 255, 0.16); }
.footer-col h3 { font-size: 15px; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-dim); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-2); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 13.5px;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a:hover { color: var(--brand-2); }
.footer-notice {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-s);
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.7;
}

/* ---------- 表格通用 ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.data th,
table.data td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.data thead th { background: rgba(255, 255, 255, 0.045); color: var(--text-soft); font-weight: 600; }
table.data tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.016); }

/* ---------- 工具类 ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.muted { color: var(--text-soft); }
.dim { color: var(--text-dim); }
.nowrap { white-space: nowrap; }
.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;
}

/* ---------- 入场动画 ---------- */
/* 渐进增强：默认可见，只有在 main.js 确认脚本可用时才给 <html> 加 .js-reveal，
   由该类名启用初始隐藏状态。避免无 JS / 抓取器渲染时关键内容被 opacity:0 隐藏。 */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .grid-4, .dl-grid, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .doc-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: var(--head-h) 0 auto 0;
    margin: 0;
    padding: 14px 24px 22px;
    background: rgba(6, 10, 20, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s var(--ease);
    max-height: calc(100vh - var(--head-h));
    overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 12px 14px; border-radius: 10px; font-size: 15.5px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-cta .btn { display: none; }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .section { padding: 62px 0; }
}

@media (max-width: 720px) {
  .wrap, .header-inner { padding: 0 18px; }
  .grid-2, .grid-3, .grid-4, .dl-grid, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 38px 20px; }
  .hero { padding: 48px 0 44px; }
  .page-head { padding: 34px 0 24px; }
  .post { grid-template-columns: 1fr; gap: 12px; }
  .post-arrow { display: none; }
  .rating-summary { gap: 18px; padding: 22px; }
}

@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

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

@media print {
  .site-header, .site-footer, .nav, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}