/* ==========================================================================
   快连VPN官网公共样式表
   适用版本：v2026.07
   设计语言：科技蓝 + 节点连线
   ========================================================================== */

/* 主题变量 */
:root {
  --brand-deep: #0B1B3B;
  --brand-blue: #2C7BFE;
  --brand-blue-soft: #5B9DFF;
  --brand-cyan: #00C2FF;
  --brand-green: #00C896;
  --brand-red: #FF4D4F;
  --brand-amber: #FFD93D;
  --ink-900: #0F172A;
  --ink-700: #334155;
  --ink-500: #64748B;
  --ink-300: #CBD5E1;
  --ink-100: #F1F5F9;
  --bg-page: #F5F7FB;
  --bg-card: #FFFFFF;
  --line: #E6EAF2;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 6px rgba(11, 27, 59, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 27, 59, 0.08);
  --shadow-lg: 0 16px 48px rgba(11, 27, 59, 0.12);
  --container: 1200px;
  --font-mono: 'Fira Code', 'JetBrains Mono', 'Consolas', 'Menlo', monospace;
  --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 重置 */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-900);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-blue-soft); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.3; color: var(--ink-900); }
p { margin: 0; }

/* 容器 */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 顶部导航 ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.navbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-deep);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.5px;
}
.navbar-logo .logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}
.navbar-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.navbar-links a {
  display: inline-block;
  padding: 8px 14px;
  color: var(--ink-700);
  font-size: 14.5px;
  border-radius: var(--radius-sm);
  transition: background .15s ease, color .15s ease;
}
.navbar-links a:hover { background: var(--ink-100); color: var(--ink-900); }
.navbar-links a.active {
  background: rgba(44, 123, 254, 0.08);
  color: var(--brand-blue);
  font-weight: 600;
}
.navbar-cta {
  margin-left: 12px;
  padding: 9px 18px;
  background: var(--brand-blue);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.navbar-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(44, 123, 254, 0.3);
  color: #fff !important;
}
.navbar-toggle { display: none; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(44, 123, 254, 0.25);
}
.btn-primary:hover { background: #1A6BF5; transform: translateY(-1px); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}
.btn-outline:hover { background: var(--brand-blue); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); color: #fff; }
.btn-large { padding: 14px 32px; font-size: 16px; border-radius: 8px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }

/* ===== Hero 通用 ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #061229 0%, #0B1B3B 45%, #143C8C 100%);
  color: #fff;
  padding: 96px 24px 112px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(44,123,254,.35), transparent 35%),
    radial-gradient(circle at 78% 20%, rgba(0,194,255,.25), transparent 35%),
    radial-gradient(circle at 55% 80%, rgba(0,200,150,.18), transparent 40%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: -1px -1px;
  opacity: .25;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  margin-bottom: 20px;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 8px var(--brand-green);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: .35; }
}
.hero h1 {
  font-size: 48px;
  line-height: 1.15;
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--brand-cyan); }
.hero .subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.78);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 36px;
  display: flex;
  gap: 20px;
  color: rgba(255,255,255,.7);
  font-size: 13.5px;
  flex-wrap: wrap;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }

/* Hero 仪表盘卡片 */
.hero-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.hero-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 14px;
  color: rgba(255,255,255,.7);
}
.hero-card-head .badge {
  background: rgba(0,200,150,.18);
  color: var(--brand-green);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.hero-stat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.hero-stat .label {
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  margin-bottom: 6px;
}
.hero-stat .value {
  font-size: 26px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #fff;
}
.hero-stat .value .small { font-size: 14px; color: rgba(255,255,255,.55); margin-left: 4px; font-weight: 500; }

.hero-pulse-row {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.hero-pulse-row .pulse-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,.03);
  border-radius: 8px;
}
.hero-pulse-row .pulse-item .name::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--brand-green);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 6px var(--brand-green);
}
.hero-pulse-row .pulse-item .lat {
  font-family: var(--font-mono);
  color: var(--brand-cyan);
}

/* ===== 通用 Section ===== */
.section {
  padding: 88px 24px;
}
.section.alt { background: #fff; }
.section.deep { background: var(--brand-deep); color: #fff; }
.section.deep h2, .section.deep h3 { color: #fff; }
.section.deep .section-desc { color: rgba(255,255,255,.7); }
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(44,123,254,.08);
  color: var(--brand-blue);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-title {
  font-size: 36px;
  color: var(--ink-900);
  margin-bottom: 14px;
}
.section-desc {
  font-size: 16px;
  color: var(--ink-500);
}

/* 卡片网格 */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(44,123,254,.35);
}
.card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(44,123,254,.12), rgba(0,194,255,.12));
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.card p { color: var(--ink-500); font-size: 14.5px; }
.card .meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
}

/* 步骤卡（第一步/第二步/第三步） */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.step-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.step-card .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(44,123,254,.25);
}
.step-card .step-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--brand-blue);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.step-card h3 { font-size: 18px; margin-bottom: 10px; }
.step-card p { color: var(--ink-500); font-size: 14.5px; }

/* 平台下载卡 */
.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.platform-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(44,123,254,.4);
}
.platform-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: var(--shadow-sm);
}
.platform-card .platform-name { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.platform-card .platform-meta {
  font-size: 12.5px;
  color: var(--ink-500);
  margin-bottom: 14px;
  font-family: var(--font-mono);
}
.platform-card .platform-tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(0,200,150,.12);
  color: var(--brand-green);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-item.is-open { border-color: rgba(44,123,254,.3); box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink-900);
}
.faq-question .arrow {
  transition: transform .2s ease;
  color: var(--brand-blue);
}
.faq-item.is-open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 0 22px 22px 22px;
  color: var(--ink-700);
  font-size: 14.5px;
  border-top: 1px dashed var(--line);
}
.faq-answer.is-open { display: block; padding-top: 18px; }
.faq-answer ol {
  padding-left: 0;
  margin: 0;
}
.faq-answer ol li {
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px dashed var(--ink-100);
}
.faq-answer ol li:last-child { border-bottom: none; }
.faq-answer ol li::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 8px;
  font-weight: 800;
  font-size: 12.5px;
  color: var(--brand-blue);
  background: rgba(44,123,254,.08);
  padding: 2px 8px;
  border-radius: 4px;
}

/* 表格 */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.data-table th, .data-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.data-table th {
  background: var(--ink-100);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table .num {
  font-family: var(--font-mono);
  color: var(--brand-blue);
}

/* 节点卡 */
.node-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: transform .15s ease, border-color .15s ease;
}
.node-card:hover {
  transform: translateY(-2px);
  border-color: rgba(44,123,254,.4);
}
.node-card .node-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.node-card .flag {
  width: 32px; height: 22px;
  border-radius: 4px;
  margin-right: 10px;
  background: linear-gradient(135deg, #2C7BFE, #00C2FF);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.node-card .node-name { font-weight: 700; font-size: 15px; }
.node-card .node-loc { font-size: 12.5px; color: var(--ink-500); margin-top: 2px; }
.node-card .node-metric { font-family: var(--font-mono); font-size: 13px; }
.node-card .latency { color: var(--brand-green); }
.node-card .load { color: var(--ink-500); }
.node-card .tags {
  margin-top: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.node-card .tags span {
  font-size: 11.5px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--ink-100);
  color: var(--ink-700);
}

/* 长尾百科 */
.wiki-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.wiki-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.wiki-item:hover {
  border-color: rgba(44,123,254,.3);
  box-shadow: var(--shadow-sm);
}
.wiki-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--ink-900);
}
.wiki-item h3 a { color: inherit; }
.wiki-item h3 a:hover { color: var(--brand-blue); }
.wiki-item p { font-size: 13.5px; color: var(--ink-500); }
.wiki-item .more {
  display: inline-block;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--brand-blue);
  font-weight: 600;
}

/* 证言墙 */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 18px;
  font-size: 60px;
  color: rgba(44,123,254,.18);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial .stars { color: var(--brand-amber); margin-bottom: 12px; font-size: 14px; letter-spacing: 2px; }
.testimonial .text { font-size: 14.5px; color: var(--ink-700); margin-bottom: 16px; }
.testimonial .author { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.testimonial .name { font-weight: 700; font-size: 14px; }
.testimonial .source { font-size: 12.5px; color: var(--ink-500); }
.testimonial .meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-500);
  display: flex;
  justify-content: space-between;
}

/* 性能对照表 */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.compare-card.featured {
  background: linear-gradient(160deg, #0B1B3B, #143C8C);
  border-color: transparent;
  color: #fff;
}
.compare-card.featured h3, .compare-card.featured .compare-value { color: #fff; }
.compare-card.featured .compare-row .compare-label { color: rgba(255,255,255,.7); }
.compare-card.featured .compare-value { color: var(--brand-cyan); }
.compare-tag {
  display: inline-block;
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 16px;
}
.compare-tag.normal { background: var(--ink-100); color: var(--ink-700); }
.compare-tag.featured { background: rgba(255,217,61,.18); color: var(--brand-amber); }
.compare-card h3 { font-size: 22px; margin-bottom: 20px; }
.compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255,255,255,.12);
}
.compare-card:not(.featured) .compare-row { border-color: var(--line); }
.compare-row:last-child { border-bottom: none; }
.compare-row .compare-label { font-size: 13.5px; color: var(--ink-500); }
.compare-row .compare-value {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
}

/* 标签云 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-cloud a {
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-700);
  transition: all .15s ease;
}
.tag-cloud a:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  background: rgba(44,123,254,.04);
}

/* 页脚 */
.footer {
  background: var(--brand-deep);
  color: rgba(255,255,255,.75);
  padding: 64px 24px 24px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255,255,255,.6);
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,.6);
  font-size: 13.5px;
}
.footer-col ul li a:hover { color: var(--brand-cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--brand-cyan); }

/* 推荐阅读 */
.recommend {
  background: var(--brand-deep);
  color: #fff;
  padding: 56px 24px;
}
.recommend .section-head h2 { color: #fff; }
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: var(--container);
  margin: 0 auto;
}
.recommend a {
  display: block;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: #fff;
  transition: background .15s ease, border-color .15s ease;
}
.recommend a:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,217,61,.4);
  color: var(--brand-cyan);
}
.recommend a .tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(255,217,61,.18);
  color: var(--brand-amber);
  border-radius: 4px;
  margin-bottom: 8px;
}
.recommend a .title { display: block; font-size: 14px; font-weight: 600; }
.recommend a .desc { display: block; font-size: 12.5px; color: rgba(255,255,255,.55); margin-top: 4px; }

/* ===== 资讯卡片 ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all .2s ease;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: rgba(44,123,254,.4); }
.news-card .date {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--brand-blue);
  margin-bottom: 8px;
}
.news-card h3 { font-size: 17px; margin-bottom: 8px; }
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--brand-blue); }
.news-card p { font-size: 13.5px; color: var(--ink-500); }
.news-card .more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--brand-blue);
  font-weight: 600;
}

/* ===== 时间线 ===== */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding-left: 50px;
  padding-bottom: 28px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(44,123,254,.18);
}
.timeline-item .time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-blue);
  margin-bottom: 4px;
}
.timeline-item h4 { font-size: 16px; margin-bottom: 6px; }
.timeline-item p { font-size: 14px; color: var(--ink-500); }

/* ===== 通知条 ===== */
.notice-bar {
  background: rgba(44,123,254,.06);
  border-bottom: 1px solid rgba(44,123,254,.14);
  color: var(--ink-700);
  font-size: 13px;
  padding: 6px 16px;
  text-align: center;
}
.notice-bar b { color: var(--brand-blue); }

/* ===== 下载信息条 ===== */
.download-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--ink-500);
}
.download-meta span { font-family: var(--font-mono); }
.download-meta .hash { color: var(--brand-blue); }

/* ===== 底部统计 ===== */
.stripe-band {
  background: linear-gradient(135deg, #0B1B3B 0%, #143C8C 100%);
  color: #fff;
  padding: 56px 24px;
}
.stripe-band-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stripe-band .num {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 800;
  color: var(--brand-cyan);
  display: block;
}
.stripe-band .label { color: rgba(255,255,255,.7); font-size: 13.5px; }

/* ===== 文章详情 ===== */
.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.article-meta {
  color: var(--ink-500);
  font-size: 13.5px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.article h1 { font-size: 30px; margin-bottom: 12px; }
.article-body { font-size: 15.5px; line-height: 1.85; color: var(--ink-700); }
.article-body h2 { font-size: 22px; margin: 36px 0 14px; }
.article-body p { margin-bottom: 16px; }
.article-body ol { padding-left: 22px; margin-bottom: 16px; }
.article-body ol li { padding: 6px 0; }

/* ===== 隐私政策/用户协议 ===== */
.legal-doc {
  max-width: 880px;
  margin: 56px auto;
  padding: 48px 56px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.legal-doc h1 { font-size: 28px; margin-bottom: 12px; }
.legal-doc .update { color: var(--ink-500); font-size: 13px; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.legal-doc h2 {
  font-size: 19px;
  margin: 28px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--brand-blue);
}
.legal-doc p { margin-bottom: 12px; color: var(--ink-700); font-size: 14.5px; line-height: 1.8; }
.legal-doc .toc {
  background: var(--ink-100);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  font-size: 13.5px;
}
.legal-doc .toc ol { padding-left: 22px; }
.legal-doc .toc a { color: var(--ink-700); }

/* ===== 404 ===== */
.error-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
}
.error-page .code {
  font-family: var(--font-mono);
  font-size: 120px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.error-page h1 { font-size: 28px; margin: 16px 0 8px; }
.error-page p { color: var(--ink-500); margin-bottom: 28px; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .step-grid, .step-grid.cols-3, .step-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-4, .card-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .recommend-grid { grid-template-columns: repeat(2, 1fr); }
  .stripe-band-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .hero h1 { font-size: 38px; }
}
@media (max-width: 768px) {
  .navbar-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; padding: 12px; border-bottom: 1px solid var(--line); }
  .navbar-links.is-open { display: flex; }
  .navbar-toggle { display: block; padding: 8px 12px; border-radius: 6px; }
  .navbar-toggle span, .navbar-toggle span::before, .navbar-toggle span::after {
    display: block; width: 22px; height: 2px; background: var(--ink-900);
    border-radius: 2px; position: relative; transition: all .15s ease;
  }
  .navbar-toggle span::before { content: ""; position: absolute; top: -7px; }
  .navbar-toggle span::after { content: ""; position: absolute; top: 7px; }
  .navbar-cta { display: none; }
  .hero { padding: 56px 20px 72px; }
  .hero h1 { font-size: 30px; }
  .hero .subtitle { font-size: 14.5px; }
  .section { padding: 56px 18px; }
  .section-title { font-size: 26px; }
  .container { padding: 0 16px; }
  .step-grid, .step-grid.cols-3, .step-grid.cols-2 { grid-template-columns: 1fr; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4, .card-grid.cols-5 { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .wiki-list { grid-template-columns: 1fr; }
  .recommend-grid { grid-template-columns: 1fr; }
  .stripe-band-inner { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .legal-doc { padding: 28px 22px; }
  .article { padding: 36px 22px; }
  .hero-card { padding: 22px; }
  .hero-stat .value { font-size: 22px; }
}

/* ===== 工具类 ===== */
.text-center { text-align: center; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--ink-500); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
