/* ==========================================================
   Tephra 銷售頁 — 火山晶體視覺系統
   色彩：深紫黑 × 熔岩橘紅 × 晶體紫
   ========================================================== */

:root {
  color-scheme: dark;
  --paper: oklch(13% 0.025 300);
  --white: oklch(18% 0.035 310);
  --surface-high: oklch(23% 0.045 318);
  --ink: oklch(96% 0.012 320);
  --ink-soft: oklch(84% 0.025 315);
  --muted: oklch(70% 0.03 310);
  --line: oklch(31% 0.05 315);
  --yellow: oklch(72% 0.18 38);
  --yellow-soft: oklch(82% 0.13 55);
  --yellow-deep: oklch(61% 0.21 22);
  --purple: oklch(75% 0.17 320);
  --on-flame: oklch(16% 0.04 310);
  --radius: 18px;
  --shadow-note: 0 18px 46px oklch(6% 0.015 300 / 0.34), 0 0 0 1px oklch(78% 0.13 25 / 0.18);
  --shadow-win: 0 34px 90px oklch(5% 0.02 300 / 0.62), 0 0 0 1px oklch(64% 0.09 315 / 0.14);
  --font: "Noto Sans TC", "PingFang TC", "Heiti TC", system-ui, sans-serif;
  --display: "Bricolage Grotesque", "Noto Sans TC", "PingFang 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:
    radial-gradient(circle at 14% 5%, oklch(36% 0.13 322 / 0.22), transparent 30rem),
    var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

mark {
  background: linear-gradient(transparent 62%, oklch(61% 0.21 22 / 0.68) 62%);
  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;
  border: 1px solid transparent;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { cursor: wait; opacity: 0.68; }
.btn-primary {
  background: linear-gradient(135deg, var(--yellow-soft), var(--yellow) 52%, var(--yellow-deep));
  color: var(--on-flame);
  box-shadow: 0 10px 28px oklch(61% 0.21 22 / 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 38px oklch(61% 0.21 22 / 0.4); }
.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}
.btn-ghost:hover { background: var(--surface-high); border-color: var(--purple); }
.btn-sm { font-size: 14px; padding: 10px 20px; }

:where(a, button, summary):focus-visible {
  outline: 3px solid var(--yellow-soft);
  outline-offset: 4px;
}

/* ---------- 置頂列 ---------- */
.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: oklch(15% 0.035 305 / 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
}
.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.topbar-brand img { width: 34px; height: auto; border-radius: 9px; }
.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;
  background:
    radial-gradient(circle at 82% 18%, oklch(47% 0.17 25 / 0.15), transparent 26rem),
    radial-gradient(circle at 16% 26%, oklch(43% 0.15 325 / 0.18), transparent 30rem);
}
.hero::after {
  content: "";
  position: absolute;
  top: 9%;
  right: -4.5rem;
  width: 15rem;
  height: 27rem;
  background: linear-gradient(155deg, var(--yellow-soft), var(--yellow-deep));
  clip-path: polygon(72% 0, 100% 12%, 42% 100%, 0 72%);
  opacity: 0.07;
  transform: rotate(12deg);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.hero-logo {
  width: 84px;
  height: auto;
  border-radius: 23px;
  box-shadow: 0 18px 50px oklch(6% 0.02 300 / 0.55), 0 0 40px oklch(65% 0.18 20 / 0.2);
}
.hero-wordmark {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.025em;
}
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--surface-high);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 34px;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(40px, 7.2vw, 84px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.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 68%, oklch(61% 0.21 22 / 0.72) 68%);
  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-appname, .topbar-name, .price-app, .price-num { font-family: var(--display); }
.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(--on-flame);
  background: linear-gradient(160deg, var(--yellow-soft), var(--yellow));
  border-radius: 8px;
  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%, oklch(16% 0.04 310 / 0.16) 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, oklch(79% 0.13 350), oklch(68% 0.19 15)); }
.mini-note.n3 { bottom: 30%; left: 9%; transform: rotate(4deg); background: linear-gradient(160deg, oklch(80% 0.1 315), oklch(67% 0.18 305)); }
.mini-note.n4 { bottom: 26%; right: 6%; transform: rotate(-5deg); }

/* ---------- App 視窗 mock（token 對齊 src/App.css 真實 App） ---------- */
.mock {
  --app-bg: #1e1e1f;
  --app-surface: #252326;
  --app-ink: #ece9ee;
  --app-ink-secondary: #c1bac6;
  --app-muted: #918a96;
  --app-border: #3d3940;
  --app-border-strong: #65606a;
  --app-primary: #9b76ff;
  --app-primary-soft: #35264d;
  --app-accent: #c99cff;
  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: #d4b8ff; }
.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: #c9a5ff; font-weight: 600; }
.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: #c9a5ff;
  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: oklch(16% 0.03 308);
  padding: clamp(90px, 14vh, 160px) 0;
}
.pain-title {
  font-family: var(--display);
  font-size: clamp(32px, 5.4vw, 58px);
  font-weight: 900;
  line-height: 1.35;
  text-wrap: balance;
}
.pain-title em {
  font-style: normal;
  background: linear-gradient(transparent 64%, oklch(61% 0.21 22 / 0.72) 64%);
}
.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(--yellow);
  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;
  background:
    radial-gradient(circle at 8% 52%, oklch(41% 0.13 322 / 0.12), transparent 28rem),
    var(--paper);
}
.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 oklch(58% 0.12 320);
  margin-bottom: 10px;
}
.why-copy h3 {
  font-family: var(--display);
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 900;
  margin-bottom: 18px;
  text-wrap: balance;
}
.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(--surface-high);
  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));
  color: var(--on-flame);
  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 oklch(5% 0.02 300 / 0.36);
  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 oklch(5% 0.02 300 / 0.42);
  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: var(--line);
}
.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(900px 520px at 50% 0%, oklch(61% 0.21 22 / 0.18), transparent 72%),
    oklch(15% 0.032 305);
  padding: clamp(110px, 16vh, 190px) 0;
}
.sol-lead {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--ink-soft);
}
.sol-note {
  font-family: var(--display);
  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;
  color: var(--on-flame);
  box-shadow: 0 30px 70px oklch(61% 0.21 22 / 0.3), 0 6px 18px oklch(5% 0.02 300 / 0.44);
  transform: rotate(-2deg);
}
.sol-note::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 54px; height: 54px;
  background: linear-gradient(135deg, transparent 50%, oklch(16% 0.04 310 / 0.17) 50%);
  border-radius: 0 0 6px 0;
}
.tape {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 120px;
  height: 34px;
  background: oklch(94% 0.025 55 / 0.5);
  border: 1px solid oklch(98% 0.01 60 / 0.22);
  box-shadow: 0 2px 8px oklch(5% 0.02 300 / 0.28);
}
.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 oklch(5% 0.02 300 / 0.28);
}
.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: var(--line);
}
.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 66%, oklch(49% 0.11 322 / 0.65) 66%);
  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: oklch(16% 0.03 308); 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(--yellow-soft);
  background: oklch(30% 0.1 22);
  border: 1px solid oklch(52% 0.16 24);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
}
.feature-copy h3 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 18px;
  text-wrap: balance;
}
.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(--surface-high);
  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-color: oklch(38% 0.055 315);
  border-radius: 12px;
  box-shadow: inset 0 -3px 0 oklch(31% 0.05 315), 0 8px 20px oklch(5% 0.02 300 / 0.34);
}
.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: var(--surface-high);
  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(--yellow);
  color: var(--on-flame);
  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 12px 30px oklch(5% 0.02 300 / 0.28);
}
.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; color: var(--on-flame); 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: oklch(32% 0.1 320);
  border: 1px solid oklch(58% 0.16 320);
  border-radius: 999px;
  padding: 9px 18px;
}
.wiki-card {
  position: absolute;
  right: 30px;
  bottom: 42px;
  width: 210px;
  background: var(--white);
  border: 1px solid oklch(58% 0.16 320);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 16px 36px oklch(46% 0.15 320 / 0.24);
}
.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 12px 30px oklch(5% 0.02 300 / 0.32);
  z-index: 1;
  white-space: nowrap;
}
.vault-file .ic { width: 16px; height: 16px; color: var(--muted); flex: 0 0 auto; }
.vault-dest {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 170px;
  text-align: center;
  z-index: 2;
}
.vault-group {
  position: relative;
  display: block;
  width: 160px;
  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;
  /* 置中在資料夾身體內（body y=22..84/92 × 160px 寬 → 上下各留 ~8px） */
  bottom: 19px;
  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:
    radial-gradient(circle at 50% 32%, oklch(46% 0.16 322 / 0.2), transparent 34rem),
    oklch(11% 0.025 300);
  color: var(--ink);
  padding: clamp(100px, 15vh, 170px) 0;
}
.buy-title {
  font-family: var(--display);
  font-size: clamp(34px, 5.6vw, 60px);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 60px;
  text-wrap: balance;
}
.price-card {
  position: relative;
  display: inline-block;
  text-align: center;
  width: min(420px, 100%);
  padding: 52px 40px 44px;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -10%, oklch(53% 0.18 22 / 0.26), transparent 16rem),
    var(--white);
  border: 1px solid oklch(51% 0.13 320);
  border-radius: 22px;
  box-shadow: 0 34px 90px oklch(5% 0.02 300 / 0.58), 0 0 55px oklch(54% 0.16 320 / 0.12);
}
.price-card::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, transparent 50%, oklch(49% 0.18 22 / 0.16) 50%);
  border-radius: 0 0 22px 0;
}
.price-logo {
  display: block;
  width: 76px;
  height: auto;
  margin: -4px auto 14px;
  border-radius: 20px;
  box-shadow: 0 16px 34px oklch(5% 0.02 300 / 0.48);
}
.price-app { font-size: 30px; font-weight: 900; letter-spacing: 0.02em; }
.price-plan { font-size: 14.5px; font-weight: 700; color: var(--muted); margin-top: 6px; }
.price-num { font-size: 58px; font-weight: 900; color: var(--yellow-soft); 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(--yellow); }
.btn-buy {
  display: block;
  width: 100%;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  background: linear-gradient(135deg, var(--yellow-soft), var(--yellow) 52%, var(--yellow-deep));
  color: var(--on-flame);
  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 12px 30px oklch(61% 0.21 22 / 0.26);
}
.btn-buy:hover { transform: translateY(-2px); }
.btn-buy:active { transform: scale(0.98); }
.price-card > .btn-ghost { display: block; margin-bottom: 12px; }
.price-card > .btn-ghost { background: var(--surface-high); }
.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: oklch(79% 0.15 24); }

/* FAQ */
.faq {
  max-width: 560px;
  margin: 80px auto 0;
  text-align: left;
}
.faq details {
  border-bottom: 1px solid var(--line);
  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: var(--muted);
}

/* ---------- Footer ---------- */
.footer {
  background: oklch(11% 0.025 300);
  color: var(--muted);
  text-align: center;
  font-size: 13.5px;
  padding: 30px 20px 46px;
  border-top: 1px solid var(--line);
}
.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-brand { display: grid; justify-items: center; gap: 8px; }
  .hero-logo { width: 72px; height: auto; border-radius: 20px; }
  .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; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
