/* ==========================================================
   DailyPin 銷售頁 — 便利貼視覺系統
   色彩：紙感米白 × 油墨黑 × 便利貼黃 × Obsidian 紫
   ========================================================== */

:root {
  --paper: #f7f4ec;
  --white: #ffffff;
  --ink: #17150f;
  --ink-soft: #3a372e;
  --muted: #6e6a5e;
  --line: #e6e1d4;
  --yellow: #ffd84d;
  --yellow-soft: #ffe885;
  --yellow-deep: #e8b820;
  --purple: #7c5cff;
  --radius: 14px;
  --shadow-note: 0 10px 24px rgba(23, 21, 15, 0.14), 0 2px 6px rgba(23, 21, 15, 0.08);
  --shadow-win: 0 24px 60px rgba(23, 21, 15, 0.16), 0 4px 14px rgba(23, 21, 15, 0.08);
  --font: "Noto Sans TC", "PingFang TC", "Heiti TC", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection { background: var(--yellow); color: var(--ink); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }

mark {
  background: linear-gradient(transparent 55%, var(--yellow) 55%);
  color: inherit;
  padding: 0 2px;
}

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-block;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  padding: 16px 30px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { cursor: wait; opacity: 0.68; }
.btn-primary {
  background: var(--ink);
  color: var(--yellow);
  box-shadow: 0 8px 20px rgba(23, 21, 15, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23, 21, 15, 0.26); }
.btn-ghost {
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-ghost:hover { background: rgba(23, 21, 15, 0.05); }
.btn-sm { font-size: 14px; padding: 10px 20px; }

/* ---------- 置頂列 ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px;
  background: rgba(247, 244, 236, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
}
.topbar-name { font-weight: 900; font-size: 18px; letter-spacing: 0.02em; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(80px, 12vh, 140px) 24px 90px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 34px;
}
.hero-title {
  font-size: clamp(40px, 7.2vw, 84px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0.015em;
}
.hero-title .line { display: block; }
.hero-title .line-2 {
  margin-top: 0.1em;
  overflow: hidden;
  color: var(--ink);
}
.rotator {
  display: inline-block;
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  padding: 0 0.08em;
}
.hero-sub {
  margin-top: 30px;
  font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-appname { font-weight: 900; font-size: 1.15em; letter-spacing: 0.02em; }
.hero-dash { color: var(--muted); }
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* 漂浮小便利貼 */
.hero-stickies { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.mini-note {
  position: absolute;
  width: 128px;
  padding: 14px 12px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft);
  background: linear-gradient(160deg, var(--yellow-soft), var(--yellow));
  border-radius: 4px;
  box-shadow: var(--shadow-note);
  will-change: transform;
}
.mini-note::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, transparent 50%, rgba(23, 21, 15, 0.12) 50%);
  border-radius: 0 0 4px 0;
}
.mini-note.n1 { top: 16%; left: 6%; transform: rotate(-7deg); }
.mini-note.n2 { top: 12%; right: 8%; transform: rotate(5deg); background: linear-gradient(160deg, #ffe1ec, #ffc3d8); }
.mini-note.n3 { bottom: 30%; left: 9%; transform: rotate(4deg); background: linear-gradient(160deg, #dff3ff, #bfe5ff); }
.mini-note.n4 { bottom: 26%; right: 6%; transform: rotate(-5deg); }

/* ---------- App 視窗 mock（token 對齊 src/App.css 真實 App） ---------- */
.mock {
  --app-bg: #ffffff;
  --app-surface: #f6f6f7;
  --app-ink: #2e2e31;
  --app-ink-secondary: #505057;
  --app-muted: #66666d;
  --app-border: #dedee2;
  --app-border-strong: #b9b9c0;
  --app-primary: #7c3aed;
  --app-primary-soft: #eee9ff;
  --app-accent: #6d28d9;
  width: min(440px, 92vw);
  margin: 64px auto 0;
  background: var(--app-bg);
  border-radius: 12px;
  box-shadow: var(--shadow-win);
  border: 1px solid var(--app-border);
  overflow: hidden;
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang TC", "Noto Sans TC", system-ui, sans-serif;
  font-size: 13.5px;
  color: var(--app-ink);
}
.mock-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 8px 0 12px;
}
.traffic { display: flex; gap: 8px; }
.tl { width: 12px; height: 12px; border-radius: 50%; }
.tl.r { background: #ff5f57; }
.tl.y { background: #febc2e; }
.tl.g { background: #28c840; }
.mock-actions { display: flex; gap: 2px; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  color: var(--app-ink-secondary);
}
.icon-btn.active { background: var(--app-primary-soft); color: #5b21b6; }
.ic { width: 15px; height: 15px; display: block; }
.mock-pane-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 30px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--app-ink);
}
.mock-pane-header .pin-ico { width: 12px; height: 12px; color: var(--app-accent); }
.mock-today-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 650;
  color: var(--app-ink-secondary);
  border: 1px solid var(--app-border);
  border-radius: 4px;
  padding: 2px 8px;
  background: var(--app-bg);
}
.mock-body { padding: 2px 16px 14px; }
.mock-task { display: flex; align-items: center; gap: 9px; padding: 4.5px 0; }
.cb {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--app-border-strong);
  border-radius: 4px;
  background: var(--app-bg);
  color: #fff;
}
.cb .ic { width: 10px; height: 10px; }
.cb.checked { background: var(--app-primary); border-color: var(--app-primary); }
.mock-task.done { color: var(--app-muted); text-decoration: line-through; }
.mock-divider {
  position: relative;
  height: 8px;
  background: var(--app-surface);
  border-top: 1px solid var(--app-border);
  border-bottom: 1px solid var(--app-border);
}
.mock-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: var(--app-border-strong);
  transform: translate(-50%, -50%);
}
.mock-line { padding: 3.5px 0; }
.mock-line .dash { color: var(--app-muted); margin-right: 7px; }
.wiki { color: #6d28d9; font-weight: 600; }
.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: #6d28d9;
  margin-left: 3px;
  vertical-align: text-bottom;
}
@media (prefers-reduced-motion: no-preference) {
  .caret { animation: blink 1.1s steps(1) infinite; }
}
@keyframes blink { 50% { opacity: 0; } }
/* F1 小視窗沿用的紅黃綠點 */
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: #ff5f57; }
.dot.y { background: #febc2e; }
.dot.g { background: #28c840; }

/* ==========================================================
   痛點
   ========================================================== */
.pain {
  background: var(--white);
  padding: clamp(90px, 14vh, 160px) 0;
}
.pain-title {
  font-size: clamp(32px, 5.4vw, 58px);
  font-weight: 900;
  line-height: 1.35;
}
.pain-title em {
  font-style: normal;
  background: linear-gradient(transparent 58%, var(--yellow) 58%);
}
.forget-list {
  list-style: none;
  margin: 48px 0 0;
  max-width: 520px;
}
.forget-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 4px;
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 700;
}
.forget-text {
  position: relative;
  display: inline-block;
  --strike: 0;
}
.forget-text::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px;
  top: 54%;
  height: 3px;
  background: var(--ink);
  transform: scaleX(var(--strike));
  transform-origin: left center;
}
.pain-punch {
  margin-top: 56px;
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 700;
  line-height: 1.8;
}

/* ==========================================================
   原因
   ========================================================== */
.why { padding: clamp(90px, 14vh, 160px) 0; }
.why-lead {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 900;
  color: var(--muted);
  margin-bottom: 70px;
}
.why-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(80px, 12vh, 130px);
}
.why-block:last-child { margin-bottom: 0; }
.why-block.reverse .why-copy { order: 2; }
.why-block.reverse .why-demo { order: 1; }
.big-num {
  display: block;
  font-size: clamp(60px, 8vw, 96px);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px #d8d2bf;
  margin-bottom: 10px;
}
.why-copy h3 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 900;
  margin-bottom: 18px;
}
.why-copy p {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 44ch;
}

.why-demo {
  position: relative;
  height: 360px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

/* demo 01：被壓在下面的便利貼 */
.demo-bury .bury-note {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translateX(-50%) rotate(-2deg);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: linear-gradient(160deg, var(--yellow-soft), var(--yellow));
  font-weight: 700;
  padding: 18px 22px 24px;
  border-radius: 4px;
  box-shadow: var(--shadow-note);
  z-index: 1;
}
.bury-note .note-ico { width: 16px; height: 16px; flex: 0 0 auto; }
.bury-page {
  position: absolute;
  left: 50%;
  width: 78%;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(23, 21, 15, 0.12);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.bury-page.p1 { top: 34%; transform: translateX(-50%) rotate(-2.5deg); z-index: 2; }
.bury-page.p2 { top: 44%; transform: translateX(-52%) rotate(1.5deg);  z-index: 3; }
.bury-page.p3 { top: 54%; transform: translateX(-48%) rotate(-1deg);  z-index: 4; }
.bury-page.p4 { top: 64%; transform: translateX(-50%) rotate(2deg);   z-index: 5; }

/* demo 02：切換軟體，靈感熄滅 */
.demo-heavy .heavy-bulb {
  position: absolute;
  top: 26px;
  right: 34px;
  width: 54px;
  color: var(--ink);
  z-index: 4;
}
.demo-heavy .heavy-bulb svg { width: 100%; height: auto; display: block; }
.heavy-win {
  position: absolute;
  left: 8%;
  width: 62%;
  padding: 46px 20px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(23, 21, 15, 0.14);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.heavy-win::before {
  content: "● ● ●";
  position: absolute;
  top: 12px; left: 16px;
  font-size: 9px;
  letter-spacing: 3px;
  color: #d9d3c2;
}
.heavy-win.w1 { top: 16%; z-index: 1; }
.heavy-win.w2 { top: 30%; left: 16%; z-index: 2; }
.heavy-win.w3 { top: 44%; left: 24%; z-index: 3; }
.spinner {
  display: inline-block;
  width: 15px; height: 15px;
  border: 2.5px solid var(--line);
  border-top-color: var(--muted);
  border-radius: 50%;
  margin-right: 9px;
  vertical-align: -2px;
}
@media (prefers-reduced-motion: no-preference) {
  .spinner { animation: spin 0.9s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================
   解法：便利貼
   ========================================================== */
.solution {
  background:
    radial-gradient(1200px 600px at 50% 0%, rgba(255, 216, 77, 0.22), transparent 70%),
    var(--paper);
  padding: clamp(110px, 16vh, 190px) 0;
}
.sol-lead {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--ink-soft);
}
.sol-note {
  position: relative;
  display: inline-block;
  margin: 44px auto 40px;
  padding: clamp(40px, 6vw, 64px) clamp(48px, 8vw, 96px) clamp(56px, 8vw, 88px);
  font-size: clamp(56px, 10vw, 120px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  background: linear-gradient(165deg, var(--yellow-soft) 0%, var(--yellow) 78%);
  border-radius: 6px;
  box-shadow: 0 30px 70px rgba(232, 184, 32, 0.45), 0 6px 18px rgba(23, 21, 15, 0.12);
  transform: rotate(-2deg);
}
.sol-note::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 54px; height: 54px;
  background: linear-gradient(135deg, transparent 50%, rgba(23, 21, 15, 0.14) 50%);
  border-radius: 0 0 6px 0;
}
.tape {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 120px;
  height: 34px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(23, 21, 15, 0.05);
  box-shadow: 0 2px 6px rgba(23, 21, 15, 0.08);
}
.sol-sub {
  font-size: clamp(18px, 2.5vw, 25px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.sol-but { margin-top: 72px; }
.sol-but-lead {
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 700;
  color: var(--ink-soft);
}

/* 市面上的便利貼 App：三張灰白小視窗（黃＝理想的便利貼，灰＝做壞的 App） */
.flaw-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 36px 0 0;
  text-align: left;
}
.flaw-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 46px 20px 24px;
  box-shadow: 0 16px 34px rgba(23, 21, 15, 0.08);
}
.flaw-card:nth-child(1) { transform: rotate(-1.2deg); }
.flaw-card:nth-child(2) { transform: rotate(0.8deg) translateY(6px); }
.flaw-card:nth-child(3) { transform: rotate(-0.6deg); }
.flaw-dots {
  position: absolute;
  top: 15px;
  left: 18px;
  font-size: 9px;
  letter-spacing: 3px;
  line-height: 1;
  color: #d9d3c2;
}
.flaw-x {
  position: absolute;
  top: 11px;
  right: 14px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  color: #ff5f57;
}
.flaw-title {
  display: inline-block;
  font-size: 17.5px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 10px;
  /* 褪色的螢光筆：對比全頁的黃色 mark */
  background: linear-gradient(transparent 62%, #e9e2cb 62%);
  padding: 0 2px;
}
.flaw-card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}
.sol-turn {
  margin-top: 54px;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 900;
  color: var(--ink);
}

/* ==========================================================
   機制區塊
   ========================================================== */
.features { background: var(--white); padding: clamp(90px, 14vh, 150px) 0 40px; }
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: clamp(50px, 8vh, 90px) 0;
  border-bottom: 1px solid var(--line);
}
.feature:last-child { border-bottom: none; }
.feature.reverse .feature-copy { order: 2; }
.feature.reverse .feature-demo { order: 1; }
.feature-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
}
.feature-copy h3 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 18px;
}
.feature-copy p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 46ch;
}
.feature-demo {
  position: relative;
  height: 360px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

/* F1：快捷鍵喚出 */
.keycap-row {
  position: absolute;
  top: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.keycap {
  display: inline-block;
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
  padding: 12px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom: 4px solid #d9d3c2;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(23, 21, 15, 0.1);
}
.keycap-plus { color: var(--muted); font-weight: 700; }
.summon-win {
  position: absolute;
  left: 50%;
  bottom: 52px;
  transform: translateX(-50%);
  width: 74%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-win);
  overflow: hidden;
}
.summon-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #f4f1e8;
  border-bottom: 1px solid var(--line);
}
.summon-body { padding: 20px 18px 26px; font-size: 15px; color: var(--muted); }
.speed-badge {
  position: absolute;
  right: 26px;
  bottom: 150px;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  z-index: 3;
}

/* F2：雙層 */
.demo-layers { display: grid; place-items: center; }
.mock-sm { width: min(400px, 86%); margin: 0; font-size: 13px; }
.mock-sm .mock-body:last-of-type { min-height: 132px; }

/* F3：WikiLink */
.demo-wiki { padding: 56px 34px; }
.wiki-line {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 10px 24px rgba(23, 21, 15, 0.07);
}
.wiki-target { position: relative; display: inline-block; margin-left: 4px; }
.wiki-hl {
  position: absolute;
  inset: -2px -4px;
  background: var(--yellow);
  border-radius: 4px;
  transform: scaleX(1);
  transform-origin: left center;
  z-index: 0;
}
.wiki-word { position: relative; z-index: 1; font-weight: 700; }
.wiki-chip {
  display: inline-block;
  margin-top: 34px;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--purple);
  background: rgba(124, 92, 255, 0.1);
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: 999px;
  padding: 9px 18px;
}
.wiki-card {
  position: absolute;
  right: 30px;
  bottom: 42px;
  width: 210px;
  background: var(--white);
  border: 1px solid rgba(124, 92, 255, 0.4);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 16px 36px rgba(124, 92, 255, 0.18);
}
.wiki-card-head { font-family: var(--mono); font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.wiki-card-line { font-size: 12.5px; color: var(--purple); font-weight: 500; }

/* F4：直寫 Obsidian（資料夾＋官方 logo） */
.demo-vault { display: grid; place-items: center; }
.vault-file {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 14.5px;
  font-weight: 700;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 10px 24px rgba(23, 21, 15, 0.1);
  z-index: 1;
  white-space: nowrap;
}
.vault-file .ic { width: 16px; height: 16px; color: #66666d; flex: 0 0 auto; }
.vault-dest {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  text-align: center;
  z-index: 2;
}
.vault-group {
  position: relative;
  display: block;
  width: 118px;
  margin: 0 auto;
  will-change: transform;
}
.vault-folder {
  display: block;
  width: 100%;
  filter: drop-shadow(0 16px 26px rgba(61, 151, 242, 0.35));
}
.vault-logo {
  position: absolute;
  left: 50%;
  margin-left: -33px;
  bottom: -2px;
  width: 66px;
  height: 66px;
  filter: drop-shadow(0 8px 16px rgba(108, 49, 227, 0.5));
}
.vault-label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.save-badge {
  position: absolute;
  right: 34px;
  top: 120px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #123d21;
  color: #7dedaa;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  z-index: 3;
}
.save-badge .ic { width: 12px; height: 12px; }

/* ==========================================================
   購買
   ========================================================== */
.buy {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(100px, 15vh, 170px) 0;
}
.buy-title {
  font-size: clamp(34px, 5.6vw, 60px);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 60px;
}
.price-card {
  position: relative;
  display: inline-block;
  text-align: center;
  width: min(420px, 100%);
  padding: 52px 40px 44px;
  color: var(--ink);
  background: linear-gradient(165deg, var(--yellow-soft) 0%, var(--yellow) 80%);
  border-radius: 8px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(-1.5deg);
}
.price-card::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, transparent 50%, rgba(23, 21, 15, 0.14) 50%);
  border-radius: 0 0 8px 0;
}
.price-app { font-size: 30px; font-weight: 900; letter-spacing: 0.02em; }
.price-plan { font-size: 14.5px; font-weight: 700; color: var(--ink-soft); margin-top: 6px; }
.price-num { font-size: 58px; font-weight: 900; margin: 20px 0 6px; }
.price-list {
  list-style: none;
  margin: 18px 0 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}
.price-list li { padding: 5px 0; }
.price-list li::before { content: "✓ "; font-weight: 900; color: var(--ink); }
.btn-buy {
  display: block;
  background: var(--ink);
  color: var(--yellow);
  font-size: 19px;
  font-weight: 900;
  padding: 18px 20px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 10px 24px rgba(23, 21, 15, 0.3);
}
.btn-buy:hover { transform: translateY(-2px); }
.btn-buy:active { transform: scale(0.98); }
.price-card > .btn-ghost { display: block; margin-bottom: 12px; }
.price-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-soft); }
.price-error { margin-top: 12px; font-size: 13px; font-weight: 700; color: #7a1f1f; }

/* FAQ */
.faq {
  max-width: 560px;
  margin: 80px auto 0;
  text-align: left;
}
.faq details {
  border-bottom: 1px solid rgba(247, 244, 236, 0.18);
  padding: 20px 4px;
}
.faq summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
  color: var(--yellow);
  font-size: 22px;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(247, 244, 236, 0.72);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(247, 244, 236, 0.5);
  text-align: center;
  font-size: 13.5px;
  padding: 30px 20px 46px;
  border-top: 1px solid rgba(247, 244, 236, 0.1);
}
.footer-dot { margin: 0 6px; }

/* ==========================================================
   響應式
   ========================================================== */
@media (max-width: 880px) {
  .why-block,
  .feature { grid-template-columns: 1fr; gap: 34px; }
  .why-block.reverse .why-copy,
  .feature.reverse .feature-copy { order: 1; }
  .why-block.reverse .why-demo,
  .feature.reverse .feature-demo { order: 2; }
  .why-demo, .feature-demo { height: 320px; }
}

@media (max-width: 720px) {
  .flaw-list {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .flaw-card:nth-child(2) { transform: rotate(0.8deg); }
}

@media (max-width: 640px) {
  .mini-note { width: 104px; font-size: 12px; }
  .mini-note.n3, .mini-note.n4 { display: none; }
  .hero { padding-top: 72px; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .wiki-card { position: static; margin-top: 26px; width: auto; }
  .speed-badge { bottom: auto; top: 20px; right: 20px; }
  .vault-group { width: 96px; }
  .vault-logo { width: 54px; height: 54px; margin-left: -27px; bottom: -2px; }
  .price-card { padding: 44px 26px 38px; }
}
