/* === ACE ACHIEVERS SITE CSS · v2.0 ===
   Design system: Strict brand palette (Maths=Teal, Writing=Gold, Science=Royal Blue)
   Animations: WEBSITE-NEMO-DESIGN A-M
*/

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand Base */
  --midnight-navy: #0B162B;
  --soft-white: #FFFFFF;
  --cool-mist-grey: #F2F5F9;
  --border-grey: #E5E8EE;
  --warm-gold: #D4A644;

  /* Maths Palette (Teal) */
  --teal-primary: #0CA58E;
  --deep-teal: #067F73;
  --pale-teal: #D6F2EF;
  --teal-tint: #ECFBF8;

  /* Writing Palette (Gold) */
  --gold-primary: #D4A644;
  --deep-gold: #B88717;
  --pale-gold: #FFE9B8;
  --gold-tint: #FFF6E2;

  /* Science Palette (Royal Blue) */
  --royal-blue: #0D2B7A;
  --deep-blue: #1248C9;
  --pale-blue: #E7F0FF;
  --blue-tint: #F1F6FF;

  /* Computer Science Palette (Cyber Violet) */
  --cs-primary: #6D4AFF;
  --cs-deep: #4A2FD6;
  --cs-pale: #E6DEFF;
  --cs-tint: #F4F1FF;

  /* Aliases (default = Maths Teal; subject pages override) */
  --navy: var(--midnight-navy);
  --teal: var(--teal-primary);
  --accent: var(--teal-primary);
  --accent-dark: var(--deep-teal);
  --accent-pale: var(--pale-teal);
  --accent-tint: var(--teal-tint);
  --gold: var(--warm-gold);
  --bg-page: #FAFBFC;
  --bg-card: var(--soft-white);
  --mist: var(--cool-mist-grey);
  --border: var(--border-grey);
  --text-primary: var(--midnight-navy);
  --text-secondary: #6B7280;

  --shadow-sm: 0 1px 2px rgba(11,22,43,0.04);
  --shadow-md: 0 4px 12px rgba(11,22,43,0.06);
  --shadow-lg: 0 8px 24px rgba(11,22,43,0.08);
  --shadow-xl: 0 20px 48px rgba(11,22,43,0.12);
  --radius: 12px;
}

/* Subject-page color overrides */
.theme-writing {
  --accent: var(--gold-primary);
  --accent-dark: var(--deep-gold);
  --accent-pale: var(--pale-gold);
  --accent-tint: var(--gold-tint);
}
.theme-science {
  --accent: var(--deep-blue);
  --accent-dark: var(--royal-blue);
  --accent-pale: var(--pale-blue);
  --accent-tint: var(--blue-tint);
}
.theme-cs {
  --accent: var(--cs-primary);
  --accent-dark: var(--cs-deep);
  --accent-pale: var(--cs-pale);
  --accent-tint: var(--cs-tint);
}

body { font-family: 'Inter', sans-serif; color: var(--text-primary); background: var(--bg-page); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Trial reassurance note under CTAs (Netflix-style billing) */
.trial-note { font-size: .72rem; color: var(--text-secondary); text-align: center; margin-top: 6px; line-height: 1.4; }
.trial-note strong { color: var(--text-primary); font-weight: 600; }

/* Platform Roadmap section */
.roadmap { padding: 72px 0; background: var(--bg-page); }
.roadmap-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; max-width: 1000px; margin: 32px auto 0; }
.rm-col { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; }
.rm-col.live { border-color: var(--teal-primary); border-top: 4px solid var(--teal-primary); box-shadow: var(--shadow-lg); }
.rm-col.future { opacity: .82; }
.rm-label { font-size: .72rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 4px; }
.rm-col.live .rm-label { color: var(--teal-primary); }
.rm-col.future .rm-label { color: var(--text-secondary); }
.rm-term { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.rm-item { display: flex; align-items: flex-start; gap: 9px; padding: 8px 0; font-size: .9rem; line-height: 1.45; border-bottom: 1px solid var(--border); }
.rm-item:last-child { border-bottom: none; }
.rm-item .rm-mark { flex-shrink: 0; font-size: .95rem; }
.rm-col.live .rm-item { color: var(--text-primary); font-weight: 500; }
.rm-col.future .rm-item { color: var(--text-secondary); }
.rm-item .rm-tag { font-size: .68rem; color: var(--text-secondary); margin-top: 1px; }
@media (max-width: 860px) { .roadmap-grid { grid-template-columns: 1fr; } }

/* Empty leaderboard / first-cohort state */
.lb-empty { text-align: center; padding: 40px 24px; color: var(--text-secondary); }
.lb-empty .lb-empty-icon { font-size: 2rem; margin-bottom: 12px; }
.lb-empty p { font-size: .92rem; line-height: 1.5; max-width: 420px; margin: 0 auto; }

/* === Animations (A-M from WEBSITE-NEMO-DESIGN) === */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-left.in { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-right.in { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(.95); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-scale.in { opacity: 1; transform: scale(1); }
.stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .7s ease-out, transform .7s ease-out; }
/* Default: any stagger child becomes visible when .in is added (delay capped at .6s) */
.stagger.in > * { opacity: 1; transform: translateY(0); }
.stagger.in > *:nth-child(1)  { transition-delay: 0s; }
.stagger.in > *:nth-child(2)  { transition-delay: .08s; }
.stagger.in > *:nth-child(3)  { transition-delay: .16s; }
.stagger.in > *:nth-child(4)  { transition-delay: .24s; }
.stagger.in > *:nth-child(5)  { transition-delay: .32s; }
.stagger.in > *:nth-child(6)  { transition-delay: .40s; }
.stagger.in > *:nth-child(7)  { transition-delay: .48s; }
.stagger.in > *:nth-child(8)  { transition-delay: .56s; }
.stagger.in > *:nth-child(9)  { transition-delay: .60s; }
.stagger.in > *:nth-child(n+10) { transition-delay: .60s; }
.clip-reveal { clip-path: inset(0% 100% 0% 0%); transition: clip-path 1.2s cubic-bezier(.77,0,.175,1); }
.clip-reveal.in { clip-path: inset(0% 0% 0% 0%); }
.clip-reveal-right { clip-path: inset(0% 0% 0% 100%); transition: clip-path 1.2s cubic-bezier(.77,0,.175,1); }
.clip-reveal-right.in { clip-path: inset(0% 0% 0% 0%); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .stagger > *, .clip-reveal, .clip-reveal-right { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* === Buttons (J) === */
.btn { display: inline-block; padding: 12px 26px; border-radius: 8px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .25s cubic-bezier(.34,1.56,.64,1); border: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11,22,43,.18); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); padding: 10px 24px; }
.btn-outline:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--accent-pale); transform: translateY(-2px); }

/* === Section Titles === */
.section-title { font-size: 1.95rem; margin-bottom: 14px; letter-spacing: -.02em; line-height: 1.2; }
.section-title.center { text-align: center; }
.section-sub { color: var(--text-secondary); font-size: .98rem; line-height: 1.6; }
.section-sub.center { text-align: center; max-width: 600px; margin: 0 auto 36px; }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; align-self: flex-start; }
.feature-sec.navy .eyebrow { color: var(--gold); }

/* === Nav (H) === */
.nav { position: sticky; top: 0; z-index: 1000; padding: 13px 0; background: var(--navy); transition: all .4s ease; }
.nav.scrolled { background: rgba(11,22,43,.95); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(0,0,0,.15); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a,
.nav-dropdown-trigger { color: rgba(255,255,255,.78); font-size: .92rem; font-weight: 500; transition: color .2s; padding-bottom: 4px; }
.nav-links a:hover,
.nav-dropdown-trigger:hover { color: #fff; }
.nav-links a.active,
.nav-dropdown-trigger.active { color: var(--accent); border-bottom: 2px solid var(--accent); }
.theme-writing .nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }
.theme-science .nav-links a.active { color: #4a78ff; border-bottom-color: #4a78ff; }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}
.nav-dropdown-trigger::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 1001;
  min-width: 170px;
  display: grid;
  gap: 4px;
  padding: 10px;
  list-style: none;
  background: rgba(11,22,43,.98);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,.08);
}
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-login { color: rgba(255,255,255,.78); font-size: .92rem; }
.nav-login:hover { color: #fff; }
.nav-cta { padding: 9px 20px; font-size: .88rem; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--navy); padding: 20px; gap: 14px; }
  .nav-links.open { display: flex; }
  .nav-dropdown { width: 100%; text-align: center; }
  .nav-dropdown-menu {
    position: static;
    width: min(260px, 100%);
    margin: 10px auto 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,.06);
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: none;
  }
  .nav-hamburger { display: block; }
  .nav-login { display: none; }
}

/* === Hero (image fullbleed) === */
.hero { background: var(--navy); padding: 0; max-height: 560px; overflow: hidden; position: relative; }
.hero img { width: 100%; max-width: 1600px; margin: 0 auto; display: block; max-height: 560px; object-fit: cover; object-position: center; }
@media (max-width: 768px) { .hero { max-height: 380px; } .hero img { max-height: 380px; } }

/* Image placeholder for missing visuals */
.img-placeholder { background: var(--mist); border: 2px dashed var(--border); border-radius: var(--radius); padding: 40px 24px; text-align: center; color: var(--text-secondary); font-family: 'Inter', sans-serif; font-size: .85rem; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.img-placeholder strong { color: var(--navy); font-weight: 700; font-size: .95rem; }
.img-placeholder small { color: var(--text-secondary); font-size: .78rem; }

/* === Perfect For === */
.perfect-for { padding: 64px 0; background: var(--bg-page); }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pf-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pf-card { background: var(--bg-card); border-radius: var(--radius); padding: 24px 22px; border: 1px solid var(--border); transition: all .3s cubic-bezier(.34,1.56,.64,1); display: flex; gap: 16px; align-items: flex-start; }
.pf-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); border-color: var(--accent-pale); }
.pf-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 10px; background: var(--accent-tint); display: flex; align-items: center; justify-content: center; color: var(--accent); transition: all .3s cubic-bezier(.34,1.56,.64,1); }
.pf-icon svg { width: 26px; height: 26px; transition: all .3s; }
.pf-card:hover .pf-icon { background: var(--accent); color: #fff; transform: scale(1.08); box-shadow: 0 8px 20px rgba(11,22,43,.18); }
.pf-content { flex: 1; }
.pf-scenario { font-size: .9rem; color: var(--text-secondary); margin-bottom: 10px; line-height: 1.55; }
.pf-recommend { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; font-family: 'Playfair Display', serif; }
.pf-recommend .arrow { color: var(--accent); margin-right: 4px; transition: transform .3s; display: inline-block; }
.pf-card:hover .arrow { transform: translateX(4px); }
.pf-desc { font-size: .82rem; color: var(--text-secondary); }
@media (max-width: 1024px) { .pf-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .pf-grid, .pf-grid.cols-4 { grid-template-columns: 1fr; } }

/* === Products === */
.products { padding: 64px 0; background: var(--mist); }
.product-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 18px; position: relative; transition: all .3s cubic-bezier(.34,1.56,.64,1); display: flex; flex-direction: column; border-top: 3px solid transparent; }
.product-card:hover { border-color: var(--accent); border-top-color: var(--gold); box-shadow: var(--shadow-xl); transform: translateY(-8px); }
.product-card.featured { border-color: var(--accent); border-top-color: var(--accent); }
.product-card.featured::before { content: 'Popular'; position: absolute; top: -10px; right: 14px; background: var(--accent); color: #fff; padding: 3px 10px; border-radius: 20px; font-size: .68rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.pc-tag { display: inline-block; background: var(--accent-tint); color: var(--accent-dark); font-size: .66rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 8px; align-self: flex-start; }
.pc-tag.gold { background: rgba(212,166,68,.12); color: #8a6a15; }
.pc-tag.mock { background: var(--cool-mist-grey); color: var(--text-secondary); }
.pc-tag.sub { background: rgba(212,166,68,.12); color: #8a6a15; }
.pc-name { font-size: 1.08rem; font-weight: 700; margin-bottom: 3px; font-family: 'Playfair Display', serif; }
.pc-level { font-size: .78rem; color: var(--text-secondary); margin-bottom: 12px; }
.pc-price { font-size: 1.55rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; font-family: 'Inter', sans-serif; line-height: 1; }
.pc-price span { font-size: .78rem; font-weight: 400; color: var(--text-secondary); font-family: 'Inter', sans-serif; }
.pc-free { color: var(--accent); font-weight: 600; font-size: .76rem; margin-bottom: 12px; }
.pc-details { list-style: none; margin-bottom: 14px; flex-grow: 1; }
.pc-details li { padding: 3px 0; font-size: .8rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 6px; line-height: 1.45; }
.pc-details li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.pc-cta { width: 100%; text-align: center; font-size: .85rem; padding: 10px 14px; }
.pc-link { display: block; text-align: center; margin-top: 6px; color: var(--accent); font-size: .78rem; font-weight: 500; }
.pc-link:hover { text-decoration: underline; }
@media (max-width: 1024px) { .product-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-row { grid-template-columns: 1fr; } }

/* === Feature Section (Split Layout) === */
.feature-sec { padding: 72px 0; }
.feature-sec.alt { background: var(--mist); }
.feature-sec.navy { background: var(--navy); color: #fff; }
.feature-sec.navy .section-sub { color: rgba(255,255,255,.7); }
.feature-sec.navy .feature-bullets li { color: rgba(255,255,255,.85); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-text { display: flex; flex-direction: column; gap: 8px; }
.split-img { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-xl); border: 1px solid var(--border); background: #fff; position: relative; }
.split-img.no-frame { box-shadow: none; border: none; background: transparent; }
.split-img img { width: 100%; display: block; }
.feature-bullets { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.feature-bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; color: var(--text-secondary); line-height: 1.55; }
.feature-bullets li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.feature-sec.navy .feature-bullets li svg { color: var(--accent); }
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-text { order: 1; }
  .split.reverse .split-img { order: 2; }
}

/* === Leaderboard === */
.leaderboard { padding: 64px 0; background: var(--mist); }
.lb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 940px; margin: 0 auto; }
.lb-card { background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .3s; }
.lb-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.lb-header { padding: 14px 18px; background: var(--navy); color: #fff; font-size: .85rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.lb-header .badge { background: var(--accent); padding: 2px 8px; border-radius: 4px; font-size: .68rem; letter-spacing: .5px; text-transform: uppercase; }
.lb-header.streak .badge { background: #E67E22; }
.lb-row { display: grid; grid-template-columns: 40px 1fr 90px; padding: 12px 18px; border-bottom: 1px solid var(--border); align-items: center; font-size: .9rem; transition: background .15s; }
.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: var(--accent-tint); }
.lb-rank { font-weight: 700; }
.lb-row:nth-child(2) .lb-rank { color: var(--gold); font-size: 1.15rem; }
.lb-row:nth-child(3) .lb-rank { color: #95a5a6; font-size: 1.08rem; }
.lb-row:nth-child(4) .lb-rank { color: #cd7f32; font-size: 1.04rem; }
.lb-name { font-weight: 500; }
.lb-name small { display: block; font-size: .72rem; color: var(--text-secondary); font-weight: 400; margin-top: 1px; }
.lb-score { font-weight: 700; color: var(--accent); text-align: right; }
.lb-card.streak .lb-score { color: #E67E22; }
.lb-card.streak .lb-score::before { content: '🔥 '; }
@media (max-width: 768px) { .lb-grid { grid-template-columns: 1fr; } }

/* === CTA Band === */
.cta-band { padding: 64px 0; background: linear-gradient(135deg, var(--navy) 0%, #132240 100%); text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(212,166,68,.15) 0%, transparent 70%); animation: glow-breathe 4s ease-in-out infinite; }
@keyframes glow-breathe { 0%, 100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: 2.1rem; margin-bottom: 10px; }
.cta-band p { font-size: 1rem; opacity: .8; margin-bottom: 24px; }

/* === Footer === */
.footer { background: var(--navy); color: rgba(255,255,255,.65); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand .logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--gold); margin-bottom: 10px; }
.footer-brand p { font-size: .84rem; line-height: 1.55; }
.footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,.55); font-size: .84rem; transition: color .2s; }
.footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: .8rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* === Curriculum (course detail pages) === */
.curriculum { padding: 64px 0; }
.curr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.curr-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: all .3s; }
.curr-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.curr-week { font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.curr-title { font-size: 1.1rem; font-weight: 700; font-family: 'Playfair Display', serif; margin-bottom: 8px; }
.curr-desc { font-size: .88rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 12px; }
.curr-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.curr-tag { background: var(--accent-tint); color: var(--accent-dark); font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
@media (max-width: 768px) { .curr-grid { grid-template-columns: 1fr; } }

/* === FAQ === */
.faq { padding: 64px 0; background: var(--mist); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 18px 24px; font-weight: 600; font-size: .98rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background .2s; }
.faq-q:hover { background: var(--accent-tint); }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--accent); font-weight: 300; transition: transform .3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 24px; font-size: .92rem; color: var(--text-secondary); line-height: 1.6; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 18px; }

/* === Course Hero === */
.course-hero { background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 50%, var(--accent) 100%); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.course-hero::before { content: ''; position: absolute; top: -20%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(11,22,43,.2) 0%, transparent 70%); }
.course-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.8); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.course-tag { display: inline-block; background: rgba(255,255,255,.12); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; border: 1px solid rgba(255,255,255,.18); }
.course-hero h1 { font-size: 3rem; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 14px; }
.course-hero .subtitle { font-size: 1.15rem; line-height: 1.6; color: rgba(255,255,255,.78); margin-bottom: 24px; max-width: 700px; }
.course-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 28px; }
.course-stat { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: rgba(255,255,255,.85); }
.course-stat strong { color: var(--gold); font-family: 'Playfair Display', serif; font-size: 1.2rem; }
.course-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 768px) { .course-hero h1 { font-size: 2rem; } }

/* === What's Included === */
.what-included { padding: 56px 0; }
.included-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.included-card { text-align: center; padding: 20px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); transition: all .3s; }
.included-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-pale); }
.included-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.included-card h4 { font-size: .98rem; margin-bottom: 6px; font-family: 'Playfair Display', serif; }
.included-card p { font-size: .82rem; color: var(--text-secondary); line-height: 1.5; }
@media (max-width: 768px) { .included-grid { grid-template-columns: repeat(2, 1fr); } }

/* === Pricing strip (course detail) === */
.pricing-strip { padding: 56px 0; background: var(--navy); color: #fff; }
.pricing-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; max-width: 900px; margin: 0 auto; align-items: center; }
.pricing-info h2 { font-size: 1.8rem; margin-bottom: 8px; }
.pricing-info p { color: rgba(255,255,255,.75); margin-bottom: 12px; }
.pricing-price { font-size: 3rem; font-weight: 700; font-family: 'Inter', sans-serif; line-height: 1; color: var(--gold); }
.pricing-price span { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,.6); font-family: 'Inter', sans-serif; }
.pricing-cta { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; } .pricing-cta { align-items: center; } }
