/* ============================================
   Clash Verge for Windows — 专属样式
   Header/Footer: clash 风格（固定导航栏 + 深色四列页脚）
   Content: 蓝紫渐变 + 卡片式布局
   Windows 主题色: #0078d4 (Windows Blue) + 原有紫系
   ============================================ */

/* ===== CSS 变量系统 ===== */
:root {
  /* 主色调 — Windows 蓝 + 紫渐变系 */
  --primary: #0078d4;
  --primary-dark: #005a9e;
  --secondary: #6b21a8;
  --accent: #06b6d4;
  --gradient-start: #0078d4;
  --gradient-end: #6b21a8;

  /* 功能色 */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* 文字色 */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  /* 背景色 */
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;

  /* 边框/阴影 */
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 40px rgba(0,120,212,0.15);

  /* 圆角 */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;

  /* 过渡 */
  --transition: 0.25s ease;
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
}

/* ===== 全局重置 ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ============================================
   无障碍跳转链接
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 16px;
}

/* ============================================
   导航栏 (clash 风格 - 固定顶栏 + 毛玻璃)
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}
.navbar-brand:hover { opacity: 0.85; color: var(--text-primary); }
.navbar-brand .logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  transition: width var(--transition-normal);
  border-radius: 1px;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(0,120,212,0.06);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
  gap: 6px;
}
.nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,120,212,0.4);
  color: white;
}
.nav-btn svg { width: 16px; height: 16px; }

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 6px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ============================================
   Hero 区域 (Windows 蓝色主题)
   ============================================ */
.hero-section {
  background: linear-gradient(135deg, #0078d4 0%, #005a9e 40%, #0a3d6e 70%, #6b21a8 100%);
  position: relative;
  overflow: hidden;
  padding: 72px 24px 68px;
  margin-top: 64px;
  text-align: center;
  color: #fff;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(107,33,168,0.2) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255,255,255,0.18);
}
.hero-badge svg { width: 14px; height: 14px; }

.hero-title {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(15px, 2.5vw, 17px);
  opacity: 0.92;
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  text-decoration: none;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  color: var(--primary-dark);
}
.btn-hero-primary svg,
.btn-hero-secondary svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.22);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  backdrop-filter: blur(4px);
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  color: #fff;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  display: block;
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 12px;
  opacity: 0.72;
  margin-top: 2px;
  letter-spacing: 0.03em;
}

/* ============================================
   页面头部 (子页面用)
   ============================================ */
.page-hero {
  text-align: center;
  padding: 44px 24px 36px;
  margin-top: 64px;
  background: linear-gradient(135deg, rgba(0,120,212,0.04), rgba(107,33,168,0.04));
  border-bottom: 1px solid var(--border-light);
}
.page-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 750;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.page-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .separator { font-size: 11px; }
.breadcrumb .current { color: var(--text-primary); font-weight: 500; }

/* ============================================
   主内容区
   ============================================ */
.main-content {
  flex: 1;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px 52px;
}

/* ============================================
   SEO 关键词介绍区块
   ============================================ */
.seo-intro-section {
  margin-bottom: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.seo-intro-section .intro-lead {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.seo-intro-section .intro-lead strong {
  color: var(--primary);
  font-weight: 700;
}
.seo-keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.seo-keyword-tag {
  display: inline-block;
  padding: 5px 14px;
  background: linear-gradient(135deg, rgba(0,120,212,0.07), rgba(107,33,168,0.07));
  border: 1px solid rgba(0,120,212,0.15);
  border-radius: 20px;
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 500;
  transition: all 0.2s;
}
.seo-keyword-tag:hover {
  background: linear-gradient(135deg, rgba(0,120,212,0.14), rgba(107,33,168,0.14));
  border-color: var(--primary);
}

/* ============================================
   功能卡片 (带左侧彩条)
   ============================================ */
.feature-section { margin-bottom: 26px; }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.feature-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.feature-card:hover::before { opacity: 1; }

.feature-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.feature-icon {
  font-size: 24px;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,120,212,0.1), rgba(107,33,168,0.1));
  border-radius: 10px;
  flex-shrink: 0;
}
.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 54px;
}
.feature-desc strong { color: var(--text-primary); }

/* ============================================
   特性网格（多列卡片）
   ============================================ */
.section-heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading::before {
  content: '';
  width: 4px; height: 20px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 38px;
}
.feature-grid-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-grid-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.feature-grid-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.feature-grid-card:hover::after { transform: scaleX(1); }

.fgc-icon { font-size: 28px; margin-bottom: 12px; }
.fgc-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.fgc-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }

/* ============================================
   编号列表
   ============================================ */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.info-item {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: all 0.25s;
}
.info-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(0,120,212,0.25);
}
.info-num {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  border-radius: 8px;
  flex-shrink: 0;
  margin-top: 2px;
}
.info-content h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.info-content p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }

/* ============================================
   致谢卡片
   ============================================ */
.credit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: all 0.25s;
}
.credit-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(0,120,212,0.2);
}
.credit-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.credit-name a { color: var(--primary); }
.credit-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================
   许可证框
   ============================================ */
.license-box {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.license-icon { font-size: 32px; margin-bottom: 8px; }
.license-type {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.license-note {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   下载页面样式
   ============================================ */

/* 提示框 */
.notice-box {
  display: flex;
  gap: 12px;
  background: rgba(245,158,11,0.05);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 26px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.notice-icon { flex-shrink: 0; font-size: 18px; margin-top: 2px; }
.notice-text strong { color: var(--warning); }

.notice-box.info {
  background: rgba(59,130,246,0.05);
  border-color: rgba(59,130,246,0.2);
}
.notice-box.info strong { color: var(--info); }

.notice-box.success {
  background: rgba(16,185,129,0.05);
  border-color: rgba(16,185,129,0.2);
}
.notice-box.success strong { color: var(--success); }

/* 外部下载按钮组 */
.external-links {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.external-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  border: 1px solid transparent;
}
.external-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.external-btn.github {
  background: #24292e;
  color: #fff;
}
.external-btn.github:hover {
  background: #1a1e22;
  box-shadow: var(--shadow-md);
  color: #fff;
}
.external-btn.mirror {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}
.external-btn.mirror:hover {
  box-shadow: 0 4px 16px rgba(0,120,212,0.35);
  color: #fff;
  transform: translateY(-1px);
}

/* 平台下载区 */
.download-platform {
  margin-bottom: 32px;
  scroll-margin-top: 80px;
}
.platform-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}
.platform-icon {
  font-size: 28px;
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.platform-icon.windows { background: rgba(0,120,215,0.08); }
.platform-icon.macos { background: rgba(0,0,0,0.04); }
.platform-icon.linux { background: rgba(0,0,0,0.04); }
.platform-name {
  font-size: 20px;
  font-weight: 750;
  flex: 1;
}
.platform-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  background: rgba(0,120,212,0.1);
  color: var(--primary);
  border-radius: 12px;
  letter-spacing: 0.02em;
}

.download-files { display: flex; flex-direction: column; gap: 8px; }

.download-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: all 0.2s;
}
.download-file-row:hover {
  border-color: rgba(0,120,212,0.3);
  box-shadow: var(--shadow-sm);
}
.file-info { display: flex; align-items: center; gap: 12px; }
.file-icon { font-size: 22px; flex-shrink: 0; }
.file-details h4 { font-size: 14px; font-weight: 650; margin-bottom: 2px; }
.file-details p { font-size: 12px; color: var(--text-muted); }

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-download svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,120,212,0.3);
  color: #fff;
}

/* 平台标签导航 */
.platform-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  flex-wrap: wrap;
  justify-content: center;
}
.platform-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.platform-tab:hover,
.platform-tab.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0,120,212,0.04);
}
.platform-tab .tab-icon { font-size: 18px; }

/* 安装指南 */
.guide-steps { margin-top: 32px; }
.guide-step {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: all 0.25s;
}
.guide-step:hover { box-shadow: var(--shadow-sm); }
.step-num {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  border-radius: 50%;
  flex-shrink: 0;
}
.step-content h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.step-content p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }
.step-content code {
  background: rgba(0,120,212,0.08);
  color: var(--primary-dark);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-family: "Cascadia Code", "Fira Code", Consolas, monospace;
}

/* 版本对比表 */
.version-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.version-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 550px;
}
.version-table th {
  background: linear-gradient(135deg, rgba(0,120,212,0.06), rgba(107,33,168,0.06));
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
  white-space: nowrap;
  border-bottom: 2px solid var(--border);
}
.version-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}
.version-table tr:last-child td { border-bottom: none; }
.version-table tr:hover td { background: rgba(0,120,212,0.02); }
.version-table .check { color: var(--success); font-weight: 700; }
.version-table .cross { color: var(--text-muted); }
.version-table .warn { color: var(--warning); font-weight: 600; font-size: 12px; }

/* ============================================
   系统需求框
   ============================================ */
.sysreq-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 26px;
}
.sysreq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.sysreq-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.sysreq-item strong {
  color: var(--text-primary);
  min-width: 72px;
  display: inline-block;
}
.sysreq-check { color: var(--success); flex-shrink: 0; font-weight: 700; }

/* ============================================
   FAQ 手风琴
   ============================================ */
.faq-section { margin-bottom: 38px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.25s;
}
.faq-item:hover { border-color: rgba(0,120,212,0.2); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
  color: var(--text-primary);
  text-align: left;
  transition: all 0.2s;
  font-family: inherit;
}
.faq-question:hover { color: var(--primary); }
.faq-q-icon {
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.3s;
  margin-left: 12px;
  color: var(--text-muted);
}
.faq-item.open .faq-q-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.faq-answer-inner strong { color: var(--text-primary); }
.faq-answer-inner a { color: var(--primary); font-weight: 500; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ============================================
   友情链接区域
   ============================================ */
.friend-links-section { margin-top: 44px; }
.friend-links-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.friend-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.friend-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
}
.friend-link:hover {
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.link-dot {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   页脚 (clash 风格 - 深色四列布局)
   ============================================ */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 48px 24px 24px;
  margin-top: auto;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand > a {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-column ul a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
  text-decoration: none;
}
.footer-social a:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}
.footer-social a svg { width: 18px; height: 18px; }

/* ============================================
   滚动显示动画
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   响应式设计
   ============================================ */

/* 平板 */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .sysreq-list { grid-template-columns: 1fr; }
}

/* 手机 */
@media (max-width: 768px) {
  .navbar-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }
  .navbar-nav.active {
    opacity: 1;
    visibility: visible;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-section { padding: 48px 20px 44px; }
  .hero-stats { gap: 24px; }
  .page-hero { margin-top: 64px; padding: 36px 20px 28px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-desc { padding-left: 0; padding-top: 8px; }
  .feature-header { flex-wrap: wrap; }

  .external-links { flex-direction: column; }
  .external-btn { justify-content: center; }

  .download-file-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .btn-download { width: 100%; justify-content: center; }

  .platform-tabs { flex-direction: column; }
  .platform-tab { justify-content: center; }

  .main-content { padding: 20px 16px 40px; }

  .info-item { flex-direction: column; gap: 10px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: span 1; }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .friend-links-grid { gap: 6px; }
  .friend-link { font-size: 12px; padding: 6px 12px; }
}

/* 超小屏幕 */
@media (max-width: 480px) {
  html { font-size: 14px; }

  .navbar { padding: 0 16px; }
  .navbar-container { padding: 0 16px; }

  .hero-title { font-size: 24px; }
  .hero-subtitle { font-size: 15px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn-hero-primary,
  .btn-hero-secondary { justify-content: center; }

  .feature-card { padding: 20px; }
  .page-title { font-size: 20px; }

  .footer-container { padding: 0; }
}
