/* ==========================================================================
   PureHealthGuide — shared styles
   ========================================================================== */

:root {
  --bg: #070707;
  --bg-2: #0d0d0d;
  --card: #111111;
  --card-2: #161616;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --text: #f5f5f3;
  --dim: #a3a39e;
  --mute: #6b6b66;
  --red: #d42e22;
  --red-glow: #ff3b30;
  --amber: #ff8a3d;
  --green: #4ade80;
  --gold: #ffb800;
  --radius: 16px;
  --display: 'Archivo Black', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* film grain */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--red); color: #fff; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.grad {
  background: linear-gradient(100deg, var(--red-glow) 0%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 200;
  background: linear-gradient(90deg, var(--red), var(--amber));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,7,7,0.6);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(7,7,7,0.82); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { font-family: var(--display); font-size: 19px; letter-spacing: -0.02em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo-text span { color: var(--red-glow); }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--red-glow), var(--red) 55%, #7a120c);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 6px 18px -6px rgba(255,59,48,.7);
  display: grid; place-items: center; font-size: 14px; color: #fff;
}
.nav-links { display: flex; gap: 32px; font-size: 14px; color: var(--dim); }
.nav-links a { text-decoration: none; transition: color .2s; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 420px) {
  .logo { font-size: 16px; gap: 8px; }
  .logo-mark { width: 24px; height: 24px; font-size: 12px; }
  .nav .btn-sm { padding: 9px 14px; font-size: 13px; }
  .nav .btn-sm .arrow { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; font-size: 15px; font-weight: 600; border-radius: 999px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  font-family: inherit; line-height: 1.2; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--red-glow), var(--red));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(255,59,48,.75), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(255,59,48,.9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn-primary:hover::after { left: 130%; }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,0.06); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Section basics ---------- */
section { padding: 110px 0; position: relative; }
@media (max-width: 700px) { section { padding: 76px 0; } }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--red-glow); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; margin-bottom: 18px;
}
.kicker::before { content: ''; width: 22px; height: 1px; background: currentColor; }
h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4.6vw, 54px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-weight: 400;
}
h2 .serif { font-size: 1.08em; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--dim); font-size: 17px; margin-top: 18px; }

/* ---------- Reveal on scroll (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Aurora background ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora {
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.aurora i {
  position: absolute; border-radius: 50%; opacity: .6;
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 1000px; height: 1000px; background: radial-gradient(circle, rgba(200,41,31,.9), rgba(200,41,31,0) 62%); top: -480px; left: -380px; }
.aurora i:nth-child(2) { width: 900px; height: 900px; background: radial-gradient(circle, rgba(255,122,47,.6), rgba(255,122,47,0) 62%); top: -200px; right: -420px; opacity: .55; animation-duration: 22s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 800px; height: 800px; background: radial-gradient(circle, rgba(122,31,200,.5), rgba(122,31,200,0) 62%); bottom: -480px; left: 25%; opacity: .5; animation-duration: 26s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 80px) scale(.95); }
}
.gridlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}

/* ---------- Pills / chips ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-2);
  font-size: 13px; color: var(--dim); backdrop-filter: blur(8px);
}
.pill b { color: var(--text); font-weight: 600; }
.pill .tag { background: var(--red); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; }
.live-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); }
  70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* ==========================================================================
   Book cover (pure CSS)
   ========================================================================== */
.cover {
  --c1: #d42e22; --c2: #5a0d08; --ink: #fff; --accent: #ffd2c4;
  position: relative; width: 100%; aspect-ratio: 3 / 4;
  border-radius: 3px 10px 10px 3px;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(255,255,255,.22), transparent 55%),
    linear-gradient(155deg, var(--c1) 0%, var(--c2) 100%);
  color: var(--ink);
  padding: 11% 10% 10% 15%;
  display: flex; flex-direction: column;
  overflow: hidden;
  container-type: inline-size;
  box-shadow:
    inset 4px 0 6px -2px rgba(255,255,255,.18),
    inset 14px 0 18px -10px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.07),
    0 40px 70px -30px rgba(0,0,0,.9);
}
.cover::before { /* spine crease */
  content: ''; position: absolute; top: 0; bottom: 0; left: 6.5%; width: 1.5%;
  background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.12), rgba(0,0,0,.2));
}
.cover::after { /* gloss */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 70%, rgba(255,255,255,.06) 100%);
}
.cover-brand { font-size: 5.2cqw; font-weight: 800; letter-spacing: .22em; opacity: .85; text-transform: uppercase; }
.cover-rule { width: 22%; height: 1.4cqw; min-height: 2px; background: var(--accent); margin: 7cqw 0 6cqw; border-radius: 2px; }
.cover-title { font-family: var(--display); font-size: 12.5cqw; line-height: .95; letter-spacing: -0.03em; text-wrap: balance; }
.cover-title.small { font-size: 9.6cqw; }
.cover-sub { font-size: 5cqw; margin-top: 5cqw; opacity: .8; line-height: 1.35; max-width: 90%; }
.cover-glyph {
  position: absolute; right: -6%; bottom: -5%;
  font-size: 52cqw; line-height: 1; opacity: .9;
  filter: drop-shadow(0 6cqw 8cqw rgba(0,0,0,.45));
  transform: rotate(-12deg);
}
.cover-foot { margin-top: auto; font-size: 4.4cqw; font-weight: 700; letter-spacing: .14em; opacity: .7; text-transform: uppercase; position: relative; z-index: 1; }

/* per-book palettes */
.c-never-age-again { --c1: #e2372a; --c2: #4a0a06; --accent: #ffc7b8; }
.c-reset-method   { --c1: #1fb57a; --c2: #053a2b; --accent: #c7ffe6; }
.c-kitchen-magic  { --c1: #ff9b2f; --c2: #6b2405; --accent: #fff0c7; }
.c-blend-bible    { --c1: #ff4f9a; --c2: #4b0b45; --accent: #ffd0ea; }
.c-fat-loss-reset { --c1: #ffd23a; --c2: #b8360a; --accent: #fff; --ink: #1a0b03; }
.c-pest-free-home { --c1: #3d8bff; --c2: #0a1f52; --accent: #cfe2ff; }

/* 3D book wrapper */
.book3d { perspective: 1600px; }
.book3d .cover {
  transform: rotateY(-22deg) rotateX(6deg);
  transition: transform .8s var(--ease);
  box-shadow:
    inset 4px 0 6px -2px rgba(255,255,255,.18),
    inset 14px 0 18px -10px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.07),
    5px 3px 0 -1px #efebe2, 7px 5px 0 -1px #c9c3b6, 10px 7px 0 -1px #efebe2, 12px 9px 0 -1px #b9b3a6,
    50px 60px 80px -30px rgba(0,0,0,.95);
}
.book3d:hover .cover { transform: rotateY(-8deg) rotateX(2deg); }
.floaty { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.cover-glow { position: absolute; inset: 10% 5%; filter: blur(70px); opacity: .55; z-index: -1; border-radius: 50%; background: linear-gradient(155deg, var(--c1), var(--c2)); }

/* ==========================================================================
   Home — hero
   ========================================================================== */
.hero-home { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero-home .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(46px, 5.6vw, 84px);
  line-height: .92; letter-spacing: -0.045em; margin: 26px 0 26px;
}
.hero-title .serif { font-size: 1.1em; letter-spacing: -0.02em; }
.hero-sub { font-size: clamp(17px, 1.6vw, 19px); color: var(--dim); max-width: 48ch; margin-bottom: 38px; }
.hero-sub b { color: var(--text); font-weight: 500; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-meta div { font-size: 13px; color: var(--mute); line-height: 1.4; }
.hero-meta strong { display: block; font-family: var(--display); color: var(--text); font-size: 26px; font-weight: 400; letter-spacing: -0.02em; }

.fan { position: relative; height: 560px; perspective: 1800px; }
.fan a { text-decoration: none; }
.fan a {
  position: absolute; left: 50%; top: 50%; width: 230px;
  transform: translate(calc(-50% + var(--x) * 100%), calc(-50% + var(--y) * 100%)) rotate(var(--r));
  transition: transform .7s var(--ease), z-index 0s;
  z-index: var(--z);
}
.fan a .cover { transition: transform .5s var(--ease), box-shadow .5s; }
.fan:hover a { transform: translate(calc(-50% + var(--x) * 135%), calc(-50% + var(--y) * 100%)) rotate(calc(var(--r) * 1.3)); }
.fan a:hover { z-index: 10; }
.fan a:hover .cover { transform: translateY(-24px) scale(1.06); }
@media (max-width: 960px) {
  .hero-home .wrap { grid-template-columns: 1fr; }
  .fan { height: 420px; order: -1; margin-top: -10px; }
  .fan a { width: 170px; }
}
@media (max-width: 520px) {
  .fan { height: 330px; }
  .fan a { width: 128px; }
}

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 22px 0; position: relative; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--display); font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.02em; white-space: nowrap; padding: 0 28px; color: var(--text); display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: '✦'; color: var(--red); font-size: .7em; }
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.45); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Series grid ---------- */
.series-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .series-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .series-grid { grid-template-columns: 1fr; } }

.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,80,60,.14), transparent 45%);
}
.spot:hover::before { opacity: 1; }

.book-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  transition: border-color .3s, transform .5s var(--ease), box-shadow .5s;
  transform-style: preserve-3d;
}
.book-card:hover { border-color: rgba(255,90,70,.45); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,90,70,.15); }
.book-card .stage {
  position: relative; padding: 38px 0 30px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(80% 70% at 50% 30%, color-mix(in srgb, var(--c1) 30%, transparent), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.book-card .stage .book3d { width: 46%; }
.book-card:hover .stage .cover { transform: rotateY(-6deg) rotateX(2deg) translateY(-6px); }
.book-card .flag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: 10px; font-weight: 800; letter-spacing: .12em;
  padding: 5px 10px; border-radius: 999px; background: var(--red); color: #fff;
  box-shadow: 0 6px 18px -6px rgba(255,59,48,.8);
}
.book-card .off {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  background: rgba(0,0,0,.45); border: 1px solid var(--line-2); color: var(--text); backdrop-filter: blur(6px);
}
.book-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.book-card .readers { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--green); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.book-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 8px; }
.book-card p { font-size: 14px; color: var(--dim); }
.book-card .buy-row { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; }
.book-card .price { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; }
.book-card .go {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.book-card:hover .go { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }

/* ---------- Mission ---------- */
.mission { text-align: center; overflow: hidden; }
.mission .wrap { max-width: 900px; position: relative; z-index: 1; }
.mission blockquote {
  font-family: var(--display); font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1.12;
}
.mission blockquote .dim { color: #5c5c58; }
.mission .who { margin-top: 30px; color: var(--dim); font-size: 14px; display: inline-flex; gap: 12px; align-items: center; }

/* ---------- Pillars ---------- */
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar {
  border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px 32px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  transition: border-color .3s, transform .4s var(--ease);
}
.pillar:hover { border-color: rgba(255,90,70,.4); transform: translateY(-4px); }
.pillar .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 26px;
  background: linear-gradient(135deg, rgba(255,59,48,.22), rgba(255,138,61,.08));
  border: 1px solid rgba(255,90,70,.3);
}
.pillar .n { font-family: var(--display); font-size: 13px; color: var(--mute); float: right; }
.pillar h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pillar p { font-size: 14px; color: var(--dim); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: clamp(17px, 2vw, 20px); font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); flex-shrink: 0; position: relative; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%,-50%); }
.faq summary .pm::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .3s; }
.faq details[open] summary .pm { background: var(--red); border-color: var(--red); transform: rotate(180deg); }
.faq details[open] summary .pm::after { transform: translate(-50%,-50%) rotate(0); }
.faq details p { color: var(--dim); padding: 0 56px 26px 0; font-size: 16px; }

/* ---------- Final CTA ---------- */
.final { padding: 40px 0 120px; }
.final-card {
  position: relative; overflow: hidden; border-radius: 32px; text-align: center;
  padding: clamp(60px, 9vw, 110px) 28px;
  background: radial-gradient(120% 100% at 50% 0%, #2a0906 0%, #0d0d0d 60%);
  border: 1px solid rgba(255,90,70,.25);
}
.final-card .wrap { position: relative; z-index: 1; }
.final-card h2 { max-width: 820px; margin: 0 auto 22px; font-size: clamp(34px, 5.4vw, 66px); }
.final-card p { color: var(--dim); font-size: 18px; margin: 0 auto 40px; max-width: 54ch; }
.final-card .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 70px 0 40px; background: var(--bg-2); position: relative; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; margin-bottom: 44px; }
.footer-tagline p { color: var(--dim); font-size: 14px; margin-top: 12px; max-width: 34ch; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-links h5 { font-size: 12px; letter-spacing: .14em; color: var(--mute); margin-bottom: 14px; font-weight: 700; }
.footer-links a { display: block; color: var(--dim); text-decoration: none; font-size: 14px; padding: 4px 0; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2);
  display: grid; place-items: center; text-decoration: none; color: var(--dim); font-size: 14px;
  transition: all .25s;
}
.socials a:hover { border-color: var(--red); color: #fff; background: rgba(255,59,48,.12); transform: translateY(-2px); }
.disclaimer { border-top: 1px solid var(--line); padding-top: 28px; font-size: 12px; line-height: 1.75; color: var(--mute); }
.disclaimer strong { color: var(--dim); display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: .14em; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 26px; font-size: 12px; color: var(--mute); }
.giant {
  font-family: var(--display); font-size: clamp(60px, 15vw, 210px); letter-spacing: -0.06em; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); white-space: nowrap; text-align: center;
  margin-top: 50px; user-select: none; pointer-events: none;
}

/* ==========================================================================
   Book page
   ========================================================================== */
.hero-book { position: relative; padding: 60px 0 100px; overflow: hidden; }
.hero-book .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.crumbs { font-size: 13px; color: var(--mute); margin-bottom: 26px; display: flex; gap: 10px; align-items: center; }
.crumbs a { text-decoration: none; color: var(--dim); }
.crumbs a:hover { color: var(--text); }
.hero-book h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(44px, 6.6vw, 92px); line-height: .92; letter-spacing: -0.045em; margin: 18px 0 26px;
  text-wrap: balance;
}
.hero-book h1 .dot { color: var(--red-glow); }
.hero-book .sub { font-size: clamp(17px, 1.6vw, 19px); color: var(--dim); max-width: 50ch; margin-bottom: 34px; }
.buy-box {
  border: 1px solid var(--line-2); border-radius: 22px; padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  backdrop-filter: blur(10px); max-width: 480px;
}
.buy-box .price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.buy-box .price-now { font-family: var(--display); font-size: 44px; letter-spacing: -0.03em; line-height: 1; }
.buy-box .price-off { background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 6px 11px; border-radius: 999px; }
.buy-box .instant { margin-left: auto; font-size: 12px; color: var(--dim); display: inline-flex; align-items: center; gap: 8px; }
#paypal-button-container { width: 100%; min-height: 50px; }
.buy-box .assure { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: 12px; color: var(--mute); }
.buy-box .assure span { display: inline-flex; gap: 6px; align-items: center; }
#paypal-status { font-size: 13px; color: var(--dim); margin-top: 10px; min-height: 0; }
#paypal-status:empty { display: none; }
.see-inside { margin-top: 20px; font-size: 14px; color: var(--dim); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.see-inside:hover { color: var(--text); }
.hero-cover { position: relative; display: flex; justify-content: center; }
.hero-cover .book3d { width: min(380px, 80%); position: relative; }
@media (max-width: 900px) {
  .hero-book .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-cover { order: -1; }
  .hero-cover .book3d { width: min(260px, 62%); }
  .buy-box { max-width: none; }
}

/* stat tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; position: relative; z-index: 1; margin-top: -40px; }
.tiles > div { background: var(--bg-2); padding: 34px 28px; }
.tiles .num { font-family: var(--display); font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -0.03em; }
.tiles .num em { font-style: normal; color: var(--red-glow); }
.tiles .unit { font-weight: 600; margin-top: 10px; font-size: 15px; }
.tiles .lbl { font-size: 13px; color: var(--dim); margin-top: 2px; }
@media (max-width: 800px) { .tiles { grid-template-columns: repeat(2, 1fr); } .tiles > div { padding: 26px 20px; } }

/* reviews */
.reviews-top { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 36px; }
.reviews-top .section-head { margin-bottom: 0; }
#reviews-heading { font-size: clamp(28px, 3.6vw, 44px); }
#carousel-nav { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--dim); }
.review-nav-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2);
  background: transparent; color: var(--text); cursor: pointer; font-size: 20px; line-height: 1;
  transition: all .25s;
}
.review-nav-btn:hover:not(:disabled) { border-color: var(--red); background: rgba(255,59,48,.12); }
.review-nav-btn:disabled { opacity: .3; cursor: not-allowed; }
#reviews-carousel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { #reviews-carousel { grid-template-columns: 1fr; } }
.review-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 26px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  display: flex; flex-direction: column; gap: 12px; position: relative;
  animation: rise .6s var(--ease) both;
}
.review-card::after { content: '\201D'; position: absolute; top: 4px; right: 22px; font-family: var(--serif); font-size: 90px; color: rgba(255,255,255,.06); line-height: 1; }
.review-card:nth-child(2) { animation-delay: .08s; }
.review-card:nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.review-stars { color: var(--gold); font-size: 16px; letter-spacing: 3px; }
.review-name { font-size: 13px; color: var(--dim); font-weight: 600; order: 3; }
.review-comment { font-size: 15px; color: var(--text); line-height: 1.6; }
#view-all-reviews { margin-top: 28px; }
#reviews-modal { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal-box { background: var(--card); border-radius: 22px; max-width: 640px; width: 100%; max-height: 80vh; display: flex; flex-direction: column; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -20px #000; animation: rise .4s var(--ease) both; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); }
#modal-title { font-family: var(--display); font-size: 20px; font-weight: 400; }
#close-modal { background: none; border: 1px solid var(--line-2); color: var(--text); font-size: 20px; cursor: pointer; line-height: 1; width: 38px; height: 38px; border-radius: 50%; }
#close-modal:hover { border-color: var(--red); }
#modal-review-list { padding: 8px 26px 20px; overflow-y: auto; }
.modal-review-row { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.modal-review-row:last-child { border-bottom: none; }

/* problem / contrast */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.vs-card { border-radius: 24px; padding: 36px 32px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.vs-card.no { background: linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); }
.vs-card.no .big { color: #77776f; text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.vs-card.yes { background: radial-gradient(120% 120% at 100% 0%, rgba(255,59,48,.22), rgba(255,59,48,.03) 60%); border-color: rgba(255,90,70,.35); }
.vs-card .tag { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--mute); margin-bottom: 26px; display: flex; align-items: center; gap: 10px; }
.vs-card.yes .tag { color: var(--red-glow); }
.vs-card .mark { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; border: 1px solid var(--line-2); }
.vs-card.yes .mark { background: var(--red); border-color: var(--red); color: #fff; }
.vs-card .big { font-family: var(--display); font-size: clamp(30px, 3.8vw, 46px); letter-spacing: -0.03em; line-height: 1.02; }
.vs-card .small { color: var(--dim); font-size: 16px; margin-top: 12px; }
.vs-arrow { display: grid; place-items: center; }
.vs-arrow span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); color: var(--red-glow); font-size: 20px; }
@media (max-width: 760px) {
  .vs { grid-template-columns: 1fr; }
  .vs-arrow { margin: -34px 0; position: relative; z-index: 1; }
  .vs-arrow span { transform: rotate(90deg); }
}

/* what's inside */
.inside { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.inside .sticky { position: sticky; top: 110px; }
.inside-list { display: grid; gap: 14px; counter-reset: item; }
.inside-item {
  display: flex; gap: 20px; padding: 26px; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-2), var(--card)); transition: border-color .3s, transform .4s var(--ease);
}
.inside-item:hover { border-color: rgba(255,90,70,.4); transform: translateX(6px); }
.inside-item::before {
  counter-increment: item; content: counter(item, decimal-leading-zero);
  font-family: var(--display); font-size: 14px; color: var(--red-glow);
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,59,48,.1); border: 1px solid rgba(255,90,70,.25);
}
.inside-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.inside-item p { font-size: 14px; color: var(--dim); }
@media (max-width: 860px) { .inside { grid-template-columns: 1fr; gap: 36px; } .inside .sticky { position: static; } }

/* chapters */
.chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .chapters { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .chapters { grid-template-columns: 1fr; } }
.chapter {
  position: relative; overflow: hidden; padding: 30px 28px 32px; border-radius: 20px;
  border: 1px solid var(--line); background: var(--card); min-height: 190px;
  display: flex; flex-direction: column; transition: border-color .3s, transform .4s var(--ease);
}
.chapter:hover { border-color: rgba(255,90,70,.4); transform: translateY(-4px); }
.chapter .num {
  font-family: var(--display); font-size: 64px; line-height: .8; letter-spacing: -0.05em; margin-bottom: auto;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); transition: color .4s, -webkit-text-stroke-color .4s;
}
.chapter:hover .num { color: var(--red); -webkit-text-stroke-color: var(--red); }
.chapter h3 { font-size: 17px; font-weight: 700; margin: 28px 0 6px; line-height: 1.3; }
.chapter p { font-size: 14px; color: var(--dim); }
.chapter.bonus { background: radial-gradient(120% 120% at 100% 0%, rgba(255,184,0,.16), var(--card) 60%); border-color: rgba(255,184,0,.3); }
.chapter.bonus .num { -webkit-text-stroke-color: rgba(255,184,0,.6); }
.chapter.bonus:hover .num { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.chapter.bonus::after { content: 'BONUS'; position: absolute; top: 22px; right: 22px; font-size: 10px; font-weight: 800; letter-spacing: .14em; color: #1a1200; background: var(--gold); padding: 4px 9px; border-radius: 999px; }

/* more guides */
.more-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.more-grid a { text-decoration: none; color: inherit; display: block; }
.more-grid .cover { transition: transform .5s var(--ease); }
.more-grid a:hover .cover { transform: translateY(-10px) rotate(-2deg); }
.more-grid h4 { font-size: 14px; font-weight: 600; margin-top: 16px; line-height: 1.35; }
.more-grid span { font-size: 13px; color: var(--dim); }
@media (max-width: 900px) {
  .more-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; }
  .more-grid a { scroll-snap-align: start; }
}

/* sticky mobile buy bar */
.sticky-buy {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 10px 10px 20px; border-radius: 999px;
  background: rgba(20,20,20,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgba(0,0,0,.8);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.sticky-buy.show { transform: none; }
.sticky-buy .t { font-size: 13px; line-height: 1.25; min-width: 0; }
.sticky-buy .t b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .t span { color: var(--dim); }
@media (max-width: 760px) { .sticky-buy { display: flex; } }

/* payment overlay */
#payment-loading-overlay { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@keyframes payment-spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Thank-you page
   ========================================================================== */
.ty-body { min-height: 100vh; display: flex; flex-direction: column; }
.ty-main { flex: 1; display: grid; place-items: center; padding: 40px 20px 80px; position: relative; overflow: hidden; }
.ty-card {
  position: relative; z-index: 1; max-width: 560px; width: 100%;
  background: linear-gradient(180deg, rgba(22,22,22,.92), rgba(14,14,14,.92));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); border-radius: 28px;
  padding: 52px 40px 40px; text-align: center;
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.95);
}
@media (max-width: 520px) { .ty-card { padding: 42px 22px 30px; } }
.ty-badge { position: relative; width: 92px; height: 92px; margin: 0 auto 28px; }
.ty-badge .ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(255,255,255,.08); border-top-color: var(--red-glow); animation: payment-spin 1s linear infinite; }
.ty-badge .disc {
  position: absolute; inset: 10px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.04); transition: background .5s, box-shadow .5s, transform .6s var(--ease);
}
.ty-badge svg { width: 38px; height: 38px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ty-badge .check-path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.ty-badge .x-path { display: none; }
.ty-card[data-state="success"] .ring { animation: none; border-color: rgba(74,222,128,.25); }
.ty-card[data-state="success"] .disc { background: linear-gradient(135deg, #4ade80, #16a34a); box-shadow: 0 0 0 10px rgba(74,222,128,.1), 0 20px 50px -10px rgba(74,222,128,.6); transform: scale(1.04); }
.ty-card[data-state="success"] .check-path { animation: draw .6s .2s var(--ease) forwards; }
.ty-card[data-state="error"] .ring { animation: none; border-color: rgba(255,59,48,.25); }
.ty-card[data-state="error"] .disc { background: rgba(255,59,48,.15); }
.ty-card[data-state="error"] .check-path { display: none; }
.ty-card[data-state="error"] .x-path { display: block; stroke: var(--red-glow); }
.ty-card[data-state="loading"] .check-path { opacity: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ty-card .kicker { justify-content: center; }
.ty-card[data-state="error"] .ty-steps { display: none; }
.ty-card .kicker::before { display: none; }
.ty-card h1 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 5vw, 38px); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 14px; }
.ty-card #message { color: var(--dim); font-size: 16px; margin-bottom: 30px; line-height: 1.6; }
.ty-card .dl-btn { width: 100%; padding: 18px 26px; font-size: 16px; }
.ty-card .dl-btn[disabled] { opacity: .55; cursor: wait; transform: none; box-shadow: none; }
.ty-card .dl-btn[disabled]::after { display: none; }
.ty-steps { display: flex; justify-content: center; gap: 8px; margin: 26px 0 0; flex-wrap: wrap; }
.ty-steps span { font-size: 12px; color: var(--mute); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; gap: 6px; align-items: center; }
.ty-card a.back { color: var(--dim); font-size: 14px; text-decoration: none; display: inline-flex; gap: 8px; margin-top: 26px; }
.ty-card a.back:hover { color: var(--text); }

#review-block { margin-top: 34px; padding-top: 32px; border-top: 1px solid var(--line); text-align: center; animation: rise .6s var(--ease) both; }
#review-block h3 { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 6px; }
#review-block .hint { color: var(--dim); font-size: 14px; margin-bottom: 20px; }
#star-picker { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; font-size: 38px; cursor: pointer; user-select: none; }
#star-picker .star { color: #5a5a55; transition: transform .2s var(--ease); display: inline-block; }
#star-picker .star:hover { transform: scale(1.25) rotate(-8deg); }
.ty-input {
  width: 100%; padding: 14px 16px; margin-bottom: 12px; border-radius: 14px;
  border: 1px solid var(--line-2); background: rgba(0,0,0,.4); color: var(--text);
  font-size: 15px; font-family: inherit; transition: border-color .2s, box-shadow .2s;
}
.ty-input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(255,59,48,.15); }
textarea.ty-input { resize: vertical; min-height: 96px; }
#submit-review-btn { width: 100%; margin-top: 4px; }
#review-status { font-size: 13px; color: var(--dim); margin-top: 12px; }
#review-status:empty { display: none; }

.ty-foot { text-align: center; font-size: 12px; color: var(--mute); padding: 0 20px 30px; position: relative; z-index: 1; }

#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 500; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ==========================================================================
   Bundle
   ========================================================================== */
.bundle-upsell {
  display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 16px;
  border-radius: 14px; border: 1px dashed rgba(255,184,0,.45); background: rgba(255,184,0,.06);
  font-size: 14px; color: var(--text); text-decoration: none; transition: background .25s, border-color .25s;
}
.bundle-upsell:hover { background: rgba(255,184,0,.12); border-color: var(--gold); }
.bundle-upsell s { color: var(--mute); margin-left: 4px; }
.bundle-upsell .b-ico { font-size: 18px; }
.bundle-upsell .arrow { margin-left: auto; transition: transform .25s var(--ease); }
.bundle-upsell:hover .arrow { transform: translateX(4px); }

.bundle-card {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(36px, 6vw, 70px);
  background: radial-gradient(120% 100% at 0% 0%, #2a1a04 0%, #0d0d0d 60%);
  border: 1px solid rgba(255,184,0,.3);
}
.bundle-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .bundle-grid { grid-template-columns: 1fr; gap: 36px; } }
.bundle-card .kicker { color: var(--gold); }
.bundle-card h2 { margin-bottom: 26px; }
.bundle-covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bundle-covers .bc { transform: rotate(var(--r)); transition: transform .5s var(--ease); }
.bundle-covers .bc:hover { transform: rotate(0) translateY(-8px) scale(1.04); }
.js .bundle-covers .bc.reveal { transform: translateY(28px) rotate(var(--r)); }
.js .bundle-covers .bc.reveal.in { transform: rotate(var(--r)); }
.bundle-covers.big { width: min(440px, 100%); }
.included { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; }
.included li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.included .tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(74,222,128,.15); color: var(--green); font-size: 12px; flex-shrink: 0; }
.bundle-price { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.bundle-price s { color: var(--mute); font-size: 22px; }
.bundle-price .now { font-family: var(--display); font-size: 48px; letter-spacing: -0.03em; line-height: 1; }
.save-tag { background: var(--gold); color: #1a1200; font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 6px 11px; border-radius: 999px; }
.buy-box .price-was { color: var(--mute); font-size: 22px; text-decoration: line-through; }

.inc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .inc-grid { grid-template-columns: 1fr; } }
.inc-card {
  display: flex; gap: 22px; align-items: center; padding: 20px; border-radius: 20px; text-decoration: none; color: inherit;
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--card-2), var(--card)); transition: border-color .3s, transform .4s var(--ease);
}
.inc-card:hover { border-color: rgba(255,90,70,.4); transform: translateY(-3px); }
.inc-cover { width: 92px; flex-shrink: 0; }
.inc-card h3 { font-size: 17px; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.inc-card p { font-size: 14px; color: var(--dim); }
.inc-worth { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--mute); }

.dl-list { display: grid; gap: 10px; }
.dl-list:empty { display: none; }
.ty-card .dl-btn { white-space: normal; text-align: center; line-height: 1.3; }

/* ==========================================================================
   Look inside — flip-book
   ========================================================================== */
.look { overflow-x: clip; }
.look-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .look-grid { grid-template-columns: 1fr; gap: 36px; } .look-copy { text-align: center; } .look-copy .kicker { justify-content: center; } }
.look-copy p { color: var(--dim); font-size: 17px; margin: 18px 0 28px; }
.look-copy .hint { font-size: 13px; color: var(--mute); margin-top: 16px; }

.flip { display: flex; flex-direction: column; align-items: center; gap: 22px; outline: none; }
.flip-book {
  position: relative; width: min(400px, 78vw); aspect-ratio: 2 / 3; perspective: 2400px;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.flip-book::before { /* page stack under the book */
  content: ''; position: absolute; inset: 6px -10px -6px 6px; border-radius: 4px 12px 12px 4px;
  background: linear-gradient(90deg, #d9d3c6, #f3efe6 30%, #cfc8b9);
  box-shadow: 0 50px 80px -30px rgba(0,0,0,.95), 4px 4px 0 -1px #e9e4d9, 8px 8px 0 -2px #bdb6a8;
}
.flip-glow { position: absolute; inset: 10% -10%; background: radial-gradient(closest-side, rgba(255,59,48,.35), transparent); filter: blur(30px); z-index: -1; }
.flip-page, .flip-leaf { position: absolute; inset: 0; border-radius: 3px 10px 10px 3px; }
.flip-page img, .flip-leaf img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; pointer-events: none; }
.flip-page { overflow: hidden; background: #111; }
.flip-page::after { /* spine shadow */
  content: ''; position: absolute; inset: 0 auto 0 0; width: 9%;
  background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,0)); border-radius: inherit;
}
.flip-leaf {
  transform-origin: 0 50%; transform-style: preserve-3d; cursor: zoom-in;
  transition: transform .9s cubic-bezier(.645,.045,.355,1);
}
.flip-leaf.turn { transform: rotateY(-180deg); }
.flip-leaf.instant { transition: none; }
.flip-leaf .face { position: absolute; inset: 0; border-radius: inherit; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.flip-leaf .front { background: #111; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.flip-leaf .front::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.1), rgba(0,0,0,.55));
}
.flip-leaf.turn .front::after { animation: leaf-shade .9s cubic-bezier(.645,.045,.355,1); }
@keyframes leaf-shade { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 1; } }
.flip-leaf .back {
  transform: rotateY(180deg);
  background: linear-gradient(270deg, #cfc8b9 0%, #f3efe6 18%, #ebe5d8 100%);
}
.flip-leaf .back::after { content: 'PureHealthGuide'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); font-family: var(--display); color: rgba(0,0,0,.08); font-size: 34px; white-space: nowrap; }

.flip-end {
  position: absolute; inset: 0; border-radius: 3px 10px 10px 3px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 28px;
  background: radial-gradient(120% 90% at 50% 0%, #3a0c08, #0d0d0d 70%); border: 1px solid rgba(255,90,70,.35);
  opacity: 0; visibility: hidden; transform: scale(.96); transition: opacity .5s, transform .5s var(--ease), visibility .5s;
}
.flip-end.show { opacity: 1; visibility: visible; transform: none; }
.flip-end .big { font-family: var(--display); font-size: clamp(26px, 4vw, 34px); line-height: 1.05; letter-spacing: -0.02em; }
.flip-end p { color: var(--dim); font-size: 15px; }
.flip-end .alt { font-size: 13px; color: var(--dim); text-decoration: none; }
.flip-end .alt:hover { color: var(--text); }

.flip-controls { display: flex; align-items: center; gap: 16px; }
.flip-controls button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  color: var(--text); font-size: 22px; cursor: pointer; transition: all .25s;
}
.flip-controls button:hover:not(:disabled) { border-color: var(--red); background: rgba(255,59,48,.12); }
.flip-controls button:disabled { opacity: .3; cursor: default; }
.flip-count { font-size: 14px; color: var(--dim); min-width: 92px; text-align: center; font-variant-numeric: tabular-nums; }
.flip-thumbs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.flip-thumbs button {
  width: 46px; aspect-ratio: 2 / 3; padding: 0; border-radius: 4px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; background: #111; opacity: .5; transition: opacity .25s, border-color .25s, transform .25s var(--ease);
}
.flip-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flip-thumbs button:hover { opacity: .85; transform: translateY(-2px); }
.flip-thumbs button.on { opacity: 1; border-color: var(--red-glow); }

.zoom {
  position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 20px;
  background: rgba(0,0,0,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: zoom-out;
}
.zoom.show { display: flex; animation: rise .35s var(--ease) both; }
.zoom img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 40px 100px -20px #000; }
.zoom button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0,0,0,.5); color: #fff; font-size: 22px; cursor: pointer; }
.look-copy { position: relative; z-index: 2; }
@media (min-width: 901px) { .look .flip { align-items: flex-end; padding-right: 4%; } .flip-controls, .flip-thumbs { align-self: center; margin-left: 30%; } }
