/* =========================================================
   DR. ALLEN — WHY DO I FEEL LIKE THIS?
   Premium medical + longevity book site
   Style: bold blue × cream × red-scribble accent × gold detail
   ========================================================= */

:root {
  --blue-deep: #0a2a7a;
  --blue-mid: #1547c4;
  --blue-light: #3a78ff;
  --blue-glow: #4d8eff;
  --red-scribble: #ff1a5a;
  --red-soft: #ff4d7d;
  --green-vital: #2ec27e;
  --green-deep: #155a44;
  --cream: #f6f1e1;
  --cream-dark: #ece4cc;
  --cream-soft: #fbf8ee;
  --gold: #c89a3c;
  --gold-soft: #e7c976;
  --ink: #0c1733;
  --ink-soft: #1f2a47;
  --muted: #5a6478;
  --muted-light: #8b94a8;
  --line: #e6e2d0;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 0; /* sticky CTA accounted for per-page */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.serif { font-family: 'Playfair Display', Georgia, serif; }

/* ============ NAV (shared) ============ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 42, 122, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  white-space: nowrap;
}
.brand-mark {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--red-scribble);
  box-shadow: 0 0 16px rgba(255,26,90,0.55);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 5px;
  border-radius: 50%;
  background: rgba(0,0,0,0.25);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover, .nav-links a.is-active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-cta {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--red-scribble), var(--red-soft));
  color: var(--white);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(255,26,90,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255,26,90,0.45); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
}

/* Sticky bottom CTA bar */
.sticky-cta {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(10,42,122,0) 0%, rgba(10,42,122,0.96) 30%);
  padding: 14px 16px;
  display: none;
  justify-content: center;
  pointer-events: none;
}
.sticky-cta-inner {
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 14px 10px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
  box-shadow: 0 14px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  max-width: 95%;
}
.sticky-cta-inner span {
  font-size: 0.92rem;
  font-weight: 500;
}
.sticky-cta-inner a {
  background: linear-gradient(135deg, var(--red-scribble), var(--red-soft));
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(255,26,90,0.35);
  transition: transform 0.15s;
}
.sticky-cta-inner a:hover { transform: translateY(-1px); }
@media (min-width: 720px) { .sticky-cta { display: flex; } body.has-sticky-cta { padding-bottom: 90px; } }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; letter-spacing: -0.015em; }
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow.on-blue { color: var(--gold-soft); }
.eyebrow.red {
  color: #ffd1de;
  background: rgba(255,26,90,0.18);
  border: 1px solid rgba(255,26,90,0.4);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.18em;
}

.section-title {
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.08;
  color: var(--ink);
  max-width: 820px;
}
.section-title em { font-style: italic; }
.section-title.on-blue { color: var(--white); }
.section-lede {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 680px;
  margin-top: 22px;
}
.section-lede.on-blue { color: rgba(255,255,255,0.8); }

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
  text-align: center;
  line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red-scribble), var(--red-soft));
  color: var(--white);
  box-shadow: 0 8px 22px rgba(255,26,90,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,26,90,0.55); }
.btn-secondary {
  background: var(--ink);
  color: var(--white);
}
.btn-secondary:hover { transform: translateY(-2px); background: var(--blue-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(12,23,51,0.2);
}
.btn-ghost.on-blue {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost.on-blue:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(12,23,51,0.05); border-color: rgba(12,23,51,0.4); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ============ CONTAINERS / SECTIONS ============ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.bg-cream { background: var(--cream); }
.bg-cream-soft { background: var(--cream-soft); }
.bg-white { background: var(--white); }
.bg-cream-dark { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%); }
.bg-blue {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(77, 142, 255, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(10, 42, 122, 0.6) 0%, transparent 60%),
    linear-gradient(135deg, #0a2a7a 0%, #1547c4 55%, #0a2a7a 100%);
  color: var(--white);
}
.bg-ink { background: var(--ink); color: var(--white); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: calc(100vh - 60px);
  padding: 60px 24px 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,26,90,0.18) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(77, 142, 255, 0.35) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 800;
  color: #ffd9e2;
}
.hero h1 .underline {
  position: relative;
  display: inline-block;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 4px;
  background: var(--red-scribble);
  border-radius: 2px;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 36px;
}
.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  margin-bottom: 36px;
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
}
.signal-row span { display: inline-flex; align-items: center; gap: 8px; }
.signal-row span::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red-scribble);
  box-shadow: 0 0 10px rgba(255,26,90,0.7);
}

/* Hero cover */
.hero-cover {
  position: relative;
  perspective: 1400px;
}
.hero-cover img {
  width: 100%;
  max-width: 460px;
  border-radius: 8px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    0 12px 28px rgba(255,26,90,0.18),
    0 0 0 1px rgba(255,255,255,0.06);
  transform: rotate(-3deg);
  transition: transform 0.5s ease;
  margin-left: auto;
}
.hero-cover:hover img { transform: rotate(0deg) scale(1.02); }
.hero-cover .badge {
  position: absolute;
  top: -22px; right: -10px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--red-scribble);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
  transform: rotate(12deg);
  box-shadow: 0 12px 30px rgba(255,26,90,0.5);
  border: 3px solid rgba(255,255,255,0.95);
  z-index: 2;
}
.hero-cover .badge .pct { font-size: 1.6rem; font-family: 'Playfair Display', serif; }
.hero-cover .badge .lbl { font-size: 0.62rem; letter-spacing: 0.12em; opacity: 0.9; text-transform: uppercase; margin-top: 2px;}

/* ============ EMAIL CAPTURE CARD ============ */
.capture-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 24px;
  max-width: 540px;
}
.capture-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; font-family: 'Inter', sans-serif; letter-spacing: 0; }
.capture-card p { font-size: 0.92rem; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.form-row input[type="email"], .form-row input[type="text"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: inherit;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-row input::placeholder { color: rgba(255,255,255,0.5); }
.form-row input:focus { border-color: var(--red-scribble); background: rgba(255,255,255,0.12); }
.form-fineprint { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 10px; }

.form-success { display: none; text-align: center; padding: 8px 4px 4px; }
.form-success.active { display: block; }
.form-success .check {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(46, 194, 126, 0.2);
  border: 2px solid var(--green-vital);
  color: var(--green-vital);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.4rem; font-weight: bold;
}
.code-pill {
  display: inline-block;
  margin: 14px 0 8px;
  font-family: 'Courier New', monospace;
  font-size: 1.6rem; font-weight: 700;
  letter-spacing: 0.18em;
  padding: 12px 22px;
  background: rgba(231,201,118,0.12);
  border: 2px dashed rgba(231,201,118,0.6);
  border-radius: 12px;
  color: #ffd95a;
}
.copy-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 16px;
  font-size: 0.85rem; font-weight: 600;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.copy-btn:hover { background: rgba(255,255,255,0.18); }

/* Light variant for forms on cream backgrounds */
.capture-card.light {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(12,23,51,0.06);
}
.capture-card.light h3 { color: var(--ink); }
.capture-card.light p { color: var(--muted); }
.capture-card.light .form-row input[type="email"],
.capture-card.light .form-row input[type="text"] {
  background: var(--cream);
  color: var(--ink);
  border-color: rgba(12,23,51,0.12);
}
.capture-card.light .form-row input::placeholder { color: var(--muted-light); }
.capture-card.light .form-row input:focus {
  border-color: var(--blue-mid);
  background: var(--white);
}
.capture-card.light .form-fineprint { color: var(--muted); }
.capture-card.light .form-success .copy-btn { background: var(--ink); color: var(--white); border: none; }
.capture-card.light .code-pill {
  background: rgba(200,154,60,0.1);
  border-color: rgba(200,154,60,0.5);
  color: var(--gold);
}

/* ============ "FOR YOU IF" CHECKLIST ============ */
.for-you {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 50px;
}
.for-you li {
  list-style: none;
  background: var(--white);
  padding: 22px 24px 22px 60px;
  border-radius: 14px;
  border: 1px solid var(--line);
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}
.for-you li::before {
  content: "✓";
  position: absolute;
  left: 22px; top: 22px;
  width: 28px; height: 28px;
  background: var(--green-vital);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

/* ============ CONTRAST: NORMAL vs OPTIMAL ============ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 50px auto 0;
}
.compare-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(12,23,51,0.06);
}
.compare-card.cold {
  background: linear-gradient(180deg, #f4f5f7 0%, #e9ebef 100%);
  color: var(--muted);
}
.compare-card.warm {
  background: linear-gradient(180deg, var(--white) 0%, #fdf8e9 100%);
  border: 1px solid rgba(200, 154, 60, 0.25);
}
.compare-card h4 { font-size: 1.4rem; font-weight: 700; margin-bottom: 18px; color: var(--ink); }
.compare-card.cold h4 { color: var(--muted); }
.compare-card.warm h4 { color: var(--gold); }
.compare-card ul { list-style: none; }
.compare-card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(12,23,51,0.06);
  display: flex; align-items: center; gap: 12px;
  font-size: 0.98rem;
}
.compare-card li:last-child { border-bottom: none; }
.compare-card.cold li::before { content: "—"; color: var(--muted); font-weight: 700; }
.compare-card.warm li::before { content: "✓"; color: var(--gold); font-weight: 800; }

/* ============ FEATURE GRID (What you'll learn) ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.feature-card {
  padding: 36px 32px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fafaf6 0%, var(--cream) 100%);
  border: 1px solid rgba(12,23,51,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(12,23,51,0.08);
}
.feature-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 2.2rem;
  color: var(--blue-mid);
  line-height: 1;
  margin-bottom: 14px;
  font-weight: 700;
}
.feature-card h3 { font-weight: 700; font-size: 1.4rem; margin-bottom: 10px; color: var(--ink); }
.feature-card p { font-size: 1rem; line-height: 1.65; color: var(--muted); }

/* ============ AUTHORITY STATS ============ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 50px;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.stat .num {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  color: var(--gold-soft);
  line-height: 1;
  margin-bottom: 6px;
}
.stat .lbl {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}

/* ============ ABOUT (photo + bio) ============ */
.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 70px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
.about-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform 0.6s ease;
}
.about-photo:hover img { transform: scale(1.03); }
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 42, 122, 0.35) 100%);
  pointer-events: none;
}
.about-text h2 {
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 24px;
}
.about-text p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}
.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.cred {
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
}

/* ============ TESTIMONIALS ============ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 50px;
}
.tcard {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  position: relative;
}
.tcard::before {
  content: "\201C";
  position: absolute;
  top: 4px; left: 22px;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--cream-dark);
  font-weight: 800;
}
.tcard .quote {
  position: relative;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 24px;
  z-index: 1;
}
.tcard .person {
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.tcard .avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: 'Playfair Display', serif;
}
.tcard .meta { font-size: 0.92rem; }
.tcard .meta strong { display: block; color: var(--ink); margin-bottom: 2px; }
.tcard .meta span { color: var(--muted); }
.tcard .stars { color: var(--gold); margin-bottom: 12px; font-size: 0.95rem; letter-spacing: 0.1em;}
.tcard .placeholder-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted-light);
  background: rgba(0,0,0,0.04);
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

/* ============ PRICING / OFFER CARDS ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 50px;
}
.price-card {
  background: var(--white);
  border-radius: 18px;
  padding: 36px 30px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(12,23,51,0.1); }
.price-card.featured {
  border: 2px solid var(--red-scribble);
  background: linear-gradient(180deg, var(--white) 0%, #fff7fa 100%);
  box-shadow: 0 20px 50px rgba(255,26,90,0.12);
}
.price-card .ribbon {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red-scribble);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(255,26,90,0.3);
}
.price-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.price-card .desc { color: var(--muted); font-size: 0.98rem; margin-bottom: 22px; }
.price-card .price {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--blue-deep);
  line-height: 1;
  margin-bottom: 6px;
}
.price-card .price .strike {
  color: var(--muted-light);
  text-decoration: line-through;
  font-size: 1.4rem;
  font-weight: 500;
  margin-right: 10px;
}
.price-card .price-note { font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; }
.price-card ul {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}
.price-card li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.97rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 8px;
  color: var(--green-vital);
  font-weight: 800;
}
.price-card .btn { width: 100%; justify-content: center; }

/* ============ FAQ ACCORDION ============ */
.faq-wrap { max-width: 760px; margin: 50px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: none;
  text-align: left;
  width: 100%;
  padding: 0;
}
.faq-q::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--blue-mid);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}
.faq-item.open .faq-a { max-height: 600px; margin-top: 14px; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 70px 24px 40px;
  font-size: 0.92rem;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-grid h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-grid a {
  display: block;
  color: rgba(255,255,255,0.7);
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-grid a:hover { color: var(--white); }
.footer-grid p { color: rgba(255,255,255,0.65); line-height: 1.6; }
.footer-grid .brand { color: var(--white); margin-bottom: 14px; }
.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ============ QUIZ ============ */
.quiz-shell {
  max-width: 720px;
  margin: 60px auto;
  background: var(--white);
  border-radius: 24px;
  padding: 50px 44px;
  box-shadow: 0 20px 60px rgba(12,23,51,0.1);
}
.quiz-progress {
  height: 6px;
  background: var(--cream-dark);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 30px;
}
.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-mid), var(--red-scribble));
  width: 0%;
  transition: width 0.4s ease;
}
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeUp 0.4s ease; }
.quiz-step h2 {
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.25;
}
.quiz-step .qsub {
  color: var(--muted);
  margin-bottom: 26px;
  font-size: 1rem;
}
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  display: block;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 16px 22px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
}
.quiz-option:hover { border-color: var(--blue-mid); background: var(--white); }
.quiz-option.selected {
  border-color: var(--blue-mid);
  background: var(--white);
  box-shadow: 0 6px 20px rgba(21,71,196,0.15);
}
.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  gap: 12px;
}
.quiz-back {
  background: transparent;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 10px 0;
  border: none;
  cursor: pointer;
  font-weight: 500;
}
.quiz-back:hover { color: var(--ink); }
.quiz-result-bar {
  height: 18px;
  background: var(--cream-dark);
  border-radius: 999px;
  overflow: hidden;
  margin: 20px 0 30px;
  position: relative;
}
.quiz-result-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-vital) 0%, var(--gold) 50%, var(--red-scribble) 100%);
  width: 0%;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.quiz-score-num {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 4.2rem;
  color: var(--blue-deep);
  line-height: 1;
  margin-bottom: 6px;
}
.quiz-score-label {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 30px;
}

/* ============ BLOG / EDUCATION ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 50px;
}
.post-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(12,23,51,0.08);
}
.post-card .post-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  padding: 20px;
  text-align: center;
}
.post-card .post-body { padding: 24px 28px 28px; flex-grow: 1; display: flex; flex-direction: column; }
.post-card .tag {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.post-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; line-height: 1.3; }
.post-card p { color: var(--muted); font-size: 0.96rem; line-height: 1.6; flex-grow: 1; margin-bottom: 16px; }
.post-card .read-more {
  font-size: 0.92rem; font-weight: 600;
  color: var(--blue-mid);
}

/* ============ TABLE OF CONTENTS ============ */
.toc {
  max-width: 760px;
  margin: 50px auto 0;
  background: var(--white);
  border-radius: 18px;
  padding: 36px 40px;
  border: 1px solid var(--line);
}
.toc h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}
.toc ol { list-style: none; counter-reset: ch; }
.toc li {
  counter-increment: ch;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.toc li:last-child { border-bottom: none; }
.toc li::before {
  content: counter(ch, decimal-leading-zero);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--blue-mid);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.toc li strong { color: var(--ink); font-weight: 600; }
.toc li span { color: var(--muted); margin-left: auto; font-size: 0.9rem; flex-shrink: 0; }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .signal-row { justify-content: center; }
  .capture-card { margin-left: auto; margin-right: auto; }
  .hero-cover img { margin: 0 auto; }
  .compare-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .about-photo { max-width: 320px; margin: 0 auto; }
  .about-credentials { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    padding: 12px 16px;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 14px; }
  .section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .quiz-shell { padding: 36px 24px; margin: 30px 16px; }
  .toc { padding: 28px 22px; }
  .price-card { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .hero { padding: 30px 18px 60px; }
  .hero-cover .badge { width: 86px; height: 86px; top: -14px; }
  .hero-cover .badge .pct { font-size: 1.25rem; }
  .compare-card { padding: 24px 22px; }
  .feature-card { padding: 28px 24px; }
}
