/* ============================================
   Clash Verge 加速器 (clash-jisuqi)
   电竞渐变主题 — 速度 · 低延迟 · 稳定
   ============================================ */

/* ---------- CSS 变量 — 电竞渐变 ---------- */
:root {
  /* 主色系：电光青 → 赛博紫 → 霓虹粉 */
  --primary: #00D4FF;
  --primary-dark: #00A8CC;
  --primary-light: #5DE6FF;
  --primary-rgb: 0,212,255;

  --secondary: #7B2FBE;
  --secondary-dark: #5C1F9A;
  --secondary-light: #9B4DDE;

  /* 强调色 */
  --accent-cyan: #00D4FF;
  --accent-purple: #7B2FBE;
  --accent-pink: #FF2D95;
  --accent-green: #39FF14;
  --accent-orange: #FF8C00;
  --accent-red: #FF3366;

  /* 渐变组合 */
  --gradient-hero: linear-gradient(135deg, #0a0a1a 0%, #0d1025 40%, #110b1e 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-cyan), var(--secondary), var(--accent-pink));
  --gradient-accent-alt: linear-gradient(135deg, var(--accent-pink), var(--secondary), var(--accent-cyan));
  --gradient-speed: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
  --glow-cyan: 0 0 20px rgba(var(--primary-rgb), 0.4);
  --glow-pink: 0 0 20px rgba(255,45,149,0.35);
  --glow-purple: 0 0 20px rgba(123,47,190,0.35);

  /* 文字 */
  --text-primary: #f0f0f5;
  --text-secondary: #a0a8c0;
  --text-light: #6b7590;
  --text-white: #ffffff;
  --text-muted: #555d78;

  /* 背景（深色电竞风） */
  --bg-primary: #0a0a14;
  --bg-secondary: #0e0e1c;
  --bg-tertiary: #12121f;
  --bg-card: rgba(18, 22, 38, 0.85);
  --bg-card-hover: rgba(24, 30, 52, 0.95);
  --bg-glass: rgba(255,255,255,0.04);
  --bg-code: #0d1117;

  /* 边框 */
  --border-color: rgba(255,255,255,0.07);
  --border-glow: rgba(var(--primary-rgb), 0.25);

  /* 阴影 */
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.3);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
  --shadow-xl: 0 20px 64px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 32px rgba(var(--primary-rgb), 0.15);

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* 过渡 */
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* 布局 */
  --max-width: 1180px;
  --header-height: 72px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', 'Roboto', sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---------- Header (暗色玻璃态) ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10,10,20,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(10,10,20,0.96);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  border-bottom-color: rgba(var(--primary-rgb), 0.12);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.28rem;
  color: var(--text-white);
  text-decoration: none !important;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--glow-purple);
  animation: iconPulse 3s ease-in-out infinite;
}
@keyframes iconPulse {
  0%, 100% { box-shadow: var(--glow-purple); transform: scale(1); }
  50% { box-shadow: 0 0 28px rgba(123,47,190,0.55), 0 0 56px rgba(0,212,255,0.2); transform: scale(1.05); }
}
.logo span { background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
}
.nav a:hover,
.nav a.active { color: var(--primary); background: rgba(var(--primary-rgb), 0.08); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient-speed);
  border-radius: 2px;
}

.nav-cta {
  padding: 9px 24px !important;
  background: var(--gradient-accent) !important;
  color: white !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  box-shadow: var(--glow-purple);
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.nav-cta:hover::before { transform: translateX(100%); }
.nav-cta:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 0 30px rgba(123,47,190,0.5), 0 0 60px rgba(0,212,255,0.2) !important;
  color: white !important;
}

.menu-toggle { display: none; cursor: pointer; padding: 8px; border-radius: var(--radius-sm); }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text-primary); margin: 4px 0; border-radius: 2px; transition: var(--transition); }

/* ---------- Hero (深色+粒子感) ---------- */
.hero {
  position: relative;
  padding: 140px 0 90px;
  background: var(--gradient-hero);
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
/* 背景网格 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--primary-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb), 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 70%);
}
/* 光晕 */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(var(--primary-rgb), 0.08) 0%, rgba(123,47,190,0.05) 40%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 22px;
  animation: badgeGlow 2.5s ease-in-out infinite alternate;
}
@keyframes badgeGlow {
  from { box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.15); }
  to { box-shadow: 0 0 18px rgba(var(--primary-rgb), 0.3); }
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero h1 .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  background: var(--gradient-accent);
  color: white;
  border-radius: var(--radius-full);
  font-size: 1.02rem;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: var(--glow-purple);
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(123,47,190,0.5), 0 0 70px rgba(0,212,255,0.2);
  color: white;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  font-size: 1.02rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none !important;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan);
}
.btn-primary svg, .btn-outline svg { width: 20px; height: 20px; }

/* 速度统计栏 */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}
.stat-item { text-align: left; }
.stat-num { font-size: 1.7rem; font-weight: 900; background: var(--gradient-speed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.82rem; color: var(--text-light); font-weight: 500; margin-top: 2px; }

/* Hero 右侧：速度仪表盘 */
.hero-preview {
  position: relative;
  perspective: 1000px;
}
.speed-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.speed-dashboard:hover {
  transform: rotateY(0deg) rotateX(0deg);
  box-shadow: var(--shadow-xl), 0 0 48px rgba(var(--primary-rgb), 0.2);
}

.speed-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.speed-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* 速度仪表 */
.speed-meter {
  margin-bottom: 28px;
}
.speed-meter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.speed-meter-label { font-size: 0.84rem; color: var(--text-secondary); font-weight: 600; }
.speed-meter-value { font-size: 1.1rem; font-weight: 900; color: var(--accent-green); font-family: 'Courier New', monospace; }
.speed-bar-bg {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
}
.speed-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--gradient-speed);
  width: 0;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}
.speed-bar-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  bottom: -2px;
  width: 6px;
  background: var(--accent-green);
  border-radius: 99px;
  box-shadow: 0 0 10px var(--accent-green);
  opacity: 0;
  transition: opacity 0.3s ease 1.5s;
}
.speed-bar-fill.animated::after { opacity: 1; }

/* 节点列表预览 */
.node-list-mini { margin-top: 20px; }
.node-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.node-mini:last-child { border-bottom: none; }
.node-name { font-size: 0.87rem; color: var(--text-secondary); font-weight: 600; }
.node-latency { 
  font-size: 0.83rem; 
  font-weight: 800; 
  font-family: 'Courier New', monospace;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
}
.latency-excellent { background: rgba(57,255,20,0.12); color: var(--accent-green); }
.latency-good { background: rgba(0,212,255,0.12); color: var(--accent-cyan); }
.latency-ok { background: rgba(255,140,0,0.12); color: var(--accent-orange); }

/* 浮动速度标签 */
.hero-float {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 2;
}
.float-tag {
  background: var(--bg-card);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), var(--glow-purple);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border: 1px solid var(--border-color);
  animation: float 4s ease-in-out infinite;
}
.float-tag:nth-child(2) { animation-delay: -1.3s; }
.float-tag:nth-child(3) { animation-delay: -2.6s; }
.float-icon { font-size: 1.2rem; }
@keyframes float {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-10px); }
}

/* ---------- Section 通用 ---------- */
.section { padding: 96px 0; }
.section-header { text-align: center; max-width: 660px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block;
  padding: 5px 18px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
}
.section-header h2 { font-size: 2.5rem; font-weight: 900; letter-spacing: -0.025em; margin-bottom: 16px; color: var(--text-white); }
.section-header p { font-size: 1.08rem; color: var(--text-secondary); line-height: 1.7; }

/* ---------- Features Grid (加速器特色卡片) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-speed);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  background: var(--bg-card-hover);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(123,47,190,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 20px;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
}
.feature-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; color: var(--text-white); }
.feature-card p { font-size: 0.93rem; color: var(--text-secondary); line-height: 1.7; }

/* ---------- Stats Bar (加速数据) ---------- */
.stats-bar {
  background: linear-gradient(135deg, rgba(var(--primary-rgb),0.06), rgba(123,47,190,0.08), rgba(255,45,149,0.06));
  padding: 56px 0;
  position: relative;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.stat-box { text-align: center; }
.stat-big { font-size: 2.6rem; font-weight: 900; line-height: 1.1; margin-bottom: 6px; background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-info { font-size: 0.87rem; color: var(--text-secondary); font-weight: 500; }

/* ---------- Speed Showcase (速度展示区) ---------- */
.speed-showcase {
  padding: 80px 0;
  position: relative;
}
.showcase-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
}
.showcase-card.before { border-color: rgba(255,51,102,0.2); }
.showcase-card.after {
  border-color: rgba(57,255,20,0.2);
  box-shadow: var(--shadow-glow);
}
.showcase-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.showcase-card.before .showcase-label { color: var(--accent-red); }
.showcase-card.after .showcase-label { color: var(--accent-green); }
.showcase-value {
  font-size: 3.5rem;
  font-weight: 900;
  font-family: 'Courier New', monospace;
  line-height: 1;
}
.showcase-card.before .showcase-value { color: var(--accent-red); }
.showcase-card.after .showcase-value { color: var(--accent-green); }
.showcase-unit {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 600;
  margin-left: 4px;
}
.showcase-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 16px;
}
.showcase-vs {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--text-muted);
  font-size: 0.85rem;
  z-index: 2;
}

/* ---------- FAQ ---------- */
.faq-section { padding: 96px 0; background: var(--bg-secondary); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: rgba(var(--primary-rgb), 0.2); box-shadow: var(--shadow-sm); }
.faq-question {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  gap: 16px;
  font-weight: 700;
  font-size: 1.01rem;
  color: var(--text-white);
  transition: var(--transition-fast);
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  color: var(--primary);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--gradient-accent);
  color: white;
  box-shadow: var(--glow-purple);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 28px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}
.faq-answer-inner a { color: var(--primary); font-weight: 600; }
.faq-answer-inner code {
  background: var(--bg-code);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.86em;
  color: var(--accent-green);
}
.faq-answer-inner ul { list-style: disc; padding-left: 20px; margin: 10px 0; }
.faq-answer-inner li { margin-bottom: 6px; }

/* ---------- CTA ---------- */
.cta-section {
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(0,212,255,0.03), rgba(123,47,190,0.04), rgba(255,45,149,0.03));
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.05) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section .section-header { position: relative; z-index: 1; margin-bottom: 42px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Friend Links ---------- */
.friend-section { padding: 64px 0 80px; }
.friend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}
.friend-link {
  padding: 9px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition-fast);
}
.friend-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.06);
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan);
}

/* ---------- Footer ---------- */
.footer {
  background: #06060e;
  color: #6b7590;
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-color);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { color: white; margin-bottom: 14px; }
.footer-brand .logo span { background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-brand p { font-size: 0.91rem; line-height: 1.7; opacity: 0.6; max-width: 320px; }
.footer-col h4 { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.footer-col a { display: block; color: #6b7590; font-size: 0.89rem; padding: 6px 0; transition: var(--transition-fast); }
.footer-col a:hover { color: var(--primary); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.5;
}
.footer-bottom a { color: inherit; }

/* ---------- Download Page ---------- */
.page-hero {
  padding: 130px 0 64px;
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(var(--primary-rgb), 0.06) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 16px; color: var(--text-white); position: relative; }
.page-hero p { font-size: 1.1rem; color: var(--text-secondary); max-width: 580px; margin: 0 auto; position: relative; }

.download-platforms { display: flex; flex-direction: column; gap: 28px; max-width: 900px; margin: 0 auto 64px; }
.platform-group {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.platform-group:hover { border-color: var(--border-glow); box-shadow: var(--shadow-glow); }
.platform-header {
  padding: 22px 32px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.04), rgba(123,47,190,0.04));
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.platform-name { font-size: 1.15rem; font-weight: 800; color: var(--text-white); display: flex; align-items: center; gap: 10px; }
.platform-name-icon { font-size: 1.4rem; }
.platform-desc { font-size: 0.87rem; color: var(--text-light); }
.platform-files { padding: 20px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.file-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none !important;
  color: var(--text-primary);
}
.file-btn:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.06);
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan);
}
.file-icon { font-size: 1.4rem; }
.file-info { flex: 1; }
.file-type { font-weight: 700; font-size: 0.94rem; color: var(--text-white); }
.file-meta { font-size: 0.79rem; color: var(--text-light); margin-top: 2px; }
.file-arrow { color: var(--text-light); font-size: 1.1rem; transition: var(--transition-fast); }
.file-btn:hover .file-arrow { color: var(--primary); transform: translateX(3px); }

/* 版本对比表 */
.compare-table-wrapper { overflow-x: auto; margin: 48px 0; }
.compare-table { width: 100%; border-collapse: collapse; background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-color); }
.compare-table th {
  background: var(--gradient-accent);
  color: white;
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}
.compare-table td { padding: 14px 20px; border-bottom: 1px solid var(--border-color); font-size: 0.91rem; color: var(--text-secondary); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(var(--primary-rgb), 0.03); }
.badge-recommended {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(57,255,20,0.1);
  color: var(--accent-green);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid rgba(57,255,20,0.2);
}

/* 安装指南 */
.install-guide { max-width: 820px; margin: 0 auto; }
.install-step { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--border-color); }
.step-number {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem;
  box-shadow: var(--glow-purple);
}
.step-content h4 { font-size: 1.06rem; font-weight: 800; margin-bottom: 8px; color: var(--text-white); }
.step-content p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.75; }
.step-content code {
  display: inline-block;
  background: var(--bg-code);
  color: var(--accent-green);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  font-size: 0.84rem;
  margin-top: 10px;
  white-space: pre-wrap;
  word-break: break-all;
  border: 1px solid var(--border-color);
}

/* ---------- Features Page ---------- */
.features-detail { padding: 80px 0; }
.feature-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  transition: var(--transition);
}
.feature-detail-card:hover { box-shadow: var(--shadow-lg), var(--shadow-glow); border-color: var(--border-glow); }
.feature-detail-card:nth-child(even) .feature-detail-visual { order: -1; }
.feature-detail-icon {
  width: 62px; height: 62px; min-width: 62px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(var(--primary-rgb),0.1), rgba(123,47,190,0.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin-bottom: 18px;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
}
.feature-detail-content h3 { font-size: 1.45rem; font-weight: 900; margin-bottom: 14px; color: var(--text-white); }
.feature-detail-content p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 18px; }
.feature-list { list-style: none; }
.feature-list li { padding: 7px 0; font-size: 0.91rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 10px; }
.feature-list li::before { content: '✓'; color: var(--accent-green); font-weight: 900; flex-shrink: 0; }
.feature-detail-visual {
  background: linear-gradient(135deg, rgba(0,212,255,0.04), rgba(123,47,190,0.04));
  border-radius: var(--radius-xl);
  padding: 40px; display: flex; align-items: center; justify-content: center;
  min-height: 240px; font-size: 3.5rem; border: 1px dashed var(--border-color);
}

.sub-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.sub-feature-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 28px 22px; text-align: center;
  transition: var(--transition);
}
.sub-feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md), var(--shadow-glow); border-color: transparent; }
.sub-feature-icon { font-size: 2.2rem; margin-bottom: 14px; }
.sub-feature-card h4 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; color: var(--text-white); }
.sub-feature-card p { font-size: 0.85rem; color: var(--text-light); }

/* ---------- About Page ---------- */
.about-intro { padding: 80px 0 64px; }
.about-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 52px; align-items: flex-start; }
.about-text h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 18px; color: var(--text-white); }
.about-text > p { font-size: 1.02rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }
.about-visual {
  background: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(123,47,190,0.05));
  border-radius: var(--radius-xl);
  padding: 44px; text-align: center; border: 1px solid var(--border-color);
  position: sticky; top: calc(var(--header-height) + 24px);
}
.about-emoji { font-size: 5rem; margin-bottom: 18px; display: inline-block; }
.about-visual h3 { font-size: 1.4rem; font-weight: 900; color: var(--primary); margin-bottom: 8px; }

.numbered-features { display: flex; flex-direction: column; gap: 20px; margin: 52px 0; }
.num-feature {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 28px; transition: var(--transition);
}
.num-feature:hover { box-shadow: var(--shadow-md), var(--shadow-glow); border-color: var(--border-glow); }
.num-badge {
  width: 50px; height: 50px; min-width: 50px; border-radius: var(--radius-md);
  background: var(--gradient-accent); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.25rem; box-shadow: var(--glow-purple);
}
.num-feature h4 { font-size: 1.06rem; font-weight: 800; margin-bottom: 8px; color: var(--text-white); }
.num-feature p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

.arch-table { margin: 44px 0; }
.arch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.arch-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 26px 20px; text-align: center;
}
.arch-icon { font-size: 2rem; margin-bottom: 12px; }
.arch-card h4 { font-size: 0.97rem; font-weight: 800; margin-bottom: 8px; color: var(--text-white); }
.arch-card p { font-size: 0.83rem; color: var(--text-light); }

.quickstart-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 44px 0; }
.qs-step { text-align: center; }
.qs-num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--gradient-accent); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.3rem; margin: 0 auto 16px;
  box-shadow: var(--glow-purple);
}
.qs-step h4 { font-size: 1.02rem; font-weight: 800; margin-bottom: 10px; color: var(--text-white); }
.qs-step p { font-size: 0.87rem; color: var(--text-secondary); line-height: 1.7; }

.thanks-section { padding: 64px 0; background: var(--bg-secondary); }
.license-section { padding: 64px 0 80px; }
.license-box {
  max-width: 720px; margin: 0 auto;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 34px;
  font-size: 0.88rem; color: var(--text-secondary); line-height: 1.8;
}
.license-box h3 { color: var(--text-white); margin-bottom: 14px; font-size: 1.12rem; }

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gradient-accent); color: white; border: none;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem;
  box-shadow: var(--glow-purple);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: var(--transition); z-index: 99;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 0 35px rgba(123,47,190,0.5); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 36px; max-width: 520px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-preview { max-width: 540px; margin: 40px auto 0; }
  .speed-dashboard { transform: none; }
  .hero-float { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .about-visual { position: static; }
  .feature-detail-card { grid-template-columns: 1fr; }
  .feature-detail-card:nth-child(even) .feature-detail-visual { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sub-features { grid-template-columns: repeat(2, 1fr); }
  .quickstart-steps { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .showcase-comparison { grid-template-columns: 1fr; }
  .showcase-vs { position: static; margin: 20px auto; transform: none; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-height); left: 0; right: 0;
    background: var(--bg-primary); flex-direction: column; padding: 20px;
    box-shadow: var(--shadow-xl); transform: translateY(-120%); transition: var(--transition);
    z-index: 999; border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg);
    gap: 4px;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 20px; width: 100%; text-align: center; }
  .nav-cta { margin-top: 10px; }

  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero h1 { font-size: 2.2rem; }
  .hero-desc { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 18px; align-items: center; }

  .speed-dashboard { padding: 24px 20px; }

  .section { padding: 64px 0; }
  .section-header h2 { font-size: 1.85rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-big { font-size: 2rem; }

  .platform-files { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .sub-features { grid-template-columns: 1fr; }
  .install-step { flex-direction: column; gap: 14px; }
  .arch-grid { grid-template-columns: 1fr 1fr; }
  .num-feature { flex-direction: column; text-align: center; align-items: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .stat-num { font-size: 1.35rem; }
  .features-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.95rem; }
  .showcase-value { font-size: 2.5rem; }
}
