/* ==========================================================================
   SpaceSniffer 官方网站 - 公共样式
   配色: 金黄 #FFCC00 (主) + 深蓝 #1E3A5F (辅)
   风格: 扁平现代专业
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 品牌色 */
  --gold: #FFCC00;
  --gold-dark: #E5B400;
  --gold-deep: #B8860B;
  --gold-light: #FFE066;
  --gold-soft: #FFF6CC;

  /* 辅助色 */
  --navy: #1E3A5F;
  --navy-deep: #0F2540;
  --navy-light: #3A5680;

  /* 中性色 */
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --bg-mute: #EEF2F7;
  --border: #E0E4EA;
  --text: #1A2233;
  --text-soft: #4A5568;
  --text-mute: #8895A7;
  --white: #FFFFFF;

  /* 功能色 */
  --success: #28A745;
  --danger: #DC3545;

  /* 尺寸 */
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(15, 37, 64, 0.06);
  --shadow: 0 4px 16px rgba(15, 37, 64, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 37, 64, 0.12);
  --shadow-gold: 0 8px 24px rgba(255, 204, 0, 0.28);

  /* 过渡 */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold-deep); }
ul, ol { padding-left: 1.2em; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- 3. 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-tight { padding: 56px 0; }

.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-gradient-navy {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
}
.bg-gradient-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

/* ---------- 4. 排版 ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-soft);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

h1, h2, h3, h4 {
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.01em; }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
h4 { font-size: 18px; }

.bg-navy h1, .bg-navy h2, .bg-navy h3,
.bg-gradient-navy h1, .bg-gradient-navy h2, .bg-gradient-navy h3 { color: var(--white); }

p { margin: 0 0 16px; color: var(--text-soft); }
.bg-navy p, .bg-gradient-navy p { color: rgba(255, 255, 255, 0.85); }

.lead { font-size: 18px; color: var(--text-soft); }
.text-center { text-align: center; }
.text-mute { color: var(--text-mute); }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 204, 0, 0.4);
}
.btn-secondary {
  background: var(--navy);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--navy-deep);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost-light:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

/* ---------- 6. 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy-deep);
}
.brand img { width: 36px; height: 36px; }
.brand:hover { color: var(--gold-deep); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-pill);
}
.nav a:hover { background: var(--bg-soft); color: var(--navy-deep); }
.nav a.active { color: var(--gold-deep); background: var(--gold-soft); }

.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  width: 22px; height: 2px;
  background: var(--navy-deep);
  border-radius: 2px;
  transition: all 0.25s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px; height: 2px;
  background: var(--navy-deep);
  border-radius: 2px;
  transition: all 0.25s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.is-open span::after  { transform: rotate(-45deg); top: 0; }

/* ---------- 7. Hero 区 ---------- */
.hero {
  position: relative;
  padding: 80px 0 64px;
  background:
    radial-gradient(ellipse at top right, rgba(255, 204, 0, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 58, 95, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 95, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 strong { color: var(--gold-deep); }
.hero-lead { font-size: 19px; margin: 20px 0 32px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-stat .num {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy-deep);
  display: block;
}
.hero-stat .label {
  font-size: 13px;
  color: var(--text-mute);
}
.hero-art {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s var(--ease);
}
.hero-art:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }
.hero-art img { width: 100%; display: block; }
.hero-badge {
  position: absolute;
  top: -16px; right: -16px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-gold);
  z-index: 2;
}

/* ---------- 8. 页面通用横幅 ---------- */
.page-hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(ellipse at top right, rgba(255, 204, 0, 0.12), transparent 60%),
    var(--bg-soft);
  text-align: center;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { max-width: 720px; margin: 0 auto; font-size: 18px; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-mute);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--text-mute); }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb span { color: var(--border); }

/* ---------- 9. 卡片网格 ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon img { width: 32px; height: 32px; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

/* 突出卡片 */
.card-featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  border: 0;
}
.card-featured h3, .card-featured h4 { color: var(--white); }
.card-featured p { color: rgba(255,255,255,0.85); }
.card-featured .card-icon { background: rgba(255, 204, 0, 0.18); }
.card-featured:hover { border-color: var(--gold); }

/* ---------- 10. 使用场景区 ---------- */
.scenario-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.scenario-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.scenario-card .ico {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
}
.scenario-card .ico img { width: 32px; height: 32px; }
.scenario-card h4 { margin: 4px 0 8px; }
.scenario-card p { font-size: 14px; margin: 0; }

/* ---------- 11. 用户评价轮播 ---------- */
.testimonials {
  position: relative;
}
.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--bg-mute);
}
.testimonials-track::-webkit-scrollbar { height: 6px; }
.testimonials-track::-webkit-scrollbar-track { background: var(--bg-mute); border-radius: 3px; }
.testimonials-track::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

.testimonial-card {
  flex: 0 0 380px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); border-color: var(--gold); }
.testimonial-stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.testimonial-meta .name { font-weight: 600; color: var(--text); }
.testimonial-meta .role { font-size: 13px; color: var(--text-mute); }

.testimonials-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.testimonials-controls button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s var(--ease);
}
.testimonials-controls button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

/* ---------- 12. CTA 区 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,204,0,0.25), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto 28px; font-size: 17px; }
.cta-band .btn { margin: 0 6px; }

/* ---------- 13. 下载弹窗 ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 37, 64, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 0;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease);
  box-shadow: var(--shadow-lg);
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s var(--ease);
  z-index: 2;
}
.modal-close:hover { background: var(--danger); color: var(--white); transform: rotate(90deg); }

.modal-header {
  padding: 36px 36px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--gold-soft) 0%, transparent 100%);
}
.modal-header .eyebrow { margin-bottom: 10px; }
.modal-header h3 { font-size: 26px; margin-bottom: 8px; }
.modal-header p { margin: 0; color: var(--text-soft); }

.modal-body { padding: 28px 36px 36px; }
.modal-qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.qr-box {
  text-align: center;
  padding: 22px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: all 0.25s var(--ease);
}
.qr-box:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  transform: translateY(-3px);
}
.qr-box .qr-img {
  width: 180px; height: 180px;
  margin: 0 auto 14px;
  background: var(--white);
  padding: 8px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.qr-box .qr-img img { width: 100%; height: 100%; }
.qr-box h4 { margin: 0 0 4px; font-size: 16px; }
.qr-box .size { font-size: 13px; color: var(--text-mute); }

.modal-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
  font-size: 13px;
}
.modal-info-item {
  text-align: center;
  padding: 12px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
}
.modal-info-item .lbl { color: var(--text-mute); display: block; margin-bottom: 4px; }
.modal-info-item .val { font-weight: 600; color: var(--navy-deep); }

.modal-notice {
  padding: 12px 16px;
  background: var(--gold-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-soft);
}
.modal-notice strong { color: var(--navy-deep); }

/* ---------- 14. 下载中心表格 ---------- */
.version-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.version-table th, .version-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.version-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}
.version-table tr:last-child td { border-bottom: 0; }
.version-table tr:hover td { background: var(--bg-soft); }
.version-table .v-num { font-weight: 700; color: var(--navy-deep); }
.version-table .tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}
.tag-stable { background: rgba(40, 167, 69, 0.12); color: var(--success); }
.tag-latest { background: var(--gold-soft); color: var(--gold-deep); }

/* 系统需求表 */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.spec-table th, .spec-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.spec-table th {
  background: var(--bg-soft);
  width: 200px;
  font-weight: 600;
  color: var(--navy-deep);
  text-align: left;
}
.spec-table tr:last-child td { border-bottom: 0; }

/* 下载步骤 */
.steps {
  counter-reset: step;
  display: grid;
  gap: 24px;
}
.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.step-item::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}
.step-item h4 { margin: 6px 0 6px; }
.step-item p { margin: 0; font-size: 14px; }

/* ---------- 15. 教程页代码块 ---------- */
.code-block {
  background: var(--navy-deep);
  color: #E5E7EB;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  font-family: "JetBrains Mono", "Fira Code", Consolas, Monaco, monospace;
  font-size: 14px;
  line-height: 1.65;
  overflow-x: auto;
  margin: 16px 0 24px;
}
.code-block .k { color: #FFCC00; }
.code-block .s { color: #9CDCFE; }
.code-block .c { color: #6B7280; font-style: italic; }

.callout {
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  margin: 20px 0;
  font-size: 15px;
}
.callout-title { font-weight: 700; color: var(--navy-deep); margin-bottom: 6px; }
.callout p:last-child { margin-bottom: 0; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-deep);
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--gold-deep);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a {
  padding: 14px 0 4px;
  color: var(--text-soft);
  line-height: 1.75;
}

/* ---------- 16. 关于我们 - 时间线 ---------- */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(var(--gold), var(--gold-deep));
}
.timeline-item {
  position: relative;
  padding-bottom: 32px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item .year {
  font-weight: 700;
  color: var(--gold-deep);
  font-size: 14px;
  margin-bottom: 4px;
}
.timeline-item h4 { margin: 0 0 6px; }
.timeline-item p { margin: 0; font-size: 14px; }

/* ---------- 17. 页脚 ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: rgba(255, 255, 255, 0.6); max-width: 320px; }
.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- 18. 通用工具类 ---------- */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.maxw-720 { max-width: 720px; }
.maxw-800 { max-width: 800px; }
.hide-mobile { display: initial; }

/* ---------- 19. 响应式 ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }

  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* mobile menu */
  .nav.is-open {
    display: flex;
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 18px;
    gap: 8px;
    overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .nav.is-open a {
    padding: 14px 18px;
    font-size: 17px;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--border);
  }
  .nav.is-open a.active { background: var(--gold-soft); }
  .nav.is-open .nav-cta-mobile { display: block; margin-top: 16px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .modal-qr-grid { grid-template-columns: 1fr; }
  .modal-info { grid-template-columns: 1fr; }
  .modal-header, .modal-body { padding-left: 22px; padding-right: 22px; }
  .cta-band { padding: 36px 24px; }
  .cta-band .btn { display: block; width: 100%; margin: 8px 0; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-actions .btn { flex: 1; min-width: 140px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .spec-table th { width: 130px; }
  .testimonial-card { flex: 0 0 85%; }
  .step-item { flex-direction: column; }
  .step-item::before { width: 36px; height: 36px; font-size: 16px; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0 40px; }
  .hero-stats { gap: 16px; }
  .hero-stat .num { font-size: 22px; }
  .btn { padding: 10px 20px; font-size: 14px; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
}

/* 减少动画 - 可访问性 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-art { transform: none; }
}
