/* ==========================================================================
   Motrix Next - 官方网站 简约 · 商务 · 高级 重构样式
   ========================================================================== */

:root {
  /* 色彩令牌 —— 暖奶油米白 + 亮琥珀金(Motrix 品牌色) */
  --bg:          #faf7f2;
  --bg-soft:     #f3ede2;
  --card:        #ffffff;
  --ink:         #1c1917;
  --text:        #44403c;
  --muted:       #78716c;
  --line:        #e7e2d8;
  --accent:      #f59e0b;
  --accent-strong: #d97706;
  --accent-soft: #fffbeb;
  --accent-line: rgba(245, 158, 11, 0.35);
  --accent-grad: linear-gradient(180deg, #fbbf24 0%, #f59e0b 55%, #ea9a0d 100%);

  /* 圆角 / 阴影 / 尺寸 */
  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.05), 0 3px 10px -3px rgba(28, 25, 23, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --shadow-md: 0 1px 2px rgba(28, 25, 23, 0.05), 0 20px 48px -22px rgba(28, 25, 23, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  --shadow-lg: 0 2px 4px rgba(28, 25, 23, 0.06), 0 32px 72px -28px rgba(28, 25, 23, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue",
    Helvetica, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 460px at 50% -180px, rgba(245, 158, 11, 0.08), transparent 62%),
    radial-gradient(820px 380px at 100% 102%, rgba(245, 158, 11, 0.05), transparent 55%);
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease; }

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

button, input, select { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: 16px; }
h4 { font-size: 16px; }

/* 容器 */
.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.narrow { width: min(calc(100% - 48px), 800px); margin-inline: auto; }

/* 无障碍跳转 */
.skip-link {
  position: fixed; left: 20px; top: -80px; z-index: 1000;
  padding: 12px 20px; color: #fff; background: var(--ink);
  border-radius: var(--radius-sm); font-weight: 600; transition: top 0.2s;
}
.skip-link:focus { top: 20px; }

/* ==========================================================================
   1. Header 导航栏
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 251, 249, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px -16px rgba(28, 25, 23, 0.2); }

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

/* 品牌 */
.brand {
  display: flex; align-items: center; gap: 11px;
  color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -0.01em;
}
.brand-icon {
  width: 34px; height: 34px; flex: 0 0 34px;
  display: grid; place-items: center; overflow: hidden;
  border-radius: 9px;
}
.brand-icon .brand-logo-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.brand-text span { color: var(--accent); margin-left: 3px; font-weight: 900; }

/* 导航链接 */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 15px; color: var(--text); font-size: 16px; font-weight: 500;
  border-radius: var(--radius-sm); position: relative;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--accent);
}

/* 右侧操作区 */
.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; color: #451a03; background: var(--accent-grad);
  border-radius: var(--radius-sm); font-size: 16px; font-weight: 600;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 14px -8px rgba(217, 119, 6, 0.55);
  transition: box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 20px -10px rgba(217, 119, 6, 0.6);
}
.nav-links-cta { display: none; }

.menu-button {
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--card); color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}

/* ==========================================================================
   2. Hero 首屏
   ========================================================================== */
.hero {
  position: relative;
  padding: 96px 0 96px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
/* 极简的顶部暖色氛围 */
.hero::before {
  content: ""; position: absolute; top: -280px; left: 50%;
  transform: translateX(-50%);
  width: 980px; height: 520px;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.12) 0%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; top: 60px; right: 2%; width: 560px; height: 420px;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.09) 0%, transparent 66%);
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 26px;
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.05);
}
.hero-pill-tag {
  background: var(--accent);
  color: #451a03;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

.hero h1 { color: var(--ink); margin-bottom: 22px; }
.hero h1 .accent { color: var(--accent); }

.hero-lead {
  max-width: 700px; font-size: 16px; color: var(--text);
  line-height: 1.75; margin-bottom: 38px;
}

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: all 0.22s ease; border: 1px solid transparent;
}
.btn-primary {
  color: #451a03; background: var(--accent-grad); border-color: #f0a10e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 18px -8px rgba(217, 119, 6, 0.5);
}
.btn-primary:hover {
  border-color: #f5a413;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 14px 28px -12px rgba(217, 119, 6, 0.6);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-secondary {
  color: var(--ink); background: var(--card); border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 6px 14px -8px rgba(28, 25, 23, 0.16);
}
.btn-secondary:hover {
  border-color: var(--accent); color: var(--accent); background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 22px -12px rgba(245, 158, 11, 0.4);
}

.btn-ghost { color: var(--muted); background: transparent; border-color: transparent; padding-left: 10px; padding-right: 10px; }
.btn-ghost:hover { color: var(--ink); }

.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 26px;
}
.hero-actions .btn { min-width: 178px; }

.hero-proof {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 30px; font-size: 13px; color: var(--muted); margin-bottom: 64px;
}
.hero-proof-item {
  display: flex; align-items: center; gap: 8px;
}
.hero-proof-item svg { color: var(--accent); flex-shrink: 0; }
.hero-proof-item b { font-weight: 600; color: var(--text); }

/* 界面预览 */
.hero-preview-wrapper { width: min(100%, 1020px); position: relative; }
.hero-preview-wrapper::before {
  content: ""; position: absolute; inset: 5% -14px -12px; z-index: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(245, 158, 11, 0.18) 0%, rgba(217, 119, 6, 0.05) 60%, transparent 100%);
  transform: rotate(-0.7deg);
  filter: blur(1px);
}

.hero-preview-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 10px;
  box-shadow: var(--shadow-md);
  position: relative; z-index: 1;
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.hero-preview-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.preview-titlebar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 12px 12px;
}
.preview-label { font-size: 13px; color: var(--muted); }
.preview-label b { color: var(--text); font-weight: 600; }

.preview-tabs {
  display: flex; background: var(--bg-soft); border-radius: 999px; padding: 3px;
}
.preview-tab-btn {
  padding: 5px 16px; font-size: 13px; font-weight: 500; color: var(--muted);
  background: transparent; border: none; border-radius: 999px; cursor: pointer;
  transition: all 0.2s;
}
.preview-tab-btn.active {
  color: #451a03; background: var(--accent-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 10px -4px rgba(217, 119, 6, 0.5);
}

.preview-image-container {
  overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line);
  display: grid;
}
.preview-img {
  grid-area: 1 / 1;
  width: 100%; height: auto;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.preview-img.active { opacity: 1; }

/* ==========================================================================
   3. 核心指标数据条
   ========================================================================== */
.stats {
  background: linear-gradient(180deg, #fffdf9 0%, var(--card) 100%);
  border-bottom: 1px solid var(--line); padding: 30px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 20px; text-align: center;
}
.stat-item + .stat-item { border-left: 1px solid rgba(231, 226, 216, 0.75); }
.stat-item p { font-size: 16px; font-weight: 600; color: var(--ink); }
.stat-item small { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* ==========================================================================
   4. 通用章节
   ========================================================================== */
.section { padding: 104px 0; }
.section.soft { background: var(--bg-soft); }
.cta-section { padding-top: 32px; }

.section-header { text-align: center; max-width: 740px; margin: 0 auto 64px; }

.kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px;
}
.kicker svg { flex-shrink: 0; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 16px; color: var(--text); }

/* ==========================================================================
   5. 核心能力 Bento
   ========================================================================== */
.bento-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}

.bento-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; position: relative;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
}
.bento-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, 0.4);
}

.bento-card.featured {
  grid-column: span 2;
  background: linear-gradient(180deg, #fffdf5 0%, var(--accent-soft) 100%);
  border-color: #fde68a;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.bento-card.featured h3 { color: #78350f; }
.bento-card.featured p { color: #92400e; }
.bento-tag {
  position: absolute; top: 24px; right: 24px;
  font-size: 13px; font-weight: 600; color: #b45309;
  background: #fde68a; border: 1px solid #fcd34d;
  padding: 3px 12px; border-radius: 999px;
}

.bento-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 22px;
}
.bento-card h3 { margin-bottom: 10px; }
.bento-card p { font-size: 16px; color: var(--text); line-height: 1.7; }

.bento-card.featured .bento-icon { background: #fde68a; color: #b45309; }

.protocol-pills {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px;
}
.protocol-pills span {
  padding: 5px 13px; background: #ffffff; border: 1px solid #fcd34d;
  border-radius: 999px; font-size: 13px; font-weight: 600; color: #92400e;
}

/* ==========================================================================
   6. 使用流程
   ========================================================================== */
.workflow-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.workflow-step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
}
.workflow-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, 0.4);
}
.workflow-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-strong);
  font-size: 16px; font-weight: 800;
  letter-spacing: 0.04em; margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 6px -2px rgba(217, 119, 6, 0.18);
}
.workflow-step h3 { font-size: 16px; margin-bottom: 10px; }
.workflow-step p { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   7. 产品优势对比表
   ========================================================================== */
.table-wrapper {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow-x: auto; box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; text-align: center; table-layout: fixed; }
.compare-table th, .compare-table td {
  padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 16px;
}
.compare-table th {
  background: var(--bg-soft); font-weight: 700; color: var(--ink);
  font-size: 16px;
}
.compare-table th:first-child { width: 22%; }
.compare-table th.highlight-col { width: 32%; }
.compare-table th:nth-child(n+3) { width: 23%; }
.compare-table td { color: var(--text); }
.compare-table tr:last-child td { border-bottom: none; }

.compare-table th.highlight-col, .compare-table td.highlight-col {
  color: var(--accent-strong); font-weight: 600;
}
.compare-table td.highlight-col { background: rgba(245, 158, 11, 0.06); }

.mark { font-style: normal; margin-right: 6px; }
.mark.ok { color: var(--accent-strong); font-weight: 700; }
.mark:not(.ok) { color: var(--muted); }

/* ==========================================================================
   8. 下载中心
   ========================================================================== */
.download-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.download-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
}
.download-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(245, 158, 11, 0.35); }

.download-os-header { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.download-os-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--bg-soft); color: var(--ink);
  display: grid; place-items: center; flex-shrink: 0;
}
.download-os-info h3 { font-size: 16px; margin-bottom: 2px; }
.download-os-info p { font-size: 13px; color: var(--muted); }

.download-formats { list-style: none; margin: 0 0 28px; display: flex; flex-direction: column; gap: 0; }
.download-formats li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 11px 0; font-size: 13px; color: var(--text);
  border-bottom: 1px solid var(--line);
}
.download-formats li:first-child { padding-top: 0; }
.download-formats li:last-child { border-bottom: none; padding-bottom: 0; }
.download-formats span.arch { font-weight: 600; color: var(--ink); }

.download-card .btn { margin-top: auto; width: 100%; }

/* ==========================================================================
   9. FAQ 手风琴(分隔式)
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}
.faq-item[open] {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-md);
}

.faq-summary {
  padding: 20px 22px; font-size: 16px; font-weight: 600; color: var(--ink);
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  user-select: none;
  transition: color 0.25s var(--ease-out);
}
.faq-summary:hover { color: var(--accent-strong); }
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary::after {
  content: "+"; font-size: 20px; font-weight: 400; color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}
.faq-item[open] .faq-summary::after { content: "−"; color: var(--accent); }
.faq-item[open] .faq-summary { color: var(--accent-strong); }

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
  padding: 0 22px;
}
.faq-content-inner {
  min-height: 0;
  overflow: hidden;
  padding-bottom: 20px;
  font-size: 16px; color: var(--text); line-height: 1.8;
}
details[open] .faq-content { grid-template-rows: 1fr; }

/* ==========================================================================
   10. CTA 横幅
   ========================================================================== */
.cta-banner {
  background:
    radial-gradient(820px 320px at 85% -40%, rgba(245, 158, 11, 0.2), transparent 62%),
    radial-gradient(520px 260px at 8% 115%, rgba(245, 158, 11, 0.1), transparent 60%),
    linear-gradient(180deg, #292524 0%, var(--ink) 60%);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg); padding: 64px 48px; text-align: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { font-size: 16px; color: #c9bca6; max-width: 560px; margin: 0 auto 36px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.btn-invert {
  color: #451a03; background: var(--accent-grad); border-color: #f0a10e; font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 22px -10px rgba(0, 0, 0, 0.45);
}
.btn-invert:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 16px 30px -12px rgba(0, 0, 0, 0.5);
}
.btn-invert:active { transform: translateY(0) scale(0.98); }
.btn-ghost-light { color: #d6d1c8; background: transparent; border-color: rgba(255,255,255,0.2); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
.btn-ghost-light:hover { color: #fff; border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); transform: translateY(-2px); }

/* ==========================================================================
   11. 页脚
   ========================================================================== */
.site-footer {
  background: var(--bg-soft); color: var(--muted);
  padding: 60px 0 32px; font-size: 13px;
  position: relative;
}
/* 页脚顶部琥珀渐变分隔线 */
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(28, 25, 23, 0.16) 30%, rgba(28, 25, 23, 0.1) 50%, rgba(28, 25, 23, 0.16) 70%, transparent 100%);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 44px;
}
.footer-brand .brand { margin-bottom: 16px; color: var(--ink); }
.footer-intro { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 320px; }
.footer-col h4 { color: var(--ink); font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

.footer-bottom {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.footer-bottom a { color: var(--muted); text-decoration: underline; }
.footer-bottom a:hover { color: var(--ink); }

/* 回到顶部 */
#back-to-top {
  position: fixed; bottom: 30px; right: 30px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--card); color: var(--text);
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  cursor: pointer; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
#back-to-top.show { opacity: 1; visibility: visible; }
#back-to-top:hover { color: var(--accent); border-color: var(--accent-line); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* 网盘转存二维码弹窗 */
.pan-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.pan-modal[hidden] { display: none; }
.pan-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(28, 25, 23, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.pan-modal-card {
  position: relative; z-index: 1;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px 28px; text-align: center; max-width: 320px; width: 100%;
  box-shadow: var(--shadow-lg);
}
.pan-modal-close {
  position: absolute; top: 12px; right: 12px; width: 32px; height: 32px;
  border: none; background: transparent; color: var(--muted);
  font-size: 22px; line-height: 1; cursor: pointer; border-radius: 50%;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.pan-modal-close:hover { color: var(--ink); background: var(--bg-soft); }
.pan-modal-card h3 { font-size: 16px; margin-bottom: 18px; }
.pan-qr {
  width: 220px; height: 220px; margin: 0 auto 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px; background: #ffffff;
}
.pan-qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pan-modal-card p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.pan-modal-confirm { width: 100%; }
body.pan-open { overflow: hidden; }

/* Reveal 动画 */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   12. 响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.featured { grid-column: span 2; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3) { border-left: none; }
  .stat-item:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 16px; }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .menu-button { display: flex; }

  /* 导航：下载按钮收进菜单，导航栏只留品牌 + 汉堡按钮 */
  .nav { gap: 12px; }
  .brand { font-size: 18px; }
  .nav-actions { display: none; }
  .nav-links-cta {
    display: flex; align-items: center; justify-content: center;
    margin-top: 10px; padding: 13px 16px;
    background: var(--accent-grad); color: #451a03;
    border-radius: var(--radius-sm); font-size: 16px; font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 14px -8px rgba(217, 119, 6, 0.55);
  }

  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 16px;
    gap: 4px; display: none;
    box-shadow: 0 24px 48px -24px rgba(28, 25, 23, 0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 16px; }
  .nav-links a[aria-current="page"]::after { display: none; }

  .hero { padding: 64px 0 56px; }
  .hero-pill { padding: 5px 12px; }
  .hero-proof { gap: 10px 20px; margin-bottom: 48px; }

  /* 按钮占满全宽、上下排列，利于触屏 */
  .hero-actions { width: 100%; }
  .hero-actions .btn { min-width: 0; width: 100%; }

  .section { padding: 56px 0; }
  .section-header { margin-bottom: 44px; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.featured { grid-column: span 1; }

  .workflow-grid { grid-template-columns: 1fr; gap: 18px; }

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

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 10px 14px; }

  .compare-table th, .compare-table td { padding: 14px 16px; font-size: 13px; }

  .cta-banner { padding: 40px 20px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }

  /* FAQ 卡片在窄屏收紧内边距 */
  .faq-summary { padding: 16px 18px; }
  .faq-content { padding: 0 18px 16px; }

  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
