/* ==========================================================================
   卡硬工具箱（卡巴工具箱）官方网站 - 全局样式
   纯原生 CSS，无外部依赖，轻量优先
   ========================================================================== */

/* ---------- 变量 ---------- */
:root {
  --bg: #070a12;
  --bg-soft: #0b101c;
  --surface: #101725;
  --surface-2: #151d2e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --primary: #3b82f6;
  --primary-dark: #1d4ed8;
  --accent: #22d3ee;
  --success: #34d399;
  --warn: #fbbf24;
  --text: #e8eefb;
  --text-muted: #93a2bd;
  --text-dim: #6b7a94;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 45px -18px rgba(0, 0, 0, 0.85);
  --glow: 0 0 0 1px rgba(59, 130, 246, 0.35), 0 0 40px -8px rgba(59, 130, 246, 0.5);
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono",
    Menlo, monospace;
}

/* ---------- 重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

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

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

a:hover {
  color: #67e8f9;
}

h1,
h2,
h3,
h4 {
  line-height: 1.3;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  padding-left: 1.3em;
  margin: 0 0 1em;
}

li {
  margin-bottom: 0.45em;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.22);
  padding: 0.1em 0.42em;
  border-radius: 5px;
  color: #9ec5ff;
}

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

.section {
  padding: 84px 0;
  position: relative;
}

.section--soft {
  background: linear-gradient(180deg, transparent, var(--bg-soft) 25%, var(--bg-soft) 75%, transparent);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.03rem;
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.07);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(100deg, #60a5fa 0%, #22d3ee 55%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 10, 18, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 10, 18, 0.94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--primary), var(--accent));
  box-shadow: 0 6px 20px -6px rgba(59, 130, 246, 0.9);
  flex-shrink: 0;
}

.brand-mark svg {
  width: 21px;
  height: 21px;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  font-weight: 400;
  display: block;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.94rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.is-active {
  color: var(--text);
  background: rgba(59, 130, 246, 0.16);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease, color 0.2s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn--primary {
  background: linear-gradient(100deg, var(--primary), #0ea5e9);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(59, 130, 246, 0.95);
}

.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -12px rgba(59, 130, 246, 1);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn--lg {
  padding: 15px 32px;
  font-size: 1.03rem;
}

.btn--block {
  width: 100%;
}

/* ---------- 首屏 Hero ---------- */
.hero {
  position: relative;
  padding: 78px 0 70px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(59, 130, 246, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.075) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 25%, transparent 78%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -320px;
  left: 50%;
  width: 900px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.24), transparent 62%);
  filter: blur(28px);
  pointer-events: none;
  animation: floatGlow 9s ease-in-out infinite alternate;
}

@keyframes floatGlow {
  from {
    opacity: 0.65;
    transform: translateX(-50%) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) scale(1.06);
  }
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 54px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 26px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.87rem;
  color: var(--text-dim);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
  flex-shrink: 0;
}

/* Hero 截图 */
.hero-shot {
  position: relative;
}

.shot-frame {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow), 0 0 60px -22px rgba(59, 130, 246, 0.7);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-5deg) rotateX(1.5deg);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-shot:hover .shot-frame {
  transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #0d1422;
  border-bottom: 1px solid var(--border);
}

.shot-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}

.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-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.shot-frame img {
  width: 100%;
  display: block;
}

.shot-badge {
  position: absolute;
  right: -14px;
  bottom: -14px;
  z-index: 3;
  background: linear-gradient(100deg, var(--primary), var(--accent));
  color: #04121c;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 9px 15px;
  border-radius: 10px;
  box-shadow: 0 12px 30px -10px rgba(34, 211, 238, 0.9);
  letter-spacing: 0.02em;
}

/* ---------- 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 58px;
}

.stat {
  background: var(--bg-soft);
  padding: 26px 20px;
  text-align: center;
  transition: background 0.25s ease;
}

.stat:hover {
  background: var(--surface);
}

.stat b {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 800;
  font-family: var(--mono);
  background: linear-gradient(100deg, #60a5fa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.25;
}

.stat span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ---------- 卡片网格 ---------- */
.grid {
  display: grid;
  gap: 20px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 22px 45px -24px rgba(59, 130, 246, 0.85);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  margin-bottom: 0.45em;
  font-size: 1.09rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin: 0;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  background: rgba(59, 130, 246, 0.13);
  border: 1px solid rgba(59, 130, 246, 0.26);
  color: var(--accent);
}

.card-icon svg {
  width: 23px;
  height: 23px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

.tag {
  font-size: 0.75rem;
  font-family: var(--mono);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 6px;
}

/* ---------- 工具分类列表 ---------- */
.tool-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tool-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 17px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.tool-item:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: var(--surface-2);
  transform: translateX(3px);
}

.tool-item .tick {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 3px;
}

.tool-item .tick svg {
  width: 17px;
  height: 17px;
}

.tool-item b {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.tool-item span {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.55;
}

/* ---------- 步骤 ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  position: relative;
  transition: border-color 0.25s ease;
}

.step:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

.step-num {
  counter-increment: step;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 700;
  color: #04121c;
  background: linear-gradient(140deg, #60a5fa, #22d3ee);
}

.step-num::before {
  content: counter(step);
}

.step h3 {
  margin-bottom: 0.3em;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* ---------- 下载卡片 ---------- */
.dl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.dl-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 22px 48px -26px rgba(59, 130, 246, 0.9);
}

.dl-card--feature {
  border-color: rgba(59, 130, 246, 0.45);
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.13), var(--surface) 58%);
}

.dl-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.dl-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
}

.dl-logo svg {
  width: 24px;
  height: 24px;
}

.dl-head b {
  display: block;
  font-size: 1.02rem;
}

.dl-head span {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

.dl-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.dl-body ul {
  margin: 0;
  padding-left: 1.15em;
}

.dl-note {
  font-size: 0.83rem;
  color: var(--warn);
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 8px;
  padding: 9px 12px;
}

/* ---------- 折叠面板 FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(59, 130, 246, 0.4);
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  position: relative;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-body {
  padding: 0 20px 20px;
  color: var(--text-muted);
  font-size: 0.94rem;
  animation: faqIn 0.3s ease;
}

.faq-body > *:last-child {
  margin-bottom: 0;
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 提示条 ---------- */
.notice {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  border-radius: var(--radius-sm);
  padding: 17px 19px;
  font-size: 0.92rem;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.07);
  color: #f6dfa8;
  margin-bottom: 26px;
}

.notice svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 3px;
}

.notice p:last-child {
  margin-bottom: 0;
}

.notice strong {
  color: #fde9b8;
}

/* ---------- 内页头部 ---------- */
.page-head {
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.09), transparent);
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 70% 100% at 30% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 30% 0%, #000, transparent 75%);
  pointer-events: none;
}

.page-head .wrap {
  position: relative;
  z-index: 2;
}

.page-head h1 {
  margin-bottom: 12px;
}

.page-head p {
  color: var(--text-muted);
  max-width: 720px;
  margin: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  opacity: 0.5;
}

/* ---------- 正文排版（文章页） ---------- */
.prose {
  max-width: 860px;
  font-size: 1rem;
}

.prose h2 {
  margin-top: 2.2em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--border);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.7em;
}

.prose p,
.prose li {
  color: #c3cfe4;
}

.prose strong {
  color: var(--text);
}

.prose img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 1.6em 0;
}

.prose figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: -0.9em;
  margin-bottom: 2em;
}

.prose blockquote {
  margin: 1.5em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--primary);
  color: var(--text-muted);
}

/* ---------- 内容 + 侧栏 ---------- */
.with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
}

.aside-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 20px;
}

.aside-box h3 {
  font-size: 0.95rem;
  margin-bottom: 0.9em;
  padding-bottom: 0.7em;
  border-bottom: 1px solid var(--border);
}

.aside-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.aside-box li {
  margin-bottom: 0.7em;
}

.aside-box li:last-child {
  margin-bottom: 0;
}

.aside-box a {
  color: var(--text-muted);
}

.aside-box a:hover {
  color: var(--accent);
}

.aside-sticky {
  position: sticky;
  top: 88px;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  margin: 0;
}

.spec-list li:last-child {
  border-bottom: 0;
}

.spec-list dt,
.spec-list .k {
  color: var(--text-dim);
  flex-shrink: 0;
}

.spec-list .v {
  color: var(--text);
  text-align: right;
}

/* ---------- CTA 区块 ---------- */
.cta {
  position: relative;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 20px;
  padding: 54px 40px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(59, 130, 246, 0.16), rgba(34, 211, 238, 0.07) 55%, transparent);
}

.cta::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 320px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.32), transparent 65%);
  filter: blur(24px);
  pointer-events: none;
}

.cta > * {
  position: relative;
  z-index: 2;
}

.cta h2 {
  margin-bottom: 14px;
}

.cta p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 28px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
}

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 54px 0 28px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 14px 0 0;
  max-width: 330px;
}

.footer-col h4 {
  font-size: 0.92rem;
  margin-bottom: 1em;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.89rem;
}

.footer-col li {
  margin-bottom: 0.62em;
}

.footer-col a {
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  color: var(--text-dim);
}

.footer-bottom p {
  margin: 0;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  background: rgba(16, 23, 37, 0.92);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease,
    border-color 0.25s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: var(--primary);
}

.to-top svg {
  width: 18px;
  height: 18px;
}

/* ---------- 滚动进场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .shot-frame {
    transform: none;
  }

  .grid--4,
  .tool-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .with-aside {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .aside-sticky {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(7, 10, 18, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 18px 20px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links a {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .nav-cta .btn--ghost {
    display: none;
  }

  .section {
    padding: 62px 0;
  }

  .grid--3,
  .grid--2,
  .grid--4,
  .tool-list {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta {
    padding: 40px 22px;
  }

  .step {
    padding: 20px;
    gap: 15px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 50px 0 54px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .nav-cta .btn {
    width: auto;
  }

  .cta-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 打印 ---------- */
@media print {
  .site-header,
  .to-top,
  .cta {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
