/* ============================================================
   SHUKTO PRESS — DESIGN SYSTEM
   All design tokens defined here. No magic numbers elsewhere.
   ============================================================ */

/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  /* Color — Base */
  --ink:           #0E1117;
  --ink-soft:      #1A2130;
  --ink-muted:     #2C3A4F;
  --paper:         #FFFFFF;
  --paper-warm:    #FFF7F8;
  --paper-mid:     #FFEEF1;
  --text-primary:  #0E1117;
  --text-secondary:#4A5568;
  --text-muted:    #718096;
  --text-on-dark:  #F8F5EF;
  --text-on-dark-muted: rgba(248,245,239,0.65);
  --white:         #FFFFFF;
  --divider:       rgba(14,17,23,0.08);
  --divider-dark:  rgba(248,245,239,0.12);

  /* Book 1 — One Person Company — Brass/Gold on Navy */
  --b1-accent:     #B8874B;
  --b1-accent-hi:  #D4A868;
  --b1-accent-lo:  #8A6030;
  --b1-bg:         #0A0E13;
  --b1-bg-soft:    #12181F;

  /* Book 2 — Money Sorted — Amber/Orange with Teal */
  --b2-accent:     #DD7C3F;
  --b2-accent-hi:  #EFA36B;
  --b2-accent-lo:  #B55C20;
  --b2-teal:       #1E5C56;
  --b2-teal-hi:    #2A7A72;

  /* Book 3 — AI with Sayuj — Teal/Mint with Orange spark */
  --b3-accent:     #2FAE9D;
  --b3-accent-hi:  #59C7B8;
  --b3-accent-lo:  #1E8070;
  --b3-spark:      #EE7B39;

  /* Typography */
  --font-display:  'Syne', 'Inter', system-ui, sans-serif;
  --font-body:     'Inter', 'Helvetica Neue', system-ui, sans-serif;

  /* Type scale */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-6xl:   3.75rem;
  --text-7xl:   4.5rem;
  --text-8xl:   6rem;

  /* Spacing — 8px grid */
  --space-1:   0.25rem;  /* 4px */
  --space-2:   0.5rem;   /* 8px */
  --space-3:   0.75rem;  /* 12px */
  --space-4:   1rem;     /* 16px */
  --space-5:   1.25rem;  /* 20px */
  --space-6:   1.5rem;   /* 24px */
  --space-8:   2rem;     /* 32px */
  --space-10:  2.5rem;   /* 40px */
  --space-12:  3rem;     /* 48px */
  --space-16:  4rem;     /* 64px */
  --space-20:  5rem;     /* 80px */
  --space-24:  6rem;     /* 96px */
  --space-32:  8rem;     /* 128px */
  --space-40:  10rem;    /* 160px */

  /* Section rhythm */
  --section-gap:  7.5rem;  /* 120px */
  --section-gap-sm: 5rem;  /* 80px */

  /* Layout */
  --max-w:     1280px;
  --max-w-text: 720px;
  --gutter:    clamp(1.25rem, 5vw, 4rem);
  --grid-gap:  1.5rem;

  /* Shadow scale */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:  0 16px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.16), 0 8px 24px rgba(0,0,0,0.10);
  --shadow-float: 0 20px 40px rgba(0,0,0,0.18), 0 60px 120px rgba(0,0,0,0.14);
  --shadow-card-hover: 0 28px 56px rgba(0,0,0,0.18), 0 8px 20px rgba(0,0,0,0.10);

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast:  180ms;
  --duration-base:  300ms;
  --duration-slow:  500ms;
  --reveal-y:       16px;

  /* Blur */
  --blur-sm:    8px;
  --blur-md:    16px;
  --blur-lg:    40px;

  /* Border radius */
  --radius-sm:  0.5rem;
  --radius-md:  0.875rem;
  --radius-lg:  1.25rem;
  --radius-xl:  1.75rem;
  --radius-full: 9999px;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
.display-1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-5xl), 8vw, var(--text-8xl));
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
}
.display-2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 6vw, var(--text-7xl));
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.display-3 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-6xl));
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.heading-1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-5xl));
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.heading-2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-4xl));
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.heading-3 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-lg), 2vw, var(--text-3xl));
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.body-lg { font-size: var(--text-lg); line-height: 1.7; }
.body-base { font-size: var(--text-base); line-height: 1.7; }
.body-sm { font-size: var(--text-sm); line-height: 1.6; }

/* ── LAYOUT UTILITIES ──────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-gap); }
.section-sm { padding-block: var(--section-gap-sm); }

/* ── GOOGLE FONTS IMPORT ───────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── NAV ───────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--duration-base) var(--ease-out),
              backdrop-filter var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}
.nav.scrolled {
  background: rgba(248, 245, 239, 0.88);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  box-shadow: var(--shadow-sm);
}
.nav-dark.scrolled {
  background: rgba(10, 14, 19, 0.88);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
}
.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  letter-spacing: -0.03em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  opacity: 0.75;
  transition: opacity var(--duration-fast) var(--ease-out);
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--text-primary);
  color: var(--paper);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: 600;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--text-primary);
  color: var(--paper);
}
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--text-primary);
}
.btn-outline:hover { background: var(--text-primary); color: var(--paper); }
.btn-accent {
  background: var(--accent, var(--b1-accent));
  color: var(--white);
}
.btn-accent:hover { box-shadow: var(--shadow-lg); filter: brightness(1.08); }
.btn-lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
}
.btn-arrow::after { content: ' →'; }

/* ── HERO — GRADIENT MESH ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(var(--blur-lg));
  opacity: 0.55;
  will-change: transform;
}
.blob-1 {
  width: 600px; height: 600px;
  top: -100px; left: -100px;
  background: var(--blob-1-color, radial-gradient(circle, #B8874B55, transparent 70%));
  animation: blob-drift-1 22s ease-in-out infinite alternate;
}
.blob-2 {
  width: 800px; height: 800px;
  top: 20%; right: -200px;
  background: var(--blob-2-color, radial-gradient(circle, #D4A86833, transparent 70%));
  animation: blob-drift-2 28s ease-in-out infinite alternate;
}
.blob-3 {
  width: 500px; height: 500px;
  bottom: -80px; left: 30%;
  background: var(--blob-3-color, radial-gradient(circle, #B8874B22, transparent 70%));
  animation: blob-drift-3 18s ease-in-out infinite alternate;
}
@keyframes blob-drift-1 {
  0%   { transform: translate(0,   0)   scale(1); }
  100% { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes blob-drift-2 {
  0%   { transform: translate(0,   0)   scale(1); }
  100% { transform: translate(-60px, 80px) scale(0.9); }
}
@keyframes blob-drift-3 {
  0%   { transform: translate(0,   0)   scale(1); }
  100% { transform: translate(40px, -50px) scale(1.2); }
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.hero-text { max-width: 640px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-6);
  border: 1px solid;
}
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }

/* ── FLOATING MOCKUP ────────────────────────────────────────── */
.mockup-wrap {
  position: relative;
  display: inline-block;
}
.mockup-cover {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  transform: rotate(var(--cover-rotation, -3deg)) translateY(0px);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
  will-change: transform;
  width: 280px;
  max-width: 100%;
  object-fit: cover;
}
.mockup-cover:hover {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: var(--shadow-float), 0 0 0 1px rgba(255,255,255,0.1);
}

/* ── BOOK COVER PLACEHOLDER (until real images supplied) ────── */
.cover-placeholder {
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: var(--space-6);
  aspect-ratio: 3/4;
  width: 240px;
  position: relative;
  overflow: hidden;
}
.cover-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cover-bg, linear-gradient(145deg, #1a2130, #0a0e13));
}
.cover-placeholder .cover-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  color: white;
  text-align: center;
  line-height: 1.2;
}

/* ── HOMEPAGE HERO — COVER STACK ────────────────────────────── */
.cover-stack {
  position: relative;
  width: 360px;
  height: 480px;
  margin: 0 auto;
}
.cover-stack .stack-book {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.cover-stack .stack-book img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.cover-stack .stack-book.b1 {
  width: 190px; aspect-ratio: 1/2;
  left: 0; top: 30px;
  transform: rotate(-6deg);
  z-index: 1;
}
.cover-stack .stack-book.b2 {
  width: 200px; aspect-ratio: 1/2;
  left: 70px; top: 0px;
  transform: rotate(2deg);
  z-index: 2;
}
.cover-stack .stack-book.b3 {
  width: 180px; aspect-ratio: 1/2;
  left: 155px; top: 40px;
  transform: rotate(8deg);
  z-index: 3;
}
.cover-stack:hover .b1 { transform: rotate(-8deg) translateX(-8px) translateY(4px); }
.cover-stack:hover .b2 { transform: rotate(0deg) translateY(-12px); }
.cover-stack:hover .b3 { transform: rotate(10deg) translateX(8px) translateY(4px); }
.cover-stack .b1, .cover-stack .b2, .cover-stack .b3 {
  transition: transform 0.5s var(--ease-out);
}

/* ── STAT STRIP ─────────────────────────────────────────────── */
.stat-strip {
  background: var(--ink);
  color: var(--text-on-dark);
  padding-block: var(--space-24);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 6vw, var(--text-8xl));
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  display: block;
}
.stat-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  margin-top: var(--space-3);
  font-weight: 500;
}

/* ── BENTO GRID ─────────────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: var(--grid-gap);
}
.bento-cell {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--divider);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
  overflow: hidden;
  position: relative;
}
.bento-cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.bento-cell.span-2 { grid-column: span 2; }
.bento-cell.span-3 { grid-column: span 3; }
.bento-cell.span-4 { grid-column: span 4; }
.bento-cell.span-6 { grid-column: span 6; }
.bento-cell.row-2  { grid-row: span 2; }
.bento-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: 1.5rem;
}
.bento-cell-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}
.bento-cell-body {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── BOOK CATALOG CARD ──────────────────────────────────────── */
.book-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
  cursor: pointer;
}
.book-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}
.book-card-cover {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.book-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.book-card:hover .book-card-cover img {
  transform: scale(1.04);
}
.book-card-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg, #1a2130);
}
.book-card-scrim {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.book-card-body { padding: var(--space-6); flex: 1; display: flex; flex-direction: column; }
.book-card-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  background: var(--tag-bg, #f1f0ee);
  color: var(--tag-color, var(--text-secondary));
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
  width: fit-content;
}
.book-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: var(--space-2);
}
.book-card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-4);
}
.book-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--divider);
}
.book-card-price {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.book-card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--cta-bg, var(--ink));
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: transform var(--duration-fast), box-shadow var(--duration-fast);
}
.book-card-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ── DARK BAND ──────────────────────────────────────────────── */
.dark-band {
  background: var(--ink);
  color: var(--text-on-dark);
  padding-block: var(--section-gap);
}
.dark-band-soft {
  background: var(--ink-soft);
  color: var(--text-on-dark);
  padding-block: var(--section-gap);
}

/* ── QUOTE CARD ─────────────────────────────────────────────── */
.quote-card {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}
.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.quote-card-dark {
  background: var(--ink-soft);
  border-color: var(--divider-dark);
  color: var(--text-on-dark);
}
.quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0.5;
  color: var(--accent, var(--b1-accent));
  opacity: 0.6;
  display: block;
  margin-bottom: var(--space-4);
}
.quote-text {
  font-size: var(--text-lg);
  line-height: 1.65;
  font-style: normal;
  flex: 1;
}
.quote-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.quote-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent, var(--b1-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  color: white;
  flex-shrink: 0;
}
.quote-meta-name { font-weight: 600; font-size: var(--text-sm); }
.quote-meta-role { font-size: var(--text-xs); color: var(--text-muted); margin-top: 2px; }
.quote-card-dark .quote-meta-role { color: var(--text-on-dark-muted); }

/* ── MARQUEE ────────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: var(--space-6);
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  white-space: nowrap;
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}
.marquee-item-dark {
  background: var(--ink-soft);
  border-color: var(--divider-dark);
  color: var(--text-on-dark);
}

/* ── PRICING CARD ───────────────────────────────────────────── */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}
.pricing-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(
    from var(--glow-angle, 0deg),
    var(--accent, var(--b1-accent)) 0%,
    transparent 25%,
    transparent 75%,
    var(--accent, var(--b1-accent)) 100%
  );
  border-radius: calc(var(--radius-xl) + 2px);
  z-index: -1;
  animation: glow-rotate 4s linear infinite;
}
@property --glow-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes glow-rotate {
  0%   { --glow-angle: 0deg; }
  100% { --glow-angle: 360deg; }
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.pricing-price-display {
  font-family: var(--font-display);
  font-size: clamp(var(--text-5xl), 8vw, var(--text-8xl));
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--accent, var(--b1-accent));
  margin: var(--space-4) 0;
}
.pricing-features { list-style: none; margin-top: var(--space-8); display: grid; gap: var(--space-3); }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
}
.pricing-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent, var(--b1-accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* ── ACCORDION / FAQ ────────────────────────────────────────── */
.faq-list { display: grid; gap: var(--space-3); }
.faq-item {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}
.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--accent, var(--b1-accent));
}
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-8);
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform var(--duration-base) var(--ease-out),
              background var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent, var(--b1-accent));
  border-color: var(--accent, var(--b1-accent));
  color: white;
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out), opacity 0.35s var(--ease-out);
  opacity: 0;
}
.faq-item.open .faq-body { max-height: 600px; opacity: 1; }
.faq-body-inner {
  padding: 0 var(--space-8) var(--space-6);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── WHO IS IT FOR / NOT FOR CARDS ──────────────────────────── */
.for-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.for-card {
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid;
}
.for-card-yes {
  background: rgba(47, 174, 157, 0.06);
  border-color: rgba(47, 174, 157, 0.25);
}
.for-card-no {
  background: rgba(220, 38, 38, 0.04);
  border-color: rgba(220, 38, 38, 0.15);
}
.for-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.for-list { display: grid; gap: var(--space-3); }
.for-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  line-height: 1.5;
}
.for-list .check { color: #2FAE9D; font-size: 1rem; margin-top: 2px; }
.for-list .cross  { color: #DC2626; font-size: 1rem; margin-top: 2px; }

/* ── STEP LIST ──────────────────────────────────────────────── */
.step-list { display: grid; gap: var(--space-6); }
.step-item {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent, var(--b1-accent));
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-text { padding-top: var(--space-2); }
.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

/* ── THANK YOU — DOWNLOAD CARD ──────────────────────────────── */
.download-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: var(--space-8);
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.download-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(
    from var(--glow-angle, 0deg),
    var(--accent, var(--b1-accent)) 0%,
    transparent 25%,
    transparent 75%,
    var(--accent, var(--b1-accent)) 100%
  );
  border-radius: calc(var(--radius-xl) + 2px);
  z-index: -1;
  animation: glow-rotate 4s linear infinite;
}
.download-cover { width: 120px; flex-shrink: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.download-cover img { width: 100%; height: auto; }
.download-body { flex: 1; }

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-y));
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob { animation: none; }
  .marquee-track { animation: none; }
  .pricing-card::before { animation: none; }
  .mockup-cover { transform: none !important; transition: none; }
  .cover-stack .b1, .cover-stack .b2, .cover-stack .b3 { transition: none; }
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--text-on-dark);
  padding-block: var(--space-16);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}
.footer-tagline {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  line-height: 1.6;
  max-width: 280px;
}
.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-5);
}
.footer-links { display: grid; gap: var(--space-3); }
.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-on-dark-muted);
  transition: color var(--duration-fast);
}
.footer-links a:hover { color: var(--text-on-dark); }
.footer-bottom {
  border-top: 1px solid var(--divider-dark);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-on-dark-muted);
}

/* ── SECTION HEADERS ────────────────────────────────────────── */
.section-header { margin-bottom: var(--space-12); }
.section-header.centered { text-align: center; max-width: 680px; margin-inline: auto; }
.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-top: var(--space-4);
  line-height: 1.65;
}
.section-header.on-dark .section-subtitle { color: var(--text-on-dark-muted); }

/* ── FINAL CTA ──────────────────────────────────────────────── */
.final-cta {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-gap);
  text-align: center;
}
.final-cta-inner { position: relative; z-index: 2; }

/* ── MINI BENTO FOR UPSELL ──────────────────────────────────── */
.mini-book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--grid-gap);
}

/* ── BADGES ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.badge-success { background: rgba(47,174,157,0.12); color: #1a7a6e; }
.badge-info { background: rgba(59,130,212,0.12); color: #2a5fa0; }

/* ── ACCESSIBILITY ──────────────────────────────────────────── */
:focus-visible {
  outline: 2.5px solid var(--accent, #3b82d4);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento-cell.span-4 { grid-column: span 4; }
  .bento-cell.span-3 { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 4rem;
    --section-gap-sm: 3rem;
  }
  .nav-links { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-cell.span-2,
  .bento-cell.span-3,
  .bento-cell.span-4,
  .bento-cell.span-6 { grid-column: span 2; }
  .bento-cell.row-2 { grid-row: span 1; }
  .for-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; gap: var(--space-3); text-align: center; }
  .download-card { flex-direction: column; text-align: center; }
  .cover-stack { width: 280px; height: 400px; }
  .cover-stack .stack-book.b1 { width: 150px; aspect-ratio: 1/2; }
  .cover-stack .stack-book.b2 { width: 160px; aspect-ratio: 1/2; }
  .cover-stack .stack-book.b3 { width: 140px; aspect-ratio: 1/2; }
}

@media (max-width: 480px) {
  .bento { grid-template-columns: 1fr; }
  .bento-cell.span-2,
  .bento-cell.span-3,
  .bento-cell.span-4,
  .bento-cell.span-6 { grid-column: span 1; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card { padding: var(--space-8); }
  .btn-lg { padding: var(--space-4) var(--space-6); font-size: var(--text-base); }
}
