/* 问穴 · 推广页样式
   ------------------------------------------------------------------
   视觉沿用「你好运造物馆」那套：朱砂 #d2453b / 墨 #2b241c / 纸 #faf8f3。
   正文系统无衬线，标题用宋体（serif）压住传统气质。
   与天纪页的差别只有三处新增组件：引文块、截图框、数据表、边界条。 */

:root {
  --cinnabar: #d2453b;
  --cinnabar-deep: #a9322a;
  --ink: #2b241c;
  --ink-soft: #6b6155;
  --paper: #faf8f3;
  --paper-deep: #f1ecdf;
  --gold: #9a6b2f;
  --jade: #3f7d6e;
  --line: rgba(43, 36, 28, 0.1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.serif { font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; height: 60px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--cinnabar); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Serif SC', serif; font-size: 16px;
}
.brand small { display: block; font-size: 11px; color: var(--ink-soft); font-weight: 400; letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 18px; margin-left: auto; font-size: 14px; color: var(--ink-soft); }
.nav-links a:hover { color: var(--cinnabar); }
.nav-cta {
  background: var(--cinnabar); color: #fff;
  padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--cinnabar-deep); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #2c2417 0%, #4a3b22 100%);
  color: #f3e6cf; text-align: center;
  padding: 84px 22px 68px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: '經';
  position: absolute; right: -30px; top: -50px;
  font-size: 340px; opacity: 0.05; color: #fff;
  font-family: 'Noto Serif SC', 'Songti SC', serif;
  pointer-events: none; line-height: 1;
}
.hero .serif { color: #fff; }
.hero-kicker { letter-spacing: 0.4em; font-size: 13px; opacity: 0.75; margin-bottom: 18px; }
.hero h1 { font-size: 46px; line-height: 1.25; margin-bottom: 16px; font-weight: 600; }
.hero .tagline { font-size: 22px; color: var(--gold); margin-bottom: 14px; }
.hero p.desc { font-size: 16px; opacity: 0.85; max-width: 620px; margin: 0 auto 30px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 999px; font-size: 16px; font-weight: 500;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--cinnabar); color: #fff; }
.btn-primary:hover { background: var(--cinnabar-deep); }
.btn-ghost { border: 1px solid rgba(243, 230, 207, 0.5); color: #f3e6cf; }
.btn-ghost:hover { background: rgba(243, 230, 207, 0.12); }
.hero-trust {
  display: flex; gap: 26px; justify-content: center; flex-wrap: wrap;
  margin-top: 38px; font-size: 13px; opacity: 0.85;
}
.hero-trust span::before { content: '✓ '; color: var(--gold); font-weight: 700; }

/* ---------- 通用 section ---------- */
.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .kicker { color: var(--cinnabar); font-size: 13px; letter-spacing: 0.2em; margin-bottom: 10px; }
.section-head h2 { font-size: 32px; font-weight: 600; margin-bottom: 12px; line-height: 1.35; }
.section-head p { color: var(--ink-soft); max-width: 620px; margin: 0 auto; }

/* ---------- 引文块（讲义原句） ---------- */
.quote-block {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--cinnabar);
  border-radius: 4px 14px 14px 4px; padding: 18px 20px;
  max-width: 720px; margin: 0 auto; text-align: left;
}
.quote-block p { font-family: 'Noto Serif SC', 'Songti SC', serif; font-size: 17px; line-height: 1.85; }
.quote-block cite {
  display: block; margin-top: 8px; font-style: normal;
  font-size: 12.5px; color: var(--ink-soft); letter-spacing: 0.02em;
}

/* ---------- 卖点网格 ---------- */
/* 固定 3 列：6 张卡正好两行排齐。auto-fit 会排成 4+2，右边空一格很难看。 */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 22px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--ink-soft); }
.card .tagline-sm {
  display: inline-block; font-size: 11.5px; color: var(--jade);
  border: 1px solid rgba(63, 125, 110, 0.3); border-radius: 999px;
  padding: 1px 9px; margin-bottom: 10px;
}

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { text-align: center; padding: 26px 18px; }
.step .num {
  width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%;
  background: #fff; border: 1px solid rgba(210, 69, 59, 0.35);
  color: var(--cinnabar);
  font-family: serif; font-size: 21px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* ---------- 截图 ---------- */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.shot {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden;
}
.shot-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px; background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
}
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cbbfa8; display: block; }
.shot-bar span { font-size: 11.5px; color: var(--ink-soft); margin-left: 4px; }
.shot img { width: 100%; }
.shot figcaption { font-size: 13px; color: var(--ink-soft); padding: 12px 14px 14px; text-align: left; }
.shot figcaption b { color: var(--ink); }

/* ---------- 数字 ---------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px; margin-bottom: 32px;
}
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 12px; text-align: center;
}
.stat b {
  display: block; font-family: 'Noto Serif SC', serif;
  font-size: 30px; line-height: 1.15; color: var(--cinnabar);
}
.stat span { display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- 数据表 ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14.5px; min-width: 460px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--paper-deep); font-size: 13px; font-weight: 600; color: var(--ink-soft); }
tbody tr:last-child td { border-bottom: 0; }
td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.zero { color: var(--cinnabar); font-weight: 600; }
.table-note { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }

/* ---------- 边界 ---------- */
.bounds { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.bound {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--jade);
  border-radius: 4px 12px 12px 4px; padding: 18px 20px;
}
.bound h3 { font-size: 16px; margin-bottom: 6px; }
.bound p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { padding: 16px 20px; cursor: pointer; font-weight: 500; font-size: 15px; list-style: none; }
.faq summary::after { content: '+'; float: right; color: var(--cinnabar); font-weight: 700; }
.faq details[open] summary::after { content: '−'; }
.faq .faq-body { padding: 0 20px 18px; font-size: 14px; color: var(--ink-soft); }
.faq .faq-body b { color: var(--ink); }
.faq code {
  background: var(--paper-deep); border-radius: 5px; padding: 1px 6px;
  font-size: 12.5px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- 最终 CTA ---------- */
.final-cta { background: var(--cinnabar); color: #fff; text-align: center; padding: 66px 22px; }
.final-cta h2 { font-size: 30px; margin-bottom: 12px; line-height: 1.4; }
.final-cta p { opacity: 0.9; margin-bottom: 26px; }
.final-cta .btn { background: #fff; color: var(--cinnabar); }

/* ---------- 页脚 ---------- */
.footer { background: #201a12; color: #b8ad9c; padding: 44px 0 34px; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-inner strong { color: #fff; }
.footer a { color: #d8cdb8; }
.footer a:hover { color: #fff; }
.footer .disc {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px; opacity: 0.72; line-height: 1.85;
}
.footer .disc p + p { margin-top: 8px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .shots { grid-template-columns: 1fr; }
  /* 导航栏只有 60px 高，两行小字会把 logo 顶变形 */
  .brand small { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 64px 20px 54px; }
  .hero h1 { font-size: 32px; }
  .hero .tagline { font-size: 17px; }
  .hero .desc { font-size: 15px; }
  /* 32px 在 390 宽下会把长句挤成两三行，末字容易顶出视口 */
  .section-head h2 { font-size: 25px; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 32px; }
  .stat b { font-size: 26px; }
  .quote-block p { font-size: 15.5px; }
  .final-cta h2 { font-size: 24px; }
  .hero-trust { gap: 14px; flex-direction: column; align-items: center; }

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

  /* 表格压进 390：不收窄的话第三列说明会被推出视口，用户并不知道能横滑 */
  table { min-width: 0; font-size: 13px; }
  th, td { padding: 10px 9px; }
  thead th { font-size: 12px; }
  td.num { white-space: nowrap; }
  .table-note { font-size: 12.5px; }
}
