/* ============================================================
   拾光吟 · 宣传站样式
   主题：怀旧时光（Nostalgia Vintage / Kraft Paper）
   色值取自 src/index.css [data-theme="nostalgia-vintage"]
   零外部依赖：无 CDN、无外链字体、无外链图片
   ============================================================ */

:root {
  --paper-bg: #F3ECE2;
  --paper-card: #FAF5ED;
  --paper-elevated: #FFFDF9;
  --paper-border: rgba(214, 198, 178, 0.85);
  --paper-border-soft: rgba(214, 198, 178, 0.45);
  --ink-primary: #382A1E;
  --ink-secondary: #736152;
  --ink-muted: #9E8C7E;
  --accent: #A6552B;
  --accent-hover: #8C431F;
  --badge-bg: #EAE1D2;
  --stamp-red: #B4432F;
  --stamp-amber: #C27835;
  --stamp-green: #5A7A52;
  --stamp-blue: #4E6B7E;
  --shadow-soft: 0 10px 30px rgba(56, 42, 30, 0.10);
  --shadow-card: 0 4px 18px rgba(56, 42, 30, 0.07);
  --radius: 14px;
  --font-serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", "Source Han Serif SC", serif;
  --font-kai: "STKaiti", "KaiTi", "Kaiti SC", "AR PL UKai CN", serif;
  --nav-h: 64px;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-primary);
  background-color: var(--paper-bg);
  /* 纸质纹理：SVG 噪声（feTurbulence）+ 暖色光晕，全部内联 data-URI */
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(255, 253, 246, 0.85), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(234, 225, 210, 0.5), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.35; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
b { font-weight: 700; color: var(--ink-primary); }

/* 固定导航下，锚点滚动留出顶栏高度 */
[id] { scroll-margin-top: calc(var(--nav-h) + 18px); }

.container { width: min(1120px, 92vw); margin-inline: auto; }
.container-narrow { width: min(780px, 92vw); }
.hide-mobile { display: inline; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: 0.06em; }
.sec-head::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 3px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; fill: currentColor; }
.btn-primary {
  background: var(--accent);
  color: #FFF9F0;
  box-shadow: 0 6px 18px rgba(166, 85, 43, 0.28);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(166, 85, 43, 0.34); }
.btn-ghost {
  background: var(--paper-elevated);
  color: var(--ink-primary);
  border-color: var(--paper-border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 14px 30px; font-size: 16px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(243, 236, 226, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.nav.scrolled {
  background: rgba(243, 236, 226, 0.94);
  border-bottom-color: var(--paper-border-soft);
  box-shadow: 0 4px 20px rgba(56, 42, 30, 0.06);
}
.nav-inner {
  width: min(1120px, 94vw);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { border-radius: 9px; box-shadow: 0 3px 10px rgba(132, 64, 28, 0.3); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 19px; letter-spacing: 0.18em; }
.brand-text small { font-size: 11px; color: var(--ink-muted); letter-spacing: 0.24em; }

.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--ink-secondary);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.nav-cta { padding: 9px 24px; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.nav-burger span { width: 22px; height: 2px; background: var(--ink-primary); border-radius: 2px; transition: 0.25s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 5vw 20px;
  background: rgba(243, 236, 226, 0.98);
  border-bottom: 1px solid var(--paper-border-soft);
}
.nav-drawer.open { display: flex; }
.nav-drawer a { padding: 12px 6px; font-size: 16px; letter-spacing: 0.1em; color: var(--ink-secondary); border-bottom: 1px dashed var(--paper-border-soft); }
.nav-drawer a.btn { border-bottom: none; margin-top: 10px; color: #FFF9F0; }

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--nav-h) + 64px) 0 72px;
  overflow: hidden;
}
.hero-inner {
  width: min(1120px, 92vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(38px, 5.6vw, 62px);
  letter-spacing: 0.1em;
  line-height: 1.3;
  margin-bottom: 22px;
}
.hero-slogan { color: var(--ink-secondary); font-size: 16.5px; line-height: 2; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-muted); letter-spacing: 0.05em; }

/* Hero 视觉区 */
.hero-visual { position: relative; display: flex; justify-content: center; }
.seal-stamp {
  position: absolute;
  top: -18px; right: 2%;
  width: 74px; height: 74px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  border: 3px solid var(--stamp-red);
  border-radius: 10px;
  color: var(--stamp-red);
  font-family: var(--font-kai);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.1em;
  transform: rotate(9deg);
  opacity: 0.72;
  background: rgba(250, 245, 237, 0.55);
  box-shadow: inset 0 0 0 2px rgba(180, 67, 47, 0.25);
  z-index: 3;
}
.seal-sm { position: static; transform: rotate(-7deg); margin: 0 auto 18px; opacity: 0.85; }

/* 手机外框（手绘模拟） */
.phone {
  width: 300px;
  background: #2B211A;
  border-radius: 38px;
  padding: 12px;
  box-shadow: var(--shadow-soft), inset 0 0 0 2px rgba(255, 249, 240, 0.08);
  transform: rotate(-2deg);
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 20px;
  background: #2B211A;
  border-radius: 12px;
  z-index: 2;
}
.phone-screen {
  background: var(--paper-bg);
  border-radius: 28px;
  overflow: hidden;
  min-height: 0;
  line-height: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 249, 240, 0.06);
}
.phone-screen img {
  width: 100%;
  height: auto;
  border-radius: 28px;
}
.p-status { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-muted); padding: 2px 6px 8px; }
.p-status-dots { letter-spacing: 2px; font-size: 8px; }
.p-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 10px; }
.p-title { font-size: 19px; font-weight: 700; letter-spacing: 0.22em; }
.p-icons { font-size: 12px; color: var(--ink-secondary); letter-spacing: 4px; }
.p-quote {
  background: var(--paper-card);
  border: 1px solid var(--paper-border);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-card);
}
.p-quote p { font-family: var(--font-kai); font-size: 13.5px; color: var(--ink-secondary); }
.p-quote-tags { display: flex; gap: 6px; margin-top: 7px; }
.p-quote-tags span {
  font-size: 10.5px;
  color: var(--accent);
  background: var(--badge-bg);
  border-radius: 999px;
  padding: 2px 9px;
}
.p-card {
  background: var(--paper-elevated);
  border: 1px solid var(--paper-border);
  border-radius: 12px;
  padding: 11px 12px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-card);
}
.p-card-dim { opacity: 0.62; }
.p-card-top { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-muted); margin-bottom: 8px; }
.p-wx { color: var(--stamp-blue); }
.p-card-body { display: flex; gap: 9px; }
.p-card-body h4 { font-size: 14.5px; margin-bottom: 3px; }
.p-card-body p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.p-card-foot { display: flex; align-items: center; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.tag {
  font-size: 10.5px;
  color: var(--accent);
  background: var(--badge-bg);
  border-radius: 999px;
  padding: 1.5px 8px;
}
.p-loc { font-size: 10.5px; color: var(--ink-muted); margin-left: auto; }

/* 心境印章（通用） */
.stamp {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-family: var(--font-kai);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 2px solid currentColor;
  writing-mode: horizontal-tb;
  transform: rotate(-6deg);
  opacity: 0.9;
}
.stamp-red { color: var(--stamp-red); background: rgba(180, 67, 47, 0.10); }
.stamp-amber { color: var(--stamp-amber); background: rgba(194, 120, 53, 0.12); }
.stamp-green { color: var(--stamp-green); background: rgba(90, 122, 82, 0.12); }
.stamp-gray { color: var(--ink-muted); background: rgba(158, 140, 126, 0.12); }
.stamp-blue { color: var(--stamp-blue); background: rgba(78, 107, 126, 0.12); }

/* ---------- 5 图标横条 ---------- */
.strip { padding: 30px 0 10px; }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  background: var(--paper-card);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius);
  padding: 26px 18px;
  box-shadow: var(--shadow-card);
}
.strip-item { text-align: center; padding: 4px 6px; }
.strip-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--badge-bg);
  color: var(--accent);
  margin-bottom: 10px;
}
.strip-ico svg { width: 24px; height: 24px; }
.strip-item strong { display: block; font-size: 15px; letter-spacing: 0.04em; }
.strip-item small { display: block; font-size: 12px; color: var(--ink-muted); margin-top: 3px; line-height: 1.5; }

/* ---------- 功能介绍（交替图文） ---------- */
.features { padding: 78px 0 40px; }
.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 88px;
}
.feat-flip .feat-copy { order: 2; }
.feat-flip .feat-visual { order: 1; }
.feat-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--font-kai);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 14px;
  transform: rotate(-6deg);
}
.feat-copy h3 { font-size: clamp(22px, 2.6vw, 29px); letter-spacing: 0.05em; margin-bottom: 14px; }
.feat-copy > p { color: var(--ink-secondary); font-size: 15.5px; line-height: 2; }
.ticks { margin-top: 18px; display: grid; gap: 9px; }
.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink-secondary);
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 17px; height: 17px;
  margin-top: 4px;
  background: var(--accent);
  color: #FFF9F0;
  border-radius: 50%;
  font-size: 11px;
  line-height: 17px;
  text-align: center;
}
.feat-visual { display: flex; justify-content: center; }

/* 模拟界面通用外壳 */
.mock {
  width: min(440px, 100%);
  background: var(--paper-elevated);
  border: 1px solid var(--paper-border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.mock-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--paper-border);
  margin-bottom: 14px;
}
.mock-bar em { font-style: normal; font-size: 13px; color: var(--accent); letter-spacing: 0.1em; }

/* ① 写笺模拟 */
.mock-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }
.mock-chips span {
  font-size: 12.5px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--badge-bg);
  color: var(--ink-secondary);
  border: 1px solid transparent;
}
.mock-chips .on { background: var(--accent); color: #FFF9F0; border-color: var(--accent); }
.mock-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 12px; }
.mock-row b { font-size: 13px; color: var(--ink-muted); letter-spacing: 0.1em; width: 34px; }
.mock-row .stamp { width: 36px; height: 36px; font-size: 12px; }
.wx {
  font-size: 12.5px;
  color: var(--ink-secondary);
  background: var(--badge-bg);
  border-radius: 999px;
  padding: 3px 11px;
}
.mock-photo { display: flex; align-items: center; gap: 14px; margin: 6px 0 13px; }
.polaroid {
  background: #FFF;
  padding: 7px 7px 4px;
  border: 1px solid var(--paper-border-soft);
  box-shadow: 0 4px 12px rgba(56, 42, 30, 0.14);
  transform: rotate(-3deg);
  width: 120px;
}
.polaroid-img {
  height: 78px;
  background:
    linear-gradient(160deg, rgba(194, 120, 53, 0.35), rgba(78, 107, 126, 0.3)),
    repeating-linear-gradient(45deg, rgba(214, 198, 178, 0.5) 0 8px, rgba(234, 225, 210, 0.5) 8px 16px);
  border-radius: 2px;
}
.polaroid span { display: block; font-size: 9.5px; color: var(--ink-muted); text-align: center; padding: 4px 0 2px; font-family: var(--font-kai); }
.mock-photo-tip { font-size: 12.5px; color: var(--ink-muted); line-height: 1.9; }
.mock-photo-tip::first-line { color: var(--accent); }
.mock-textarea {
  background: var(--paper-card);
  border: 1px solid var(--paper-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 2;
  color: var(--ink-primary);
  min-height: 96px;
  background-image: repeating-linear-gradient(transparent, transparent 27px, rgba(214, 198, 178, 0.5) 27px, rgba(214, 198, 178, 0.5) 28px);
}
.caret {
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.mock-tools { display: flex; gap: 8px; margin-top: 12px; }
.mock-tools span {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--ink-secondary);
  background: var(--badge-bg);
  border-radius: 8px;
  padding: 6px 0;
}

/* ② 日历模拟 */
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.cal-week { font-size: 12px; color: var(--ink-muted); margin-bottom: 7px; }
.cal-grid span {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-secondary);
  background: var(--paper-card);
  border-radius: 8px;
  border: 1px solid transparent;
}
.cal-grid .dim { color: rgba(158, 140, 126, 0.4); background: transparent; }
.cal-grid .now { border-color: var(--accent); color: var(--accent); font-weight: 700; background: rgba(166, 85, 43, 0.07); }
.cal-grid .dot-red::after,
.cal-grid .dot-amber::after,
.cal-grid .dot-green::after,
.cal-grid .dot-blue::after {
  content: "";
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
}
.cal-grid .dot-red::after { background: var(--stamp-red); }
.cal-grid .dot-amber::after { background: var(--stamp-amber); }
.cal-grid .dot-green::after { background: var(--stamp-green); }
.cal-grid .dot-blue::after { background: var(--stamp-blue); }
.cal-day { margin-top: 14px; border-top: 1px dashed var(--paper-border); padding-top: 12px; }
.cal-day > b { font-size: 13.5px; letter-spacing: 0.08em; }
.cal-entry { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.cal-entry .stamp { width: 34px; height: 34px; font-size: 11.5px; }
.cal-entry p { font-size: 13px; color: var(--ink-secondary); }

/* ③ 月书卷模拟 */
.mock-shelf { display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.shelf-books {
  display: flex;
  gap: 7px;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(214, 198, 178, 0.25), rgba(214, 198, 178, 0.55));
  border: 1px solid var(--paper-border);
  border-radius: 10px;
  padding: 12px 10px;
  min-height: 240px;
}
.book {
  flex: 1;
  border-radius: 4px 7px 7px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset -3px 0 6px rgba(0, 0, 0, 0.14), 2px 3px 8px rgba(56, 42, 30, 0.2);
  writing-mode: vertical-rl;
  text-orientation: upright;
  padding: 10px 0;
  min-height: 200px;
}
.book span {
  font-family: var(--font-kai);
  font-size: 12.5px;
  letter-spacing: 0.24em;
  color: #FAF5ED;
  line-height: 1.6;
  text-align: center;
}
.book.b1 { background: linear-gradient(90deg, #A6552B, #8C431F); min-height: 216px; }
.book.b2 { background: linear-gradient(90deg, #6E675F, #574F47); min-height: 200px; }
.book.b3 { background: linear-gradient(90deg, #4E6B7E, #3C5567); min-height: 208px; }
.book.b4 { background: linear-gradient(90deg, #7A5B57, #634744); min-height: 194px; }
.shelf-page { display: flex; flex-direction: column; gap: 11px; }
.shelf-page > b { font-size: 14px; letter-spacing: 0.06em; }
.shelf-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.shelf-stats div {
  background: var(--paper-card);
  border: 1px solid var(--paper-border);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
}
.shelf-stats strong { display: block; font-size: 19px; color: var(--accent); font-variant-numeric: tabular-nums; }
.shelf-stats span { font-size: 11.5px; color: var(--ink-muted); }
.shelf-mood { display: flex; align-items: center; gap: 6px; }
.shelf-mood i { width: 26px; height: 8px; border-radius: 4px; }
.shelf-mood .m1 { background: var(--stamp-amber); flex: 5; }
.shelf-mood .m2 { background: var(--stamp-green); flex: 3; }
.shelf-mood .m3 { background: var(--stamp-red); flex: 2; }
.shelf-mood .m4 { background: var(--stamp-blue); flex: 1.5; }
.shelf-mood span { font-size: 11.5px; color: var(--ink-muted); margin-left: 4px; }
.shelf-export {
  margin-top: auto;
  text-align: center;
  font-size: 13px;
  color: #FFF9F0;
  background: var(--accent);
  border-radius: 999px;
  padding: 8px 0;
  letter-spacing: 0.1em;
  box-shadow: 0 5px 14px rgba(166, 85, 43, 0.26);
}

/* ④ 时光锁模拟 */
.mock-lock { text-align: center; padding: 30px 24px 26px; }
.lock-icon {
  width: 54px; height: 54px;
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--badge-bg);
  color: var(--accent);
  border-radius: 50%;
}
.lock-icon svg { width: 28px; height: 28px; }
.mock-lock > b { font-size: 17px; letter-spacing: 0.2em; display: block; }
.mock-lock > p { font-size: 13px; color: var(--ink-muted); margin: 5px 0 16px; }
.lock-dots { display: flex; justify-content: center; gap: 16px; margin-bottom: 18px; }
.lock-dots i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--ink-muted); }
.lock-dots .on { background: var(--accent); border-color: var(--accent); }
.lock-pad {
  display: grid;
  grid-template-columns: repeat(3, 58px);
  gap: 10px;
  justify-content: center;
}
.lock-pad span {
  height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-card);
  border: 1px solid var(--paper-border);
  border-radius: 12px;
  font-size: 19px;
  color: var(--ink-primary);
  box-shadow: 0 2px 0 rgba(214, 198, 178, 0.7);
}
.lock-pad .pad-fn { font-size: 14px; color: var(--ink-muted); background: transparent; box-shadow: none; }
.lock-note { margin-top: 16px; font-size: 12px; color: var(--ink-muted); line-height: 1.8; }

/* ---------- 真实截图相框（通用） ---------- */
.shot {
  margin: 0;
  width: min(320px, 100%);
  background: var(--paper-elevated);
  border: 1px solid var(--paper-border);
  border-radius: 18px;
  padding: 12px 12px 10px;
  box-shadow: var(--shadow-soft);
  transform: rotate(-1deg);
  transition: transform 0.25s ease;
}
.shot:hover { transform: rotate(0deg) translateY(-4px); }
.shot img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--paper-border-soft);
}
.shot figcaption {
  font-family: var(--font-kai);
  font-size: 13.5px;
  color: var(--ink-muted);
  text-align: center;
  padding: 9px 4px 2px;
  letter-spacing: 0.08em;
}

/* ---------- 隐私与数据库加密（独立重点板块，牛皮纸质感） ---------- */
.privacy {
  margin: 10px 0 76px;
  padding: 74px 0 66px;
  color: var(--ink-primary);
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 253, 246, 0.8), transparent 65%),
    linear-gradient(180deg, #EFE6D5, #E6DAC4);
  border: 1px solid var(--paper-border);
  border-radius: 28px;
  box-shadow: var(--shadow-card), inset 0 0 0 5px rgba(255, 253, 246, 0.35);
  position: relative;
  overflow: hidden;
}
.privacy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
.privacy > .container { position: relative; }
.privacy .eyebrow { color: var(--accent); }
.privacy .sec-head h2 { color: var(--ink-primary); }
.privacy .sec-head::after { background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.sec-sub {
  max-width: 660px;
  margin: 16px auto 0;
  font-size: 15.5px;
  line-height: 2;
  color: var(--ink-secondary);
}
.pv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pv-card {
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid var(--paper-border);
  border-radius: 16px;
  padding: 24px 22px 20px;
  box-shadow: 0 2px 10px rgba(56, 42, 30, 0.05);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.pv-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}
.pv-ico {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--badge-bg);
  color: var(--accent);
  border-radius: 12px;
  margin-bottom: 13px;
}
.pv-ico svg { width: 24px; height: 24px; }
.pv-card h3 { font-size: 17.5px; letter-spacing: 0.06em; color: var(--ink-primary); margin-bottom: 8px; }
.pv-card p { font-size: 13.5px; line-height: 1.95; color: var(--ink-secondary); }
.pv-card p b { color: var(--accent); font-weight: 700; }
.pv-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  background: rgba(255, 253, 246, 0.7);
  border: 1px dashed var(--paper-border);
  border-radius: 999px;
  padding: 2.5px 11px;
}
.pv-shots {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pv-shots .shot { width: min(300px, 100%); transform: rotate(1.2deg); }
.pv-shots .shot:nth-child(2) { transform: rotate(-1.4deg); }
.pv-shots .shot:hover { transform: rotate(0deg) translateY(-4px); }
.pv-note {
  max-width: 720px;
  margin: 44px auto 0;
  text-align: center;
  font-family: var(--font-kai);
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-secondary);
  border-top: 1px dashed var(--paper-border);
  padding-top: 26px;
}

/* ---------- 特色功能 ---------- */
.special { padding: 60px 0 70px; background: linear-gradient(180deg, transparent, rgba(234, 225, 210, 0.4) 18%, rgba(234, 225, 210, 0.4) 82%, transparent); }
.special-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sp-card {
  background: var(--paper-elevated);
  border: 1px solid var(--paper-border);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
}
.sp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.sp-ico {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: var(--badge-bg);
  color: var(--accent);
  border-radius: 13px;
  margin-bottom: 14px;
}
.sp-ico svg { width: 26px; height: 26px; }
.sp-card h3 { font-size: 20px; letter-spacing: 0.1em; margin-bottom: 9px; }
.sp-card > p { font-size: 14px; color: var(--ink-secondary); line-height: 1.9; }
.sp-mock {
  margin-top: 16px;
  background: var(--paper-card);
  border: 1px dashed var(--paper-border);
  border-radius: 11px;
  padding: 13px 14px;
  font-size: 13px;
}
.sp-echo em { display: block; font-style: normal; font-size: 11.5px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 5px; }
.sp-echo p { font-family: var(--font-kai); color: var(--ink-secondary); line-height: 1.8; }
.sp-echo span { display: inline-block; margin-top: 8px; font-size: 12px; background: var(--badge-bg); border-radius: 999px; padding: 3px 12px; color: var(--accent); }
.sp-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; position: relative; padding-bottom: 40px; }
.sp-gallery i { aspect-ratio: 3/4; border-radius: 5px; border: 3px solid #FFF; box-shadow: 0 3px 8px rgba(56, 42, 30, 0.16); }
.sp-gallery .g1 { background: linear-gradient(150deg, rgba(194, 120, 53, 0.5), rgba(166, 85, 43, 0.3)); transform: rotate(-4deg); }
.sp-gallery .g2 { background: linear-gradient(150deg, rgba(90, 122, 82, 0.45), rgba(78, 107, 126, 0.35)); transform: rotate(2deg); }
.sp-gallery .g3 { background: linear-gradient(150deg, rgba(180, 67, 47, 0.4), rgba(194, 120, 53, 0.3)); transform: rotate(-2deg); }
.sp-gallery .g4 { background: linear-gradient(150deg, rgba(78, 107, 126, 0.45), rgba(158, 140, 126, 0.4)); transform: rotate(4deg); }
.sp-gallery span {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  background: var(--badge-bg);
  color: var(--accent);
  border-radius: 999px;
  padding: 3px 14px;
  white-space: nowrap;
}
.sp-noise { display: flex; flex-wrap: wrap; gap: 7px; }
.sp-noise span {
  font-size: 12px;
  color: var(--ink-secondary);
  background: var(--paper-elevated);
  border: 1px solid var(--paper-border);
  border-radius: 999px;
  padding: 4px 12px;
}
.sp-noise span:first-child { background: var(--accent); color: #FFF9F0; border-color: var(--accent); }

/* ---------- 9 宫格 ---------- */
.grid9 { padding: 64px 0; }
.g9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.g9-item {
  background: var(--paper-card);
  border: 1px solid var(--paper-border);
  border-radius: 12px;
  padding: 18px 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.g9-item:hover { border-color: var(--accent); transform: translateY(-3px); }
.g9-item b { display: block; font-size: 15.5px; letter-spacing: 0.08em; margin-bottom: 5px; color: var(--accent); }
.g9-item p { font-size: 13px; color: var(--ink-secondary); line-height: 1.8; }

/* ---------- FAQ ---------- */
.faq { padding: 60px 0 74px; }
.qa {
  background: var(--paper-card);
  border: 1px solid var(--paper-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.qa[open] { border-color: var(--accent); background: var(--paper-elevated); }
.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 52px 17px 22px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  position: relative;
  transition: color 0.2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent); }
.qa summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s;
}
.qa[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.qa-body { padding: 0 22px 19px; }
.qa-body p { font-size: 14.5px; color: var(--ink-secondary); line-height: 2; }

/* ---------- 底部 CTA ---------- */
.cta { padding: 20px 0 80px; }
.cta-card {
  position: relative;
  text-align: center;
  background: var(--paper-elevated);
  border: 1px solid var(--paper-border);
  border-radius: 22px;
  padding: 52px 30px 46px;
  box-shadow: var(--shadow-soft);
  background-image:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(255, 253, 246, 0.9), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}
.cta-card h2 { font-size: clamp(24px, 3.2vw, 33px); letter-spacing: 0.08em; }
.cta-card > p { color: var(--ink-secondary); margin-top: 10px; }
.cta-card .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--paper-border);
  background: rgba(234, 225, 210, 0.5);
  padding: 42px 0 34px;
}
.footer-inner { text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { border-radius: 8px; }
.footer-brand strong { font-size: 18px; letter-spacing: 0.2em; }
.footer-brand p { font-family: var(--font-kai); font-size: 13px; color: var(--ink-muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-bottom: 16px; }
.footer-links a { font-size: 14px; color: var(--ink-secondary); letter-spacing: 0.06em; }
.footer-links a:hover { color: var(--accent); }
.footer-note { font-size: 13px; color: var(--accent); letter-spacing: 0.14em; margin-bottom: 8px; }
.footer-copy { font-size: 12.5px; color: var(--ink-muted); }

/* ---------- 滚动淡入 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-copy .hero-cta, .hero-note { justify-content: center; }
  .hero-visual { order: 2; }
  .seal-stamp { right: 8%; }
  .feat { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; }
  .feat-flip .feat-copy { order: 1; }
  .feat-flip .feat-visual { order: 2; }
  .special-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .pv-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy { border-radius: 20px; padding: 58px 0 52px; }
  .g9 { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(3, 1fr); gap: 22px 10px; }
}

@media (max-width: 640px) {
  /* iOS 对 background-attachment: fixed 支持差，改为随内容滚动 */
  body { background-attachment: scroll; }
  .hide-mobile { display: none; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-slogan { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .phone { width: min(290px, 84vw); transform: none; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-item:last-child { grid-column: span 2; }
  .g9 { grid-template-columns: 1fr; }
  .pv-grid { grid-template-columns: 1fr; }
  .pv-shots { gap: 26px; }
  .privacy { margin-bottom: 56px; padding: 48px 0 44px; border-radius: 16px; }
  .shot { width: min(300px, 92%); }
  .mock-shelf { grid-template-columns: 118px 1fr; gap: 12px; }
  .book span { font-size: 11px; letter-spacing: 0.16em; }
  .sec-head { margin-bottom: 40px; }
  .cta-card { padding: 40px 20px 36px; }
}
