/* ============================================================
   Shining Star Academy — Modern Design System (2026)
   Designer: Premium Education · Dark-hero · Bento · Glassmorphic
   ============================================================ */

:root {
  /* Core palette */
  --ink:        #0b0f1e;
  --ink-2:      #1a1f3a;
  --indigo:     #312e81;
  --indigo-2:   #4338ca;
  --violet:     #7c3aed;
  --violet-2:   #a78bfa;
  --amber:      #f59e0b;
  --amber-2:    #fbbf24;
  --orange:     #f97316;
  --pink:       #fb7185;
  --mint:       #10b981;
  --cream:      #fefce8;
  --bg:         #ffffff;
  --bg-soft:    #fafaf9;
  --bg-cream:   #fdf7ee;
  --muted:      #64748b;
  --line:       #e2e8f0;

  /* Effects */
  --ring: 0 0 0 1px rgba(255,255,255,0.08) inset;
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.16);
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 34px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 30px 60px rgba(15, 23, 42, 0.18);
  --radius: 18px;
  --radius-lg: 28px;

  --container: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 14px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; font-weight: 600; }
h4 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
h5 { font-family: 'Inter', sans-serif; font-size: 0.8rem; color: #fff; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }

p { color: var(--muted); }

.italic { font-style: italic; color: var(--indigo-2); font-weight: 500; }
/* On dark backgrounds the italic accent uses warm amber for better contrast */
.final-cta .italic,
.cta-strip .italic,
.section-dark .italic { color: var(--amber-2); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 110px 0; position: relative; }
.section-cream { background: var(--bg-cream); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }
.section-head.light h2, .section-head.light p { color: #fff; }
.section-head.light p { opacity: 0.7; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--indigo-2);
  margin-bottom: 18px;
  padding: 6px 16px;
  background: rgba(67, 56, 202, 0.08);
  border: 1px solid rgba(67, 56, 202, 0.15);
  border-radius: 100px;
}
.eyebrow.amber {
  color: var(--amber-2);
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
}

.grad-text {
  background: linear-gradient(135deg, var(--amber-2) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.grad-text-2 {
  background: linear-gradient(135deg, var(--violet-2) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

.mt-12 { margin-top: 12px; }

/* =================== Announcement =================== */
.announcement {
  background: var(--ink);
  color: #fff;
  font-size: 0.83rem;
  padding: 10px 0;
  position: relative;
  z-index: 50;
}
.announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.announcement a {
  color: var(--amber-2);
  font-weight: 600;
}
.announcement a:hover { color: #fff; }

/* =================== Nav =================== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 14px 8px;        /* shifted brand to the left */
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 0;
}
.brand-mark {
  width: 54px;                         /* was 40px — bigger */
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 6px 14px rgba(245, 158, 11, 0.42));
  flex-shrink: 0;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: 'Fraunces', serif;
  font-size: 1.55rem;                  /* was 1.2rem — bigger */
  font-weight: 800;                    /* was 700 — bolder */
  color: var(--orange);                /* orange brand colour */
  background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.brand-text small {
  font-size: 0.78rem;                  /* was 0.68rem — more visible */
  color: var(--indigo-2);              /* was muted — more visible */
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 700;                    /* was 600 — bolder */
  margin-top: 2px;
}
.brand-light .brand-text strong {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}
.brand-light .brand-text small { color: #94a3b8; }

.nav { display: flex; align-items: center; gap: 22px; flex-wrap: nowrap; }
.nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.92rem;
  position: relative;
  transition: color .2s var(--ease);
  white-space: nowrap;                /* keeps multi-word tabs like "Live Class" on one line */
}
.nav a:not(.btn):hover,
.nav a.active { color: var(--indigo-2); }
.nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--indigo-2);
  border-radius: 2px;
}

/* Tighter spacing on medium-large screens so all 11 nav items + bigger logo fit cleanly */
@media (min-width: 769px) and (max-width: 1280px) {
  .nav      { gap: 14px; }
  .nav a    { font-size: 0.84rem; }
  .brand-text strong { font-size: 1.25rem; }
  .brand-text small  { font-size: 0.66rem;  letter-spacing: 1.4px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand    { gap: 10px; }
  .nav-inner { padding: 12px 16px 12px 6px; }
  .btn-sm   { padding: 7px 14px; font-size: 0.78rem; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .nav      { gap: 12px; }
  .nav a    { font-size: 0.8rem; }
  .nav .btn { display: none; }              /* hide Log In / Sign Up CTAs at this width — Sign Up still in announcement bar */
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .25s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =================== Buttons =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.93rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.btn-hero {
  background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.42), 0 2px 0 rgba(255,255,255,0.4) inset;
}
.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(245, 158, 11, 0.55), 0 2px 0 rgba(255,255,255,0.4) inset;
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); }

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.18); }

/* =================== HERO =================== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #1e1b4b 0%, var(--ink) 70%);
  color: #fff;
  overflow: hidden;
  padding: 70px 0 120px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
  top: -10%; left: -10%;
}
.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--amber) 0%, transparent 70%);
  top: 20%; right: -15%;
  animation-delay: -6s;
  opacity: 0.35;
}
.orb-3 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
  bottom: -15%; left: 30%;
  animation-delay: -12s;
  opacity: 0.3;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.08); }
  66%      { transform: translate(-30px, 40px) scale(0.95); }
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 0%, transparent 80%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  font-size: 0.82rem;
  margin-bottom: 26px;
  color: #fff;
}
.stars { color: var(--amber-2); letter-spacing: 1px; font-size: 0.85rem; }

.hero-title {
  color: #fff;
  font-size: clamp(2.8rem, 5.8vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-sub strong { color: #fff; font-weight: 600; }

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.badge {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.badge strong {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.badge span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
}
.divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.12);
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 520px;
}
.hero-ring {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,0.12);
  animation: spin 40s linear infinite;
}
.hero-ring::before, .hero-ring::after {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.08);
}
.hero-ring::after { inset: 60px; border-color: rgba(255,255,255,0.05); }
@keyframes spin { to { transform: rotate(360deg); } }

.glass-card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 20px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  color: #fff;
  animation: float 6s ease-in-out infinite;
}
.glass-ic {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}
.glass-ic.warm { background: linear-gradient(135deg, var(--pink), #e11d48); box-shadow: 0 6px 16px rgba(251, 113, 133, 0.4); }
.glass-ic.violet { background: linear-gradient(135deg, var(--violet), var(--indigo-2)); box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4); }

.glass-rank { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 700; color: #fff; line-height: 1.1; }
.glass-rank.small { font-size: 1rem; }
.glass-meta { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

.glass-1 { top: 10%; left: -6%; animation-delay: 0s; }
.glass-2 { top: 45%; right: -8%; animation-delay: -2s; }
.glass-3 { bottom: 20%; left: 5%; animation-delay: -4s; }
.glass-4 {
  bottom: -6%;
  right: 10%;
  animation-delay: -1s;
  padding: 16px 20px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.pulse-dot {
  position: absolute;
  top: 14px; right: 14px;
  width: 8px; height: 8px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  100% { box-shadow: 0 0 0 16px rgba(16, 185, 129, 0); }
}

.rating-row { display: flex; align-items: center; gap: 14px; }
.avatars { display: flex; }
.av {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--ink-2);
  margin-left: -8px;
}
.av:first-child { margin-left: 0; }
.a1 { background: linear-gradient(135deg, var(--amber), var(--orange)); }
.a2 { background: linear-gradient(135deg, var(--violet), var(--indigo-2)); }
.a3 { background: linear-gradient(135deg, var(--pink), #e11d48); }
.a4 { background: linear-gradient(135deg, var(--mint), #065f46); font-size: 0.9rem; }

/* =================== Ticker =================== */
.ticker {
  background: var(--ink);
  color: #fff;
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ticker-track {
  display: flex;
  gap: 60px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-track span {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ticker-track span::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--amber);
  border-radius: 50%;
  margin-left: 60px;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =================== BENTO =================== */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 20px;
}
.bento-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: all .3s var(--ease);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.bento-emoji {
  font-size: 2rem;
  width: 56px; height: 56px;
  background: var(--bg-cream);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: auto;
  margin-bottom: 20px;
}
.bento-card p { font-size: 0.93rem; margin-bottom: 16px; }
.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.bento-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  color: rgba(255,255,255,0.9);
}
.bento-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--indigo-2);
  margin-top: auto;
}
.bento-link:hover { color: var(--violet); }

/* Large dark card */
.bento-lg {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--indigo) 100%);
  color: #fff;
  border: none;
  padding: 40px;
}
.bento-lg h3 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 14px;
}
.bento-lg p { color: rgba(255,255,255,0.75); font-size: 1.02rem; max-width: 420px; }
.bento-lg .bento-emoji {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 2.2rem;
  width: 64px; height: 64px;
}
.bento-lg .bento-link { color: var(--amber-2); }
.bento-decor {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber) 0%, transparent 65%);
  opacity: 0.3;
  top: -80px; right: -80px;
  filter: blur(20px);
}

.bento-accent {
  background: linear-gradient(135deg, var(--amber-2) 0%, var(--orange) 100%);
  color: var(--ink);
  border: none;
}
.bento-accent h3 { color: var(--ink); }
.bento-accent p { color: rgba(15,15,30,0.75); }
.bento-accent .bento-emoji { background: rgba(255,255,255,0.35); }
.bento-accent .bento-link { color: var(--ink); }

.bento-violet {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  border: 1px solid rgba(124, 58, 237, 0.15);
}
.bento-violet .bento-emoji { background: rgba(124, 58, 237, 0.12); }

.bento-cta {
  background: var(--ink);
  color: #fff;
  border: none;
  align-items: flex-start;
  justify-content: center;
}
.bento-cta h3 { color: #fff; }
.bento-cta p { color: rgba(255,255,255,0.72); margin-bottom: 20px; }

/* =================== WHY US =================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .3s var(--ease);
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.why-ic {
  font-size: 1.6rem;
  width: 50px; height: 50px;
  background: var(--bg-cream);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.why-card p { font-size: 0.94rem; }

.why-hero {
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--violet) 100%);
  color: #fff;
  border: none;
  position: relative;
  overflow: hidden;
}
.why-hero::after {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  background: radial-gradient(circle, var(--amber) 0%, transparent 60%);
  bottom: -80px; right: -80px;
  opacity: 0.35;
  filter: blur(10px);
}
.why-big {
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--amber-2);
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}
.why-big span { font-size: 2.5rem; color: rgba(255,255,255,0.5); }
.why-label { font-weight: 600; color: #fff; margin-bottom: 14px; font-size: 1.05rem; }
.why-hero p { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

.why-wide {
  grid-column: span 2;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.why-wide .why-ic { background: rgba(255,255,255,0.6); }

/* =================== RESULTS / DARK =================== */
.section-dark {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
  opacity: 0.2;
  top: -100px; left: -100px;
  filter: blur(60px);
}
.section-dark > .container { position: relative; z-index: 2; }

.performers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.performer {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  padding: 26px;
  transition: all .3s var(--ease);
}
.performer:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}
.performer-rank {
  flex-shrink: 0;
  width: 86px; height: 86px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.1;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.3);
}
.performer-rank strong {
  font-family: 'Fraunces', serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.performer-rank.pink { background: linear-gradient(135deg, var(--pink), #e11d48); color: #fff; box-shadow: 0 10px 24px rgba(251, 113, 133, 0.3); }
.performer-rank.violet { background: linear-gradient(135deg, var(--violet-2), var(--violet)); color: #fff; box-shadow: 0 10px 24px rgba(124, 58, 237, 0.3); }
.performer-rank.mint { background: linear-gradient(135deg, var(--mint), #065f46); color: #fff; box-shadow: 0 10px 24px rgba(16, 185, 129, 0.3); }

.performer-body h4 { color: #fff; font-size: 1.1rem; }
.performer-body small { color: rgba(255,255,255,0.55); font-size: 0.82rem; display: block; margin-bottom: 10px; }
.performer-body p { color: rgba(255,255,255,0.8); font-style: italic; font-size: 0.92rem; line-height: 1.55; }

.results-cta { text-align: center; margin-top: 50px; }

/* =================== BRAND STRUCTURE =================== */
.brand-structure-section {
  padding: 70px 0 30px;
  background: var(--bg-soft);
}
.brand-structure {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.bs-tier-1 {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}
.bs-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 28px;
  text-align: left;
  position: relative;
  transition: all .3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.bs-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bs-parent {
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--indigo) 60%, var(--violet) 100%);
  color: #fff;
  border: none;
  max-width: 460px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bs-parent::before {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber) 0%, transparent 60%);
  top: -120px; right: -100px;
  opacity: 0.35;
  filter: blur(20px);
}
.bs-parent h3 {
  color: #fff;
  font-size: 1.7rem;
  margin: 8px 0 8px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}
.bs-parent p { color: rgba(255,255,255,0.75); position: relative; z-index: 2; font-size: 0.92rem; }

.bs-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
  z-index: 2;
}
.bs-tag.amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(249, 115, 22, 0.15));
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.3);
}

.bs-connector {
  height: 60px;
  display: block;
  margin: 0 auto;
  max-width: 600px;
}
.bs-connector svg { width: 100%; height: 100%; }

.bs-tier-2 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 30px;
}
.bs-child h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 10px 0 8px;
  letter-spacing: -0.01em;
}
.bs-child p { font-size: 0.9rem; }

.bs-vs {
  display: flex;
  align-items: center;
  justify-content: center;
}
.bs-vs span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-2) 0%, var(--indigo-2) 100%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.3);
  border: 3px solid #fff;
}

.bs-note {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
  padding: 22px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.bs-note strong { color: var(--indigo-2); }
.bs-note em { color: var(--orange); font-style: normal; font-weight: 600; }

@media (max-width: 768px) {
  .bs-tier-2 { grid-template-columns: 1fr; }
  .bs-vs span { width: 70px; height: 70px; margin: 6px auto; }
  .bs-connector { display: none; }
  .bs-parent { max-width: 100%; }
}

/* =================== RESULTS PAGE =================== */
.results-header { padding: 90px 0 80px; }
.cp-trust-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.cp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 100px;
  color: #fff;
  font-size: 0.88rem;
  backdrop-filter: blur(10px);
}
.cp-pill strong { color: var(--amber-2); font-weight: 700; }
.cp-pill span { font-size: 1rem; }

/* Featured topper */
.topper-feature {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: center;
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--indigo) 50%, var(--violet) 100%);
  color: #fff;
  padding: 50px;
  border-radius: 32px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.topper-feature::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber) 0%, transparent 60%);
  opacity: 0.35;
  top: -200px; right: -150px;
  filter: blur(40px);
}
.topper-photo, .topper-info { position: relative; z-index: 2; }
.topper-photo {
  width: 250px;
  height: 290px;
  border-radius: 22px;
  overflow: hidden;
  border: 4px solid var(--amber-2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  background: var(--ink);
  position: relative;
}
.topper-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.topper-fallback {
  display: none;
  width: 100%; height: 100%;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  font-weight: 700;
  color: #fff;
}
.cp-star {
  display: inline-block;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: var(--ink);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.topper-info h3 {
  color: #fff;
  font-size: 2.4rem;
  font-family: 'Fraunces', serif;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.topper-rank-row {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 22px;
}
.rank-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 26px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}
.rank-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
  font-weight: 600;
}
.rank-num {
  font-family: 'Fraunces', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--amber-2);
  line-height: 1;
  letter-spacing: -0.04em;
}
.percentile {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: var(--ink);
  justify-content: center;
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.45);
  border: 3px solid #fff;
}
.pct-num {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}
.pct-pct { font-size: 0.85rem; font-weight: 700; }
.topper-info p { color: rgba(255,255,255,0.78); font-size: 1rem; max-width: 520px; }

/* Top Performers row — two co-equal featured cards side by side */
.top-performers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-bottom: 30px;
}
.top-performer-card {
  margin-bottom: 0;
  grid-template-columns: 1fr;
  text-align: center;
  gap: 22px;
  padding: 40px 32px;
}
.top-performer-card .topper-photo {
  width: 200px;
  height: 230px;
  margin: 0 auto;
}
.top-performer-card .topper-info { text-align: center; }
.top-performer-card .topper-info h3 {
  font-size: 1.85rem;
  margin-bottom: 18px;
}
.top-performer-card .topper-rank-row {
  justify-content: center;
  margin-bottom: 18px;
}
.top-performer-card .topper-info p {
  max-width: none;
  margin: 0 auto;
  font-size: 0.93rem;
}

@media (max-width: 768px) {
  .top-performers-grid { grid-template-columns: 1fr; }
}

/* Sub-group headings (used inside JEE 2026 section) */
.subgroup-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--ink);
  margin: 60px 0 28px;
  padding: 0 0 14px 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.subgroup-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, var(--amber), var(--orange));
  border-radius: 2px;
}
.subgroup-title small {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-left: auto;
  font-family: 'Inter', sans-serif;
}

/* Subject tag variant (used in 2026 subject toppers) */
.cp-tag.subject {
  background: linear-gradient(135deg, var(--violet) 0%, var(--indigo-2) 100%);
  color: #fff;
}

/* Class divider between 10th and 12th sub-sections */
.class-divider {
  height: 1px;
  margin: 70px auto 10px;
  background: linear-gradient(90deg, transparent 0%, rgba(236, 72, 153, 0.35) 20%, rgba(236, 72, 153, 0.55) 50%, rgba(236, 72, 153, 0.35) 80%, transparent 100%);
  position: relative;
  max-width: 720px;
}
.class-divider::before {
  content: '✦';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-cream);
  color: #ec4899;
  font-size: 1rem;
  padding: 0 14px;
}

/* ICSE grid — single card centred (only 1 supporting student so far) */
.icse-grid {
  grid-template-columns: minmax(240px, 360px);
  justify-content: center;
}

/* Boards 2026 — featured rose-pink gradient (Vaani Raj card) */
.topper-rose {
  background: linear-gradient(135deg, #831843 0%, #be185d 50%, #ec4899 100%);
}
.topper-rose::before {
  background: radial-gradient(circle, #fbbf24 0%, transparent 60%);
  opacity: 0.4;
}
.topper-rose .topper-photo { border-color: #fbbf24; }
.percentile.rose {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.45);
  border-color: #fff;
}
.cp-star.rose {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: var(--ink);
}
.subject-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(190, 24, 93, 0.08));
  color: #be185d;
  border: 1px solid rgba(236, 72, 153, 0.25);
  border-radius: 100px;
  letter-spacing: 0.3px;
}
.subject-pill strong { color: #831843; font-weight: 700; }

/* Boards variants */
.boards-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.boards-card .topper-photo-sm { border-color: #ec4899; }
.cp-tag.boards {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
  color: #fff;
}
.board-pct {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.board-num {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.03em;
}
.board-num small {
  font-size: 1.2rem;
  font-weight: 600;
}
.board-cls {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

@media (max-width: 480px) {
  .boards-grid { grid-template-columns: 1fr; }
}

/* Medical / NEET variants */
.topper-medical {
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #0e7490 100%);
}
.topper-medical::before {
  background: radial-gradient(circle, var(--mint) 0%, transparent 60%);
  opacity: 0.45;
}
.topper-medical .topper-photo { border-color: var(--mint); }
.percentile.medical {
  background: linear-gradient(135deg, var(--mint) 0%, #047857 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.45);
  border-color: #fff;
}
.cp-star.medical {
  background: linear-gradient(135deg, var(--mint) 0%, #047857 100%);
  color: #fff;
}
.cp-tag.medical {
  background: linear-gradient(135deg, var(--mint) 0%, #047857 100%);
  color: #fff;
}
.pct-pill.medical {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(4, 120, 87, 0.14));
  color: #047857;
  border-color: rgba(16, 185, 129, 0.3);
}

.neet-grid {
  grid-template-columns: repeat(3, minmax(220px, 300px));
  justify-content: center;
}
.neet-card .topper-photo-sm { border-color: var(--mint); }
.neet-stats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.rank-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  background: linear-gradient(135deg, rgba(67, 56, 202, 0.1), rgba(124, 58, 237, 0.1));
  color: var(--indigo-2);
  border: 1px solid rgba(67, 56, 202, 0.25);
  border-radius: 100px;
}

@media (max-width: 1024px) {
  .neet-grid { grid-template-columns: repeat(2, minmax(220px, 320px)); }
}
@media (max-width: 768px) {
  .neet-grid { grid-template-columns: 1fr; }
}

/* Other toppers grid */
.toppers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.topper-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px 24px;
  text-align: center;
  position: relative;
  transition: all .3s var(--ease);
}
.topper-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.topper-photo-sm {
  width: 100px;
  height: 110px;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid var(--amber-2);
  background: var(--ink);
  box-shadow: 0 8px 18px rgba(15,23,42,0.18);
  position: relative;
}
.topper-photo-sm img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.topper-fallback-sm {
  display: none;
  width: 100%; height: 100%;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
}
.cp-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: var(--ink);
  font-weight: 700;
  font-size: 0.65rem;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.topper-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.pct-pill {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(249, 115, 22, 0.12));
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 100px;
}

/* JEE Advanced grid */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.adv-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  gap: 24px;
  align-items: center;
  transition: all .3s var(--ease);
}
.adv-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(251, 191, 36, 0.4);
  transform: translateY(-4px);
}
.adv-photo {
  flex-shrink: 0;
  width: 120px;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid var(--amber-2);
  background: var(--ink);
  position: relative;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}
.adv-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.adv-fallback {
  display: none;
  width: 100%; height: 100%;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
}
.adv-info { flex: 1; }
.adv-rank {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 10px 18px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 12px;
}
.adv-rank small {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
  font-weight: 600;
}
.adv-rank strong {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  color: var(--amber-2);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.adv-info h4 {
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.adv-info p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* CP Legacy */
.cp-legacy {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.cp-legacy h2 { margin-bottom: 16px; }
.cp-legacy .hindi {
  font-size: 1.4rem;
  color: var(--indigo-2);
  font-style: italic;
  margin-bottom: 18px;
  font-family: 'Fraunces', serif;
}
.cp-legacy p { font-size: 1.02rem; }
.legacy-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.legacy-stats div { display: flex; flex-direction: column; align-items: center; }
.legacy-stats strong {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  color: var(--indigo-2);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.legacy-stats span { font-size: 0.82rem; color: var(--muted); margin-top: 4px; letter-spacing: 0.5px; }

@media (max-width: 1024px) {
  .toppers-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .topper-feature { grid-template-columns: 1fr; padding: 30px; gap: 26px; }
  .topper-photo { width: 100%; height: 280px; margin: 0 auto; }
  .topper-info h3 { font-size: 1.8rem; }
  .topper-rank-row { gap: 18px; flex-wrap: wrap; }
  .rank-num { font-size: 2.4rem; }
  .percentile { width: 90px; height: 90px; }
  .pct-num { font-size: 1.9rem; }
  .toppers-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: 1fr; }
  .adv-card { flex-direction: column; text-align: center; gap: 18px; }
  .legacy-stats { grid-template-columns: repeat(2, 1fr); }
  .legacy-stats strong { font-size: 1.7rem; }
}

/* =================== LMS PAGE =================== */
.lms-hero { padding: 90px 0 80px; }
.lms-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0 20px;
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* Mobile app download badges */
.app-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 360px));
  gap: 22px;
  justify-content: center;
  margin-bottom: 36px;
}
.app-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--ink);
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  border: 2px solid transparent;
  transition: all .25s var(--ease);
  box-shadow: var(--shadow-md);
}
.app-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber);
}
.app-icon {
  font-size: 2.4rem;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  border-radius: 14px;
  flex-shrink: 0;
}
.app-text { display: flex; flex-direction: column; line-height: 1.2; }
.app-text small {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.app-text strong {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: #fff;
  margin: 2px 0;
}
.app-text .app-meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.app-android:hover .app-icon { background: linear-gradient(135deg, var(--mint), #047857); }
.app-ios:hover .app-icon { background: linear-gradient(135deg, var(--violet), var(--indigo-2)); }

.app-config-note {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.app-config-note h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.app-config-note ol {
  list-style: none;
  counter-reset: app-step;
  padding: 0;
}
.app-config-note ol li {
  counter-increment: app-step;
  padding: 8px 0 8px 38px;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
}
.app-config-note ol li::before {
  content: counter(app-step);
  position: absolute;
  left: 0; top: 8px;
  width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  font-family: 'Inter', sans-serif;
}
.app-config-note code {
  background: var(--bg-cream);
  padding: 2px 10px;
  border-radius: 6px;
  color: var(--indigo-2);
  font-weight: 600;
  font-size: 0.88rem;
}

/* LMS feature grid */
.lms-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.lf-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: all .25s var(--ease);
}
.lf-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 158, 11, 0.3);
}
.lf-icon {
  font-size: 1.7rem;
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-cream);
  border-radius: 14px;
  margin-bottom: 14px;
}
.lf-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  margin-bottom: 6px;
}
.lf-card p { font-size: 0.88rem; line-height: 1.55; }

/* Workflow cards */
.lms-workflows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.workflow-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.workflow-header { margin-bottom: 22px; }
.workflow-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.workflow-badge.mentor {
  background: linear-gradient(135deg, var(--violet), var(--indigo-2));
  color: #fff;
}
.workflow-badge.student {
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: var(--ink);
}
.workflow-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  margin: 0;
}
.workflow-steps {
  list-style: none;
  counter-reset: wf-step;
  padding: 0;
  margin: 0;
}
.workflow-steps li {
  counter-increment: wf-step;
  padding: 10px 0 10px 38px;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}
.workflow-steps li:last-child { border-bottom: 0; }
.workflow-steps li::before {
  content: counter(wf-step);
  position: absolute;
  left: 0; top: 12px;
  width: 26px; height: 26px;
  background: var(--bg-cream);
  color: var(--indigo-2);
  border: 2px solid var(--indigo-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  font-family: 'Inter', sans-serif;
}
.workflow-steps li strong { color: var(--indigo-2); font-weight: 600; }

/* Moodle stats */
.moodle-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.ms-card {
  background: linear-gradient(135deg, #fff, var(--bg-cream));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  transition: transform .25s var(--ease);
}
.ms-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.ms-card strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--indigo-2);
  letter-spacing: -0.02em;
  line-height: 1;
}
.ms-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 6px;
}

.moodle-trust {
  max-width: 760px;
  margin: 0 auto;
  padding: 22px 28px;
  background: var(--bg-cream);
  border-left: 4px solid var(--violet);
  border-radius: 12px;
  text-align: center;
}
.moodle-trust p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink);
}
.moodle-trust strong { color: var(--violet); }

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  transition: all .2s var(--ease);
}
.faq-item[open] {
  border-color: var(--amber);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: -2px;
  font-size: 1.4rem;
  color: var(--amber);
  font-weight: 700;
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}
.faq-item code {
  background: var(--bg-cream);
  padding: 2px 8px;
  border-radius: 5px;
  color: var(--indigo-2);
  font-size: 0.85em;
}

@media (max-width: 1024px) {
  .lms-workflows { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .app-download-grid { grid-template-columns: 1fr; }
}

/* =================== AUTH PAGES (login / signup / payment) =================== */
.auth-section {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(67, 56, 202, 0.08) 0%, transparent 70%),
    var(--bg-cream);
  padding: 70px 0 90px;
  min-height: calc(100vh - 100px);
}
.auth-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.auth-container.single {
  grid-template-columns: 1fr;
  max-width: 540px;
}
.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
}
.auth-card.auth-wide { max-width: 100%; }
.auth-header { text-align: center; margin-bottom: 26px; }
.auth-icon {
  font-size: 2.6rem;
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(67, 56, 202, 0.08));
  border-radius: 22px;
  margin: 0 auto 20px;
}
.auth-card h1 {
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.auth-card > .auth-header > p,
.auth-card > p { color: var(--muted); font-size: 0.95rem; }

.auth-card .form-group { margin-bottom: 18px; }
.auth-card label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.auth-card input,
.auth-card select,
.auth-card textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-soft);
  color: var(--ink);
  transition: all .2s var(--ease);
}
.auth-card input:focus,
.auth-card select:focus,
.auth-card textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.auth-card textarea { min-height: 80px; resize: vertical; }
.auth-card .form-group small {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--muted);
}
.auth-submit {
  width: 100%;
  padding: 15px 30px;
  font-size: 1rem;
  margin-top: 8px;
  justify-content: center;
}

.auth-divider {
  position: relative;
  margin: 28px 0 22px;
  text-align: center;
}
.auth-divider::before {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1px;
  background: var(--line);
}
.auth-divider span {
  position: relative;
  background: #fff;
  padding: 0 16px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.auth-secondary {
  display: block;
  text-align: center;
  padding: 14px 18px;
  background: var(--bg-cream);
  border: 1px dashed var(--amber);
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  transition: all .2s var(--ease);
}
.auth-secondary:hover { background: rgba(245, 158, 11, 0.12); border-style: solid; }
.auth-secondary strong { color: var(--orange); }

.auth-help {
  margin-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
}
.auth-help a { color: var(--indigo-2); font-weight: 600; }

/* Auth aside (right column on login page) */
.auth-aside {
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--indigo) 60%, var(--violet) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.auth-aside::before {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber) 0%, transparent 60%);
  top: -160px; right: -120px;
  opacity: 0.3;
  filter: blur(30px);
}
.auth-aside h2 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.auth-roles {
  list-style: none;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.auth-roles li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
  font-weight: 500;
}
.auth-aside-note {
  position: relative; z-index: 2;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Auth alerts */
.auth-alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 500;
}
.auth-alert.error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #b91c1c;
}
.auth-alert.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #047857;
}

/* Payment page split layout */
.pay-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.pay-qr-block {
  text-align: center;
  padding: 24px 0 12px;
}
.pay-qr-block h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.pay-qr-img {
  width: 240px;
  height: 240px;
  border: 4px solid #fff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  margin: 0 auto 18px;
  display: block;
  background: #fff;
}
.pay-qr-fallback {
  background: var(--bg-cream);
  border: 2px dashed var(--amber);
  border-radius: 14px;
  padding: 30px;
  margin-bottom: 18px;
  font-size: 0.92rem;
}
.pay-vpa {
  background: var(--bg-cream);
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  margin-bottom: 18px;
}
.pay-vpa code {
  background: rgba(67,56,202,0.1);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--indigo-2);
}
.pay-upi-btn { width: 100%; justify-content: center; }
.pay-amount-block {
  margin-top: 24px;
  padding: 22px;
  background: linear-gradient(135deg, var(--ink-2), var(--indigo));
  color: #fff;
  border-radius: 14px;
  text-align: center;
}
.pay-label { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.6); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 6px; }
.pay-num {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--amber-2);
  letter-spacing: -0.03em;
}

/* Bank transfer panel */
.bank-block {
  margin-top: 22px;
  padding: 22px 24px;
  background: var(--bg-cream);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-left: 4px solid var(--orange);
  border-radius: 14px;
}
.bank-block h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  margin: 0 0 14px;
  color: var(--ink);
}
.bank-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-bottom: 10px;
}
.bank-table th {
  text-align: left;
  padding: 7px 10px 7px 0;
  width: 38%;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.86rem;
  vertical-align: top;
  border-bottom: 1px dashed var(--line);
}
.bank-table td {
  padding: 7px 0;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}
.bank-table tr:last-child th,
.bank-table tr:last-child td { border-bottom: 0; }
.bank-table code {
  background: rgba(67, 56, 202, 0.08);
  padding: 3px 9px;
  border-radius: 6px;
  color: var(--indigo-2);
  font-weight: 600;
  font-size: 0.88rem;
}
.bank-block small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 6px;
}

/* Dashboard / Admin shared styles */
.dash-hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--indigo) 50%, var(--violet) 100%);
  color: #fff;
  padding: 50px 0 40px;
}
.dash-hero h1 { color: #fff; font-size: 2rem; margin-bottom: 6px; }
.dash-hero p { color: rgba(255,255,255,0.75); }
.dash-hero code {
  background: rgba(255,255,255,0.1);
  padding: 3px 10px;
  border-radius: 6px;
  color: var(--amber-2);
  font-size: 0.85rem;
}

.dash-empty {
  padding: 30px;
  background: var(--bg-cream);
  border: 1px dashed var(--amber);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.dash-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .25s var(--ease);
}
.dash-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(124,58,237,0.25); }
.dash-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(124,58,237,0.1);
  color: var(--violet);
  margin-bottom: 10px;
}
.dash-card h3 { font-family: 'Fraunces', serif; font-size: 1.1rem; margin-bottom: 8px; }
.dash-card p { font-size: 0.88rem; margin-bottom: 6px; }
.dash-code code { background: var(--bg-cream); padding: 3px 10px; border-radius: 6px; color: var(--indigo-2); font-weight: 600; font-size: 0.85rem; }

.dash-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 18px;
  font-size: 0.92rem;
}
.dash-table th {
  text-align: left;
  padding: 14px 16px;
  background: var(--bg-cream);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.dash-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.dash-table tr:last-child td { border-bottom: 0; }
.dash-table code { background: rgba(67,56,202,0.08); padding: 3px 8px; border-radius: 6px; color: var(--indigo-2); font-size: 0.82rem; }

.status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.status-active   { background: rgba(16,185,129,0.12); color: #047857; }
.status-pending  { background: rgba(245,158,11,0.15); color: #b45309; }
.status-rejected { background: rgba(239,68,68,0.1); color: #b91c1c; }
.status-suspended{ background: rgba(100,116,139,0.15); color: #475569; }
.status-submitted{ background: rgba(124,58,237,0.12); color: var(--violet); }
.status-verified { background: rgba(16,185,129,0.12); color: #047857; }
.status-failed   { background: rgba(239,68,68,0.1); color: #b91c1c; }
.status-video,.status-recording { background: rgba(124,58,237,0.12); color: var(--violet); }
.status-pdf,.status-document     { background: rgba(245,158,11,0.15); color: #b45309; }
.status-link,.status-image,.status-other { background: rgba(67,56,202,0.10); color: var(--indigo-2); }
.status-l1                       { background: rgba(16,185,129,0.12); color: #047857; }
.status-l2                       { background: linear-gradient(135deg, rgba(245,158,11,0.18), rgba(249,115,22,0.15)); color: #92400e; border: 1px solid rgba(245,158,11,0.35); }
.status-any                      { background: rgba(100,116,139,0.12); color: #475569; }

/* Admin tabs */
.admin-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.admin-tabs a {
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all .2s var(--ease);
  position: relative;
}
.admin-tabs a:hover { color: var(--violet); }
.admin-tabs a.active {
  color: var(--indigo-2);
  border-bottom-color: var(--amber);
}
.tab-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  border-radius: 100px;
  padding: 1px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 6px;
}

.admin-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 760px;
  box-shadow: var(--shadow-sm);
}
.admin-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.admin-form .form-group { margin-bottom: 18px; }
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  font-family: inherit;
  font-size: 0.94rem;
}
.admin-form label {
  display: block;
  font-weight: 600;
  font-size: 0.84rem;
  margin-bottom: 5px;
}
.admin-form small {
  display: block;
  margin-top: 4px;
  font-size: 0.76rem;
  color: var(--muted);
}
.row-actions { display: flex; gap: 6px; }
.row-actions form button { white-space: nowrap; }

@media (max-width: 1024px) {
  .auth-container { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .pay-wrap { grid-template-columns: 1fr; }
  .admin-form .form-row { grid-template-columns: 1fr; }
}

/* =================== LIVE CLASS STUDIO =================== */
.prejoin-card {
  max-width: 540px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 50px 40px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}
.prejoin-icon {
  font-size: 3rem;
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(67, 56, 202, 0.08));
  border-radius: 24px;
  margin: 0 auto 20px;
}
.prejoin-card h2 {
  margin-bottom: 10px;
}
.prejoin-card > p {
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.prejoin-form { text-align: left; }
.prejoin-form .form-group { margin-bottom: 18px; }
.prejoin-form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.prejoin-form input,
.prejoin-form select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-soft);
  color: var(--ink);
  transition: all .2s var(--ease);
}
.prejoin-form input:focus,
.prejoin-form select:focus {
  outline: none;
  border-color: var(--violet);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.prejoin-form .form-group small {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--muted);
}
.prejoin-form .btn-lg {
  width: 100%;
  padding: 16px 30px;
  font-size: 1rem;
  margin-top: 6px;
}
.prejoin-help {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Jitsi container */
.jitsi-wrapper {
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(124, 58, 237, 0.25);
}
.jitsi-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--indigo) 100%);
  color: #fff;
}
.jitsi-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
}
.jitsi-status strong { color: var(--amber-2); font-weight: 600; }
.live-dot {
  width: 10px; height: 10px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: livePulse 1.6s infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  100% { box-shadow: 0 0 0 14px rgba(239, 68, 68, 0); }
}
.jitsi-toolbar .btn {
  padding: 8px 18px;
  font-size: 0.82rem;
}
#jitsi-container {
  width: 100%;
  height: 720px;
  background: #0b0f1e;
}
#jitsi-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Feature cards (studio) */
.studio-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.sf-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .3s var(--ease);
}
.sf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 58, 237, 0.25);
}
.sf-icon {
  font-size: 1.8rem;
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(67, 56, 202, 0.06));
  border-radius: 14px;
  margin-bottom: 16px;
}
.sf-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.sf-card p { font-size: 0.9rem; line-height: 1.6; }

/* Recording steps */
.record-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}
.rec-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  transition: transform .3s var(--ease);
}
.rec-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.rec-num {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--violet);
  display: block;
  margin-bottom: 10px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.rec-step h4 {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  margin-bottom: 6px;
}
.rec-step p { font-size: 0.88rem; }

.record-note {
  max-width: 880px;
  margin: 0 auto;
  padding: 22px 28px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(16, 185, 129, 0.06));
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-left: 4px solid var(--violet);
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.record-note strong { color: var(--ink); }
.record-note a {
  color: var(--violet);
  font-weight: 600;
  border-bottom: 1px dashed var(--mint);
}
.record-note a:hover { color: var(--indigo-2); }

@media (max-width: 1024px) {
  .record-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  #jitsi-container { height: 520px; }
  .prejoin-card { padding: 36px 26px 30px; }
  .record-steps { grid-template-columns: 1fr; }
}

/* =================== LEARN YOUR WAY · CLASS MODES =================== */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 50px;
}
.mode-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px 32px;
  position: relative;
  transition: all .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.mode-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.mode-tier {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.mode-icon {
  font-size: 2.6rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 18px;
}
.mode-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.mode-tag {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 22px;
  font-style: italic;
}
.mode-list {
  list-style: none;
  margin-bottom: 22px;
  padding: 0;
  flex: 1;
}
.mode-list li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.55;
}
.mode-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px; height: 18px;
  background: var(--mint);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
}
.mode-list li strong { color: var(--indigo-2); font-weight: 600; }

.mode-meta {
  padding: 14px 16px;
  background: var(--bg-cream);
  border-radius: 10px;
  margin-bottom: 16px;
}
.mode-best {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  display: block;
}

.mode-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.mode-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  letter-spacing: 0.3px;
}
.mode-pill.price {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(249, 115, 22, 0.12));
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.mode-pill.scholarship {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(4, 120, 87, 0.10));
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.mode-cta {
  width: 100%;
  justify-content: center;
}

/* Mode-specific accent bars (gradient top stripe on hover) */
.mode-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.mode-card:hover::before { transform: scaleX(1); }

.mode-online .mode-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(4, 120, 87, 0.08));
  color: #047857;
}
.mode-online::before {
  background: linear-gradient(90deg, var(--mint), #047857);
}

.mode-hybrid .mode-icon {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(67, 56, 202, 0.08));
  color: var(--violet);
}
.mode-hybrid::before {
  background: linear-gradient(90deg, var(--violet), var(--indigo-2));
}

.mode-classroom .mode-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(249, 115, 22, 0.10));
  color: #b45309;
}
.mode-classroom::before {
  background: linear-gradient(90deg, var(--amber), var(--orange));
}

/* Most Popular badge — colour adapts to the mode it's applied on */
.mode-recommended {
  position: relative;
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 14px 40px rgba(245, 158, 11, 0.14);
}
.mode-recommended .mode-tier { color: var(--orange); }
.mode-recommended::after {
  content: '★ Most Popular';
  position: absolute;
  top: 18px; right: 18px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 100px;
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.4);
}

/* If applied to a violet/hybrid card, use violet styling */
.mode-hybrid.mode-recommended {
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.10);
}
.mode-hybrid.mode-recommended .mode-tier { color: var(--violet); }
.mode-hybrid.mode-recommended::after {
  background: linear-gradient(135deg, var(--violet) 0%, var(--indigo-2) 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.35);
}

/* If applied to a mint/online card, use mint styling */
.mode-online.mode-recommended {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 12px 36px rgba(16, 185, 129, 0.12);
}
.mode-online.mode-recommended .mode-tier { color: var(--mint); }
.mode-online.mode-recommended::after {
  background: linear-gradient(135deg, var(--mint) 0%, #047857 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.4);
}

/* Footnote about scholarships */
.modes-footnote {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 880px;
  margin: 0 auto;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(124, 58, 237, 0.06));
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-left: 4px solid var(--amber);
  border-radius: 14px;
}
.modes-footnote span {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.modes-footnote p {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.6;
}
.modes-footnote strong { color: var(--indigo-2); font-weight: 600; }

@media (max-width: 1024px) {
  .modes-grid { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }
  .mode-recommended::after { top: 14px; right: 14px; }
}

/* =================== MENTORS PAGE — Founder / MD spotlight + faculty grid =================== */
.founder-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: center;
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--indigo) 50%, var(--violet) 100%);
  color: #fff;
  padding: 50px;
  border-radius: 32px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.founder-card::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber) 0%, transparent 60%);
  opacity: 0.32;
  top: -200px; right: -150px;
  filter: blur(40px);
  pointer-events: none;
}
.founder-card.md-card {
  background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #0e7490 100%);
}
.founder-card.md-card::before {
  background: radial-gradient(circle, var(--mint) 0%, transparent 60%);
  opacity: 0.4;
}

.founder-photo {
  width: 250px;
  height: 290px;
  border-radius: 22px;
  overflow: hidden;
  border: 4px solid var(--amber-2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  background: var(--ink);
  position: relative;
  z-index: 1;
}
.founder-photo.md { border-color: var(--mint); }
.founder-fallback {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--indigo-2));
  letter-spacing: -0.02em;
}
.founder-card.md-card .founder-fallback {
  background: linear-gradient(135deg, var(--mint), #047857);
}

.founder-info { position: relative; z-index: 2; }
.founder-info h3 {
  color: #fff;
  font-size: 2rem;
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}
.founder-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.founder-creds .cred {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  font-size: 0.78rem;
  padding: 6px 14px;
}
.founder-creds .cred.gold {
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: var(--ink);
  border-color: transparent;
  font-weight: 700;
}
.founder-card.md-card .founder-creds .cred.gold {
  background: linear-gradient(135deg, var(--mint), #047857);
  color: #fff;
}
.founder-bio {
  color: rgba(255,255,255,0.85);
  font-size: 1.0rem;
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 720px;
}
.founder-bio strong { color: #fff; font-weight: 600; }
.founder-bio em      { color: var(--amber-2); font-style: italic; font-weight: 500; }
.founder-card.md-card .founder-bio em { color: #6ee7b7; }

.cp-star.md {
  background: linear-gradient(135deg, var(--mint), #047857);
  color: #fff;
}

/* Faculty grid (used in mentors.html below leadership cards) */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.faculty-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.faculty-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--violet), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.faculty-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.faculty-card:hover::before { transform: scaleX(1); }
.faculty-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  border: 4px solid #fff;
}
.faculty-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.faculty-role {
  font-size: 0.82rem;
  color: var(--violet);
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}
.faculty-card .creds {
  justify-content: center;
  margin-bottom: 14px;
}
.faculty-bio {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  text-align: left;
}

@media (max-width: 768px) {
  .founder-card { grid-template-columns: 1fr; padding: 30px; gap: 26px; }
  .founder-photo { width: 100%; height: 280px; margin: 0 auto; }
  .founder-info h3 { font-size: 1.6rem; }
}

/* =================== MENTORS =================== */
.mentors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.mentor-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.mentor-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04) 0%, rgba(245, 158, 11, 0.04) 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.mentor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.mentor-card:hover::before { opacity: 1; }

.mentor-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.15);
  border: 4px solid #fff;
  position: relative;
  z-index: 1;
}
.mentor-avatar::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px dashed rgba(15, 23, 42, 0.1);
  z-index: -1;
}
.grad-1 { background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%); }
.grad-2 { background: linear-gradient(135deg, var(--violet) 0%, var(--indigo-2) 100%); }
.grad-3 { background: linear-gradient(135deg, var(--indigo-2) 0%, var(--ink-2) 100%); }
.grad-4 { background: linear-gradient(135deg, var(--pink) 0%, #e11d48 100%); }
.grad-5 { background: linear-gradient(135deg, var(--mint) 0%, #065f46 100%); }

.mentor-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.creds {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cred {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(67, 56, 202, 0.08);
  color: var(--indigo-2);
  border: 1px solid rgba(67, 56, 202, 0.15);
}
.cred.gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(249, 115, 22, 0.12));
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.25);
}

.mentors-note {
  text-align: center;
  margin-top: 50px;
  font-size: 0.95rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.mentors-note strong { color: var(--ink); font-weight: 600; }
.mentors-note .dot {
  width: 8px; height: 8px;
  background: var(--mint);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

@media (max-width: 960px) {
  .mentors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .mentors-grid { grid-template-columns: 1fr; }
}

/* =================== CENTRES =================== */
.centres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.centre {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  transition: all .3s var(--ease);
}
.centre:hover {
  border-color: var(--indigo-2);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.centre-no {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--indigo-2);
  display: block;
  margin-bottom: 14px;
  letter-spacing: -0.04em;
}
.centre h4 { font-size: 1.25rem; font-family: 'Fraunces', serif; font-weight: 700; margin-bottom: 10px; }
.centre p { font-size: 0.92rem; margin-bottom: 18px; }
.centre-link {
  font-weight: 600;
  color: var(--indigo-2);
  font-size: 0.88rem;
}
.centre-link:hover { color: var(--violet); }

/* =================== FINAL CTA =================== */
.final-cta {
  padding: 30px 24px 80px;
}
.final-inner {
  background: linear-gradient(135deg, var(--ink) 0%, var(--indigo) 50%, var(--violet) 100%);
  color: #fff;
  border-radius: 36px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.final-orb {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber) 0%, transparent 60%);
  opacity: 0.4;
  top: -200px; right: -100px;
  filter: blur(40px);
}
.final-content { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.final-content h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); margin: 14px 0 14px; }
.final-content p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 34px; }
.final-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* =================== FOOTER =================== */
.footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 80px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer p { color: rgba(255,255,255,0.55); font-size: 0.92rem; }
.foot-list { list-style: none; }
.foot-list li { padding: 5px 0; font-size: 0.9rem; color: rgba(255,255,255,0.55); }
.foot-list a { color: rgba(255,255,255,0.55); }
.foot-list a:hover { color: var(--amber-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
}

/* =================== Inner page headers (for other pages) =================== */
.page-header {
  background: linear-gradient(135deg, var(--ink) 0%, var(--indigo) 100%);
  color: #fff;
  padding: 90px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--amber) 0%, transparent 60%);
  opacity: 0.25;
  top: -200px; right: -100px;
  filter: blur(60px);
}
.page-header > .container { position: relative; z-index: 2; }
.page-header h1 { color: #fff; margin-bottom: 14px; }
.page-header p { color: rgba(255,255,255,0.72); max-width: 680px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { color: var(--amber-2); font-size: 0.85rem; margin-top: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.6); }

/* =================== Topbar (legacy - for inner pages) =================== */
.topbar {
  background: var(--ink);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 9px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.topbar-left span { margin-right: 18px; }
.topbar-right { color: var(--amber-2); font-weight: 600; }

/* =================== Header (legacy - for inner pages) =================== */
.header {
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(16px);
  position: sticky;
  top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px 14px 8px; }
.logo { display: flex; align-items: center; gap: 14px; padding-left: 0; }
.logo-mark {
  width: 54px; height: 54px;
  display: inline-flex;
  align-items: center; justify-content: center;
  filter: drop-shadow(0 6px 14px rgba(245, 158, 11, 0.42));
  flex-shrink: 0;
}
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong {
  font-family: 'Fraunces', serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--orange);
  background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.logo-text small {
  font-size: 0.78rem;
  color: var(--indigo-2);
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 2px;
}
.logo-light .logo-text strong {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}
.logo-light .logo-text small { color: #94a3b8; }

/* =================== Testimonials page =================== */
.centre-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}
.centre-review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .25s var(--ease);
}
.centre-review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.centre-review-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px 18px;
}
.centre-review-head .centre-no {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--indigo-2);
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
}
.centre-review-head h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  margin: 0 0 4px;
}
.centre-review-head p { font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.5; }
.centre-map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.centre-review-cta {
  display: block;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--bg-cream), rgba(245, 158, 11, 0.08));
  color: var(--indigo-2);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
  border-top: 1px solid rgba(245, 158, 11, 0.2);
  transition: background .2s var(--ease);
}
.centre-review-cta:hover {
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: var(--ink);
}

/* Star rating row inside testimonial cards */
.rev-stars {
  color: var(--amber);
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 12px;
}

.quotes-note {
  max-width: 780px;
  margin: 30px auto 0;
  padding: 18px 22px;
  background: rgba(245, 158, 11, 0.06);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink);
}

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}
.video-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s var(--ease);
}
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.video-frame {
  aspect-ratio: 16 / 9;
  background: var(--bg-cream);
  position: relative;
}
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 20px;
  background: linear-gradient(135deg, var(--bg-cream), rgba(124, 58, 237, 0.06));
  border: 2px dashed rgba(124, 58, 237, 0.3);
}
.vp-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--violet);
}
.video-card h4 {
  font-family: 'Fraunces', serif;
  margin: 16px 22px 4px;
}
.video-card small { display: block; margin: 0 22px 18px; color: var(--muted); font-size: 0.78rem; }

.video-howto {
  max-width: 760px;
  margin: 30px auto 0;
  padding: 22px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 14px;
}
.video-howto h4 { font-family: 'Fraunces', serif; font-size: 1.05rem; margin-bottom: 12px; }
.video-howto ol { padding-left: 22px; }
.video-howto ol li { padding: 5px 0; font-size: 0.92rem; line-height: 1.6; color: var(--ink); }
.video-howto code {
  background: var(--bg-cream);
  padding: 2px 8px;
  border-radius: 5px;
  color: var(--indigo-2);
  font-size: 0.85em;
}
.video-howto a { color: var(--indigo-2); font-weight: 600; }

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}
.photo-slot {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--bg-cream), rgba(245, 158, 11, 0.08));
  border: 2px dashed rgba(245, 158, 11, 0.35);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--orange);
  position: relative;
  overflow: hidden;
}
.photo-slot::after {
  content: attr(data-centre);
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* =================== Blog landing + article =================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.blog-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.blog-thumb-icon { font-size: 4rem; }
.thumb-1 { background: linear-gradient(135deg, var(--ink-2) 0%, var(--indigo) 100%); }
.thumb-2 { background: linear-gradient(135deg, #064e3b 0%, #047857 100%); }
.thumb-3 { background: linear-gradient(135deg, var(--violet) 0%, var(--indigo-2) 100%); }
.thumb-4 { background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%); }
.thumb-5 { background: linear-gradient(135deg, #831843 0%, #ec4899 100%); }
.blog-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.blog-cat {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: var(--ink);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.blog-cat.medical    { background: linear-gradient(135deg, var(--mint), #047857); color: #fff; }
.blog-cat.parents    { background: linear-gradient(135deg, #ec4899, #be185d); color: #fff; }
.blog-card h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.blog-card h2 a {
  color: var(--ink);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.blog-card h2 a:hover { color: var(--indigo-2); }
.blog-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.blog-readmore {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--indigo-2);
  text-decoration: none;
  border-bottom: 1px dashed var(--amber);
  padding-bottom: 2px;
  align-self: flex-start;
}
.blog-readmore:hover { color: var(--violet); }

.blog-cta {
  background: linear-gradient(135deg, var(--bg-cream), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  margin-top: 30px;
}
.blog-cta h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.blog-cta p { margin-bottom: 20px; }

/* Article post layout */
.blog-post-header {
  background: linear-gradient(135deg, var(--ink) 0%, var(--indigo) 100%);
  color: #fff;
  padding: 70px 0 50px;
}
.blog-post-header .breadcrumb {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}
.blog-post-header .breadcrumb a { color: var(--amber-2); }
.blog-post-header h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 14px 0 18px;
  letter-spacing: -0.02em;
  max-width: 880px;
}
.blog-post-header .blog-meta {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  margin: 0;
}

.blog-content {
  max-width: 760px !important;
  padding: 50px 24px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink);
}
.blog-content .lead {
  font-size: 1.15rem;
  color: var(--muted);
  font-weight: 500;
  border-left: 4px solid var(--amber);
  padding: 4px 0 4px 18px;
  margin-bottom: 30px;
}
.blog-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  margin: 40px 0 16px;
  letter-spacing: -0.01em;
}
.blog-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  margin: 30px 0 12px;
  color: var(--indigo-2);
}
.blog-content p { margin-bottom: 18px; }
.blog-content a {
  color: var(--indigo-2);
  font-weight: 600;
  border-bottom: 1px dashed var(--amber);
}
.blog-content a:hover { color: var(--violet); }
.blog-content ul,
.blog-content ol {
  margin: 18px 0 24px 28px;
}
.blog-content ul li,
.blog-content ol li {
  margin-bottom: 10px;
}
.blog-content strong { color: var(--ink); font-weight: 700; }
.blog-content em { color: var(--violet); font-style: italic; }
.blog-content code {
  background: var(--bg-cream);
  color: var(--indigo-2);
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 0.92em;
}
.blog-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0 28px;
  font-size: 0.92rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.blog-table th,
.blog-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.blog-table th {
  background: var(--bg-cream);
  font-weight: 700;
  color: var(--indigo-2);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-table tr:last-child td { border-bottom: 0; }

.blog-cta-inline {
  background: linear-gradient(135deg, var(--ink-2) 0%, var(--indigo) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  margin: 40px 0 20px;
}
.blog-cta-inline h3 { color: #fff; font-family: 'Fraunces', serif; font-size: 1.35rem; margin-bottom: 8px; }
.blog-cta-inline p { color: rgba(255, 255, 255, 0.8); margin-bottom: 20px; }

/* =================== Floating widgets · WhatsApp · Book Demo · Back-to-top =================== */
.fw-stack {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;       /* let children opt-in */
}
.fw-stack > * { pointer-events: auto; }

.fw-wa {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  animation: fwPulse 2.5s infinite;
}
.fw-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}
@keyframes fwPulse {
  0%, 100% { box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50%      { box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
}

.fw-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: var(--ink);
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
  transition: transform .2s var(--ease);
  letter-spacing: -0.01em;
}
.fw-cta:hover { transform: translateY(-2px); }

.fw-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 15, 30, 0.85);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none !important;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  backdrop-filter: blur(8px);
}
.fw-top.show {
  opacity: 1;
  pointer-events: auto !important;
  transform: translateY(0);
}
.fw-top:hover { background: var(--ink); }

@media (max-width: 768px) {
  .fw-stack    { bottom: 16px; right: 14px; gap: 8px; }
  .fw-wa       { width: 52px; height: 52px; }
  .fw-cta      { padding: 9px 16px; font-size: 0.82rem; }
  .fw-top      { width: 40px; height: 40px; }
}

/* =================== FAQ page =================== */
.faq-hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--indigo) 100%);
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
}
.faq-hero h1 { color: #fff; }
.faq-hero p { color: rgba(255,255,255,0.78); max-width: 660px; margin: 14px auto 0; }

.faq-search {
  max-width: 580px;
  margin: 30px auto 0;
}
.faq-search input {
  width: 100%;
  padding: 14px 22px;
  border-radius: 100px;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}
.faq-search input::placeholder { color: rgba(255,255,255,0.55); }
.faq-search input:focus {
  outline: none;
  background: rgba(255,255,255,0.18);
  border-color: var(--amber);
}

.faq-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0 30px;
}
.faq-cat-pill {
  padding: 8px 18px;
  background: var(--bg-cream);
  border: 1px solid var(--line);
  border-radius: 100px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  transition: all .2s var(--ease);
  text-decoration: none;
}
.faq-cat-pill:hover,
.faq-cat-pill.active {
  background: linear-gradient(135deg, var(--amber), var(--orange));
  border-color: transparent;
  color: var(--ink);
}

/* =================== 404 page =================== */
.err-page {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background:
    radial-gradient(ellipse at top, rgba(124, 58, 237, 0.1), transparent 60%),
    var(--bg-cream);
}
.err-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(7rem, 22vw, 14rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 50%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 14px;
}
.err-page h1 { font-size: 2rem; margin-bottom: 14px; }
.err-page p { max-width: 540px; margin: 0 auto 30px; }
.err-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* =================== Quick Find pill bar (top of courses page) =================== */
.quick-find {
  background: linear-gradient(135deg, var(--bg-cream) 0%, rgba(245, 158, 11, 0.06) 100%);
  border-bottom: 1px solid rgba(245, 158, 11, 0.18);
  padding: 30px 0;
}
.qf-head { text-align: center; margin-bottom: 18px; }
.qf-head h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  margin: 4px 0 0;
  color: var(--ink);
}
.qf-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 980px;
  margin: 0 auto;
}
.qf-pill {
  display: inline-block;
  padding: 7px 14px;
  background: #fff;
  color: var(--indigo-2);
  border: 1.5px solid rgba(67, 56, 202, 0.18);
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.qf-pill:hover {
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: var(--ink);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.3);
}

/* =================== Course page (legacy) =================== */
.course-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.course-section:nth-child(even) { background: var(--bg-cream); }
.course-section h2 { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.course-section h2 span { font-size: 2rem; }
.course-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  padding: 24px;
  border-radius: 14px;
  transition: all .25s var(--ease);
}
.detail-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.detail-card h4 { color: var(--ink); margin-bottom: 6px; }
.detail-card p { font-size: 0.9rem; }
.detail-card .duration {
  display: inline-block;
  background: var(--bg-cream);
  color: var(--indigo-2);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 10px;
  border: 1px solid rgba(67, 56, 202, 0.15);
}

/* =================== About / Contact page helpers (legacy) =================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text p { margin: 16px 0 20px; }
.ticks { list-style: none; margin-bottom: 28px; }
.ticks li { padding: 8px 0 8px 32px; position: relative; color: var(--ink); }
.ticks li::before {
  content: '✓';
  position: absolute; left: 0; top: 8px;
  width: 22px; height: 22px;
  background: var(--mint);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.about-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease);
}
.stat-card:hover { transform: translateY(-6px); }
.stat-card.alt {
  background: linear-gradient(135deg, var(--ink-2), var(--indigo));
  color: #fff;
  border-color: transparent;
}
.stat-number {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--amber);
}
.stat-label { font-size: 0.85rem; color: var(--muted); display: block; margin-top: 4px; }
.stat-card.alt .stat-label { color: rgba(255,255,255,0.6); }

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 30px;
}
.mission-card {
  background: #fff;
  padding: 34px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--indigo-2);
}
.mission-card.alt { border-top-color: var(--amber); }
.mission-card h3 { margin-bottom: 10px; }

.timeline { position: relative; max-width: 820px; margin: 40px auto 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline-item { position: relative; padding: 0 0 32px 60px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 12px; top: 6px;
  width: 18px; height: 18px;
  background: var(--amber);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--amber);
}
.timeline-item time { display: inline-block; color: var(--amber); font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.timeline-item h4 { margin-bottom: 4px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.team-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .25s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--indigo), var(--amber));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  font-weight: 700;
  font-family: 'Fraunces', serif;
}
.team-card h4 { margin-bottom: 4px; }
.team-card small { color: var(--muted); }

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: all .25s var(--ease);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.course-icon {
  font-size: 2rem;
  width: 56px; height: 56px;
  background: var(--bg-cream);
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.course-card p { font-size: 0.92rem; margin: 8px 0 14px; }
.course-card ul { list-style: none; margin-bottom: 16px; }
.course-card ul li {
  font-size: 0.85rem; color: var(--muted);
  padding: 3px 0 3px 18px; position: relative;
}
.course-card ul li::before {
  content: '▸'; position: absolute; left: 0; color: var(--amber);
}
.link {
  font-weight: 600;
  color: var(--indigo-2);
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--amber);
  padding-bottom: 2px;
}

.section-muted { background: var(--bg-cream); }
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.feature {
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: all .25s var(--ease);
}
.feature:hover {
  background: linear-gradient(135deg, var(--ink-2), var(--indigo));
  border-color: transparent;
  transform: translateY(-4px);
}
.feature:hover h4, .feature:hover p { color: #fff; }
.feature:hover p { opacity: 0.8; }
.feature-ic { font-size: 1.8rem; margin-bottom: 14px; }
.feature p { font-size: 0.92rem; }

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--amber);
  border: 1px solid var(--line);
}
.testimonial blockquote { font-style: italic; color: var(--ink); line-height: 1.7; margin-bottom: 22px; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--amber));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.testimonial figcaption strong { display: block; color: var(--ink); }
.testimonial figcaption small { color: var(--muted); font-size: 0.8rem; }

.cta-strip {
  background: linear-gradient(135deg, var(--ink) 0%, var(--indigo) 50%, var(--violet) 100%);
  color: #fff;
  padding: 80px 0;
}
.cta-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: rgba(255,255,255,0.75); margin-top: 8px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info {
  background: linear-gradient(135deg, var(--ink-2), var(--indigo));
  color: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
}
.contact-info h3 { color: #fff; margin-bottom: 10px; }
.contact-info p { color: rgba(255,255,255,0.7); margin-bottom: 26px; }
.info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.info-item:last-child { border-bottom: 0; }
.info-item .ic {
  font-size: 1.3rem;
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245, 158, 11, 0.2);
  border-radius: 12px;
}
.info-item strong { display: block; color: #fff; margin-bottom: 2px; font-size: 0.95rem; }
.info-item small { color: rgba(255,255,255,0.65); font-size: 0.85rem; line-height: 1.5; }

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: all .2s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--indigo-2);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Fee + scholarship banner above the form */
.fee-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(124, 58, 237, 0.06) 100%);
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-left: 4px solid var(--amber);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 26px;
}
.fee-banner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.fb-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.3px;
}
.fb-pill.price {
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}
.fb-pill.scholarship {
  background: linear-gradient(135deg, var(--mint), #047857);
  color: #fff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}
.fee-banner small {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}
.fee-banner small a {
  color: var(--indigo-2);
  font-weight: 600;
  border-bottom: 1px dashed var(--amber);
}
.fee-banner small a:hover { color: var(--violet); }

.form-message {
  padding: 14px 18px;
  border-radius: 10px;
  margin-top: 16px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--mint);
  font-weight: 500;
  display: none;
  line-height: 1.5;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.form-message.show { display: block; }
.form-message.error {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  border-color: rgba(220, 38, 38, 0.25);
}

.map-wrap {
  margin-top: 50px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

.btn-primary {
  background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(245, 158, 11, 0.45);
}
.btn-outline {
  background: transparent;
  border-color: var(--indigo-2);
  color: var(--indigo-2);
}
.btn-outline:hover { background: var(--indigo-2); color: #fff; }
.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }
.accent { color: var(--amber); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* =================== Responsive =================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 440px; margin-top: 30px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-lg { grid-column: span 2; grid-row: auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-wide { grid-column: span 2; }
  .performers { grid-template-columns: 1fr; }
  .centres { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 26px; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .announcement-inner { font-size: 0.76rem; }
  .announcement-inner span { flex: 1; }

  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 85%; max-width: 340px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 30px;
    gap: 18px;
    box-shadow: -10px 0 50px rgba(0,0,0,0.15);
    transition: right .3s var(--ease);
    z-index: 99;
  }
  .nav.open { right: 0; }
  .nav a { width: 100%; }
  .nav a.active::after { display: none; }
  .menu-toggle { display: flex; }

  .hero { padding: 40px 0 80px; }
  .hero-visual { height: 380px; }
  .glass-card { padding: 14px 18px; }
  .glass-ic { width: 40px; height: 40px; font-size: 1.1rem; }
  .glass-rank { font-size: 1rem; }

  .hero-badges { gap: 16px; }
  .badge strong { font-size: 1.4rem; }
  .divider { display: none; }

  .bento, .why-grid { grid-template-columns: 1fr; }
  .bento-lg, .why-wide { grid-column: auto; }
  .bento-card { padding: 26px; }

  .performer { flex-direction: column; gap: 16px; }
  .performer-rank { width: 72px; height: 72px; }

  .final-inner { padding: 50px 28px; border-radius: 24px; }
  .final-content h2 { font-size: 1.8rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .contact-info, .contact-form { padding: 26px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .btn { padding: 12px 22px; font-size: 0.88rem; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .hero-badges { justify-content: space-between; gap: 10px; }
  .badge strong { font-size: 1.25rem; }
  .announcement a { display: none; }
}
