/* ═══════════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════════
   CSS VARIABLES
═══════════════════════════════════════════════════════════════════ */
:root {
  --bg:         #0A0A0A;
  --surface:    #111827;
  --accent:     #22D3EE;
  --accent-dim: rgba(34, 211, 238, 0.11);
  --text:       #EFF6FF;
  --muted:      rgba(200, 214, 240, 0.48);
  --border:     rgba(255, 255, 255, 0.07);
  --radius:     14px;
  --nav-h:      72px;
}

[data-theme="light"] {
  --bg:         #F8FAFC;
  --surface:    #FFFFFF;
  --accent:     #0284C7;
  --accent-dim: rgba(2, 132, 199, 0.08);
  --text:       #0F172A;
  --muted:      rgba(15, 23, 42, 0.5);
  --border:     rgba(0, 0, 0, 0.08);
}

/* ═══════════════════════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; margin-bottom: 0.4rem; }

.accent { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════════════════════ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 1.25rem;
}

[data-theme="light"] .section-label {
  border-color: rgba(2, 132, 199, 0.2);
}

section {
  padding: 110px 0;
}

/* ═══════════════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.94);
}

[data-theme="light"] #navbar {
  background: rgba(248, 250, 252, 0.75);
}

[data-theme="light"] #navbar.scrolled {
  background: rgba(248, 250, 252, 0.96);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.nav-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.01em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* ── Glass Nav ─────────────────────────────────────────────────── */
.glass-radio-group {
  display: flex;
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 1px 1px 4px rgba(255,255,255,0.12),
    inset -1px -1px 6px rgba(0,0,0,0.3),
    0 4px 12px rgba(0,0,0,0.15);
  overflow: hidden;
  width: fit-content;
}

[data-theme="light"] .glass-radio-group {
  background: rgba(0, 0, 0, 0.04);
  box-shadow:
    inset 1px 1px 3px rgba(0,0,0,0.07),
    inset -1px -1px 4px rgba(255,255,255,0.9),
    0 2px 8px rgba(0,0,0,0.07);
}

.glass-glider {
  position: absolute;
  top: 0; bottom: 0;
  width: calc(100% / 4);
  border-radius: 1rem;
  z-index: 1;
  opacity: 0;
  transform: translateX(0%);
  transition:
    transform 0.5s cubic-bezier(0.37, 1.95, 0.66, 0.56),
    opacity 0.3s ease,
    background 0.4s ease-in-out,
    box-shadow 0.4s ease-in-out;
  background: linear-gradient(135deg, rgba(34,211,238,0.38) 0%, #22D3EE 100%);
  box-shadow: 0 0 18px rgba(34,211,238,0.5), inset 0 0 10px rgba(0,200,255,0.3);
}

[data-theme="light"] .glass-glider {
  background: linear-gradient(135deg, rgba(2,132,199,0.28) 0%, #0284C7 100%);
  box-shadow: 0 0 14px rgba(2,132,199,0.45), inset 0 0 8px rgba(2,132,199,0.3);
}

.glass-glider.visible {
  opacity: 1;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  position: relative;
  z-index: 2;
}

.nav-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 1.35rem;
  text-decoration: none;
  color: #ffffff;
  font-size: 0.93rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  transition: color 0.2s, font-weight 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #ffffff;
  opacity: 0.8;
}

.nav-links a.active {
  color: #000000;
  font-weight: 900;
}

/* ── Cyber Toggle ──────────────────────────────────────────────── */
.cyber-toggle-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0;
}

.cyber-toggle-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cyber-toggle {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 32px;
  cursor: pointer;
}

.cyber-toggle-track {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5), inset 0 0 4px rgba(0,0,0,0.8);
  transition: all 0.4s cubic-bezier(0.3,1.5,0.7,1);
}

.cyber-toggle-track::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 14px;
  background: #222;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
  z-index: 0;
  transition: all 0.4s ease;
}

.cyber-toggle-track-glow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #03e9f4, #4a00e0);
  opacity: 0;
  border-radius: 16px;
  z-index: 1;
  transition: all 0.4s ease;
}

.cyber-toggle-thumb {
  position: absolute;
  top: 4px; left: 4px;
  width: 24px; height: 24px;
  background: #151515;
  border-radius: 50%;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.3,1.5,0.7,1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.cyber-toggle-thumb-icon {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  opacity: 0.7;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.cyber-toggle-thumb-icon svg {
  width: 14px; height: 14px;
  fill: #555;
  transition: fill 0.4s ease, transform 0.4s ease;
}

.cyber-toggle-checkbox:checked + .cyber-toggle .cyber-toggle-track-glow {
  opacity: 0.5;
}

.cyber-toggle-checkbox:checked + .cyber-toggle .cyber-toggle-thumb {
  left: calc(100% - 28px);
  background: #222;
}

.cyber-toggle-checkbox:checked + .cyber-toggle .cyber-toggle-thumb-icon {
  transform: rotate(360deg);
}

.cyber-toggle-checkbox:checked + .cyber-toggle .cyber-toggle-thumb-icon svg {
  fill: #03e9f4;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 80px) 1.5rem 100px;
  background-color: var(--bg);
  position: relative;
  overflow: hidden;
}

/* dark mode: blobs handle visuals, no grid/gradients needed */
#hero::before { display: none; }
#hero::after  { display: none; }

[data-theme="light"] #hero::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

[data-theme="light"] #hero::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 72% 60% at 12% 50%, rgba(2, 132, 199, 0.06) 0%, transparent 65%),
    radial-gradient(ellipse 55% 55% at 88% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  max-width: 860px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 100px;
  padding: 7px 18px;
}

[data-theme="light"] .hero-eyebrow {
  border-color: rgba(2, 132, 199, 0.22);
}

.hero-title {
  font-size: clamp(3.2rem, 8.5vw, 6.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.05;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  padding: 0.9rem 1.875rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #38BDF8 100%);
  color: #03060C;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.28);
}

.btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 8px 30px rgba(34, 211, 238, 0.42);
}

[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.3);
}

[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.42);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: rgba(34, 211, 238, 0.32);
}

.btn-outline:hover {
  background: var(--accent-dim);
  border-color: rgba(34, 211, 238, 0.6);
  opacity: 1;
}

[data-theme="light"] .btn-outline {
  border-color: rgba(2, 132, 199, 0.32);
  color: #0284C7;
}

[data-theme="light"] .btn-outline:hover {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.6);
}

.btn-large {
  font-size: 1.1rem;
  padding: 1.1rem 2.75rem;
}

/* ═══════════════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════════════ */
#about {
  background: var(--bg);
}

#about .container {
  max-width: 720px;
}

.about-text {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.about-text:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════════════ */
#services {
  background: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-dim) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: var(--radius);
}

.card:hover {
  border-color: rgba(34, 211, 238, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(2, 132, 199, 0.28);
}

.card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

[data-theme="light"] .card-icon {
  border-color: rgba(2, 132, 199, 0.18);
}

.card h3 {
  color: var(--text);
  margin-bottom: 0.65rem;
  position: relative;
  z-index: 1;
}

.card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.card-header-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
  position: relative;
  z-index: 1;
}

.card-header-row h3 {
  margin-bottom: 0;
}

.badge {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 100px;
  padding: 2px 10px;
  white-space: nowrap;
}

[data-theme="light"] .badge {
  border-color: rgba(2, 132, 199, 0.35);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
  color: var(--accent);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  transition: gap 0.2s ease, opacity 0.2s;
  position: relative;
  z-index: 1;
}

.card-link:hover {
  gap: 0.65rem;
  opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════════
   EBOOK
═══════════════════════════════════════════════════════════════════ */
#ebook {
  background: var(--bg);
}

#ebook .container {
  max-width: 820px;
}

.ebook-hook {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  font-style: italic;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 2rem 0 1.25rem;
  line-height: 1.55;
}

.ebook-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.ebook-bridge {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 3.5rem;
  max-width: 680px;
}

.ebook-grade-badge {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 2.5rem;
}

[data-theme="light"] .ebook-grade-badge {
  border-color: rgba(2, 132, 199, 0.2);
}

.chapters-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.chapters-grid {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.chapter-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  transition: border-color 0.25s ease, transform 0.2s ease;
}

.chapter-card:hover {
  border-color: rgba(34, 211, 238, 0.22);
  transform: translateX(5px);
}

[data-theme="light"] .chapter-card:hover {
  border-color: rgba(2, 132, 199, 0.22);
}

.chapter-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.11);
  min-width: 52px;
  line-height: 1;
  padding-top: 3px;
  flex-shrink: 0;
}

[data-theme="light"] .chapter-num {
  color: rgba(0, 0, 0, 0.1);
}

.chapter-bonus .chapter-num {
  color: var(--accent);
}

.chapter-body h4 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.chapter-body p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.ebook-footer {
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.social-proof {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.ebook-closing {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════════════ */
#contact {
  background: var(--surface);
}

#contact .container {
  max-width: 680px;
  text-align: center;
}

#contact h2 {
  margin-bottom: 2.5rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 440px;
  transition: color 0.2s, border-color 0.2s, transform 0.2s, background 0.2s;
}

.contact-item:hover {
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.28);
  transform: translateY(-2px);
  background: var(--accent-dim);
}

[data-theme="light"] .contact-item:hover {
  border-color: rgba(2, 132, 199, 0.28);
  background: rgba(2, 132, 199, 0.06);
}

.contact-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════ */
footer {
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

/* ═══════════════════════════════════════════════════════════════════
   GSAP INITIAL STATE (prevents FOUC)
═══════════════════════════════════════════════════════════════════ */
.fade-in {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  section {
    padding: 80px 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-right {
    gap: 0.75rem;
  }

  .glass-radio-group {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    width: auto;
  }

  .glass-glider {
    display: none;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
  }

  [data-theme="light"] .nav-links {
    background: rgba(248, 250, 252, 0.98);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    justify-content: flex-start;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-outline {
    font-size: 0.85rem;
    padding: 0.875rem 1.25rem;
    white-space: normal;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .chapter-card {
    flex-direction: column;
    gap: 0.75rem;
  }

  .chapter-num {
    font-size: 1rem;
    min-width: auto;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   HERO BLOBS
═══════════════════════════════════════════════════════════════════ */
@keyframes blob-float-1 {
  0%, 100% { transform: translate(0px,   0px)   scale(1);    }
  30%       { transform: translate(50px, -60px)  scale(1.06); }
  60%       { transform: translate(-35px, 40px)  scale(0.95); }
}

@keyframes blob-float-2 {
  0%, 100% { transform: translate(0px,   0px)   scale(1);    }
  35%       { transform: translate(-60px, 50px)  scale(1.05); }
  70%       { transform: translate(40px, -35px)  scale(0.96); }
}

@keyframes blob-float-3 {
  0%, 100% { transform: translate(0px,  0px)    scale(1);    }
  50%       { transform: translate(30px, -50px)  scale(1.07); }
}

.hero-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  background: #0047FF;
}

.hero-blob--1 {
  width: 520px;
  height: 520px;
  top: -140px;
  left: -60px;
  filter: blur(90px);
  opacity: 0.72;
  animation: blob-float-1 13s ease-in-out infinite;
}

.hero-blob--2 {
  width: 440px;
  height: 440px;
  top: 20px;
  right: -80px;
  filter: blur(100px);
  opacity: 0.58;
  animation: blob-float-2 11s ease-in-out infinite;
}

.hero-blob--3 {
  width: 360px;
  height: 360px;
  bottom: -60px;
  left: 38%;
  filter: blur(85px);
  opacity: 0.48;
  animation: blob-float-3 15s ease-in-out infinite;
}

[data-theme="light"] .hero-blobs {
  display: none;
}

/* ═══════════════════════════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
