/* ===== Reset / Tokens ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
:root {
  --bg: #06080f;
  --bg-2: #0b1020;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e6edf3;
  --text-2: #9ba3b4;
  --text-3: #6b7280;
  --primary: #00ff9d;
  --primary-2: #00d4ff;
  --primary-glow: rgba(0, 255, 157, 0.35);
  --danger: #ff5a5f;
  --radius: 14px;
  --radius-lg: 22px;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ===== Skip-link（无障碍 + SEO） ===== */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--primary);
  color: #001a14;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; outline: none; }

/* ===== 背景装饰 ===== */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center;
  mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 75%);
  -webkit-mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 75%);
  pointer-events: none;
  z-index: 0;
}
.bg-orb {
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.bg-orb-1 { background: var(--primary); top: -200px; left: -180px; opacity: 0.18; }
.bg-orb-2 { background: var(--primary-2); top: 30%; right: -200px; opacity: 0.12; }

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 8, 15, 0.65);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #000;
  box-shadow: 0 0 24px var(--primary-glow);
}
.logo-mark svg { width: 16px; height: 16px; }
.logo-text {
  background: linear-gradient(135deg, #fff, #b6c0d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-menu { display: flex; gap: 36px; }
.nav-link {
  font-size: 14px;
  color: var(--text-2);
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #001a14;
  box-shadow: 0 0 0 0 var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--primary-glow);
}
.btn-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.4), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.btn-primary:hover .btn-glow { opacity: 1; }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,0.22); }

.btn-lg { padding: 15px 28px; font-size: 15px; }
.btn-block { display: flex; width: 100%; padding: 12px 18px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 100px 0 120px;
  z-index: 1;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 32px;
}
.dot-live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,255,157,0.15);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(0,255,157,0); } }

.hero-title {
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-2);
  max-width: 640px;
  margin-bottom: 40px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

/* Hero 数据条 */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 28px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.stat { flex: 1; text-align: center; }
.stat-num {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, #b6c0d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-suffix {
  font-size: 14px;
  color: var(--text-2);
  margin-left: 4px;
  font-weight: 500;
}
.stat p { font-size: 13px; color: var(--text-3); margin-top: 4px; }
.stat-divider {
  width: 1px;
  height: 38px;
  background: var(--border);
}

/* Hero 装饰仪表 */
.hero-gauge {
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}
.gauge-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--primary);
  opacity: 0.18;
  animation: rotate 24s linear infinite;
}
.gauge-ring::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 16px var(--primary);
  transform: translateX(-50%);
}
.gauge-ring-2 {
  inset: 50px;
  animation-duration: 16s;
  animation-direction: reverse;
  border-color: var(--primary-2);
  opacity: 0.22;
}
.gauge-ring-2::before { background: var(--primary-2); box-shadow: 0 0 16px var(--primary-2); }
.gauge-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 32px var(--primary);
}
@keyframes rotate { to { transform: rotate(360deg); } }

/* ===== Section base ===== */
.section { padding: 110px 0; position: relative; z-index: 1; }
.section-head { margin-bottom: 56px; text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--primary);
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.title-dot { color: var(--primary); }
.section-sub {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ===== Download grid ===== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.dl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.dl-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}
.dl-card:hover { transform: translateY(-4px); background: var(--surface-2); }
.dl-card:hover::before { opacity: 1; }
.dl-icon-wrap {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,255,157,0.15), rgba(0,212,255,0.08));
  color: var(--primary);
}
.dl-icon-wrap svg { width: 28px; height: 28px; }
.dl-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.dl-info p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 20px;
}
.dl-meta { color: var(--text-3); font-size: 12px; }

.warn-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 16px 22px;
  background: rgba(255, 165, 0, 0.06);
  border: 1px solid rgba(255, 165, 0, 0.25);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-2);
}
.warn-bar svg { flex-shrink: 0; color: #ffb74d; }
.warn-bar strong { color: var(--text); }

/* ===== Features ===== */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.3s;
}
.feat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.feat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,255,157,0.12), rgba(0,212,255,0.06));
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
}
.feat-icon svg { width: 22px; height: 22px; }
.feat-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.feat-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ===== Nodes ===== */
.node-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.node-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  flex-shrink: 0;
}
.node-row b { color: var(--text); font-weight: 500; flex: 1; }
.node-row i { font-style: normal; color: var(--primary); font-size: 13px; font-weight: 500; }
.node-foot {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 18px;
  text-align: center;
}

/* ===== Pricing ===== */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.25s;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card-hot {
  background: linear-gradient(180deg, rgba(0,255,157,0.08) 0%, rgba(0,212,255,0.04) 100%);
  border-color: rgba(0,255,157,0.3);
  box-shadow: 0 16px 60px rgba(0,255,157,0.08);
}
.plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #001a14;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.plan-name {
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.plan-price {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 6px;
}
.plan-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-3);
  margin-left: 6px;
}
.plan-tip {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.plan-feat {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}
.plan-feat li {
  font-size: 14px;
  color: var(--text-2);
  padding-left: 24px;
  position: relative;
}
.plan-feat li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 7px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

.pay-row {
  text-align: center;
  margin-top: 36px;
  font-size: 14px;
  color: var(--text-2);
}
.pay-row b { color: var(--text); font-weight: 500; margin: 0 4px; }

/* ===== FAQ ===== */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 28px;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(0,255,157,0.3); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  flex: 1;
  letter-spacing: -0.005em;
}
.faq-item summary i {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  position: relative;
  background: var(--surface-2);
  transition: background 0.2s;
}
.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  background: var(--text);
  border-radius: 2px;
  top: 50%; left: 50%;
}
.faq-item summary i::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.faq-item summary i::after { width: 2px; height: 10px; transform: translate(-50%, -50%); transition: transform 0.25s; }
.faq-item[open] summary i::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item[open] summary i { background: var(--primary); }
.faq-item[open] summary i::before { background: #001a14; }
.faq-item p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  padding: 4px 0 22px;
  border-top: 1px solid var(--border);
  margin-top: -4px;
  padding-top: 18px;
}
.faq-item p a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.faq-item p strong { color: var(--text); }

/* ===== Reviews ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all 0.3s;
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,255,157,0.25);
  background: var(--surface-2);
}
.review-stars {
  color: #ffc857;
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
}
.review-text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  flex: 1;
}
.review-text strong { color: var(--text); font-weight: 600; }
.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #001a14;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.review-user b {
  display: block;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}
.review-user span {
  font-size: 12px;
  color: var(--text-3);
}

/* ===== Changelog Timeline ===== */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--border) 50%, transparent 100%);
}
.tl-item {
  position: relative;
  padding: 0 0 32px 40px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-marker {
  position: absolute;
  left: 0;
  top: 6px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(0,255,157,0.12);
}
.tl-item:first-child .tl-marker {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,255,157,0.18), 0 0 16px var(--primary);
}
.tl-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: all 0.25s;
}
.tl-item:hover .tl-content {
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.tl-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-3);
}
.tl-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-2);
}
.tl-tag-new {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #001a14;
  border-color: transparent;
  font-weight: 600;
}
.tl-content h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}
.tl-content p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ===== CTA ===== */
.cta { padding: 60px 0 110px; position: relative; z-index: 1; }
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px 64px;
  background: linear-gradient(135deg, rgba(0,255,157,0.08) 0%, rgba(0,212,255,0.04) 100%);
  border: 1px solid rgba(0,255,157,0.2);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: var(--primary);
  filter: blur(120px);
  opacity: 0.15;
}
.cta-text { position: relative; z-index: 2; }
.cta-text h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.cta-text p {
  font-size: 15px;
  color: var(--text-2);
}
.cta-box .btn { position: relative; z-index: 2; }

/* ===== Footer ===== */
.footer {
  padding: 72px 0 32px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-3);
  margin-top: 18px;
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  margin-bottom: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-col ul li {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 12px;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
  flex-wrap: wrap;
}
.footer-bottom .status { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-left a { color: var(--text-3); transition: color 0.2s; }
.footer-bottom-left a:hover { color: var(--primary); }

/* ===== Friend Links ===== */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 20px 0;
  margin-bottom: 24px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
}
.friend-title { color: var(--text-3); }
.friend-links a {
  color: var(--text-2);
  transition: color 0.2s;
}
.friend-links a:hover { color: var(--primary); }

/* ===== Doc Pages（协议 / 隐私 / 文档页通用） ===== */
.doc-hero {
  padding: 80px 0 56px;
  position: relative;
  z-index: 1;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.doc-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.doc-hero .doc-meta {
  font-size: 14px;
  color: var(--text-3);
}
.doc-hero .doc-meta b { color: var(--text-2); font-weight: 500; }
.doc-crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-3);
}
.doc-crumb a { color: var(--text-2); transition: color 0.2s; }
.doc-crumb a:hover { color: var(--primary); }
.doc-crumb span { color: var(--text-3); }

.doc-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  padding: 64px 0 96px;
  position: relative;
  z-index: 1;
}
.doc-toc {
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.doc-toc h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.doc-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.doc-toc li {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 10px;
  counter-increment: toc;
  position: relative;
  padding-left: 28px;
}
.doc-toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-size: 11px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.doc-toc a {
  color: inherit;
  transition: color 0.2s;
  display: block;
  line-height: 1.5;
}
.doc-toc a:hover { color: var(--primary); }

.doc-article {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-2);
  max-width: 760px;
}
.doc-article h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 48px 0 18px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 88px;
}
.doc-article h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.doc-article h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin: 28px 0 10px;
}
.doc-article p { margin-bottom: 16px; }
.doc-article ul, .doc-article ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.doc-article ul { list-style: disc; }
.doc-article ol { list-style: decimal; }
.doc-article li {
  margin-bottom: 8px;
  padding-left: 6px;
}
.doc-article li::marker { color: var(--primary); }
.doc-article strong { color: var(--text); font-weight: 600; }
.doc-article a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.doc-article code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 13px;
  font-family: "SF Mono", Consolas, monospace;
  color: var(--primary);
}
.doc-note {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
}
.doc-note strong { color: var(--primary); }

@media (max-width: 960px) {
  .doc-layout { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 72px; }
  .doc-toc { position: static; max-height: none; padding: 20px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: #001a14;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
  z-index: 1000;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .node-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-gauge { display: none; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: rgba(6, 8, 15, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 18px 32px 28px;
    gap: 16px;
  }
  .container { padding: 0 24px; }
  .hero { padding: 60px 0 80px; }
  .section { padding: 72px 0; }
  .hero-cta { gap: 12px; }
  .hero-stats { padding: 20px 16px; flex-wrap: wrap; gap: 16px; }
  .stat { flex: 1 1 40%; }
  .stat-divider { display: none; }
  .stat-num { font-size: 28px; }
  .plan-grid { grid-template-columns: 1fr; }
  .node-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 0; }
  .cta-box { flex-direction: column; text-align: center; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
@media (max-width: 480px) {
  .download-grid { grid-template-columns: 1fr; }
  .node-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
