:root {
  --primary: #0052CC;
  --primary-light: #2684FF;
  --primary-dark: #0747A6;
  --accent: #00B8D9;
  --bg-dark: #091E42;
  --bg-card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --text-main: #FFFFFF;
  --text-muted: #97A0AF;
  --radius: 12px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-family);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: 0.2s; }
a:hover { color: #fff; }

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

/* 头部导航 */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(9, 30, 66, 0.85);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 10px; color: #fff; }
.brand-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-weight: 500; color: #EBECF0; font-size: 15px; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.header-cta { display: flex; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: 8px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.25s ease; border: none;
}
.btn-primary { background: linear-gradient(135deg, #0052CC 0%, #00B8D9 100%); color: #fff; box-shadow: 0 4px 14px rgba(0, 82, 204, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 184, 217, 0.5); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* 旗舰 Hero 区域 */
.flagship-hero {
  position: relative; padding: 90px 0 60px;
  background: radial-gradient(circle at 80% 20%, rgba(0, 184, 217, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(0, 82, 204, 0.2) 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: rgba(0, 184, 217, 0.15);
  border: 1px solid rgba(0, 184, 217, 0.3); border-radius: 20px;
  font-size: 13px; color: var(--accent); margin-bottom: 20px; font-weight: 600;
}
.hero-title { font-size: 46px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.5px; }
.hero-title .gradient-text { background: linear-gradient(90deg, #FFFFFF, var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 18px; color: var(--text-muted); margin-bottom: 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 28px; }
.hero-stats-line { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 16px; }

/* 模拟仪表盘视效卡片 */
.glass-mockup {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}
.mockup-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.mockup-body { display: flex; flex-direction: column; gap: 12px; font-family: "Courier New", monospace; font-size: 13px; }
.container-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; background: rgba(255, 255, 255, 0.03); border-radius: 6px;
  border-left: 3px solid var(--accent);
}
.status-pill { padding: 3px 8px; border-radius: 12px; font-size: 11px; background: rgba(0, 255, 128, 0.15); color: #00FF80; }

/* 指标面板 */
.metrics-section { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(0, 0, 0, 0.2); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.metric-card h3 { font-size: 36px; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.metric-card p { font-size: 14px; color: var(--text-muted); }

/* 功能特性网格 */
.features-section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--text-muted); font-size: 16px; max-width: 600px; margin: 0 auto; }
.feature-grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; transition: 0.3s;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--accent); background: rgba(255, 255, 255, 0.08); }
.feature-icon { width: 48px; height: 48px; border-radius: 10px; background: rgba(0, 184, 217, 0.15); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; color: var(--accent); }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); font-size: 15px; }

/* 工作流部分 */
.workflow-section { padding: 80px 0; background: rgba(0, 0, 0, 0.15); }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-item { background: var(--bg-card); border: 1px solid var(--border); padding: 24px; border-radius: 10px; position: relative; }
.step-num { font-size: 12px; font-weight: 800; color: var(--accent); padding: 4px 10px; background: rgba(0, 184, 217, 0.1); border-radius: 20px; display: inline-block; margin-bottom: 12px; }
.step-item h4 { font-size: 17px; margin-bottom: 8px; }
.step-item p { font-size: 14px; color: var(--text-muted); }

/* 下载页面独有两栏布局 (不同于首页) */
.download-page-layout { padding: 60px 0 80px; }
.dl-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.dl-panel-left { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.dl-panel-right { background: rgba(0, 0, 0, 0.3); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.system-detect-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: rgba(0, 255, 128, 0.15); color: #00FF80; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.dl-version-title { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.dl-meta-list { list-style: none; margin: 20px 0; font-size: 14px; color: var(--text-muted); }
.dl-meta-list li { margin-bottom: 8px; display: flex; justify-content: space-between; border-bottom: 1px dashed var(--border); padding-bottom: 4px; }
.dl-btn-box { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.checksum-box { margin-top: 24px; background: rgba(0, 0, 0, 0.4); padding: 14px; border-radius: 6px; font-family: monospace; font-size: 12px; color: #A5B2C6; word-break: break-all; }
.os-selector-tabs { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.tab-btn { padding: 8px 16px; border-radius: 6px; background: transparent; border: 1px solid transparent; color: var(--text-muted); cursor: pointer; font-size: 14px; }
.tab-btn.active { background: rgba(0, 184, 217, 0.2); border-color: var(--accent); color: #fff; font-weight: 600; }

/* 教程与文章排版 */
.content-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; margin-bottom: 30px; }
.content-box h2 { font-size: 24px; margin-bottom: 16px; color: #fff; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.content-box h3 { font-size: 18px; margin: 20px 0 10px; color: var(--accent); }
.content-box p { margin-bottom: 16px; color: #C1C7D0; }
.content-box ul, .content-box ol { margin-left: 24px; margin-bottom: 16px; color: #C1C7D0; }
.content-box li { margin-bottom: 8px; }
.code-block { background: #040c1a; border: 1px solid var(--border); border-radius: 8px; padding: 16px; font-family: "Courier New", monospace; font-size: 13px; color: #00FF80; margin: 16px 0; overflow-x: auto; }

/* 页脚 */
footer.site-footer { border-top: 1px solid var(--border); background: #051329; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 16px; margin-bottom: 16px; color: #fff; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); }

/* 响应式适配 */
@media (max-width: 992px) {
  .hero-grid, .dl-split-grid, .feature-grid-4, .step-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 34px; }
}
@media (max-width: 600px) {
  .metrics-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-actions { flex-direction: column; }
}