/* ==========================================================================
   快连 kiualainp.com.cn — 核心样式
   纯手写 CSS，零依赖，优先保障 LCP 与移动端体验
   ========================================================================== */

:root {
  --bg: #070b14;
  --bg-soft: #0c1322;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #eaf0fb;
  --text-dim: #9dabc4;
  --text-mute: #6f7d96;
  --brand: #21d4fd;
  --brand-2: #3b82f6;
  --accent: #7c5cff;
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --shadow: 0 20px 60px -24px rgba(0, 0, 0, 0.85);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

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

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

/* 背景光效 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(33, 212, 253, 0.16), transparent 60%),
    radial-gradient(760px 480px at 92% 4%, rgba(124, 92, 255, 0.16), transparent 62%),
    radial-gradient(700px 600px at 50% 108%, rgba(59, 130, 246, 0.1), transparent 60%);
}

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

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  line-height: 1.28;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #04121a;
  padding: 10px 16px;
  z-index: 999;
  font-weight: 700;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 76px 0;
  position: relative;
}
.section + .section {
  border-top: 1px solid var(--line-soft);
}

.sec-head {
  max-width: 780px;
  margin-bottom: 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(33, 212, 253, 0.1);
  border: 1px solid rgba(33, 212, 253, 0.28);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  margin-bottom: 14px;
}

.section h3 {
  font-size: clamp(18px, 2vw, 21px);
}

.lede {
  color: var(--text-dim);
  font-size: 17px;
  margin: 0;
}

/* ============================= 导航 ============================= */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.78);
  border-bottom: 1px solid var(--line-soft);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--text);
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px -6px rgba(33, 212, 253, 0.8);
  flex-shrink: 0;
}
.logo-mark svg {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 9px;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--panel);
  text-decoration: none;
}
.nav-links a.active {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s;
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

/* ============================= 按钮 ============================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s, box-shadow 0.16s, background 0.16s;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #04121a;
  box-shadow: 0 14px 34px -14px rgba(33, 212, 253, 0.9);
}
.btn-primary:hover {
  box-shadow: 0 20px 40px -14px rgba(33, 212, 253, 1);
}
.btn-ghost {
  border-color: var(--line);
  background: var(--panel);
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--panel-strong);
  border-color: rgba(33, 212, 253, 0.5);
}
.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 9px;
}
.btn-block {
  width: 100%;
}

/* ============================= Hero ============================= */
.hero {
  padding: 76px 0 68px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  margin: 18px 0 20px;
  letter-spacing: -0.025em;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--brand) 10%, #8ab6ff 50%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 17.5px;
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.trust-row {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  color: var(--text-mute);
  font-size: 13.5px;
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust-row svg {
  width: 15px;
  height: 15px;
  color: var(--ok);
  flex-shrink: 0;
}

/* 应用界面模拟 */
.app-mock {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(20, 28, 45, 0.96), rgba(10, 15, 26, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.app-mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.app-mock-bar em {
  font-style: normal;
  margin-left: auto;
  font-size: 12px;
  color: var(--text-mute);
}
.app-mock-body {
  padding: 20px;
}
.mock-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: 14px;
  background: rgba(33, 212, 253, 0.08);
  border: 1px solid rgba(33, 212, 253, 0.26);
  margin-bottom: 16px;
}
.mock-status b {
  font-size: 15px;
}
.mock-status small {
  display: block;
  color: var(--text-mute);
  font-size: 12px;
}
.pill {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.15);
  color: var(--ok);
  border: 1px solid rgba(52, 211, 153, 0.35);
  white-space: nowrap;
}
.pill.warn {
  background: rgba(251, 191, 36, 0.14);
  color: var(--warn);
  border-color: rgba(251, 191, 36, 0.34);
}

.metric {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.metric div {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.metric strong {
  display: block;
  font-size: 19px;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.metric span {
  font-size: 11.5px;
  color: var(--text-mute);
}

.node-list {
  display: grid;
  gap: 8px;
}
.node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  font-size: 13.5px;
}
.node i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15);
}
.node b {
  font-weight: 600;
}
.node em {
  font-style: normal;
  margin-left: auto;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
}

/* ============================= 通用卡片 ============================= */
.grid {
  display: grid;
  gap: 18px;
}
.g-2 {
  grid-template-columns: repeat(2, 1fr);
}
.g-3 {
  grid-template-columns: repeat(3, 1fr);
}
.g-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(33, 212, 253, 0.4);
  background: var(--panel-strong);
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 0;
}

.ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(33, 212, 253, 0.18), rgba(124, 92, 255, 0.18));
  border: 1px solid rgba(33, 212, 253, 0.28);
  color: var(--brand);
}
.ico svg {
  width: 22px;
  height: 22px;
}

/* ============================= V3.0 模块 ============================= */
.release {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.release .card {
  position: relative;
  overflow: hidden;
}
.release .card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
}
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 7px;
  background: rgba(33, 212, 253, 0.14);
  color: var(--brand);
  border: 1px solid rgba(33, 212, 253, 0.3);
  margin-bottom: 12px;
}
.tag.alt {
  background: rgba(124, 92, 255, 0.14);
  color: #b5a4ff;
  border-color: rgba(124, 92, 255, 0.32);
}
.tag.new {
  background: rgba(52, 211, 153, 0.14);
  color: var(--ok);
  border-color: rgba(52, 211, 153, 0.32);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.metric-big {
  text-align: center;
  padding: 24px 14px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line-soft);
}
.metric-big strong {
  display: block;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  background: linear-gradient(120deg, var(--brand), #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.metric-big span {
  font-size: 13.5px;
  color: var(--text-mute);
}

/* ============================= 使用指南 ============================= */
.steps {
  counter-reset: s;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line-soft);
}
.step::before {
  counter-increment: s;
  content: "0" counter(s);
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(33, 212, 253, 0.65);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.step p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
}

.notice {
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(251, 191, 36, 0.07);
  border: 1px solid rgba(251, 191, 36, 0.26);
  color: #f5d9a0;
  font-size: 14px;
}
.notice strong {
  color: var(--warn);
}

/* ============================= 平台下载 ============================= */
.platform {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  transition: transform 0.2s, border-color 0.2s;
}
.platform:hover {
  transform: translateY(-4px);
  border-color: rgba(33, 212, 253, 0.4);
}
.platform .ico {
  margin: 0;
  width: 42px;
  height: 42px;
}
.platform h3 {
  font-size: 16px;
  margin: 0 0 2px;
}
.platform small {
  color: var(--text-mute);
  font-size: 12.5px;
  display: block;
}
.platform .btn {
  margin-left: auto;
}
.version-list {
  margin-top: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.version-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--panel);
  flex-wrap: wrap;
}
.version-row + .version-row {
  border-top: 1px solid var(--line-soft);
}
.version-row b {
  font-variant-numeric: tabular-nums;
}
.version-row .pill {
  margin-left: auto;
}

/* ============================= 安全 ============================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.sec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.sec-list li {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  font-size: 14.5px;
  color: var(--text-dim);
}
.sec-list li strong {
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}
.sec-list svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 3px;
}

.shield {
  display: grid;
  place-items: center;
  padding: 44px 24px;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(33, 212, 253, 0.1), rgba(124, 92, 255, 0.08));
  border: 1px solid var(--line);
  text-align: center;
}
.shield-ring {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(33, 212, 253, 0.16), transparent 70%);
  border: 1px solid rgba(33, 212, 253, 0.3);
  margin-bottom: 18px;
  animation: pulse 3.4s ease-in-out infinite;
}
.shield-ring svg {
  width: 62px;
  height: 62px;
  color: var(--brand);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(33, 212, 253, 0.28); }
  50% { box-shadow: 0 0 0 20px rgba(33, 212, 253, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .shield-ring { animation: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover, .platform:hover { transform: none; }
}
.shield h3 {
  margin-bottom: 6px;
}
.shield p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0;
}

/* ============================= 评价 ============================= */
.quote {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stars {
  color: var(--warn);
  font-size: 15px;
  letter-spacing: 3px;
}
.quote p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14.5px;
  flex: 1;
}
.who {
  display: flex;
  align-items: center;
  gap: 11px;
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: #04121a;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  flex-shrink: 0;
}
.who b {
  font-size: 14px;
  display: block;
}
.who small {
  color: var(--text-mute);
  font-size: 12.5px;
}

/* ============================= 套餐 ============================= */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  position: relative;
}
.plan.hot {
  border-color: rgba(33, 212, 253, 0.55);
  background: linear-gradient(165deg, rgba(33, 212, 253, 0.09), rgba(124, 92, 255, 0.07));
  box-shadow: var(--shadow);
}
.plan .badge {
  position: absolute;
  top: -11px;
  left: 26px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #04121a;
}
.plan h3 {
  margin-bottom: 4px;
}
.plan .desc {
  color: var(--text-mute);
  font-size: 13.5px;
  margin-bottom: 16px;
}
.price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 2px;
}
.price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mute);
}
.plan ul {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}
.plan li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-dim);
}
.plan li svg {
  width: 16px;
  height: 16px;
  color: var(--ok);
  flex-shrink: 0;
  margin-top: 4px;
}
.plan .btn {
  width: 100%;
}

/* ============================= FAQ ============================= */
.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-items: start;
}
details {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  transition: border-color 0.2s;
}
details[open] {
  border-color: rgba(33, 212, 253, 0.4);
}
summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  margin-left: auto;
  font-size: 22px;
  font-weight: 400;
  color: var(--brand);
  line-height: 1;
  transition: transform 0.2s;
}
details[open] summary::after {
  transform: rotate(45deg);
}
details p {
  margin: 0 0 16px;
  color: var(--text-dim);
  font-size: 14.5px;
}

/* ============================= 合规背书 ============================= */
.compliance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.trust-card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line-soft);
}
.trust-card h3 {
  font-size: 15.5px;
  margin-bottom: 6px;
}
.trust-card p {
  font-size: 13.5px;
  color: var(--text-dim);
  margin: 0 0 10px;
}
.trust-card a {
  font-size: 13.5px;
  font-weight: 600;
  word-break: break-all;
}

.fraud {
  margin-top: 18px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: rgba(255, 99, 99, 0.06);
  border: 1px solid rgba(255, 99, 99, 0.24);
}
.fraud h3 {
  font-size: 16px;
  color: #ff9b9b;
  margin-bottom: 8px;
}
.fraud p {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 6px;
}
.fraud p:last-child {
  margin: 0;
}
.fraud code {
  background: rgba(0, 0, 0, 0.35);
  padding: 1px 7px;
  border-radius: 5px;
  font-size: 13px;
  color: var(--brand);
}

/* ============================= CTA ============================= */
.cta-band {
  text-align: center;
  padding: 54px 32px;
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(33, 212, 253, 0.12), rgba(124, 92, 255, 0.12));
  border: 1px solid var(--line);
}
.cta-band h2 {
  margin-bottom: 10px;
}
.cta-band p {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 26px;
}
.cta-band .hero-cta {
  justify-content: center;
  margin: 0;
}

/* ============================= 页脚 ============================= */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 52px 0 28px;
  background: rgba(5, 8, 15, 0.6);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 34px;
}
.foot-about p {
  color: var(--text-mute);
  font-size: 13.5px;
  max-width: 320px;
  margin: 12px 0 0;
}
.foot-col h4 {
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.foot-col a {
  color: var(--text-mute);
  font-size: 13.5px;
}
.foot-col a:hover {
  color: var(--brand);
}
.foot-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--text-mute);
  font-size: 13px;
}
.foot-bottom nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.disclaimer {
  color: var(--text-mute);
  font-size: 12.5px;
  line-height: 1.8;
  margin-top: 14px;
  max-width: 900px;
}

/* ============================= 内页通用 ============================= */
.page-hero {
  padding: 54px 0 46px;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.page-hero h1 {
  font-size: clamp(28px, 4.2vw, 46px);
  margin: 16px 0 16px;
}
.page-hero .lede {
  max-width: 720px;
  font-size: 16.5px;
}

.crumbs {
  font-size: 13px;
  color: var(--text-mute);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.crumbs a {
  color: var(--text-mute);
}
.crumbs a:hover {
  color: var(--brand);
}
.crumbs [aria-current] {
  color: var(--text-dim);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 44px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 92px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line-soft);
}
.toc h4 {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.toc a {
  display: block;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-dim);
  border-left: 2px solid transparent;
  transition: color 0.16s, background 0.16s, border-color 0.16s;
}
.toc a:hover {
  color: var(--brand);
  background: var(--panel-strong);
  text-decoration: none;
  border-left-color: rgba(33, 212, 253, 0.6);
}

.prose {
  min-width: 0;
}
.prose h2 {
  font-size: clamp(21px, 2.6vw, 29px);
  margin: 44px 0 14px;
  scroll-margin-top: 96px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 18px;
  margin: 28px 0 10px;
}
.prose p,
.prose li {
  color: var(--text-dim);
  font-size: 15.5px;
}
.prose ul {
  padding-left: 22px;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}
.prose strong {
  color: var(--text);
}
.prose a {
  font-weight: 500;
}
.prose code {
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 14px;
  color: var(--brand);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.prose blockquote {
  margin: 0 0 20px;
  padding: 16px 22px;
  border-left: 3px solid var(--brand);
  background: var(--panel);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-dim);
  font-size: 15px;
}

.callout {
  margin: 22px 0;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
}
.callout p:last-child,
.callout ul:last-child {
  margin-bottom: 0;
}
.callout h4 {
  font-size: 15px;
  margin-bottom: 6px;
}
.callout.info {
  background: rgba(33, 212, 253, 0.07);
  border: 1px solid rgba(33, 212, 253, 0.26);
  color: #c6e9f6;
}
.callout.info h4 {
  color: var(--brand);
}
.callout.warn {
  background: rgba(251, 191, 36, 0.07);
  border: 1px solid rgba(251, 191, 36, 0.26);
  color: #f0dcae;
}
.callout.warn h4 {
  color: var(--warn);
}
.callout.danger {
  background: rgba(255, 99, 99, 0.06);
  border: 1px solid rgba(255, 99, 99, 0.24);
  color: #f0bdbd;
}
.callout.danger h4 {
  color: #ff9b9b;
}

.kv {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 14.5px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.kv caption {
  caption-side: top;
  text-align: left;
  color: var(--text-mute);
  font-size: 13px;
  padding-bottom: 10px;
}
.kv th,
.kv td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.kv thead th {
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}
.kv tbody td {
  color: var(--text-dim);
}
.kv tbody th {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}
.kv tr:last-child th,
.kv tr:last-child td {
  border-bottom: 0;
}
.table-scroll {
  overflow-x: auto;
  margin-bottom: 24px;
}
.table-scroll .kv {
  margin-bottom: 0;
  min-width: 560px;
}

.pager {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.pager a {
  display: block;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  transition: transform 0.2s, border-color 0.2s;
}
.pager a:hover {
  text-decoration: none;
  border-color: rgba(33, 212, 253, 0.45);
  transform: translateY(-3px);
}
.pager small {
  display: block;
  font-size: 12.5px;
  color: var(--text-mute);
  margin-bottom: 3px;
}
.pager b {
  font-size: 14.5px;
  color: var(--text);
}
.pager .mid {
  text-align: center;
}
.pager .end {
  text-align: right;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 34px;
}
.stat-strip div {
  padding: 20px 16px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  text-align: center;
}
.stat-strip strong {
  display: block;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.stat-strip span {
  font-size: 13px;
  color: var(--text-mute);
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line-soft);
  margin-bottom: 24px;
}
.rating-score {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--brand), #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rating-summary small {
  color: var(--text-mute);
  font-size: 13px;
  display: block;
}
.rating-meta {
  flex: 1;
  min-width: 200px;
  display: grid;
  gap: 7px;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-mute);
}
.bar {
  flex: 1;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
  min-width: 90px;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--warn), var(--brand));
}

.rating-pick {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ok);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 10px;
}
.checklist li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text-dim);
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid var(--line-soft);
}
.checklist svg {
  width: 17px;
  height: 17px;
  color: var(--ok);
  flex-shrink: 0;
  margin-top: 4px;
}
.checklist.no li {
  color: #f0bdbd;
}
.checklist.no svg {
  color: #ff8f8f;
}

/* ========================= 响应式 ========================= */
@media (max-width: 1024px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .release,
  .steps,
  .compliance {
    grid-template-columns: repeat(2, 1fr);
  }
  .g-4,
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .toc {
    position: static;
  }
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    background: rgba(9, 13, 23, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 11px 10px;
    font-size: 15px;
  }
  .nav-cta {
    display: none;
  }
  .section {
    padding: 56px 0;
  }
  .hero {
    padding: 46px 0 40px;
  }
  .g-2,
  .g-3,
  .faq,
  .release,
  .steps,
  .compliance,
  .metrics,
  .stat-strip {
    grid-template-columns: 1fr;
  }
  .pager {
    grid-template-columns: 1fr;
  }
  .pager .mid,
  .pager .end {
    text-align: left;
  }
  .rating-summary {
    gap: 18px;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-cta .btn {
    flex: 1;
  }
}

@media print {
  body::before,
  body::after {
    display: none;
  }
}
