/* ============================================
   图吧工具箱官网样式 - TubaTools Official Site
   ============================================ */
:root {
  --bg: #0a1020;
  --bg-soft: #0d1528;
  --card: #111b31;
  --card-hover: #15213c;
  --border: rgba(120, 150, 200, 0.14);
  --border-strong: rgba(120, 160, 220, 0.28);
  --text: #e8eef8;
  --text-muted: #93a3bd;
  --text-dim: #6b7a94;
  --accent: #2b7fff;
  --accent-2: #00d4ff;
  --amber: #ffb02e;
  --green: #2ecc8f;
  --grad: linear-gradient(135deg, #2b7fff 0%, #00d4ff 100%);
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --mono: 'JetBrains Mono', 'Cascadia Code', Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: var(--accent-2); text-decoration: none; transition: color .2s; }
a:hover { color: #5ee1ff; }

img { max-width: 100%; height: auto; display: block; }

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

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 16, 32, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand-text .brand-name { font-size: 19px; font-weight: 800; letter-spacing: .5px; color: var(--text); line-height: 1.2; }
.brand-text .brand-sub { font-size: 10.5px; color: var(--text-dim); letter-spacing: 2.5px; text-transform: uppercase; font-family: var(--mono); }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: var(--text-muted); font-size: 15px; padding: 8px 14px; border-radius: 8px;
  transition: all .2s; font-weight: 500;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.main-nav a.active { color: #fff; background: rgba(43, 127, 255, 0.18); }
.main-nav a.nav-download {
  background: var(--grad); color: #fff; font-weight: 700; margin-left: 10px;
  box-shadow: 0 4px 16px rgba(0, 150, 255, 0.35);
}
.main-nav a.nav-download:hover { filter: brightness(1.12); color: #fff; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle svg { width: 26px; height: 26px; stroke: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 70px;
  background:
    radial-gradient(ellipse 60% 50% at 75% 20%, rgba(43, 127, 255, 0.16), transparent),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(0, 212, 255, 0.08), transparent),
    linear-gradient(180deg, #0b1326 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(90, 130, 190, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 130, 190, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-badges span {
  font-size: 12.5px; padding: 5px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04); font-family: var(--mono);
}
.hero-badges span.hot { color: var(--amber); border-color: rgba(255, 176, 46, 0.4); }
.hero h1 { font-size: 42px; line-height: 1.25; font-weight: 800; letter-spacing: 1px; margin-bottom: 18px; }
.hero h1 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-desc { color: var(--text-muted); font-size: 16.5px; margin-bottom: 30px; max-width: 540px; }
.hero-desc strong { color: var(--text); }
.hero-dl { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border-radius: 12px; font-size: 16px; font-weight: 700;
  cursor: pointer; border: none; transition: all .25s; font-family: inherit;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(0, 140, 255, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 160, 255, 0.45); color: #fff; }
.btn-quark { background: linear-gradient(135deg, #4090ff 0%, #2b5cff 100%); color: #fff; box-shadow: 0 8px 24px rgba(50, 100, 255, 0.35); }
.btn-quark:hover { transform: translateY(-2px); color: #fff; }
.btn-baidu { background: linear-gradient(135deg, #2f6bff 0%, #2941e3 100%); color: #fff; box-shadow: 0 8px 24px rgba(45, 80, 230, 0.35); }
.btn-baidu:hover { transform: translateY(-2px); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.hero-note { font-size: 13px; color: var(--text-dim); }
.hero-note .dot { color: var(--green); }

.hero-visual { position: relative; }
.shot-frame {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--border-strong);
  box-shadow: 0 24px 70px rgba(0, 20, 60, 0.6), 0 0 0 1px rgba(0, 212, 255, 0.08);
  position: relative;
}
.shot-frame img { width: 100%; height: auto; aspect-ratio: 1280 / 744; }
.float-chip {
  position: absolute; background: rgba(16, 26, 48, 0.92); backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong); border-radius: 12px; padding: 12px 18px;
  box-shadow: var(--shadow); animation: floaty 5s ease-in-out infinite;
}
.float-chip .fc-num { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--accent-2); line-height: 1.1; }
.float-chip .fc-label { font-size: 12px; color: var(--text-muted); }
.chip-1 { top: -20px; right: -14px; }
.chip-2 { bottom: -18px; left: -18px; animation-delay: 1.6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- 数据条 ---------- */
.stats-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 30px 12px; position: relative; }
.stat-item + .stat-item::before { content: ''; position: absolute; left: 0; top: 25%; height: 50%; width: 1px; background: var(--border); }
.stat-num { font-family: var(--mono); font-size: 34px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: 13.5px; color: var(--text-muted); margin-top: 4px; }

/* ---------- 区块通用 ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 3px;
  color: var(--accent-2); text-transform: uppercase; font-family: var(--mono); margin-bottom: 12px;
}
.section-head h2 { font-size: 32px; font-weight: 800; margin-bottom: 14px; letter-spacing: 1px; }
.section-head p { color: var(--text-muted); font-size: 15.5px; }

/* ---------- 工具分类 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px; transition: all .3s; position: relative; overflow: hidden; display: block; color: var(--text);
}
.cat-card::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.cat-card:hover { background: var(--card-hover); transform: translateY(-4px); border-color: var(--border-strong); color: var(--text); }
.cat-card:hover::after { transform: scaleX(1); }
.cat-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(43, 127, 255, 0.12); margin-bottom: 16px;
}
.cat-icon svg { width: 25px; height: 25px; stroke: var(--accent-2); }
.cat-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.cat-card .cat-tools { font-size: 12.5px; color: var(--text-dim); line-height: 1.6; }
.cat-card .cat-count {
  position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 12px;
  color: var(--amber); background: rgba(255, 176, 46, 0.1); padding: 2px 9px; border-radius: 999px;
}

/* ---------- 精选工具 ---------- */
.pick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pick-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: all .3s;
}
.pick-card:hover { background: var(--card-hover); transform: translateY(-4px); border-color: var(--border-strong); }
.pick-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pick-logo {
  width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; font-family: var(--mono); flex-shrink: 0;
}
.pick-card h3 { font-size: 16px; font-weight: 700; }
.pick-card .pick-cat { font-size: 12px; color: var(--text-dim); }
.pick-card p { font-size: 13.5px; color: var(--text-muted); }

/* ---------- 硬件画廊 ---------- */
.hw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hw-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3.1; }
.hw-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hw-card:hover img { transform: scale(1.07); }
.hw-card .hw-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px; background: linear-gradient(180deg, transparent 35%, rgba(5, 10, 22, 0.92) 100%);
}
.hw-card .hw-overlay h3 { font-size: 16px; font-weight: 700; }
.hw-card .hw-overlay p { font-size: 12.5px; color: var(--text-muted); }

/* ---------- 特性 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat-card { text-align: left; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: all .3s; }
.feat-card:hover { border-color: var(--border-strong); background: var(--card-hover); }
.feat-num { font-family: var(--mono); font-size: 13px; color: var(--accent-2); margin-bottom: 14px; letter-spacing: 2px; }
.feat-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feat-card p { font-size: 13.5px; color: var(--text-muted); }

/* ---------- 场景 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.scene-card { text-align: center; padding: 28px 14px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); transition: all .3s; }
.scene-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.scene-card .sc-icon {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
  background: rgba(0, 212, 255, 0.1); border: 1px solid rgba(0, 212, 255, 0.25);
  display: flex; align-items: center; justify-content: center;
}
.scene-card .sc-icon svg { width: 26px; height: 26px; stroke: var(--accent-2); }
.scene-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.scene-card p { font-size: 12.5px; color: var(--text-dim); }

/* ---------- 下载区 ---------- */
.dl-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.dl-card {
  background: var(--card); border: 1px solid var(--border-strong); border-radius: 18px;
  padding: 34px; text-align: center; position: relative; overflow: hidden;
}
.dl-card::before {
  content: ''; position: absolute; top: -70px; left: 50%; transform: translateX(-50%);
  width: 260px; height: 140px; background: radial-gradient(ellipse, rgba(43, 127, 255, 0.22), transparent 70%);
}
.dl-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.dl-card .dl-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 22px; }
.dl-qr-box { display: inline-block; margin-bottom: 18px; padding: 12px; background: #fff; border-radius: 16px; }
.dl-card .btn { width: 100%; max-width: 320px; }
.dl-meta { display: flex; justify-content: center; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.dl-meta span { font-size: 12.5px; color: var(--text-dim); font-family: var(--mono); }
.dl-warn {
  margin-top: 26px; padding: 15px 20px; border-radius: 12px; font-size: 13.5px;
  background: rgba(255, 176, 46, 0.08); border: 1px solid rgba(255, 176, 46, 0.3); color: #ffd08a;
  display: flex; align-items: flex-start; gap: 10px;
}
.dl-warn svg { width: 18px; height: 18px; stroke: var(--amber); flex-shrink: 0; margin-top: 2px; }

/* 二维码呼吸边框 */
.qr-breath {
  border-radius: 10px;
  animation: qr-breathe 3.2s ease-in-out infinite;
}
@keyframes qr-breathe {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(0, 180, 255, 0.4), 0 0 14px rgba(0, 180, 255, 0.25);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(0, 180, 255, 0.14), 0 0 26px rgba(0, 212, 255, 0.4);
    transform: scale(1.045);
  }
}

/* ---------- 更新日志 ---------- */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--accent), rgba(0, 212, 255, 0.05)); }
.tl-item { position: relative; padding: 0 0 34px 22px; }
.tl-item::before {
  content: ''; position: absolute; left: -30px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent-2); box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}
.tl-item .tl-date { font-family: var(--mono); font-size: 13px; color: var(--accent-2); font-weight: 700; }
.tl-item h3 { font-size: 17px; font-weight: 700; margin: 4px 0 8px; }
.tl-item p { font-size: 14px; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 19px 24px; font-size: 15.5px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-arrow { transition: transform .3s; flex-shrink: 0; }
.faq-item[open] summary .faq-arrow { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--accent-2); }
.faq-item .faq-body { padding: 0 24px 20px; font-size: 14.5px; color: var(--text-muted); border-top: 1px dashed var(--border); padding-top: 16px; }
.faq-item .faq-body a { font-weight: 600; }

/* ---------- 教程文章 ---------- */
.doc-card {
  display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; margin-bottom: 22px; transition: all .3s;
}
.doc-card:hover { border-color: var(--border-strong); background: var(--card-hover); }
.doc-card .doc-img { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.doc-card .doc-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.doc-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.doc-card h3 .doc-no { color: var(--accent-2); font-family: var(--mono); font-size: 14px; margin-right: 8px; }
.doc-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.doc-card .doc-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.doc-card .doc-tags span { font-size: 11.5px; padding: 3px 10px; border-radius: 999px; background: rgba(43, 127, 255, 0.12); color: #7db4ff; }

/* ---------- 表格 ---------- */
.tbl { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.tbl th { background: rgba(43, 127, 255, 0.1); text-align: left; padding: 14px 20px; font-size: 14px; color: var(--accent-2); white-space: nowrap; }
.tbl td { padding: 14px 20px; font-size: 14px; color: var(--text-muted); border-top: 1px solid var(--border); }
.tbl td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.tbl tr:hover td { background: rgba(255, 255, 255, 0.025); }

/* ---------- 页面hero（内页） ---------- */
.page-hero {
  padding: 60px 0 50px; text-align: center; position: relative;
  background:
    radial-gradient(ellipse 55% 70% at 50% -10%, rgba(43, 127, 255, 0.14), transparent),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 34px; font-weight: 800; margin-bottom: 14px; letter-spacing: 1px; }
.page-hero h1 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { color: var(--text-muted); max-width: 640px; margin: 0 auto; font-size: 15.5px; }
.breadcrumb { font-size: 13px; color: var(--text-dim); margin-bottom: 18px; font-family: var(--mono); }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--accent-2); }

/* ---------- 工具分类详情 ---------- */
.tool-group { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 22px; }
.tool-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tool-group-head .tg-icon { width: 44px; height: 44px; border-radius: 11px; background: rgba(43, 127, 255, 0.12); display: flex; align-items: center; justify-content: center; }
.tool-group-head .tg-icon svg { width: 23px; height: 23px; stroke: var(--accent-2); }
.tool-group-head h2 { font-size: 19px; font-weight: 800; }
.tool-group-head .tg-count { font-size: 12px; color: var(--amber); font-family: var(--mono); margin-left: auto; background: rgba(255, 176, 46, 0.1); padding: 3px 11px; border-radius: 999px; }
.tool-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tool-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px;
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border); border-radius: 10px; transition: all .25s;
}
.tool-item:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.05); }
.tool-item .ti-name { font-size: 14px; font-weight: 700; }
.tool-item .ti-desc { font-size: 12px; color: var(--text-dim); line-height: 1.55; }
.tool-item .ti-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); margin-top: 7px; flex-shrink: 0; }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 999; background: rgba(4, 8, 18, 0.78);
  backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.show { display: flex; animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  background: linear-gradient(180deg, #131e38 0%, #0f1830 100%);
  border: 1px solid var(--border-strong); border-radius: 20px; max-width: 460px; width: 100%;
  padding: 34px 32px 28px; position: relative; box-shadow: 0 30px 90px rgba(0, 10, 40, 0.7);
  animation: popIn .3s cubic-bezier(.2,.9,.3,1.2); text-align: center;
}
@keyframes popIn { from { transform: scale(.88); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.07); border: none; cursor: pointer; color: var(--text-muted);
  font-size: 18px; line-height: 1; transition: all .2s;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.modal-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.modal-box .m-sub { font-size: 13.5px; color: var(--text-muted); margin-bottom: 20px; }
.modal-box .dl-qr-box { margin-bottom: 14px; }
.modal-box .dl-qr-box img { width: 168px; height: 168px; }
.m-tip { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.m-extra { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.m-warn {
  margin-top: 18px; font-size: 12.5px; color: #ffd08a; background: rgba(255, 176, 46, 0.08);
  border: 1px dashed rgba(255, 176, 46, 0.35); border-radius: 10px; padding: 11px 14px; line-height: 1.65; text-align: left;
}

/* ---------- CTA ---------- */
.cta-band {
  margin: 0 auto; max-width: 1080px; border-radius: 22px; padding: 52px 40px; text-align: center;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(43, 127, 255, 0.22), transparent),
    linear-gradient(135deg, #101c38 0%, #0c1530 100%);
  border: 1px solid var(--border-strong);
}
.cta-band h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: var(--text-muted); margin-bottom: 26px; }
.cta-band .hero-dl { justify-content: center; }

/* ---------- 页脚 ---------- */
.site-footer { background: #070c19; border-top: 1px solid var(--border); padding: 56px 0 26px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 38px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 8px; }
.footer-brand span { font-weight: 800; font-size: 16px; }
.footer-desc { font-size: 13px; color: var(--text-dim); line-height: 1.8; }
.footer-col h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-col a { display: block; font-size: 13.5px; color: var(--text-dim); margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--text-dim);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .pick-grid, .hw-grid, .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(3, 1fr); }
  .tool-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3)::before { display: none; }
  .dl-wrap { grid-template-columns: 1fr; }
  .doc-card { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    background: rgba(10, 16, 32, 0.98); border-bottom: 1px solid var(--border); padding: 14px 20px 20px; align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; }
  .main-nav a.nav-download { margin-left: 0; margin-top: 8px; text-align: center; }
  .menu-toggle { display: block; }
}
@media (max-width: 560px) {
  .cat-grid, .pick-grid, .hw-grid, .feat-grid, .scene-grid, .tool-list { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .hero { padding: 54px 0 50px; }
  .hero h1 { font-size: 27px; }
  .section-head h2 { font-size: 25px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .float-chip { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .tbl { display: block; overflow-x: auto; }
}

/* 动画入场 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

/* 返回顶部 */
.back-top {
  position: fixed; right: 22px; bottom: 26px; width: 44px; height: 44px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--border-strong); cursor: pointer; display: none;
  align-items: center; justify-content: center; z-index: 90; transition: all .25s;
}
.back-top:hover { background: var(--card-hover); transform: translateY(-3px); }
.back-top svg { width: 20px; height: 20px; stroke: var(--accent-2); }
.back-top.show { display: flex; }
