/* ==========================================================================
   快连 · 官网模板样式
   设计基调：紧凑胶囊布局 / 柔和半透明选中态 / 克制渐变
   ========================================================================== */

:root {
  --bg: #f5f7fc;
  --bg-soft: #eef2fa;
  --surface: #ffffff;
  --ink: #0d1a30;
  --ink-2: #3d4d68;
  --muted: #64748b;
  --line: #e4eaf5;
  --line-strong: #d6e0ef;
  --primary: #2163e8;
  --primary-deep: #1a4fbd;
  --primary-soft: rgba(33, 99, 232, 0.1);
  --teal: #12b5a5;
  --teal-soft: rgba(18, 181, 165, 0.12);
  --violet: #6a5cf0;
  --ok: #12b5a5;
  --warn: #e8963c;
  --bad: #e2585f;
  --grad: linear-gradient(120deg, #2163e8 0%, #3b82f6 48%, #12b5a5 100%);
  --shadow-sm: 0 1px 2px rgba(13, 26, 48, 0.05);
  --shadow-md: 0 14px 34px -18px rgba(13, 26, 48, 0.22);
  --shadow-lg: 0 30px 60px -28px rgba(9, 24, 52, 0.45);
  --r-card: 18px;
  --r-lg: 26px;
  --pill: 999px;
  --header-h: 66px;
  --font: "Inter", "SF Pro Text", -apple-system, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; }
::selection { background: rgba(33, 99, 232, 0.18); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 布局工具 ---------- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 78px 0; }
.section--tight { padding: 54px 0; }
.section--soft { background: linear-gradient(180deg, rgba(238, 242, 250, 0.55), rgba(245, 247, 252, 0)); }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -48px; left: 16px; z-index: 200;
  background: var(--ink); color: #fff; padding: 8px 16px; border-radius: var(--pill);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.section-head { max-width: 660px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 {
  font-size: clamp(26px, 3vw, 35px);
  line-height: 1.28;
  letter-spacing: -0.022em;
  font-weight: 700;
  margin: 12px 0 12px;
}
.section-head p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.section-head .eyebrow { margin-bottom: 2px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 14px;
  border-radius: var(--pill);
  background: rgba(33, 99, 232, 0.08);
  color: var(--primary-deep);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em;
  border: 1px solid rgba(33, 99, 232, 0.1);
}
.eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(18, 181, 165, 0.5);
  animation: pulse 2.4s infinite;
}
.eyebrow--teal { background: var(--teal-soft); color: #0b8579; border-color: rgba(18, 181, 165, 0.16); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(18, 181, 165, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(18, 181, 165, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 181, 165, 0); }
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 按钮 / 标签 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s, color 0.18s;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, #2163e8, #3b82f6);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(33, 99, 232, 0.6);
}
.btn-primary:hover { box-shadow: 0 14px 26px -10px rgba(33, 99, 232, 0.7); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(33, 99, 232, 0.3); background: #fbfdff; }
.btn-soft { background: var(--primary-soft); color: var(--primary-deep); }
.btn-soft:hover { background: rgba(33, 99, 232, 0.15); }
.btn-light { background: #fff; color: var(--primary-deep); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.5); }
.btn-outline-light { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.24); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 48px; padding: 0 26px; font-size: 15px; }
.btn-block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 13px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.chip:hover { border-color: rgba(33, 99, 232, 0.3); color: var(--primary-deep); }
.chip.is-active {
  background: var(--primary-soft);
  border-color: rgba(33, 99, 232, 0.18);
  color: var(--primary-deep);
  font-weight: 600;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  display: inline-flex; align-items: center;
  padding: 3px 9px; margin: 0 4px 4px 0;
  border-radius: var(--pill);
  background: #f1f5fc; color: #4a5b77;
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 11px;
  border-radius: var(--pill);
  font-size: 11.5px; font-weight: 600;
  background: rgba(18, 181, 165, 0.1); color: #0b8579;
}
.badge--solid { background: var(--teal); color: #fff; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(18, 181, 165, 0.14); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 247, 252, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(13, 26, 48, 0.35);
}
.hd-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2163e8, #12b5a5);
  box-shadow: 0 6px 14px -6px rgba(33, 99, 232, 0.65);
  color: #fff;
}
.brand-mark svg { width: 19px; height: 19px; }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: 0.02em; line-height: 1.1; }
.brand-sub { display: block; font-size: 9.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.18em; margin-top: 2px; }

.nav {
  display: flex; align-items: center; gap: 2px;
  padding: 4px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}
.nav a {
  height: 32px; padding: 0 13px;
  display: inline-flex; align-items: center;
  border-radius: var(--pill);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  transition: background 0.18s, color 0.18s;
}
.nav a:hover { background: #f3f7ff; color: var(--primary-deep); }
.nav a.is-active { background: var(--primary-soft); color: var(--primary-deep); font-weight: 600; }

.hd-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hd-login { font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 8px 6px; }
.hd-login:hover { color: var(--primary); }
.burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff; color: var(--ink);
  cursor: pointer; align-items: center; justify-content: center;
}

.drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 24px 20px;
  box-shadow: 0 24px 40px -28px rgba(13, 26, 48, 0.4);
}
.drawer.is-open { display: block; }
.drawer-links { display: flex; flex-direction: column; gap: 4px; }
.drawer-links a {
  padding: 11px 14px; border-radius: 12px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
}
.drawer-links a.is-active { background: var(--primary-soft); color: var(--primary-deep); font-weight: 600; }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }

/* ---------- 首页英雄区 ---------- */
.hero {
  position: relative;
  padding: 58px 0 70px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -20% 0 auto;
  height: 720px;
  background:
    radial-gradient(560px 320px at 82% 8%, rgba(33, 99, 232, 0.16), transparent 64%),
    radial-gradient(520px 300px at 6% 22%, rgba(18, 181, 165, 0.13), transparent 62%),
    radial-gradient(420px 260px at 48% 0%, rgba(106, 92, 240, 0.08), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 640px;
  background-image:
    linear-gradient(rgba(13, 26, 48, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 26, 48, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 4.6vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 18px 0 18px;
}
.hero-lead {
  max-width: 500px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.8;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 30px;
  margin-top: 38px; padding-top: 24px;
  border-top: 1px solid rgba(13, 26, 48, 0.07);
}
.hero-stats b {
  display: block; font-size: 21px; font-weight: 700;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.hero-stats span { font-size: 12.5px; color: var(--muted); }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 18px; font-size: 12px; color: var(--muted);
}
.trust-item { display: inline-flex; align-items: center; gap: 6px; }
.trust-item svg { width: 14px; height: 14px; color: var(--teal); }

/* 连接控制台 */
.console {
  position: relative;
  border-radius: var(--r-lg);
  padding: 18px;
  color: #e8eefc;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(33, 99, 232, 0.35), transparent 60%),
    radial-gradient(340px 200px at 0% 100%, rgba(18, 181, 165, 0.22), transparent 62%),
    linear-gradient(165deg, #0c1832, #0e2144 55%, #0b1730);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.console-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px 6px 14px;
}
.console-dots { display: flex; gap: 6px; align-items: center; }
.console-dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.console-dots i:nth-child(1) { background: rgba(18, 181, 165, 0.7); }
.console-title { font-size: 12.5px; letter-spacing: 0.08em; color: #9fb6dd; font-weight: 600; }
.console-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.08);
  color: #a9c4ff; font-size: 11px; font-weight: 600;
}
.console-chip .dot { width: 5px; height: 5px; }

.node {
  width: 100%;
  display: grid; grid-template-columns: 34px 1fr auto;
  gap: 12px; align-items: center;
  padding: 9px 12px;
  border-radius: 13px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.035);
  color: inherit; text-align: left; cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}
.node + .node { margin-top: 6px; }
.node:hover { background: rgba(255, 255, 255, 0.075); }
.node.is-active { border-color: rgba(64, 220, 190, 0.34); background: rgba(18, 181, 165, 0.13); }
.node-flag {
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.09);
  color: #cfe0ff; font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em;
}
.node.is-active .node-flag { background: rgba(18, 181, 165, 0.22); color: #8df0e2; }
.node-name { display: flex; align-items: baseline; gap: 7px; font-size: 13.5px; font-weight: 600; }
.node-name small { font-size: 10.5px; font-weight: 500; color: #7f96bd; letter-spacing: 0.06em; }
.node-meta { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #8ba3cc; }
.mini-bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.mini-bars i { width: 3px; border-radius: 2px; background: rgba(18, 181, 165, 0.5); }
.mini-bars i:nth-child(1) { height: 5px; }
.mini-bars i:nth-child(2) { height: 8px; }
.mini-bars i:nth-child(3) { height: 12px; }
.node-ping { font-size: 12px; font-weight: 600; color: #8df0e2; font-variant-numeric: tabular-nums; }

.console-trace {
  margin-top: 12px;
  padding: 12px 12px 8px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.trace-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10.5px; color: #8299c0; letter-spacing: 0.06em; margin-bottom: 4px;
}
.trace-head b { color: #d8e6ff; font-weight: 600; letter-spacing: 0; font-size: 11px; }
.trace-chart { width: 100%; height: 46px; }
.trace-chart .area { fill: url(#traceFill); }
.trace-chart .line {
  fill: none; stroke: #3ddbc6; stroke-width: 1.6; stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(61, 219, 198, 0.35));
}
.chart-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 10px;
}
.chart-meta b { display: block; font-size: 13px; font-weight: 700; color: #d8e6ff; font-variant-numeric: tabular-nums; }
.chart-meta span { font-size: 10px; color: #8299c0; }

.console-foot { margin-top: 12px; }
.connect-btn {
  width: 100%; height: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: var(--pill);
  background: linear-gradient(120deg, #2f7bff, #19c7b3);
  color: #04121a;
  font-size: 14.5px; font-weight: 700; letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 12px 26px -12px rgba(25, 199, 179, 0.55);
  transition: filter 0.18s, transform 0.18s;
}
.connect-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.connect-btn svg { width: 18px; height: 18px; }
.connect-btn.is-on {
  background: rgba(18, 181, 165, 0.14);
  border: 1px solid rgba(61, 219, 198, 0.4);
  color: #8df0e2;
  box-shadow: none;
}
.connect-hint {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 9px; font-size: 10.5px; color: #7f96bd;
}

/* ---------- 首页功能卡 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px 22px 24px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(33, 99, 232, 0.22);
}
.ico {
  width: 40px; height: 40px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary-deep);
  margin-bottom: 16px;
}
.ico svg { width: 20px; height: 20px; }
.feature:nth-child(3n + 2) .ico { background: var(--teal-soft); color: #0b8579; }
.feature:nth-child(3n + 3) .ico { background: rgba(106, 92, 240, 0.1); color: #5546d6; }
.feature h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 7px; letter-spacing: -0.01em; }
.feature p { font-size: 13.5px; line-height: 1.72; color: var(--muted); }
.feature-link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--primary);
}
.feature-link svg { width: 14px; height: 14px; transition: transform 0.18s; }
.feature:hover .feature-link svg { transform: translateX(3px); }

/* ---------- 节点预览 ---------- */
.node-preview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.panel-head h3 { font-size: 14.5px; font-weight: 700; }
.panel-head .feature-link { margin-top: 0; }
.panel-head .muted { font-size: 12px; }
.map-card {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(160deg, #f2f6fe, #fbfdff);
  border: 1px solid #eaf0fa;
  padding: 14px;
  overflow: hidden;
}
.map-card svg { width: 100%; height: auto; }
.map-dot { fill: rgba(33, 99, 232, 0.28); }
.map-dot.hot { fill: var(--teal); }
.map-line { stroke: rgba(33, 99, 232, 0.16); stroke-width: 0.8; fill: none; }
.map-label {
  position: absolute; left: 16px; bottom: 12px;
  font-size: 11px; color: var(--muted); display: flex; gap: 12px;
}
.map-label span { display: inline-flex; align-items: center; gap: 5px; }
.map-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); opacity: 0.4; }
.map-label span:last-child i { background: var(--teal); opacity: 1; }
.map-card + .region-chips { margin-top: 14px; }

.region-chips { margin-bottom: 14px; }
.nrow {
  display: grid;
  grid-template-columns: 38px 1fr auto auto;
  gap: 12px; align-items: center;
  padding: 11px 0;
  border-bottom: 1px dashed #edf1f8;
}
.nrow:last-child { border-bottom: 0; padding-bottom: 0; }
.nrow-flag {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  background: #f1f5fd; color: #52688c;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em;
}
.nrow-name { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.nrow-name small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.meter { width: 74px; height: 6px; border-radius: var(--pill); background: #edf1f8; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #12b5a5, #3ddbc6); }
.meter.warn i { background: linear-gradient(90deg, #e8963c, #f3b565); }
.nrow-ping {
  min-width: 46px; text-align: right;
  font-size: 12px; font-weight: 600; color: var(--teal); font-variant-numeric: tabular-nums;
}
.nrow-ping.warn { color: var(--warn); }

/* ---------- 下载平台 ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.pcard {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.pcard:hover {
  transform: translateY(-3px);
  border-color: rgba(33, 99, 232, 0.24);
  box-shadow: var(--shadow-md);
}
.pcard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pcard-ico {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  background: #f1f5fd; color: var(--primary-deep);
}
.pcard-ico svg { width: 18px; height: 18px; }
.pcard-top .arrow { color: #a9b6cc; transition: color 0.2s, transform 0.2s; }
.pcard:hover .pcard-top .arrow { color: var(--primary); transform: translate(2px, -2px); }
.pcard h3 { font-size: 13.5px; font-weight: 700; margin-bottom: 2px; }
.pcard p { font-size: 11.5px; color: var(--muted); }

/* ---------- 价格 ---------- */
.seg-wrap { display: flex; justify-content: center; margin-bottom: 26px; }
.seg {
  display: inline-flex; gap: 3px; padding: 4px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--pill); box-shadow: var(--shadow-sm);
}
.seg button {
  border: 0; background: transparent;
  height: 34px; padding: 0 16px;
  border-radius: var(--pill);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  transition: background 0.18s, color 0.18s;
}
.seg button:hover { color: var(--primary-deep); }
.seg button.is-active { background: var(--primary-soft); color: var(--primary-deep); }
.seg .save {
  font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: var(--pill); background: rgba(18, 181, 165, 0.14); color: #0b8579;
}

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.plan.is-popular {
  border-color: rgba(33, 99, 232, 0.32);
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
  box-shadow: 0 24px 50px -30px rgba(33, 99, 232, 0.55);
}
.plan-tag {
  position: absolute; top: -12px; left: 24px;
  height: 24px; padding: 0 12px;
  display: inline-flex; align-items: center;
  border-radius: var(--pill);
  background: linear-gradient(120deg, #2163e8, #12b5a5);
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
}
.plan-name { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; }
.plan-desc { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.price-row { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 4px; }
.price-row .cur { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.price-row .num {
  font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-row .unit { font-size: 12.5px; color: var(--muted); }
.price-note { font-size: 11.5px; color: var(--muted); min-height: 18px; }
.plan ul { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 9px; }
.plan li { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.plan li svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan-foot { margin-top: 12px; text-align: center; font-size: 11px; color: var(--muted); }

.cmp-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.cmp-scroll { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
.cmp-table th, .cmp-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid #eef2f9; }
.cmp-table thead th { background: #f8faff; font-size: 12px; color: var(--muted); font-weight: 600; }
.cmp-table thead th:not(:first-child), .cmp-table td:not(:first-child) { text-align: center; }
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table td:first-child { color: var(--ink-2); }
.cmp-table .ok-ic { width: 16px; height: 16px; color: var(--teal); display: inline-block; vertical-align: -3px; }
.cmp-table .dash { color: #c3cddd; }

/* ---------- 用户评价 ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px;
  display: flex; flex-direction: column;
}
.quote-mark { font-size: 26px; line-height: 1; color: rgba(33, 99, 232, 0.22); font-weight: 800; margin-bottom: 8px; }
.quote blockquote { margin: 0; }
.quote p { font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }
.quote-foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #f0f4fa; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-size: 12px; font-weight: 700;
  background: linear-gradient(135deg, #2163e8, #6a5cf0);
}
.quote:nth-child(2) .avatar { background: linear-gradient(135deg, #12b5a5, #2163e8); }
.quote:nth-child(3) .avatar { background: linear-gradient(135deg, #6a5cf0, #e2585f); }
.q-name { font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.q-role { font-size: 11px; color: var(--muted); }

/* ---------- 手风琴 ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: transparent; border: 0;
  padding: 16px 2px;
  text-align: left; cursor: pointer;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
}
.acc-head:hover { color: var(--primary-deep); }
.acc-icon {
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: #f1f5fd; color: var(--ink-2);
  transition: transform 0.25s, background 0.25s, color 0.25s;
}
.acc-icon svg { width: 14px; height: 14px; }
.acc-item.is-open .acc-icon { transform: rotate(45deg); background: var(--primary-soft); color: var(--primary); }
.acc-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }
.acc-body-inner { overflow: hidden; }
.acc-body-inner p {
  margin: 0 0 16px; padding-right: 34px;
  font-size: 13.5px; line-height: 1.8; color: var(--muted);
}

/* ---------- CTA 横幅 ---------- */
.cta-band {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 44px 46px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(520px 240px at 88% 0%, rgba(18, 181, 165, 0.34), transparent 62%),
    radial-gradient(420px 240px at 6% 100%, rgba(33, 99, 232, 0.34), transparent 62%),
    linear-gradient(120deg, #0f2145, #0b1730);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; right: -60px; top: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.03), 0 0 0 80px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(24px, 2.8vw, 31px); letter-spacing: -0.02em; line-height: 1.3; }
.cta-band p { margin-top: 8px; font-size: 13.5px; color: #a9bade; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; position: relative; z-index: 1; }

/* ---------- 内页通用 ---------- */
.phero { position: relative; padding: 54px 0 40px; overflow: hidden; }
.phero::before {
  content: "";
  position: absolute; inset: -30% 0 auto;
  height: 520px;
  background:
    radial-gradient(480px 260px at 78% 10%, rgba(33, 99, 232, 0.13), transparent 64%),
    radial-gradient(420px 240px at 8% 30%, rgba(18, 181, 165, 0.1), transparent 62%);
  pointer-events: none;
}
.phero .wrap { position: relative; z-index: 1; }
.crumb { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.crumb a:hover { color: var(--primary); }
.crumb svg { width: 12px; height: 12px; opacity: 0.6; }
.crumb span { color: var(--ink-2); font-weight: 600; }
.phero h1 {
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.2; letter-spacing: -0.03em; font-weight: 800;
  margin: 14px 0 14px;
}
.phero .hero-lead { max-width: 620px; font-size: 15px; }
.phero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 18px;
}
.stat-card b {
  display: block; font-size: 24px; font-weight: 800; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; line-height: 1.2;
}
.stat-card span { font-size: 12px; color: var(--muted); }
.stat-card .accent { color: var(--primary); }

/* ---------- 功能页 ---------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; padding: 44px 0;
  border-top: 1px solid rgba(13, 26, 48, 0.07);
}
.feature-row:first-of-type { border-top: 0; padding-top: 10px; }
.feature-row.flip .fr-visual { order: -1; }
.fr-icon-title { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.fr-icon-title .ico { margin-bottom: 0; }
.fr-icon-title h2 { font-size: clamp(21px, 2.4vw, 26px); letter-spacing: -0.02em; }
.feature-row p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.fr-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.fr-list li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-2); align-items: flex-start; }
.fr-list svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }

.fr-visual {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 20px;
  box-shadow: var(--shadow-md);
}
.mini-ui { border-radius: 14px; background: #f7f9fe; border: 1px solid #eaf0fa; padding: 16px; }
.mini-ui.dark {
  background: linear-gradient(160deg, #0d1a34, #0e2144);
  border-color: rgba(255, 255, 255, 0.08);
  color: #dbe7ff;
}
.mui-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 11px; }
.mui-row + .mui-row { margin-top: 6px; }
.mui-row.on { background: rgba(18, 181, 165, 0.13); border: 1px solid rgba(64, 220, 190, 0.3); }
.mui-row.plain { background: #fff; border: 1px solid #eef2f9; }
.mini-ui.dark .mui-row:not(.on) { background: rgba(255, 255, 255, 0.04); }
.mui-row .l { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; }
.mui-flag {
  width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center;
  background: #eef3fd; color: #52688c; font-size: 9.5px; font-weight: 700;
}
.dark .mui-flag { background: rgba(255, 255, 255, 0.08); color: #cfe0ff; }
.on .mui-flag { background: rgba(18, 181, 165, 0.2); color: #8df0e2; }
.mui-meta { font-size: 10.5px; color: #8ba3cc; font-weight: 500; }
.mui-ping { font-size: 11.5px; font-weight: 700; color: var(--teal); font-variant-numeric: tabular-nums; }
.mui-pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px; border-radius: var(--pill);
  background: var(--primary-soft); color: var(--primary-deep);
  font-size: 10.5px; font-weight: 700;
}
.dark .mui-pill { background: rgba(61, 219, 198, 0.14); color: #8df0e2; }
.mui-title { font-size: 10.5px; letter-spacing: 0.06em; color: #8299c0; margin-bottom: 10px; font-weight: 600; }
.dark .mui-title { color: #7f96bd; }
.enc-bars { display: grid; gap: 8px; margin: 4px 0 14px; }
.enc-bar { height: 34px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: center; padding: 0 12px; justify-content: space-between; font-size: 11.5px; }
.enc-bar b { font-weight: 600; color: #8df0e2; font-size: 11px; }
.device-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.device-chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 13px;
  border-radius: var(--pill);
  background: #fff; border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--ink-2);
}
.device-chip svg { width: 15px; height: 15px; color: var(--primary); }
.device-chip.on { background: var(--primary-soft); border-color: rgba(33, 99, 232, 0.18); color: var(--primary-deep); }

.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cap {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 15px; padding: 16px;
}
.cap h3 { font-size: 13.5px; font-weight: 700; margin-bottom: 5px; }
.cap p { font-size: 12px; color: var(--muted); line-height: 1.7; }
.cap .ico { width: 32px; height: 32px; border-radius: 10px; margin-bottom: 11px; }
.cap .ico svg { width: 16px; height: 16px; }

/* ---------- 节点页 ---------- */
.toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 16px;
}
.search {
  position: relative; width: 272px;
}
.search svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; color: var(--muted);
}
.search input {
  width: 100%; height: 38px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 14px 0 38px;
  font-size: 13px; font-family: inherit; color: var(--ink);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.search input::placeholder { color: #9aa8bf; }
.search input:focus { border-color: rgba(33, 99, 232, 0.4); box-shadow: 0 0 0 3px rgba(33, 99, 232, 0.1); }
.table-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
.table-scroll { overflow-x: auto; }
.node-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 720px; }
.node-table th {
  text-align: left; padding: 11px 18px;
  font-size: 11.5px; font-weight: 600; color: var(--muted);
  background: #f8faff; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.node-table td { padding: 11px 18px; border-bottom: 1px solid #eef2f9; }
.node-table .tag { margin-bottom: 0; }
.node-table tr:last-child td { border-bottom: 0; }
.node-table tbody tr { transition: background 0.15s; }
.node-table tbody tr:hover { background: #f8faff; }
.nt-city { display: flex; align-items: center; gap: 10px; font-weight: 600; white-space: nowrap; }
.nt-flag {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: #f1f5fd; color: #52688c;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.03em;
}
.nt-city small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 500; }
.lat { display: flex; align-items: center; gap: 9px; }
.lat .meter { width: 68px; }
.lat b { font-size: 12px; font-weight: 700; color: var(--teal); min-width: 42px; font-variant-numeric: tabular-nums; }
.lat.warn b { color: var(--warn); }
.lat.warn .meter i { background: linear-gradient(90deg, #e8963c, #f3b565); }
.lat.bad b { color: var(--bad); }
.lat.bad .meter i { background: linear-gradient(90deg, #e2585f, #ef8a8f); }
.load { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.load .meter { width: 52px; background: #f0f3f9; }
.load .meter i { background: linear-gradient(90deg, #8fb0ef, #2163e8); }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #0b8579; font-weight: 600; }
.status.busy { color: var(--warn); }
.status.busy .dot { background: var(--warn); box-shadow: 0 0 0 3px rgba(232, 150, 60, 0.14); }
.table-empty { padding: 40px 20px; text-align: center; color: var(--muted); font-size: 13px; display: none; }
.table-empty.is-show { display: block; }
.table-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding: 13px 18px; background: #fbfcff; border-top: 1px solid #eef2f9;
  font-size: 11.5px; color: var(--muted);
}

/* ---------- 下载页 ---------- */
.tabs {
  display: inline-flex; flex-wrap: wrap; gap: 3px;
  padding: 4px; border-radius: var(--pill);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.tabs button {
  border: 0; background: transparent; cursor: pointer;
  height: 34px; padding: 0 15px;
  border-radius: var(--pill);
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  transition: background 0.18s, color 0.18s;
}
.tabs button svg { width: 15px; height: 15px; }
.tabs button:hover { color: var(--primary-deep); }
.tabs button.is-active { background: var(--primary-soft); color: var(--primary-deep); }

.dl-panel {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 26px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 26px;
  box-shadow: var(--shadow-md);
}
.dl-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.dl-ico {
  width: 50px; height: 50px; border-radius: 15px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(33, 99, 232, 0.12), rgba(18, 181, 165, 0.12));
  color: var(--primary-deep);
}
.dl-ico svg { width: 24px; height: 24px; }
.dl-head h2 { font-size: 19px; letter-spacing: -0.02em; }
.dl-head p { font-size: 12px; color: var(--muted); }
.dl-meta {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: #eef2f9; border: 1px solid #eef2f9;
  border-radius: 14px; overflow: hidden; margin-bottom: 18px;
}
.dl-meta > div { background: #fbfcff; padding: 11px 14px; }
.dl-meta span { display: block; font-size: 10.5px; color: var(--muted); margin-bottom: 2px; }
.dl-meta b { font-size: 12.5px; font-weight: 600; word-break: break-all; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dl-note { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.dl-note svg { width: 13px; height: 13px; }
.dl-side {
  background: #f8faff; border: 1px solid #eef2f9;
  border-radius: 16px; padding: 18px;
  font-size: 12.5px;
}
.dl-side h3 { font-size: 12px; letter-spacing: 0.04em; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.sha-box {
  font-family: var(--mono); font-size: 10.5px; line-height: 1.7;
  word-break: break-all; color: #cfe0ff;
  background: #0c1832; border-radius: 10px; padding: 10px 12px;
}
.req-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 7px; }
.req-list li { display: flex; gap: 8px; color: var(--ink-2); line-height: 1.6; }
.req-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); margin-top: 8px; flex-shrink: 0; }
.cmd {
  display: flex; align-items: center; gap: 8px;
  background: #0c1832; color: #cfe0ff;
  border-radius: 11px; padding: 9px 11px;
  font-family: var(--mono); font-size: 11.5px;
  overflow-x: auto;
}
.cmd code { white-space: nowrap; }
.cmd .copy {
  margin-left: auto; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06); color: #cfe0ff;
  cursor: pointer;
}
.cmd .copy:hover { background: rgba(255, 255, 255, 0.14); }
.cmd .copy svg { width: 13px; height: 13px; }

.log { margin-top: 20px; display: grid; gap: 0; }
.log-item { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.log-item:last-child { border-bottom: 1px solid var(--line); }
.log-ver { font-size: 12.5px; font-weight: 700; }
.log-ver span { display: block; font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.log-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.log-list li { font-size: 12.5px; color: var(--ink-2); display: flex; gap: 8px; }
.log-list li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #a9b6cc; margin-top: 9px; flex-shrink: 0; }
.log-tag { display: inline-block; font-size: 10px; font-weight: 700; color: #0b8579; background: var(--teal-soft); border-radius: var(--pill); padding: 1px 7px; margin-left: 6px; }

/* ---------- 教程页 ---------- */
.guide-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: start; }
.steps { display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 30px 1fr; gap: 14px; }
.step-num {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary-deep);
  font-size: 12px; font-weight: 700;
  position: relative;
}
.step:not(:last-child) .step-num::after {
  content: ""; position: absolute; top: 34px; bottom: -20px; left: 50%;
  width: 1px; background: #e2e9f5; transform: translateX(-50%);
}
.step h3 { font-size: 14px; font-weight: 700; margin: 4px 0 4px; }
.step p { font-size: 12.5px; color: var(--muted); line-height: 1.75; }
.step .cmd { margin-top: 8px; }
.side-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 20px;
}
.side-card h3 { font-size: 13.5px; font-weight: 700; margin-bottom: 12px; }
.side-card p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.side-card .btn-block { margin-top: 14px; }
.side-card + .side-card { margin-top: 14px; }
.side-card ol { margin: 0; padding-left: 18px; font-size: 12.5px; color: var(--ink-2); line-height: 1.85; }
.side-card .btn { margin-top: 14px; }
.tip-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tip-list li { display: flex; gap: 9px; font-size: 12.5px; color: var(--ink-2); line-height: 1.65; }
.tip-list svg { width: 15px; height: 15px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }

/* ---------- 问答页 ---------- */
.faq-layout { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.faq-aside .side-card { padding: 18px; }
.faq-cats { display: flex; flex-direction: column; gap: 3px; margin-top: 4px; }
.faq-cats .chip { justify-content: flex-start; border-color: transparent; background: transparent; height: 34px; }
.faq-cats .chip.is-active { background: var(--primary-soft); border-color: transparent; }
.faq-main .acc-head { font-size: 14px; }
.faq-empty { display: none; padding: 28px 0; color: var(--muted); font-size: 13px; }
.faq-empty.is-show { display: block; }

/* ---------- 关于页 ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.value-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px;
}
.value-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.value-card p { font-size: 12.5px; color: var(--muted); line-height: 1.75; }
.timeline { display: grid; gap: 0; margin-top: 8px; }
.tl-item { display: grid; grid-template-columns: 84px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-year { display: flex; align-items: flex-start; }
.tl-year span {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  border-radius: var(--pill); background: var(--primary-soft);
  color: var(--primary-deep); font-size: 12px; font-weight: 700;
}
.tl-item h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.tl-item p { font-size: 12.5px; color: var(--muted); line-height: 1.75; max-width: 620px; }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: start; }
.about-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.about-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.about-card p { font-size: 13px; color: var(--muted); line-height: 1.85; }
.info-list { display: grid; gap: 12px; margin-top: 16px; }
.info-item { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); }
.info-item svg { width: 15px; height: 15px; color: var(--primary); flex-shrink: 0; }
.info-item b { font-weight: 600; }
.contact-card { background: linear-gradient(160deg, #f4f8ff, #fbfdff); border: 1px solid #e8eefa; border-radius: var(--r-card); padding: 24px; }
.contact-card h3 { font-size: 14px; font-weight: 700; }
.contact-card p { font-size: 12.5px; color: var(--muted); margin-top: 5px; line-height: 1.7; }
.contact-card .btn { margin-top: 16px; }

/* ---------- 法务文档 ---------- */
.doc-layout { display: grid; grid-template-columns: 1fr 232px; gap: 34px; align-items: start; }
.prose-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 34px 36px;
}
.prose { font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.prose h2 { font-size: 17px; color: var(--ink); margin: 28px 0 10px; letter-spacing: -0.01em; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 14.5px; color: var(--ink); margin: 20px 0 6px; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 14px; padding-left: 20px; }
.prose li { margin: 5px 0; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.doc-updated { font-size: 12px; color: var(--muted); margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.toc-card {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 18px;
}
.toc-card h3 { font-size: 11.5px; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.toc-card a { display: block; font-size: 12.5px; color: var(--ink-2); padding: 6px 9px; border-radius: 8px; }
.toc-card a:hover { background: #f3f7ff; color: var(--primary); }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 20px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 52px 0 26px;
}
.ft-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.ft-brand p { font-size: 12.5px; color: var(--muted); line-height: 1.8; margin-top: 14px; max-width: 280px; }
.ft-contact { margin-top: 16px; font-size: 12px; color: var(--ink-2); display: grid; gap: 5px; }
.ft-contact span { color: var(--muted); }
.ft-col h4 { font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 13px; letter-spacing: 0.02em; }
.ft-col a { display: block; font-size: 12.5px; color: var(--muted); padding: 5px 0; }
.ft-col a:hover { color: var(--primary); }
.ft-bottom {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center;
  margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--muted);
}
.ft-bottom .links { display: flex; flex-wrap: wrap; gap: 16px; }
.ft-bottom a:hover { color: var(--primary); }
.ft-note { color: #93a1b8; }

/* ---------- 锚点定位（避开吸顶头部） ---------- */
[id] { scroll-margin-top: calc(var(--header-h) + 18px); }
.about-card .stat-strip { grid-template-columns: repeat(2, 1fr); }

/* ---------- 轻提示 / 进场动画 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 300;
  transform: translate(-50%, 16px);
  background: rgba(13, 26, 48, 0.94);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--pill);
  font-size: 12.5px;
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
[data-reveal].in { opacity: 1; transform: none; }

@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 (max-width: 1080px) {
  .hero-grid { gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .nav a { padding: 0 10px; font-size: 13px; }
}

@media (max-width: 960px) {
  .nav, .hd-login { display: none; }
  .burger { display: inline-flex; }
  .hero { padding-top: 42px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-lead { max-width: 620px; }
  .console { max-width: 560px; }
  .node-preview { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .quote-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 26px; padding: 34px 0; }
  .feature-row.flip .fr-visual { order: 0; }
  .dl-panel { grid-template-columns: 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 22px; }
  .faq-aside { position: static; }
  .faq-cats { flex-direction: row; flex-wrap: wrap; }
  .doc-layout { grid-template-columns: 1fr; }
  .toc-card { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 34px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .section { padding: 56px 0; }
  .hero { padding: 34px 0 52px; }
  .hero h1 { font-size: clamp(31px, 8vw, 40px); }
  .hero-stats { gap: 22px; }
  .hero-stats b { font-size: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .ptab { display: none; }
  .search { width: 100%; }
  .toolbar .chip-row { width: 100%; }
  .dl-meta { grid-template-columns: 1fr; }
  .dl-panel { padding: 20px; }
  .phero { padding: 36px 0 28px; }
  .prose-card { padding: 24px 20px; }
  .ft-grid { grid-template-columns: 1fr; gap: 24px; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
  .log-item { grid-template-columns: 1fr; gap: 8px; }
  .tl-item { grid-template-columns: 64px 1fr; gap: 14px; }
  .section-head { margin-bottom: 28px; }
  .console { padding: 14px; border-radius: 20px; }
  .console-title { font-size: 11.5px; }
  .stat-card b { font-size: 21px; }
  .cta-band { padding: 28px 24px; border-radius: 22px; }
  .cap-grid { grid-template-columns: 1fr; }
  .device-chip { font-size: 11.5px; }
}

@media (max-width: 420px) {
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .tabs button { padding: 0 11px; font-size: 12.5px; }
  .seg button { padding: 0 12px; font-size: 12.5px; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 16px 22px; }
}
