/* ==========================================================================
   三角洲改枪顾问 · 官网样式表
   设计基调：深空底 + 玫红主色 + 电光青辅色，呼应 App 内界面
   适配：移动端优先，clamp() 流体排版，栅格断点 640 / 960 / 1280
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 底色层 */
  --bg-0: #07080f;
  --bg-1: #0d0f1a;
  --bg-2: #141728;
  --bg-3: #1c2036;

  /* 主色：玫红（App 侧边栏高亮色） */
  --brand: #ff2e6b;
  --brand-soft: #ff6b95;
  --brand-dim: rgba(255, 46, 107, 0.14);

  /* 辅色：电光青（数值/科技感） */
  --cyan: #22d3ee;
  --cyan-dim: rgba(34, 211, 238, 0.12);

  /* 强调：紫（数值选枪模块） */
  --violet: #a855f7;
  --violet-dim: rgba(168, 85, 247, 0.14);

  /* 文字 */
  --fg-0: #f4f6ff;
  --fg-1: #c3c8de;
  --fg-2: #8a90ad;
  --fg-3: #5b6080;

  /* 线条与阴影 */
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.5);

  /* 圆角与栅格 */
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --wrap: 1200px;

  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, "Courier New", monospace;
}

/* ---------- 2. 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--fg-1);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 全局氛围底：两团光晕 + 细网格 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(760px 420px at 12% -6%, rgba(255, 46, 107, 0.20), transparent 62%),
    radial-gradient(680px 400px at 92% 4%, rgba(34, 211, 238, 0.14), transparent 60%),
    radial-gradient(700px 500px at 50% 108%, rgba(168, 85, 247, 0.12), transparent 62%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 78%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--brand); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: #2c3150; border-radius: 99px; border: 2px solid var(--bg-1); }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ---------- 3. 布局工具 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }

.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-soft);
  background: var(--brand-dim);
  border: 1px solid rgba(255, 46, 107, 0.28);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 99px;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
}

h1, h2, h3, h4 {
  color: var(--fg-0);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(26px, 4.2vw, 40px); }
h3 { font-size: clamp(19px, 2.4vw, 23px); }

.sec-head p {
  margin-top: 16px;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--fg-2);
}

.grad-text {
  background: linear-gradient(96deg, #ff2e6b 0%, #ff7aa2 42%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: linear-gradient(135deg, #ff3566 0%, #e0164f 100%);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 30px rgba(255, 46, 107, 0.36);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255, 46, 107, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  color: var(--fg-0);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.btn-lg { padding: 17px 38px; font-size: 16px; }
.btn-block { width: 100%; }

.btn[disabled], .btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.4);
}

/* ---------- 5. 导航栏 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 8, 15, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand img {
  width: 36px; height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(255, 46, 107, 0.4);
}
.brand-txt { line-height: 1.15; }
.brand-txt b { display: block; color: var(--fg-0); font-size: 16px; font-weight: 800; }
.brand-txt span { font-size: 11px; color: var(--fg-3); letter-spacing: 0.06em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 15px;
  border-radius: 99px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--fg-2);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--fg-0); background: rgba(255, 255, 255, 0.06); }

.nav-cta { padding: 10px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--fg-0);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero { padding: clamp(48px, 7vw, 90px) 0 clamp(56px, 8vw, 100px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 56px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  font-size: 13px;
  color: var(--fg-1);
  margin-bottom: 24px;
}
.hero-badge .pill {
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 11.5px;
  padding: 3px 11px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(34px, 6.6vw, 62px);
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: clamp(15.5px, 1.9vw, 19px);
  color: var(--fg-2);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-lead b { color: var(--fg-0); font-weight: 700; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13.5px;
  color: var(--fg-3);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta i {
  width: 6px; height: 6px;
  border-radius: 99px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  font-style: normal;
}

/* 截图展示框（模拟应用窗口） */
.shot {
  position: relative;
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid var(--line);
}
.shot-bar i {
  width: 11px; height: 11px;
  border-radius: 99px;
  background: #3a3f5e;
  font-style: normal;
}
.shot-bar i:nth-child(1) { background: #ff5f57; }
.shot-bar i:nth-child(2) { background: #febc2e; }
.shot-bar i:nth-child(3) { background: #28c840; }
.shot-bar span {
  margin-left: 10px;
  font-size: 12.5px;
  color: var(--fg-3);
  font-family: var(--mono);
}
.shot img { width: 100%; height: auto; }

.shot-glow {
  position: absolute;
  inset: auto -12% -34% -12%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(255, 46, 107, 0.34), transparent 70%);
  filter: blur(46px);
  z-index: -1;
  pointer-events: none;
}

/* ---------- 7. 数据统计条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
}
.stat {
  background: var(--bg-1);
  padding: clamp(22px, 3.4vw, 34px) 18px;
  text-align: center;
  transition: background 0.25s;
}
.stat:hover { background: var(--bg-2); }
.stat b {
  display: block;
  font-size: clamp(28px, 4.6vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(120deg, #ff2e6b, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--mono);
}
.stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--fg-2);
  letter-spacing: 0.04em;
}

/* ---------- 8. 功能模块 ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 30px);
}

.feat {
  position: relative;
  background: linear-gradient(168deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: clamp(26px, 3.6vw, 38px);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.feat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent, var(--brand));
  opacity: 0.85;
}
.feat::after {
  content: "";
  position: absolute;
  top: -70px; right: -70px;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: var(--accent, var(--brand));
  opacity: 0.09;
  filter: blur(28px);
  transition: opacity 0.3s;
}
.feat:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}
.feat:hover::after { opacity: 0.17; }

.feat-no {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent, var(--brand));
  letter-spacing: 0.16em;
  margin-bottom: 14px;
  display: block;
}
.feat h3 { margin-bottom: 12px; }
.feat > p { color: var(--fg-2); font-size: 15px; margin-bottom: 20px; }

.feat-list { display: grid; gap: 11px; }
.feat-list li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  color: var(--fg-1);
  line-height: 1.6;
}
.feat-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 3px;
  border-radius: 99px;
  background: var(--accent-dim, var(--brand-dim));
  border: 1px solid var(--accent, var(--brand));
  background-image: linear-gradient(45deg, transparent 46%, var(--accent, var(--brand)) 46%, var(--accent, var(--brand)) 54%, transparent 54%);
  background-size: 9px 9px;
  background-repeat: no-repeat;
  background-position: 3px 6px;
}

.feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-2);
}
.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-2);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: 99px;
}

/* ---------- 9. 深度功能（Tab） ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(26px, 4vw, 40px);
  padding: 8px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 99px;
  width: fit-content;
  max-width: 100%;
}
.tab {
  padding: 11px 22px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--fg-2);
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}
.tab:hover { color: var(--fg-0); }
.tab.active {
  background: linear-gradient(96deg, var(--brand), #ff5c8a);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 46, 107, 0.32);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.45s ease both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.tab-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.6vw, 44px);
  align-items: center;
}
.tab-copy h3 { font-size: clamp(22px, 3.2vw, 30px); margin-bottom: 14px; }
.tab-copy > p { color: var(--fg-2); margin-bottom: 22px; }

.kv-list { display: grid; gap: 14px; margin-bottom: 24px; }
.kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
}
.kv-no {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 800;
  background: var(--accent-dim, var(--brand-dim));
  color: var(--accent, var(--brand));
  border: 1px solid var(--accent, var(--brand));
  flex-shrink: 0;
}
.kv b { display: block; color: var(--fg-0); font-size: 15.5px; margin-bottom: 2px; }
.kv p { font-size: 14px; color: var(--fg-2); line-height: 1.65; }

/* ---------- 11. 12 维属性 ---------- */
.dims {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 12px;
}
.dim {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 18px 16px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.dim:hover {
  transform: translateY(-3px);
  border-color: var(--accent, var(--brand));
  background: var(--bg-2);
}
.dim i {
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.dim b { display: block; color: var(--fg-0); font-size: 14.5px; margin-bottom: 4px; }
.dim span { font-size: 12.5px; color: var(--fg-3); line-height: 1.55; display: block; }

/* ---------- 12. 使用流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 26px 24px 24px;
  counter-increment: step;
  transition: border-color 0.25s, transform 0.25s;
}
.step:hover { border-color: var(--line-2); transform: translateY(-3px); }
.step::before {
  content: "0" counter(step);
  position: absolute;
  top: 20px; right: 22px;
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.07);
  line-height: 1;
}
.step h4 { color: var(--fg-0); font-size: 16.5px; margin-bottom: 9px; }
.step p { font-size: 14.5px; color: var(--fg-2); line-height: 1.7; }

/* ---------- 13. 下载区 ---------- */
.download-sec { position: relative; }
.download-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 46, 107, 0.07), transparent);
  pointer-events: none;
}

.dl-card {
  position: relative;
  background: linear-gradient(160deg, var(--bg-3) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--r-l);
  padding: clamp(28px, 4.4vw, 52px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.dl-card::after {
  content: "";
  position: absolute;
  top: -110px; right: -110px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.13;
  filter: blur(60px);
  pointer-events: none;
}

.dl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.dl-ver {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}
.dl-ver .pulse {
  width: 7px; height: 7px;
  border-radius: 99px;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.dl-card h2 { margin-bottom: 14px; }
.dl-card > p, .dl-info > p { color: var(--fg-2); font-size: 15.5px; }

.dl-info h4 {
  color: var(--fg-0);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 16px;
}

.dl-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  margin: 24px 0 28px;
}
.dl-spec {
  background: rgba(13, 15, 26, 0.72);
  padding: 15px 17px;
}
.dl-spec span { display: block; font-size: 12px; color: var(--fg-3); margin-bottom: 4px; }
.dl-spec b { color: var(--fg-0); font-size: 14.5px; font-weight: 700; }

.dl-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--fg-3);
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.dl-note::before {
  content: "i";
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  color: var(--fg-2);
  font-size: 12px;
  font-weight: 800;
  font-style: italic;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dl-primary { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.dl-pwd {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--text-2);
  background: var(--bg-1);
  border: 1px dashed var(--cyan);
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
}
.dl-pwd b { color: var(--cyan); letter-spacing: 2px; }

.changelog {
  margin-top: clamp(30px, 4vw, 48px);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: clamp(24px, 3.4vw, 34px);
}
.changelog h3 { font-size: 18px; margin-bottom: 20px; }
.log-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.log-item:first-of-type { border-top: none; padding-top: 0; }
.log-ver {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-soft);
  white-space: nowrap;
  padding-top: 2px;
}
.log-txt { font-size: 14.5px; color: var(--fg-2); line-height: 1.7; }
.log-txt b { color: var(--fg-0); }

/* ---------- 14. FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open { border-color: var(--line-2); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px 22px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--fg-0);
  transition: background 0.2s;
}
.faq-q:hover { background: rgba(255, 255, 255, 0.03); }
.faq-q .pm {
  margin-left: auto;
  flex-shrink: 0;
  width: 24px; height: 24px;
  position: relative;
  transition: transform 0.3s;
}
.faq-q .pm::before, .faq-q .pm::after {
  content: "";
  position: absolute;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.faq-q .pm::before { left: 4px; top: 11px; width: 16px; height: 2px; }
.faq-q .pm::after { left: 11px; top: 4px; width: 2px; height: 16px; }
.faq-item.open .pm { transform: rotate(90deg); }
.faq-item.open .pm::after { opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  padding: 0 22px 21px;
  font-size: 14.5px;
  color: var(--fg-2);
  line-height: 1.78;
}
.faq-a code {
  font-family: var(--mono);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--cyan);
}

/* ---------- 15. 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(44px, 6vw, 70px) 0 34px;
  background: rgba(7, 8, 15, 0.6);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--fg-3);
  max-width: 320px;
}
.footer-col h5 {
  color: var(--fg-0);
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}
.footer-col li { margin-bottom: 9px; }
.footer-col a, .footer-col span { font-size: 14px; color: var(--fg-3); }
.footer-col a:hover { color: var(--brand); }

.footer-bot {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fg-3);
}
.footer-bot .disc { max-width: 620px; line-height: 1.7; }

/* 页脚访问统计 */
.visitor-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-3);
  margin-top: 4px;
}
.visitor-stat .vs-icon { font-size: 14px; }
.visitor-stat .vs-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 1px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.visitor-stat .vs-link:hover { color: var(--brand-soft); border-color: var(--brand-soft); }
.visitor-stat b {
  color: var(--brand);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.footer-bot .beian { font-size: 12.5px; color: var(--fg-3); }
.footer-bot .beian a { color: var(--fg-3); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.footer-bot .beian a:hover { color: var(--brand); border-color: var(--brand); }

/* ---------- 16. 进场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- 17. 响应式断点 ---------- */
@media (min-width: 560px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .dl-specs { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  body { font-size: 16.5px; }
  .hero-grid { grid-template-columns: 1fr 1.05fr; }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .tab-grid { grid-template-columns: 0.92fr 1.08fr; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex !important; }
  .nav-cta { display: none; }
}

@media (min-width: 1100px) {
  .nav-cta { display: inline-flex; }
}

@media (max-width: 1023px) {
  .nav-links {
    position: fixed;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: rgba(9, 10, 18, 0.985);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; font-size: 16px; border-radius: var(--r-s); }
  .nav-toggle { display: flex; }
}

@media (max-width: 480px) {
  .dl-specs { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { width: 100%; }
  .wrap { padding: 0 16px; }
}

/* ---------- 18. 无障碍与降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 打印 */
@media print {
  body::before, body::after { display: none; }
  .nav, .dl-actions { display: none; }
  body { background: #fff; color: #000; }
  h1, h2, h3, h4 { color: #000; }
}

/* ============================================================
   打赏作者弹窗（并入站点 · 来源：网站打赏弹窗_嵌入版.html）
   ============================================================ */
:root{--afd-accent:#ff8a5c;--afd-accent2:#ff5c8a;}

/* 导航栏按钮（自动注入到「网盘下载」右侧） */
.afd-tip-btn{display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:999px;
  background:linear-gradient(135deg,#ff6a3c,#f0245f);color:#ffffff;font-size:14px;font-weight:800;letter-spacing:.5px;
  text-decoration:none;cursor:pointer;white-space:nowrap;margin-left:10px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 4px 14px rgba(240,36,95,.4);transition:filter .15s,transform .15s;}
.afd-tip-btn:hover{filter:brightness(1.06);transform:translateY(-1px);}
.afd-tip-btn .afd-heart{font-size:15px;line-height:1;}

/* 弹窗遮罩 + 卡片 */
.afd-overlay{position:fixed;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(3px);
  display:none;align-items:center;justify-content:center;z-index:99999;padding:20px;}
.afd-overlay.afd-show{display:flex;}
.afd-modal{background:#1a1a22;border:1px solid rgba(255,255,255,.1);border-radius:18px;
  width:520px;max-width:100%;max-height:88vh;overflow:auto;padding:26px 28px 22px;
  color:#e8e8f0;box-shadow:0 24px 60px rgba(0,0,0,.6);position:relative;}
.afd-modal h3{font-size:20px;margin:0 0 12px;color:#fff;text-align:center;letter-spacing:.5px;}
.afd-modal .afd-msg{font-size:14.5px;line-height:1.95;color:#cfcfe0;text-align:center;margin-bottom:16px;}
.afd-modal iframe{width:100%;height:200px;border:0;border-radius:12px;background:#fff;display:block;margin:0 auto 6px;max-width:480px;}
.afd-modal .afd-fallback{font-size:12px;color:#8a8aa2;text-align:center;margin-bottom:12px;}
.afd-modal .afd-fallback a{color:var(--afd-accent);text-decoration:none;}
.afd-modal .afd-fallback a:hover{text-decoration:underline;}
.afd-modal .afd-hint{font-size:12.5px;color:#9a9ab0;text-align:center;line-height:1.8;margin-bottom:14px;}
.afd-modal .afd-hint b{color:#ffd7c2;}
.afd-modal .afd-thanks{border-top:1px dashed rgba(255,255,255,.12);padding-top:14px;}
.afd-modal .afd-thanks-title{font-size:15px;font-weight:700;color:#fff;text-align:center;margin-bottom:10px;letter-spacing:.5px;}
.afd-modal .afd-list{display:flex;flex-wrap:wrap;gap:8px 10px;justify-content:center;}
.afd-modal .afd-sponsor{background:rgba(255,138,92,.14);border:1px solid rgba(255,138,92,.35);
  color:#ffd7c2;border-radius:999px;padding:4px 12px;font-size:13px;white-space:nowrap;}
.afd-modal .afd-empty{font-size:13.5px;color:#9a9ab0;text-align:center;line-height:1.8;}
.afd-modal .afd-foot{font-size:11.5px;color:#6f6f86;text-align:center;margin-top:10px;line-height:1.7;}
.afd-modal .afd-close{position:absolute;top:12px;right:14px;width:32px;height:32px;border:0;
  background:rgba(255,255,255,.08);color:#cfcfe0;border-radius:50%;cursor:pointer;font-size:18px;line-height:1;
  display:flex;align-items:center;justify-content:center;}
.afd-modal .afd-close:hover{background:rgba(255,255,255,.16);}

/* FAQ 内嵌：爱发电卡片 */
.afd-leaflet{border:0;border-radius:12px;background:#fff;max-width:480px;display:block;margin:14px auto 0;}


/* ---------- 19. 导航按钮白字保护 ----------
   .nav-links a（灰字 600 字重）优先级压过单类按钮样式，须用更高优先级压回 */
.nav-links a.btn-primary,
a.btn-primary {
  color: #ffffff;
  font-weight: 800;
}
.nav-links a.btn-primary:hover {
  background: linear-gradient(135deg, #ff3566 0%, #e0164f 100%);
}
.nav-links a.afd-tip-btn,
a.afd-tip-btn {
  color: #ffffff;
  font-weight: 800;
  padding: 9px 16px;
  font-size: 14px;
}
.nav-links a.afd-tip-btn:hover {
  background: linear-gradient(135deg, #ff6a3c, #f0245f);
}
