/* 企讯 官方分发页 - 独立静态站点 */
:root {
  --bg: #0b1220;
  --bg-2: #0f1a2e;
  --card: rgba(255, 255, 255, 0.05);
  --card-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.1);
  --text: #e8edf6;
  --text-dim: #9aa7bd;
  --primary: #3b82f6;
  --primary-2: #22d3ee;
  --ok: #34d399;
  --radius: 16px;
}

* { 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", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: radial-gradient(1200px 600px at 70% -10%, #123a6b 0%, transparent 60%),
    radial-gradient(900px 500px at 0% 110%, #0d3340 0%, transparent 55%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* 导航 */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 700; font-size: 17px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
}
.brand-name { font-weight: 700; letter-spacing: 0.4px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--text-dim); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 560px) { .nav-links { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 70%;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.25), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner {
  max-width: 860px; margin: 0 auto;
  padding: 88px 24px 64px;
  text-align: center;
}
.hero-badge {
  display: inline-block; font-size: 12px; letter-spacing: 2px;
  color: var(--primary-2);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px; padding: 4px 14px; margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.2; font-weight: 800;
  background: linear-gradient(120deg, #fff 30%, #9cc8ff 70%, #7ef0ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc { margin-top: 16px; color: var(--text-dim); font-size: 16px; }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-meta {
  margin-top: 26px; font-size: 13px; color: var(--text-dim);
  display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hero-meta b { color: var(--text); font-weight: 600; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-dim); display: inline-block; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 26px; border-radius: 12px;
  font-size: 15px; font-weight: 600; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #2563eb);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5); }
.btn-ghost {
  color: var(--text);
  background: var(--card);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--card-strong); }
.btn-block { width: 100%; margin-top: 16px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* 区块通用 */
section { max-width: 1080px; margin: 0 auto; padding: 64px 20px; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 750; }
.section-head p { margin-top: 10px; color: var(--text-dim); font-size: 14px; }

/* 下载卡片 */
.download-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px) { .download-grid { grid-template-columns: 1fr; } }
.dl-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex; flex-direction: column;
  transition: border-color 0.2s, background 0.2s;
}
.dl-card:hover { border-color: rgba(59, 130, 246, 0.4); background: var(--card-strong); }
.dl-icon {
  width: 64px; height: 64px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(59, 130, 246, 0.12);
  color: var(--primary-2);
  margin-bottom: 16px;
}
.dl-info h3 { font-size: 19px; }
.dl-info p { color: var(--text-dim); font-size: 13px; margin-top: 4px; }
.dl-hint { margin-top: 12px; font-size: 12px; color: var(--text-dim); text-align: center; }

/* 二维码卡片 */
.qr-card { align-items: center; justify-content: center; }
.qr-card h3 { font-size: 19px; margin-bottom: 16px; }
.qr-box {
  background: #fff; border-radius: 14px; padding: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.qr-code { width: 160px; height: 160px; }
.qr-code img, .qr-code canvas { width: 160px; height: 160px; }

/* 功能特色 */
.feature-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  transition: border-color 0.2s;
}
.feature:hover { border-color: rgba(34, 211, 238, 0.35); }
.feature-icon { color: var(--primary-2); margin-bottom: 12px; }
.feature h4 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--text-dim); font-size: 14px; }

/* 安装指南 */
.guide-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-step {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  position: relative;
}
.step-num {
  position: absolute; top: 12px; right: 18px;
  font-size: 42px; font-weight: 800;
  color: rgba(59, 130, 246, 0.18);
  line-height: 1;
}
.guide-step h4 { font-size: 17px; margin-bottom: 8px; }
.guide-step p { color: var(--text-dim); font-size: 14px; }

/* 页脚 */
.footer { border-top: 1px solid var(--line); margin-top: 24px; }
.footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 26px 20px 34px;
  display: flex; justify-content: center; align-items: center; gap: 8px;
  color: var(--text-dim); font-size: 13px; flex-wrap: wrap;
}
.footer-sep { opacity: 0.5; }
