@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ═══════════════════════════════════════════════════════════════
   Quizola — Design System v4 (purple/indigo brand restoration)
   Fonts: Sora (headings) · Inter (body)
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────────────────── */
:root {
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Colour */
  --navy:       #0f172a;
  --navy-mid:   #1e293b;
  --slate:      #475569;
  --muted:      #94a3b8;
  --border:     #e2e8f0;
  --surface:    #f8fafc;
  --white:      #ffffff;

  --indigo:     #6366f1;
  --indigo-dk:  #4f46e5;
  --indigo-lt:  #a5b4fc;
  --violet:     #7c3aed;
  --pink:       #ec4899;
  --orange:     #f97316;
  --amber:      #f59e0b;
  --emerald:    #10b981;
  --rose:       #f43f5e;

  /* Radius */
  --r-sm:   6px;
  --r:      10px;
  --r-lg:   16px;
  --r-full: 9999px;

  /* Shadow */
  --sh-sm:  0 1px 3px 0 rgba(15,23,42,.08), 0 1px 2px -1px rgba(15,23,42,.06);
  --sh:     0 4px 16px 0 rgba(15,23,42,.09), 0 2px 4px -2px rgba(15,23,42,.07);
  --sh-lg:  0 16px 48px 0 rgba(15,23,42,.12), 0 6px 12px -4px rgba(15,23,42,.07);
  --sh-indigo: 0 8px 24px 0 rgba(99,102,241,.25);

  /* Motion */
  --t: .18s ease;

  /* Layout */
  --container: 1160px;
  --gutter:    clamp(16px, 4vw, 32px);
  --section:   clamp(64px, 9vw, 120px);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }
body {
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: var(--r-sm); }

/* ── Utils ───────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--indigo); color: white; padding: 8px 16px; font-weight: 600; font-size: .875rem; z-index: 9999; border-radius: var(--r-sm); text-decoration: none; transition: top .1s; }
.skip-link:focus { top: 16px; }

/* ── Typography helpers ──────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--indigo);
  margin-bottom: 12px;
}
.eyebrow-icon,
.icon-outline,
.icon-social,
.icon-feature,
.icon-badge {
  flex: 0 0 auto;
  stroke: currentColor;
}
.icon-outline { width: 18px; height: 18px; }
.eyebrow-icon { width: 15px; height: 15px; }
.icon-feature { width: 24px; height: 24px; }
.icon-badge { width: 22px; height: 22px; }
.icon-social { width: 18px; height: 18px; }
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 700; line-height: 1.08; color: var(--navy);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.0625rem; color: var(--slate); max-width: 540px;
  line-height: 1.7; margin-bottom: 48px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--indigo), var(--violet), var(--pink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; font-family: var(--font-body);
  font-size: .9375rem; font-weight: 600; line-height: 1;
  text-decoration: none; border: 2px solid transparent;
  border-radius: var(--r-sm); cursor: pointer; white-space: nowrap;
  transition: all var(--t);
}
.btn-lg { padding: 16px 32px; font-size: 1.0625rem; }
.btn-sm { padding: 9px 18px; font-size: .8125rem; }

.btn-primary {
  background: var(--indigo); color: white; border-color: var(--indigo);
}
.btn-primary:hover {
  background: var(--indigo-dk); border-color: var(--indigo-dk);
  transform: translateY(-1px); box-shadow: var(--sh-indigo);
}
.btn-gradient {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: white; border: none;
}
.btn-gradient:hover { opacity: .9; transform: translateY(-1px); box-shadow: var(--sh-indigo); }

.btn-secondary {
  background: white; color: var(--navy); border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--indigo); color: var(--indigo); }

.btn-ghost {
  background: transparent; color: white; border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,.09); }

.btn-outline-indigo {
  background: transparent; color: var(--indigo); border-color: var(--indigo);
}
.btn-outline-indigo:hover { background: var(--indigo); color: white; }

/* ── Navigation ──────────────────────────────────────────────── */
.site-header {
  background: white; border-bottom: 1px solid var(--border);
  height: 72px; display: flex; align-items: center;
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 1px 0 var(--border), 0 4px 16px rgba(15,23,42,.03);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 24px; position: relative;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.4375rem; font-weight: 700;
  letter-spacing: -.01em; color: var(--navy); text-decoration: none; flex-shrink: 0;
  display: flex; align-items: center; line-height: 1;
}
.nav-logo em { color: var(--indigo); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  position: relative; display: block; padding: 9px 16px; color: var(--slate);
  text-decoration: none; font-size: .875rem; font-weight: 500;
  border-radius: var(--r-sm); transition: color var(--t);
}
.nav-links a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; border-radius: var(--r-full); background: var(--indigo);
  transform: scaleX(0); transform-origin: center; transition: transform var(--t);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(.5); }
.nav-links a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta {
  background: var(--indigo); color: white; margin-left: 4px;
  border-radius: var(--r-sm); font-weight: 600;
  padding: 10px 20px; box-shadow: 0 1px 2px rgba(79,70,229,.12);
}
.nav-cta::after { content: none; }
.nav-cta:hover { background: var(--indigo-dk); color: white; }
.nav-cta:focus-visible { outline: 3px solid var(--indigo-lt); outline-offset: 2px; }

/* Mobile menu toggle: 3-line burger that morphs into an X */
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: none; border: 1px solid var(--border);
  color: var(--navy); cursor: pointer; padding: 0; border-radius: var(--r-sm);
}
.menu-toggle:hover { border-color: var(--indigo-lt); background: rgba(99,102,241,.05); }
.menu-toggle:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.menu-toggle-icon { overflow: visible; }
.menu-toggle-line {
  stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
  transform-box: fill-box; transform-origin: center;
  transition: transform .22s ease, opacity .22s ease;
}
.menu-toggle.is-open .menu-toggle-line-1 { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle.is-open .menu-toggle-line-2 { opacity: 0; }
.menu-toggle.is-open .menu-toggle-line-3 { transform: translateY(-5.5px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .menu-toggle-line { transition: none; }
}

.nav-scrim {
  position: fixed; inset: 72px 0 0 0; background: rgba(15,23,42,.32);
  opacity: 0; visibility: hidden; pointer-events: none; z-index: 199;
  transition: opacity .2s ease;
}
.nav-scrim.visible { opacity: 1; visibility: visible; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .nav-scrim { transition: none; } }
body.nav-scroll-lock { overflow: hidden; }

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    display: flex; position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    background: white; flex-direction: column; align-items: stretch; padding: 8px 8px 16px;
    border-bottom: 1px solid var(--border); gap: 2px; z-index: 200;
    box-shadow: 0 16px 32px rgba(15,23,42,.1);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    /* visibility flips instantly on open (so it's immediately keyboard-reachable)
       but only after the fade-out completes on close. */
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav-links.open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s;
  }
  .nav-links a { padding: 13px 16px; font-size: 1rem; border-radius: var(--r-sm); }
  .nav-links a::after { content: none; }
  .nav-links a[aria-current="page"] { background: rgba(99,102,241,.08); }
  .nav-cta { margin: 6px 0 0; text-align: center; justify-content: center; }
  @media (prefers-reduced-motion: reduce) {
    .nav-links, .nav-links.open { transition: none; }
  }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #4c1d95 100%);
  min-height: clamp(580px, 82vh, 860px);
  display: grid; place-items: center;
  padding: var(--section) var(--gutter);
  position: relative; overflow: hidden;
  color: white;
}
.hero-orb-1 {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.14) 0%, transparent 70%);
  bottom: -200px; left: -150px; pointer-events: none;
}
.hero-orb-2 {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
  top: -150px; right: -100px; pointer-events: none;
}
.hero-orb-3 { display: none; }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2; text-align: center; max-width: 1140px;
  display: flex; flex-direction: column; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(165,180,252,.34); color: rgba(255,255,255,.82);
  font-size: .8125rem; font-weight: 600; letter-spacing: .03em;
  padding: 7px 16px; border-radius: var(--r-full);
  margin-bottom: 32px; background: rgba(99,102,241,.12);
  animation: fadeUp .5s ease both;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 5.25rem);
  font-weight: 700; line-height: .98; letter-spacing: -.02em;
  margin-bottom: 12px; animation: fadeUp .5s ease .08s both;
}
.hero-accent {
  background: linear-gradient(135deg, #a5b4fc, #c4b5fd);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; display: block;
}
.hero-sub {
  font-size: clamp(.9375rem, 2.2vw, 1.1875rem);
  color: rgba(255,255,255,.78); max-width: 560px;
  line-height: 1.7; margin: 24px auto 36px;
  animation: fadeUp .5s ease .16s both;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; animation: fadeUp .5s ease .24s both; }
.hero-trust {
  margin-top: 60px; padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; gap: 44px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .5s ease .32s both;
}
.trust-stat { text-align: center; }
.trust-num {
  font-family: var(--font-display); font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 700; line-height: 1; color: white; display: block;
}
.trust-label { font-size: .75rem; font-weight: 500; color: rgba(255,255,255,.58); letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }

/* ── Ticker ───────────────────────────────────────────────────── */
.ticker {
  background: var(--navy); height: 48px; display: flex; align-items: center;
  overflow: hidden; border-top: 1px solid rgba(255,255,255,.05);
}
.ticker-track {
  display: flex; gap: 56px; animation: ticker 28s linear infinite;
  white-space: nowrap; will-change: transform;
}
.ticker-item { font-size: .8125rem; color: rgba(255,255,255,.45); flex-shrink: 0; }
.ticker-item strong { color: var(--indigo-lt); margin-right: 8px; }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ── Section ─────────────────────────────────────────────────── */
.section { padding: var(--section) 0; }
.section-light { background: var(--surface); }
.section-white { background: var(--white); }
.section-dark { background: var(--navy); color: white; }
.section-gradient {
  background: linear-gradient(135deg, var(--indigo-dk), var(--violet));
  color: white;
}
.section-center { text-align: center; }
.section-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Pack cards ──────────────────────────────────────────────── */
.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); gap: 20px; }
.pack-card {
  background: white; border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: all var(--t); box-shadow: var(--sh-sm);
}
.pack-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
.pack-thumb {
  aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  color: white; padding: 20px; text-align: center;
  position: relative; overflow: hidden;
}
.pack-thumb-text { position: relative; z-index: 1; line-height: 1.3; }
.pack-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.3) 100%);
}
.pack-thumb-gk     { background: linear-gradient(135deg, #4338ca, #6366f1); }
.pack-thumb-history{ background: linear-gradient(135deg, #5b21b6, #7c3aed); }
.pack-thumb-science{ background: linear-gradient(135deg, #3730a3, #4f46e5); }
.pack-thumb-sport  { background: linear-gradient(135deg, #6d28d9, #8b5cf6); }
.pack-thumb-music  { background: linear-gradient(135deg, #86198f, #a21caf); }
.pack-thumb-geo    { background: linear-gradient(135deg, #4c1d95, #6d28d9); }
.pack-thumb-ent    { background: linear-gradient(135deg, #9d174d, #be185d); }
.pack-thumb-food   { background: linear-gradient(135deg, #7c2d92, #9333ea); }
.pack-thumb-default{ background: linear-gradient(135deg, var(--indigo-dk), var(--violet)); }
.pack-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.pack-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--amber); color: var(--navy);
  font-size: .6875rem; font-weight: 700; letter-spacing: .06em;
  padding: 4px 10px; border-radius: var(--r-sm); text-transform: uppercase;
}
.pack-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.pack-cat { font-size: .75rem; font-weight: 600; color: var(--indigo); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.pack-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.25; margin-bottom: 6px; }
.pack-desc { font-size: .8125rem; color: var(--slate); line-height: 1.65; margin-bottom: 12px; }
.pack-meta { display: flex; gap: 10px; align-items: center; font-size: .75rem; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap; }
.diff-tag { display: inline-block; padding: 2px 8px; border-radius: var(--r-sm); font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.diff-easy   { background: rgba(16,185,129,.1); color: #065f46; }
.diff-medium { background: rgba(99,102,241,.1); color: #3730a3; }
.diff-hard   { background: rgba(239,68,68,.1);  color: #991b1b; }
.diff-mixed  { background: rgba(245,158,11,.1); color: #92400e; }
.pack-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); gap: 12px; }
.pack-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.pack-free { color: var(--emerald); }
.pack-btn { background: var(--indigo); color: white; border: none; padding: 9px 18px; font-size: .8125rem; font-weight: 600; text-decoration: none; border-radius: var(--r-sm); transition: all var(--t); white-space: nowrap; font-family: var(--font-body); cursor: pointer; }
.pack-btn:hover { background: var(--indigo-dk); transform: translateY(-1px); }
.pack-downloads { font-size: .6875rem; color: var(--muted); }

/* ── Category cards ──────────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cat-card {
  background: white; border: 1px solid var(--border); border-radius: var(--r);
  text-decoration: none; color: var(--navy);
  transition: all var(--t); display: flex; flex-direction: column;
  box-shadow: var(--sh-sm); overflow: hidden;
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--indigo); box-shadow: var(--sh); }
.cat-card-body { padding: 22px 18px; display: flex; flex-direction: column; gap: 8px; }
.cat-image-wrap {
  display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--surface);
}
.cat-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); }
.cat-card:hover .cat-image-wrap img { transform: scale(1.04); }
.cat-card-has-image .cat-card-body { padding: 16px 18px 20px; }
.cat-icon {
  width: 46px; height: 46px; border-radius: var(--r);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--indigo); background: rgba(99,102,241,.08);
  line-height: 1;
}
.cat-card-has-image .cat-icon {
  margin-top: -34px; position: relative; z-index: 1;
  background: var(--white); box-shadow: var(--sh-sm); border: 1px solid var(--white);
}
.cat-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.cat-count { font-size: .75rem; color: var(--muted); }

/* ── Steps (How it works) ────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--border); }
.step { background: white; padding: 40px 32px; }
.step:hover .step-icon { transform: scale(1.08); }
.step-icon {
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px; transition: transform var(--t);
  color: var(--indigo); background: rgba(99,102,241,.08); border-radius: 14px;
}
.step-num {
  font-family: var(--font-body); font-size: .8125rem; font-weight: 700;
  color: var(--indigo); text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 10px;
}
.step-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.step-desc { font-size: .875rem; color: var(--slate); line-height: 1.7; }

/* ── Benefit cards ───────────────────────────────────────────── */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.benefit-card {
  background: white; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 32px; transition: all var(--t); box-shadow: var(--sh-sm);
}
.benefit-card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.benefit-icon {
  width: 48px; height: 48px; border-radius: var(--r); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
}
.benefit-icon-indigo { background: rgba(99,102,241,.1); }
.benefit-icon-pink   { background: rgba(236,72,153,.1); }
.benefit-icon-amber  { background: rgba(245,158,11,.1); }
.benefit-icon-green  { background: rgba(16,185,129,.1); }
.benefit-icon-violet { background: rgba(124,58,237,.1); }
.benefit-icon-orange { background: rgba(249,115,22,.1); }
.benefit-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.benefit-desc { font-size: .875rem; color: var(--slate); line-height: 1.7; }

/* ── Pricing cards ───────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.price-card {
  background: white; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 36px 32px; position: relative; transition: all var(--t);
  box-shadow: var(--sh-sm);
}
.price-card:hover { box-shadow: var(--sh); transform: translateY(-3px); }
.price-card-featured {
  background: linear-gradient(135deg, var(--indigo-dk), var(--violet));
  border-color: transparent; color: white; box-shadow: 0 16px 48px rgba(79,70,229,.24);
}
.price-card-featured:hover { box-shadow: 0 24px 60px rgba(79,70,229,.28); transform: translateY(-4px); }
.price-featured-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: var(--navy);
  font-size: .6875rem; font-weight: 700; letter-spacing: .08em;
  padding: 5px 16px; white-space: nowrap; border-radius: var(--r-full); text-transform: uppercase;
}
.price-name { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); margin-bottom: 16px; }
.price-card-featured .price-name { color: rgba(255,255,255,.7); }
.price-amount { font-family: var(--font-display); font-size: 3.25rem; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.price-period { font-size: .875rem; color: var(--muted); margin-bottom: 28px; }
.price-card-featured .price-period { color: rgba(255,255,255,.55); }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.price-features li { font-size: .875rem; display: flex; gap: 10px; align-items: flex-start; }
.price-features li::before { content: '✓'; color: var(--indigo); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.price-card-featured .price-features li::before { color: rgba(255,255,255,.8); }
.price-card-featured .price-features li { color: rgba(255,255,255,.85); }
.price-btn { display: block; width: 100%; padding: 14px; text-align: center; font-family: var(--font-body); font-size: .9375rem; font-weight: 600; border: 2px solid var(--border); background: transparent; color: var(--navy); cursor: pointer; border-radius: var(--r-sm); text-decoration: none; transition: all var(--t); }
.price-btn:hover { border-color: var(--indigo); color: var(--indigo); background: rgba(99,102,241,.05); }
.price-card-featured .price-btn { background: white; border-color: white; color: var(--indigo-dk); }
.price-card-featured .price-btn:hover { background: rgba(255,255,255,.9); }

/* ── Testimonials ────────────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testi-card {
  background: white; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 32px; box-shadow: var(--sh-sm); transition: all var(--t);
}
.testi-card:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.testi-stars { color: var(--amber); font-size: .9375rem; letter-spacing: 2px; margin-bottom: 16px; }
.testi-text { font-size: .9375rem; color: var(--slate); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--indigo), var(--amber));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: white; font-size: 1rem;
}
.testi-name { font-weight: 600; font-size: .875rem; }
.testi-role { font-size: .75rem; color: var(--muted); }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); }
.faq-question {
  width: 100%; background: none; border: none; padding: 20px 24px;
  font-family: var(--font-body); font-size: .9375rem; font-weight: 600;
  text-align: left; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; color: var(--navy); transition: background var(--t);
}
.faq-question:hover { background: var(--surface); }
.faq-question[aria-expanded="true"] { color: var(--indigo); }
.faq-icon {
  flex-shrink: 0; width: 22px; height: 22px; border: 2px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .75rem; transition: all var(--t); color: var(--muted);
}
.faq-question[aria-expanded="true"] .faq-icon { background: var(--indigo); border-color: var(--indigo); color: white; transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 24px 20px; font-size: .875rem; color: var(--slate); line-height: 1.8; }
.faq-answer.open { display: block; }

/* ── CTA banner ──────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 55%, #4c1d95 100%);
  padding: clamp(56px, 9vw, 96px) 0; text-align: center; color: white;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  top: -200px; right: -100px; pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--font-display); font-size: clamp(1.9rem, 5vw, 3.1rem);
  font-weight: 700; margin-bottom: 16px; line-height: 1.08;
}
.cta-banner p { font-size: 1.0625rem; color: rgba(255,255,255,.7); max-width: 480px; margin: 0 auto 36px; }

/* ── Page hero (inner pages) ─────────────────────────────────── */
.page-hero {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.page-hero-inner { display: flex; align-items: center; gap: 40px; justify-content: space-between; }
.page-hero-copy { flex: 1 1 auto; min-width: 0; }
.page-hero-image {
  flex: 0 0 auto; width: 220px; aspect-ratio: 4/3; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh);
}
.page-hero-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .page-hero-inner { flex-direction: column-reverse; align-items: stretch; } .page-hero-image { width: 100%; aspect-ratio: 16/9; } }
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(1.9rem, 4.5vw, 2.95rem);
  font-weight: 700; line-height: 1.08; margin-bottom: 12px;
}
.page-hero p { font-size: 1.0625rem; color: var(--slate); max-width: 520px; }
.page-hero-meta { display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.page-hero-meta span { font-size: .8125rem; color: var(--muted); }
.page-hero-meta strong { color: var(--indigo); font-weight: 700; }
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: .8125rem; color: var(--muted); list-style: none; margin-bottom: 16px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color var(--t); }
.breadcrumb a:hover { color: var(--indigo); }
.breadcrumb li+li::before { content: '/'; margin-right: 6px; opacity: .4; }

/* ── Packs sidebar filters ───────────────────────────────────── */
.packs-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 48px 0; align-items: start; }
@media (max-width: 900px) { .packs-layout { grid-template-columns: 1fr; } }
.sidebar-filters { position: sticky; top: 84px; }
@media (max-width: 900px) { .sidebar-filters { position: static; } }
.filter-panel { background: white; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; margin-bottom: 12px; box-shadow: var(--sh-sm); }
.filter-heading { background: var(--surface); color: var(--slate); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.filter-body { padding: 12px; }
.filter-links { display: flex; flex-direction: column; gap: 2px; }
.filter-link { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; font-size: .875rem; text-decoration: none; color: var(--navy); border-radius: var(--r-sm); transition: all var(--t); }
.filter-link:hover { background: var(--surface); color: var(--indigo); }
.filter-link.active { background: rgba(99,102,241,.08); color: var(--indigo); font-weight: 600; }
.filter-count { font-size: .7rem; color: var(--muted); }
.diff-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.diff-btn { padding: 6px 12px; border: 1px solid var(--border); background: white; font-size: .75rem; font-weight: 500; cursor: pointer; border-radius: var(--r-sm); text-decoration: none; color: var(--slate); transition: all var(--t); }
.diff-btn:hover, .diff-btn.active { border-color: var(--indigo); color: var(--indigo); background: rgba(99,102,241,.06); }
.search-wrap { position: relative; }
.search-input { width: 100%; background: var(--surface); border: 1px solid var(--border); color: var(--navy); padding: 10px 14px 10px 38px; font-size: .875rem; border-radius: var(--r-sm); font-family: var(--font-body); transition: border-color var(--t); }
.search-input:focus { outline: none; border-color: var(--indigo); background: white; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

/* Packs toolbar */
.packs-toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.results-count { font-size: .875rem; color: var(--muted); white-space: nowrap; }
.sort-select { background: white; border: 1px solid var(--border); color: var(--navy); padding: 9px 14px; font-size: .875rem; border-radius: var(--r-sm); cursor: pointer; font-family: var(--font-body); }
.sort-select:focus { outline: none; border-color: var(--indigo); }

/* Empty state */
.empty-state { text-align: center; padding: 80px 24px; }
.empty-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.empty-state p { font-size: .9375rem; color: var(--slate); margin-bottom: 24px; }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.page-btn { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; border: 1px solid var(--border); background: white; color: var(--navy); font-size: .875rem; text-decoration: none; border-radius: var(--r-sm); transition: all var(--t); padding: 0 12px; }
.page-btn:hover { border-color: var(--indigo); color: var(--indigo); }
.page-btn.active { background: var(--indigo); border-color: var(--indigo); color: white; font-weight: 600; }
.page-btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-mid); color: rgba(255,255,255,.5);
  padding: 72px 0 32px; border-top: 1px solid rgba(255,255,255,.05);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: white; text-decoration: none; display: block; margin-bottom: 12px; }
.footer-logo em { color: var(--indigo-lt); font-style: normal; }
.footer-tagline { font-size: .875rem; line-height: 1.7; margin-bottom: 20px; max-width: 260px; }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm); color: rgba(255,255,255,.45);
  text-decoration: none; transition: all var(--t);
}
.social-btn:hover { border-color: var(--indigo-lt); color: var(--indigo-lt); }
.footer-col-title { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.5); text-decoration: none; transition: color var(--t); }
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; font-size: .8125rem; color: rgba(255,255,255,.3);
}
.footer-bottom a { color: rgba(255,255,255,.3); text-decoration: none; transition: color var(--t); }
.footer-bottom a:hover { color: rgba(255,255,255,.6); }

/* ── Pack detail page ────────────────────────────────────────── */
.pack-detail-hero {
  background: linear-gradient(135deg, #1e1b4b, #312e81, #4c1d95);
  padding: 56px 0; color: white;
}
.pack-detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; padding: 56px 0; }
@media (max-width: 900px) { .pack-detail-grid { grid-template-columns: 1fr; } }
.pack-sticky-card { position: sticky; top: 84px; }
@media (max-width: 900px) { .pack-sticky-card { position: static; } }
.buy-card {
  background: white; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--sh-lg);
}
.buy-price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }

/* ── Shared marketing / legal layouts ───────────────────────── */
.action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.tool-btn,
.tool-btn-strong,
.tool-btn-soft,
.tool-btn-danger {
  border: 1px solid var(--border);
  background: white;
  color: var(--navy);
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t);
}

.tool-btn:hover,
.tool-btn-soft:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background: rgba(99,102,241,.05);
}

.tool-btn-strong {
  background: var(--indigo);
  border-color: var(--indigo);
  color: white;
}

.tool-btn-strong:hover {
  background: var(--indigo-dk);
  border-color: var(--indigo-dk);
}

.tool-btn-danger {
  color: var(--rose);
  border-color: rgba(244,63,94,.25);
  background: rgba(244,63,94,.05);
}

.marketing-hero {
  background: linear-gradient(180deg, var(--surface) 0%, #eef0fd 100%);
  border-bottom: 1px solid var(--border);
  padding: clamp(56px, 8vw, 88px) 0;
}

.marketing-hero-dark {
  background: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%);
  color: white;
}

.marketing-hero .eyebrow,
.marketing-hero-dark .eyebrow {
  margin-bottom: 16px;
}

.marketing-hero-dark .eyebrow {
  color: var(--indigo-lt);
}

.marketing-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: .97;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  max-width: 12ch;
}

.marketing-hero p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--slate);
  max-width: 62ch;
}

.marketing-hero-dark p {
  color: rgba(255,255,255,.8);
}

.marketing-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.marketing-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(24,35,46,.1);
  border-radius: var(--r-full);
  background: rgba(255,255,255,.6);
  font-size: .85rem;
  color: var(--slate);
}

.marketing-hero-dark .marketing-meta span {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.82);
}

.editorial-shell {
  padding: clamp(48px, 7vw, 80px) 0;
}

.editorial-layout,
.contact-layout {
  display: grid;
  gap: 28px;
}

.editorial-layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .85fr);
  align-items: start;
}

.editorial-layout-narrow {
  max-width: 760px;
}

.editorial-layout-narrow,
.legal-copy {
  margin: 0 auto;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .85fr);
  align-items: start;
}

.editorial-card,
.legal-card,
.form-card,
.side-card,
.status-panel,
.placeholder-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

.editorial-card,
.legal-card,
.form-card,
.status-panel {
  padding: 32px;
}

.side-card,
.placeholder-card {
  padding: 26px;
}

.card-stack,
.form-stack,
.meta-list,
.check-list,
.link-list-plain {
  display: grid;
  gap: 14px;
}

.section-kicker {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}

.editorial-card h2,
.legal-copy h2,
.status-panel h2,
.side-card h2,
.form-card h2,
.placeholder-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.12;
  margin-bottom: 12px;
}

.editorial-card h3,
.legal-copy h3,
.side-card h3,
.form-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.18;
  margin-bottom: 8px;
}

.editorial-card p,
.legal-copy p,
.status-panel p,
.side-card p,
.form-card p,
.placeholder-card p {
  color: var(--slate);
  line-height: 1.75;
}

.legal-shell {
  padding: clamp(48px, 7vw, 80px) 0;
}

.legal-copy {
  max-width: 760px;
}

.legal-copy h2 {
  margin-top: 34px;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy ul,
.legal-copy ol {
  padding-left: 20px;
  margin: 0 0 18px;
  color: var(--slate);
}

.legal-copy li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.legal-copy a,
.editorial-card a,
.side-card a,
.form-card a,
.status-panel a {
  color: var(--indigo);
}

.notice-card {
  border-left: 4px solid var(--amber);
  background: linear-gradient(180deg, var(--white) 0%, var(--surface) 100%);
}

.summary-grid,
.placeholder-grid,
.icon-grid {
  display: grid;
  gap: 18px;
}

.summary-grid,
.placeholder-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.icon-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.icon-panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: var(--sh-sm);
}

.icon-panel-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(99,102,241,.08);
  color: var(--indigo);
  margin-bottom: 16px;
}

.icon-panel h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.eyebrow-note,
.small-print {
  font-size: .85rem;
  color: var(--muted);
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
}

.field-label-required {
  color: var(--rose);
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--navy);
  padding: 13px 14px;
  font-size: .95rem;
  font-family: var(--font-body);
  transition: border-color var(--t), box-shadow var(--t);
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99,102,241,.08);
}

.field-textarea {
  min-height: 148px;
  resize: vertical;
}

.status-message {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  background: var(--surface);
  color: var(--navy);
}

.status-message-error {
  border-color: rgba(244,63,94,.22);
  background: rgba(244,63,94,.06);
  color: #be123c;
}

.status-message-success {
  border-color: rgba(16,185,129,.22);
  background: rgba(16,185,129,.08);
  color: #047857;
}

.side-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.side-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.side-list strong {
  display: block;
  margin-bottom: 4px;
}

.side-list-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(99,102,241,.08);
  color: var(--indigo);
}

.placeholder-card {
  opacity: .92;
}

.placeholder-badge {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--slate);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 12px;
}

.status-panel-centered {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.status-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--indigo);
}

.status-icon-pending {
  background: var(--violet);
}

@media (max-width: 900px) {
  .editorial-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
.buy-price-sub { font-size: .875rem; color: var(--muted); margin-bottom: 24px; }
.buy-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.buy-features li { font-size: .875rem; display: flex; align-items: flex-start; gap: 10px; color: var(--slate); }
.buy-features li::before { content: '✓'; color: var(--emerald); font-weight: 700; flex-shrink: 0; }
.sample-questions { display: flex; flex-direction: column; gap: 12px; }
.sample-q { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px 20px; }
.sample-q-text { font-size: .9375rem; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.sample-q-answer { font-size: .8125rem; color: var(--indigo); font-weight: 600; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print { .site-header, .ticker, .hero, .site-footer { display: none; } }
