/* =========================================================
   SCOREABROAD — DARK GLASS DESIGN SYSTEM v3.0
   Pure dark, glass morphism, animated
   ========================================================= */

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

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
  --brand:         #FF5C35;
  --brand-2:       #FFB347;
  --brand-hover:   #E84820;
  --brand-dim:     rgba(255,92,53,0.12);
  --brand-border:  rgba(255,92,53,0.28);
  --brand-glow:    rgba(255,92,53,0.35);

  /* Legacy aliases */
  --primary:       #FF5C35;
  --primary-hover: #E84820;
  --primary-light: rgba(255,92,53,0.08);
  --primary-glow:  rgba(255,92,53,0.2);

  /* Dark backgrounds */
  --bg-base:    #060608;
  --bg-surface: #0D0F14;
  --bg-raised:  #13151C;
  --bg-overlay: #1A1D27;
  --dark:   #060608;
  --dark-2: #0D0F14;
  --dark-3: #13151C;
  --dark-4: #1A1D27;

  /* Glass */
  --glass-1:           rgba(255,255,255,0.03);
  --glass-2:           rgba(255,255,255,0.06);
  --glass-3:           rgba(255,255,255,0.10);
  --glass-border:      rgba(255,255,255,0.08);
  --glass-border-bright: rgba(255,255,255,0.14);

  /* Light surface (auth form panels) */
  --body-bg: #F5F6FA;
  --white:   #FFFFFF;

  /* Text — dark context */
  --text-1:    #FFFFFF;
  --text-2:    rgba(255,255,255,0.72);
  --text-muted: rgba(255,255,255,0.38);

  /* Text — light context */
  --text-dark:       #111827;
  --text-dark-2:     #374151;
  --text-dark-muted: #6B7280;

  /* Borders */
  --border:       rgba(255,255,255,0.08);
  --border-light: #E5E7EB;
  --border-dark:  rgba(255,255,255,0.08);

  /* Radius */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-sm:        0 1px 3px rgba(0,0,0,0.3);
  --shadow:           0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg:        0 20px 50px rgba(0,0,0,0.5);
  --shadow-xl:        0 40px 100px rgba(0,0,0,0.6);
  --shadow-orange:    0 8px 32px rgba(255,92,53,0.4);
  --shadow-orange-xl: 0 20px 60px rgba(255,92,53,0.3);

  /* Transitions */
  --t:    all 0.22s cubic-bezier(0.4,0,0.2,1);
  --t-lg: all 0.45s cubic-bezier(0.4,0,0.2,1);

  /* Layout */
  --container:  1200px;
  --nav-height: 72px;
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-base);
  color: var(--text-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a       { text-decoration: none; color: inherit; transition: var(--t); }
button  { cursor: pointer; font-family: inherit; border: none; outline: none; }
img     { max-width: 100%; height: auto; display: block; }
textarea, input, select { font-family: inherit; }

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.15;
  color: var(--text-1);
}

/* =========================================================
   3. UTILITIES
   ========================================================= */
.container    { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; width: 100%; }
.text-center  { text-align: center; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.gradient-text {
  background: linear-gradient(90deg, #FF5C35 0%, #FF9165 50%, #FFB347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.5px;
}
.brand-logo i     { color: var(--brand); }
.brand-logo.light { color: white; }

/* =========================================================
   4. BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r);
  transition: var(--t);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  box-shadow: 0 4px 20px rgba(255,92,53,0.35);
}
.btn-primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn-outline {
  background: transparent;
  border-color: var(--glass-border-bright);
  color: var(--text-2);
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-dim);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.25);
  color: white;
}
.btn-outline-white:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 0.6rem 1rem;
  border-color: transparent;
}
.btn-ghost:hover { background: var(--glass-2); color: var(--text-1); }

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; border-radius: var(--r-lg); }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.82rem; }

.btn-glow {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  box-shadow: 0 0 0 0 rgba(255,92,53,0.4);
  animation: pulse-glow 2.5s ease-in-out infinite;
}
.btn-glow:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-orange); animation: none; }

/* =========================================================
   5. NAVIGATION
   ========================================================= */
.landing-nav {
  height: var(--nav-height);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: var(--t);
  background: transparent;
}

.landing-nav.scrolled {
  background: rgba(6,6,8,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.nav-links { display: flex; align-items: center; gap: 0.4rem; }

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  transition: var(--t);
}
.nav-link:hover { color: var(--text-1); background: var(--glass-2); }

/* =========================================================
   6. HERO
   ========================================================= */
.hero {
  background: var(--bg-base);
  padding: 7rem 0 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero > .container { position: relative; z-index: 2; }

/* Animated orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.55;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,92,53,0.4) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation: float 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(60,100,220,0.3) 0%, transparent 70%);
  bottom: -150px; left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,92,53,0.2) 0%, transparent 70%);
  top: 40%; left: 50%;
  transform: translate(-50%,-50%);
  animation: float 12s ease-in-out infinite 2s;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,92,53,0.1);
  border: 1px solid rgba(255,92,53,0.3);
  color: #FF9165;
  padding: 0.45rem 1.2rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.3px;
  backdrop-filter: blur(8px);
}
.hero-badge .badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse-dot 2s ease-in-out infinite;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: white;
  letter-spacing: -2.5px;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .highlight {
  background: linear-gradient(90deg, #FF5C35 0%, #FF9165 60%, #FFB347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.5);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.stat-item { text-align: center; }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: white;
  display: block;
  letter-spacing: -1.5px;
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0.4rem;
  display: block;
}

/* =========================================================
   7. MARQUEE
   ========================================================= */
.marquee-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.2rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 25s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0 1.5rem;
  border-right: 1px solid var(--glass-border);
}
.marquee-item i { color: var(--brand); font-size: 1rem; }

/* =========================================================
   8. SECTIONS
   ========================================================= */
.section-wrapper { padding: 6rem 0; position: relative; z-index: 1; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--brand);
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  background: rgba(255,92,53,0.08);
  border: 1px solid rgba(255,92,53,0.2);
  border-radius: 50px;
}
.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.75rem;
  color: var(--text-1);
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 1.5rem; }

/* =========================================================
   9. FEATURE CARDS
   ========================================================= */
.feature-card {
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 2rem;
  transition: var(--t-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255,92,53,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: var(--t-lg);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,92,53,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,92,53,0.1);
}
.feature-card:hover::before { opacity: 1; }
.feature-card .card-icon {
  width: 52px; height: 52px;
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  background: rgba(255,92,53,0.12);
  border: 1px solid rgba(255,92,53,0.2);
  color: var(--brand);
}
.feature-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text-1); }
.feature-card p  { color: var(--text-muted); font-size: 0.93rem; line-height: 1.7; }

/* =========================================================
   10. EXAM CARDS
   ========================================================= */
.info-card {
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  transition: var(--t-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--exam-color, var(--brand));
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  opacity: 0.7;
}
.info-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-bright);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}
.info-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text-1); }

.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: white;
  margin-bottom: 1.25rem;
}
.card-meta {
  display: flex;
  gap: 1.25rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 0.85rem;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}
.card-meta span { display: flex; align-items: center; gap: 0.4rem; }
.card-actions { display: flex; gap: 0.75rem; margin-top: 1.25rem; }

/* =========================================================
   11. BENTO GRID
   ========================================================= */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.bento-cell {
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 2rem;
  transition: var(--t-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}
.bento-cell:hover { border-color: var(--glass-border-bright); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.bento-cell.span-2   { grid-column: span 2; }
.bento-cell.featured {
  background: linear-gradient(135deg, rgba(255,92,53,0.12) 0%, rgba(255,92,53,0.04) 100%);
  border-color: rgba(255,92,53,0.25);
}
.bento-cell.featured:hover { box-shadow: 0 20px 60px rgba(255,92,53,0.15); }
.bento-cell .bento-icon { font-size: 2rem; margin-bottom: 1.25rem; display: block; color: var(--brand); }
.bento-cell h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-1); margin-bottom: 0.6rem; }
.bento-cell p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,92,53,0.1);
  border: 1px solid rgba(255,92,53,0.2);
  color: var(--brand);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

/* Bento badge (alias for bento-tag) */
.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,92,53,0.1);
  border: 1px solid rgba(255,92,53,0.2);
  color: var(--brand);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1.25rem;
}

/* Exam badge row inside bento exams-cell */
.bento-cell.exams-cell { justify-content: flex-start; }
.exam-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.exam-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  color: var(--text-2);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--t);
}
.exam-badge:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* =========================================================
   12. CTA BAND
   ========================================================= */
.cta-band {
  background: linear-gradient(135deg, #0F0A08 0%, #1A0C07 50%, #0F0A08 100%);
  border-top: 1px solid rgba(255,92,53,0.12);
  border-bottom: 1px solid rgba(255,92,53,0.12);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,92,53,0.18) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: white;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
  position: relative;
}
.cta-band p { color: rgba(255,255,255,0.45); font-size: 1.1rem; margin-bottom: 2.5rem; position: relative; }

/* =========================================================
   13. TRUST BAR
   ========================================================= */
.trust-bar-new {
  background: var(--bg-surface);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 2.5rem 0;
}
.trust-bar-new h2 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1.75rem;
  text-align: center;
}
.trust-logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.logo-item img {
  max-height: 38px; width: auto;
  filter: grayscale(100%) brightness(0.5);
  opacity: 0.4;
  transition: var(--t);
}
.logo-item:hover img { filter: grayscale(0%) brightness(1); opacity: 0.9; transform: scale(1.08); }

/* =========================================================
   14. FOOTER
   ========================================================= */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--glass-border);
  color: var(--text-2);
  padding: 4rem 0 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--glass-border);
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.footer-col a { display: block; color: rgba(255,255,255,0.4); margin-bottom: 0.75rem; font-size: 0.88rem; transition: var(--t); }
.footer-col a:hover { color: var(--text-1); }
.footer-col p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; }
.footer-copy { text-align: center; color: rgba(255,255,255,0.18); font-size: 0.8rem; }

/* =========================================================
   15. MODALS
   ========================================================= */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.active { display: flex; animation: fadeIn 0.2s ease-out; }

.modal-box {
  background: var(--bg-raised);
  border: 1px solid var(--glass-border-bright);
  width: 100%; max-width: 800px; max-height: 90vh;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--glass-border);
  background: var(--bg-overlay);
}
.modal-header h2 { font-size: 1.25rem; font-weight: 700; margin: 0; color: var(--text-1); }
.modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: var(--t); cursor: pointer; font-size: 1rem;
}
.modal-close:hover { background: var(--glass-2); color: var(--text-1); }

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--glass-border);
  padding: 0 2rem;
  background: var(--bg-raised);
}
.tab-link {
  padding: 0.9rem 1.2rem;
  cursor: pointer; font-size: 0.88rem; font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: var(--t);
}
.tab-link:hover { color: var(--text-2); }
.tab-link.active { color: var(--brand); border-bottom-color: var(--brand); }

.modal-body { padding: 2rem; overflow-y: auto; flex: 1; }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 0.25s; }

.info-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.info-cell { background: var(--bg-overlay); border: 1px solid var(--glass-border); border-radius: var(--r); padding: 1rem; }
.info-cell .info-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 0.3rem; display: block; }
.info-cell .info-value { font-weight: 700; color: var(--text-1); font-size: 1rem; }

/* =========================================================
   16. TABLES
   ========================================================= */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.data-table th { background: var(--bg-overlay); padding: 0.85rem 1rem; text-align: left; font-weight: 700; color: var(--text-1); border-bottom: 1px solid var(--glass-border); }
.data-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--glass-border); color: var(--text-2); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--glass-1); }

.ace-table { width: 100%; border-collapse: collapse; }
.ace-table th { background: var(--bg-overlay); padding: 1rem; text-align: left; font-weight: 700; border-bottom: 1px solid var(--glass-border); color: var(--text-1); }
.ace-table td { padding: 1rem; border-bottom: 1px solid var(--glass-border); color: var(--text-2); }

/* =========================================================
   17. ANIMATIONS
   ========================================================= */
@keyframes fadeIn    { from { opacity:0; transform:translateY(8px); }  to { opacity:1; transform:translateY(0); } }
@keyframes fadeInUp  { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes spin      { to { transform:rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  33%       { transform: translateY(-30px) translateX(15px) scale(1.05); }
  66%       { transform: translateY(20px) translateX(-10px) scale(0.97); }
}
@keyframes marquee   { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,92,53,0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(255,92,53,0); }
}
@keyframes pulse-dot {
  0%, 100% { opacity:1; transform:scale(1); }
  50%       { opacity:0.5; transform:scale(0.8); }
}

/* Scroll reveal */
.reveal { opacity:0; transform:translateY(24px); transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =========================================================
   18. LOADER
   ========================================================= */
.spinner { width: 42px; height: 42px; border: 2px solid var(--glass-border); border-top-color: var(--brand); border-radius: 50%; animation: spin 0.85s linear infinite; }
.loader-container { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 320px; gap: 1rem; text-align: center; }
.loader-container h3 { font-size: 1rem; font-weight: 600; color: var(--text-1); }
.loader-container p  { font-size: 0.85rem; color: var(--text-muted); }

/* =========================================================
   19. AUTH PAGES — Split-screen
   ========================================================= */
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Left panel — dark */
.auth-brand {
  background: var(--bg-base);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--glass-border);
}
.auth-brand::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,92,53,0.18) 0%, transparent 65%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.auth-brand::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(60,100,220,0.12) 0%, transparent 65%);
  bottom: -100px; left: -100px;
  pointer-events: none;
}

.auth-brand-top     { position: relative; z-index: 1; }
.auth-brand-inner   { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2rem; justify-content: center; height: 100%; padding: 2rem 0; }
.auth-brand-content { position: relative; z-index: 1; padding: 2rem 0; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.auth-brand-footer  { color: rgba(255,255,255,0.18); font-size: 0.78rem; position: relative; z-index: 1; }

.auth-brand-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}
.auth-brand-sub { color: rgba(255,255,255,0.45); font-size: 0.97rem; line-height: 1.75; }

.auth-brand-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.auth-brand-content p { color: rgba(255,255,255,0.45); font-size: 0.97rem; line-height: 1.7; }

.auth-brand-features { display: flex; flex-direction: column; gap: 0.75rem; }
.auth-feature-item {
  display: flex; align-items: center; gap: 0.85rem;
  color: rgba(255,255,255,0.55); font-size: 0.88rem;
}
.auth-feature-item i {
  width: 28px; height: 28px;
  background: rgba(255,92,53,0.12);
  border: 1px solid rgba(255,92,53,0.2);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); font-size: 0.75rem; flex-shrink: 0;
}

.auth-features { list-style: none; margin-top: 2rem; }
.auth-features li {
  display: flex; align-items: center; gap: 0.85rem;
  color: rgba(255,255,255,0.6); font-size: 0.92rem; margin-bottom: 0.85rem;
}
.auth-features li i {
  width: 24px; height: 24px;
  background: rgba(255,92,53,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); font-size: 0.65rem; flex-shrink: 0;
}

/* Right panel — white */
.auth-form-panel {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}
.auth-form-inner { width: 100%; max-width: 420px; }

/* Form header */
.auth-form-header { margin-bottom: 2rem; }
.auth-form-header h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.5px; color: var(--text-dark); margin-bottom: 0.35rem; }
.auth-form-header p  { color: var(--text-dark-muted); font-size: 0.92rem; }

.auth-form-inner .auth-header { margin-bottom: 2rem; }
.auth-form-inner .auth-header h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 0.35rem; letter-spacing: -0.5px; color: var(--text-dark); }
.auth-form-inner .auth-header p  { color: var(--text-dark-muted); font-size: 0.92rem; }

/* Inputs */
.input-group { margin-bottom: 1.25rem; }
.input-group label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.5rem; }
.input-group input,
.input-group textarea {
  width: 100%; padding: 0.8rem 1rem;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--r);
  font-size: 0.93rem; color: var(--text-dark);
  background: #F9FAFB; transition: var(--t);
}
.input-group input:focus,
.input-group textarea:focus {
  outline: none; border-color: var(--brand);
  background: white;
  box-shadow: 0 0 0 3px rgba(255,92,53,0.1);
}
.input-group textarea { resize: vertical; }

.auth-submit-btn {
  width: 100%; padding: 0.92rem;
  background: var(--brand); color: white;
  font-size: 0.97rem; font-weight: 600;
  border-radius: var(--r); border: none;
  cursor: pointer; transition: var(--t); margin-top: 0.5rem;
  box-shadow: 0 4px 20px rgba(255,92,53,0.3);
  font-family: 'Inter', sans-serif;
}
.auth-submit-btn:hover:not(:disabled) { background: var(--brand-hover); transform: translateY(-1px); box-shadow: var(--shadow-orange); }
.auth-submit-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.error-msg   { background:#FEF2F2; border:1px solid #FECACA; color:#B91C1C; border-radius:var(--r); padding:0.75rem 1rem; font-size:0.83rem; display:none; margin-bottom:1rem; }
.error-msg.show   { display: block; }
.success-msg { background:#ECFDF5; border:1px solid #BBF7D0; color:#065F46; border-radius:var(--r); padding:0.75rem 1rem; font-size:0.83rem; display:none; margin-bottom:1rem; }
.success-msg.show { display: block; }

.auth-links, .auth-form-footer {
  text-align: center; margin-top: 1.5rem;
  font-size: 0.88rem; color: var(--text-dark-muted);
}
.auth-links a       { color: var(--brand); font-weight: 600; }
.auth-form-footer a { color: var(--brand); font-weight: 600; }
.auth-form-footer a:hover { text-decoration: underline; }

/* Forgot password link — always visible on white bg */
.auth-forgot-link {
  color: var(--text-dark-muted) !important;
  font-size: 0.88rem;
  transition: var(--t);
}
.auth-forgot-link:hover { color: var(--brand) !important; }

/* =========================================================
   20. DASHBOARD (APP)
   ========================================================= */
.app-layout { display: flex; height: 100vh; overflow: hidden; background: var(--bg-surface); }

.sidebar { width: 264px; background: var(--bg-base); border-right: 1px solid var(--glass-border); display: flex; flex-direction: column; flex-shrink: 0; }
.sidebar-header { padding: 1.4rem 1.4rem 1.1rem; }
.brand-glyph { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: inline-grid; place-items: center; box-shadow: 0 4px 16px rgba(255,92,53,0.35); font-size: 0.78rem; flex-shrink: 0; }
.brand-glyph i { color: #fff !important; }
.rail-label { font-size: 0.64rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--text-muted); padding: 0.4rem 1.5rem 0.55rem; }
.nav-list { flex: 1; padding: 0 0.9rem; overflow-y: auto; }
.nav-item { display: flex; align-items: center; gap: 0.8rem; padding: 0.68rem 0.75rem; margin-bottom: 2px; border-radius: var(--r); border: 1px solid transparent; color: var(--text-muted); cursor: pointer; transition: var(--t); position: relative; }
.nav-item:hover  { background: rgba(255,255,255,0.045); color: var(--text-2); }
.nav-item .nav-icon { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); display: grid; place-items: center; flex-shrink: 0; font-size: 0.85rem; transition: inherit; }
.nav-item .nav-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.nav-item .nav-name { font-weight: 600; font-size: 0.9rem; color: inherit; }
.nav-item .nav-meta { font-size: 0.7rem; color: var(--text-muted); margin-top: 1px; font-weight: 500; }
.nav-item.active { background: linear-gradient(90deg, rgba(255,92,53,0.14), rgba(255,92,53,0.04) 70%); border-color: rgba(255,92,53,0.25); color: var(--text-1); }
.nav-item.active::before { content: ''; position: absolute; left: -1px; top: 20%; bottom: 20%; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--brand), var(--brand-2)); box-shadow: 0 0 12px rgba(255,92,53,0.6); }
.nav-item.active .nav-icon { background: rgba(255,92,53,0.15); border-color: rgba(255,92,53,0.3); }
.nav-item.active .nav-icon i { color: var(--brand); }
.nav-item:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Sidebar user card */
.sidebar-footer { padding: 0.9rem; }
.rail-user { padding: 0.85rem; border-radius: var(--r-lg); background: var(--bg-raised); border: 1px solid var(--glass-border); display: flex; align-items: center; gap: 0.7rem; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #2A2F3F, #1B1F2C); border: 1px solid var(--glass-border-bright); display: grid; place-items: center; font-weight: 700; font-size: 0.78rem; color: var(--text-1); flex-shrink: 0; }
.rail-user-info { min-width: 0; }
.u-name { font-size: 0.84rem; font-weight: 600; color: var(--text-1); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-plan { display: inline-flex; align-items: center; gap: 4px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--brand-2); margin-top: 2px; }
.u-out { margin-left: auto; background: none; border: none; color: var(--text-muted); padding: 0.4rem 0.5rem; border-radius: 8px; font-size: 0.88rem; cursor: pointer; transition: var(--t); flex-shrink: 0; }
.u-out:hover { color: var(--text-1); background: rgba(255,255,255,0.06); }

.main-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.app-header { height: var(--nav-height); background: var(--bg-raised); border-bottom: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; flex-shrink: 0; }
.breadcrumb { font-size: 0.84rem; color: var(--text-muted); font-weight: 500; }
.breadcrumb span { color: var(--text-1); font-weight: 700; }

.plan-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(255,92,53,0.1); border: 1px solid rgba(255,92,53,0.25); color: var(--brand); padding: 0.35rem 0.85rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

.workspace { flex: 1; overflow-y: auto; padding: 2rem; }
.grid-container { max-width: 1120px; margin: 0 auto; }
.view { display: none; width: 100%; }
.view.active { display: block; animation: fadeIn 0.28s ease-out; }

/* ── Exam hero band ─────────────────────────────────────── */
.hero-band { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--glass-border-bright); background: linear-gradient(160deg, var(--bg-raised) 0%, var(--bg-surface) 100%); padding: 1.9rem 2.1rem; display: flex; gap: 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.hero-band::before { content: ''; position: absolute; top: -120px; right: -80px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,92,53,0.16) 0%, transparent 65%); pointer-events: none; }
.hero-band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 120%, rgba(92,168,255,0.05), transparent 55%); pointer-events: none; }
.hb-left { position: relative; z-index: 1; flex: 1; min-width: 260px; }
.eyebrow { font-size: 0.66rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand); display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.55rem; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--brand); }
.hb-left h1 { font-family: 'Poppins', sans-serif; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.8px; color: var(--text-1); line-height: 1.15; text-wrap: balance; }
.hb-left p { margin-top: 0.5rem; font-size: 0.9rem; color: var(--text-muted); max-width: 52ch; }
.hb-stats { display: flex; gap: 1.6rem; margin-top: 1.15rem; flex-wrap: wrap; }
.hb-stats .stat .n { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--text-1); font-variant-numeric: tabular-nums; }
.hb-stats .stat .l { font-size: 0.68rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-top: 1px; }
.hb-right { position: relative; z-index: 1; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* Quota ring / unlimited chip */
.ring-wrap { display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 1.05rem; border-radius: var(--r-lg); background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); }
.ring { position: relative; width: 52px; height: 52px; flex-shrink: 0; }
.ring svg { transform: rotate(-90deg); display: block; }
.ring circle { transition: stroke-dashoffset 0.65s cubic-bezier(0.4, 0, 0.2, 1); }
.ring .val { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; color: var(--text-1); font-variant-numeric: tabular-nums; }
.ring-wrap .q-label { font-size: 0.66rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-muted); }
.ring-wrap .q-count { font-size: 0.84rem; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; margin-top: 2px; }
.ring-wrap a { font-size: 0.72rem; font-weight: 700; color: var(--brand-2); text-decoration: none; margin-top: 3px; display: inline-block; }
.ring-wrap a:hover { text-decoration: underline; }
.ring-wrap.is-full { border-color: rgba(239,68,68,0.35); }
.ring-wrap.unlimited-chip > i { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,92,53,0.12); border: 1px solid rgba(255,92,53,0.3); display: grid; place-items: center; color: var(--brand); font-size: 0.85rem; flex-shrink: 0; }

/* Full Mock Test — gradient pill */
.btn-mock { position: relative; display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.85rem 1.5rem; border-radius: 50px; border: none; font-weight: 700; font-size: 0.92rem; color: #fff; background: linear-gradient(135deg, var(--brand) 0%, #FF7A3D 60%, var(--brand-2) 130%); box-shadow: 0 8px 28px rgba(255,92,53,0.38); transition: var(--t); cursor: pointer; font-family: 'Inter', sans-serif; }
.btn-mock:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255,92,53,0.5); }

/* ── Toolbar: skill pills + difficulty ──────────────────── */
.dash-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.7rem 0 0.4rem; flex-wrap: wrap; }
.pills { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.pill { padding: 0.48rem 1.05rem; border-radius: 50px; border: 1px solid var(--glass-border); background: transparent; color: var(--text-muted); font-size: 0.8rem; font-weight: 600; transition: var(--t); cursor: pointer; font-family: 'Inter', sans-serif; }
.pill:hover { color: var(--text-2); border-color: var(--glass-border-bright); }
.pill.on { background: rgba(255,92,53,0.13); border-color: rgba(255,92,53,0.35); color: var(--text-1); }
.tb-right { display: flex; align-items: center; }
.seg-label { font-size: 0.66rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-muted); align-self: center; margin-right: 0.7rem; font-weight: 700; }
.seg { display: flex; border: 1px solid var(--glass-border); border-radius: 50px; overflow: hidden; background: var(--glass-1); }
.seg .seg-btn { padding: 0.44rem 1rem; border: none; background: transparent; color: var(--text-muted); font-size: 0.76rem; font-weight: 600; transition: var(--t); cursor: pointer; font-family: 'Inter', sans-serif; }
.seg .seg-btn.on { background: rgba(255,92,53,0.16); color: var(--text-1); }

/* ── Skill sections ─────────────────────────────────────── */
.skill-sec { margin-top: 1.9rem; --sc: var(--brand); }
.skill-head { display: flex; align-items: baseline; gap: 0.65rem; margin-bottom: 1rem; }
.skill-head .dot { width: 9px; height: 9px; border-radius: 3px; background: var(--sc); align-self: center; box-shadow: 0 0 10px rgba(255,255,255,0.25); box-shadow: 0 0 10px color-mix(in srgb, var(--sc) 60%, transparent); }
.skill-head h2 { font-family: 'Poppins', sans-serif; font-size: 1.02rem; font-weight: 700; color: var(--text-1); letter-spacing: -0.2px; }
.skill-head .count { font-size: 0.72rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.skill-head .rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--glass-border), transparent); align-self: center; }
.skill-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 1rem; }

/* ── Module cards ───────────────────────────────────────── */
.module-card { position: relative; text-align: left; background: var(--bg-raised); border: 1px solid var(--glass-border); border-radius: var(--r-lg); padding: 1.3rem 1.3rem 1.15rem; cursor: pointer; transition: all 0.25s cubic-bezier(0.4,0,0.2,1); overflow: hidden; display: flex; flex-direction: column; gap: 0.85rem; color: var(--text-2); font-family: 'Inter', sans-serif; }
.module-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sc) 55%, transparent), transparent); opacity: 0; transition: opacity 0.25s; }
.module-card:hover { transform: translateY(-3px); background: var(--bg-overlay); border-color: var(--glass-border-bright); border-color: color-mix(in srgb, var(--sc) 35%, var(--glass-border)); box-shadow: 0 16px 44px rgba(0,0,0,0.45); box-shadow: 0 16px 44px rgba(0,0,0,0.45), 0 0 0 1px color-mix(in srgb, var(--sc) 12%, transparent); }
.module-card:hover::before { opacity: 1; }
.module-card:focus-visible { outline: 2px solid var(--sc); outline-offset: 2px; }
.module-card h3 { font-family: 'Poppins', sans-serif; font-size: 0.98rem; font-weight: 700; color: var(--text-1); letter-spacing: -0.2px; line-height: 1.3; margin: 0; }
.mc-top { display: flex; align-items: flex-start; justify-content: space-between; }
.mc-tile { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,0.06); background: color-mix(in srgb, var(--sc) 11%, transparent); border: 1px solid rgba(255,255,255,0.14); border-color: color-mix(in srgb, var(--sc) 24%, transparent); display: grid; place-items: center; font-size: 0.95rem; color: var(--sc); }
.mc-go { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--glass-border); display: grid; place-items: center; font-size: 0.68rem; color: var(--text-1); opacity: 0; transform: translateX(-6px); transition: all 0.25s; }
.module-card:hover .mc-go { opacity: 1; transform: none; background: rgba(255,255,255,0.08); background: color-mix(in srgb, var(--sc) 18%, transparent); border-color: var(--glass-border-bright); border-color: color-mix(in srgb, var(--sc) 40%, transparent); }
.mc-meta { font-size: 0.76rem; color: var(--text-muted); margin-top: 0.3rem; }
.mc-foot { display: flex; gap: 0.4rem; margin-top: auto; }
.chip { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; padding: 0.22rem 0.6rem; border-radius: 50px; background: var(--glass-1); border: 1px solid var(--glass-border); color: var(--text-muted); }
.chip.new { background: rgba(255,255,255,0.06); background: color-mix(in srgb, var(--sc) 12%, transparent); border-color: rgba(255,255,255,0.18); border-color: color-mix(in srgb, var(--sc) 30%, transparent); color: var(--sc); }

/* =========================================================
   21. PRACTICE INTERFACE
   ========================================================= */
.practice-container { width: 100%; }
.practice-ui { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; height: calc(100vh - 200px); overflow: hidden; }
.split-pane { background: var(--bg-raised); border: 1px solid var(--glass-border); border-radius: var(--r-lg); padding: 1.75rem; overflow-y: auto; display: flex; flex-direction: column; }
.split-pane.read { font-family: 'Georgia', serif; line-height: 1.9; color: var(--text-2); font-size: 0.98rem; }

.option-btn { display: block; width: 100%; padding: 0.88rem 1rem; margin-bottom: 0.72rem; background: var(--bg-overlay); border: 1.5px solid var(--glass-border); border-radius: var(--r); text-align: left; font-size: 0.93rem; cursor: pointer; transition: var(--t); font-family: 'Inter', sans-serif; color: var(--text-2); line-height: 1.5; }
.option-btn:hover:not(:disabled) { background: rgba(255,92,53,0.08); border-color: rgba(255,92,53,0.3); transform: translateX(2px); color: var(--text-1); }
.option-btn:disabled { cursor: not-allowed; }
.option-btn.correct { background: rgba(16,185,129,0.1); border-color: #10B981; color: #6EE7B7; font-weight: 600; }
.option-btn.wrong   { background: rgba(239,68,68,0.1); border-color: #EF4444; color: #FCA5A5; opacity: 0.9; }

.explanation-box { background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.2); border-left: 3px solid #10B981; border-radius: var(--r-lg); padding: 1.25rem 1.5rem; margin-top: 1.5rem; }
.explanation-box .exp-title { font-weight: 700; color: #34D399; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.explanation-box p { color: rgba(52,211,153,0.8); font-size: 0.92rem; line-height: 1.65; }

.essay-area { width: 100%; min-height: 280px; padding: 1rem; border: 1.5px solid var(--glass-border); border-radius: var(--r); font-size: 0.93rem; line-height: 1.7; resize: vertical; transition: var(--t); background: var(--bg-overlay); color: var(--text-2); }
.essay-area:focus { outline: none; border-color: var(--brand); background: rgba(255,92,53,0.03); box-shadow: 0 0 0 3px rgba(255,92,53,0.08); color: var(--text-1); }

.essay-results { max-width: 680px; margin: 0 auto; padding: 0.5rem 0; animation: fadeInUp 0.4s ease-out; }
.score-card { background: linear-gradient(135deg, var(--bg-base) 0%, rgba(255,92,53,0.08) 100%); border: 1px solid rgba(255,92,53,0.2); border-radius: var(--r-xl); padding: 2.5rem 2rem; text-align: center; margin-bottom: 1.5rem; position: relative; overflow: hidden; }
.score-card::before { content: ''; position: absolute; width: 350px; height: 350px; background: radial-gradient(circle, rgba(255,92,53,0.25), transparent 65%); top: -120px; right: -60px; pointer-events: none; }
.score-number { font-family: 'Poppins', sans-serif; font-size: 5rem; font-weight: 900; background: linear-gradient(135deg, #FF5C35, #FF9165); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; line-height: 1; position: relative; }
.score-label-text { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.6rem; letter-spacing: 1px; text-transform: uppercase; }
.feedback-grid { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 1.75rem; }
.feedback-item { background: var(--bg-raised); border: 1px solid var(--glass-border); border-left: 3px solid var(--brand); border-radius: var(--r-lg); padding: 1.2rem 1.5rem; }
.feedback-criterion { font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--brand); margin-bottom: 0.4rem; }
.feedback-comment { color: var(--text-2); font-size: 0.92rem; line-height: 1.6; }

/* =========================================================
   22. MOCK TEST
   ========================================================= */
.mock-page-body { background: var(--bg-surface); height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.mock-header { background: var(--bg-base); border-bottom: 1px solid var(--glass-border); color: var(--text-1); padding: 0 2rem; height: 60px; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.mock-header-title { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.3px; color: var(--text-1); }
.timer-box { font-family: 'Poppins', monospace; font-size: 1.3rem; font-weight: 700; background: rgba(255,92,53,0.1); border: 1px solid rgba(255,92,53,0.2); padding: 0.3rem 0.9rem; border-radius: var(--r); color: var(--brand); letter-spacing: 2px; }
.mock-layout { flex: 1; display: grid; grid-template-columns: 235px 1fr; height: calc(100vh - 60px); overflow: hidden; }
.mock-sidebar { background: var(--bg-raised); border-right: 1px solid var(--glass-border); padding: 1.5rem; overflow-y: auto; display: flex; flex-direction: column; }
.mock-sidebar h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 0.75rem; }
.section-tabs { display: flex; flex-direction: column; gap: 4px; margin-bottom: 1.5rem; border-bottom: 1px solid var(--glass-border); padding-bottom: 1.25rem; }
.section-tab { padding: 0.6rem 0.85rem; cursor: pointer; font-weight: 600; font-size: 0.85rem; color: var(--text-muted); border-radius: var(--r-sm); transition: var(--t); }
.section-tab:hover  { background: var(--glass-2); color: var(--text-2); }
.section-tab.active { background: rgba(255,92,53,0.1); color: var(--brand); border: 1px solid rgba(255,92,53,0.2); }
.q-palette { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.q-num { aspect-ratio: 1; border: 1.5px solid var(--glass-border); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; cursor: pointer; font-weight: 600; font-size: 0.78rem; transition: var(--t); color: var(--text-muted); background: var(--bg-overlay); }
.q-num:hover    { border-color: var(--brand); color: var(--brand); }
.q-num.active   { background: var(--brand); color: white; border-color: var(--brand); }
.q-num.answered { background: rgba(16,185,129,0.15); color: #34D399; border-color: #10B981; }
.mock-content { padding: 2rem; overflow-y: auto; background: var(--bg-surface); }
.passage-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; min-height: 500px; }
.read-pane { background: var(--bg-raised); padding: 2rem; overflow-y: auto; border-radius: var(--r-lg); border: 1px solid var(--glass-border); font-family: 'Georgia', serif; line-height: 1.9; font-size: 0.96rem; color: var(--text-2); }
.qa-pane { overflow-y: auto; }
.question-block { background: var(--bg-raised); padding: 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--glass-border); margin-bottom: 1rem; }
.q-text { font-weight: 600; margin-bottom: 1rem; font-size: 0.97rem; color: var(--text-1); line-height: 1.55; }
.mock-option { display: block; padding: 0.72rem 1rem; border: 1.5px solid var(--glass-border); margin-bottom: 0.6rem; border-radius: var(--r); cursor: pointer; transition: var(--t); font-size: 0.88rem; color: var(--text-2); background: var(--bg-overlay); }
.mock-option:hover    { background: rgba(255,92,53,0.08); border-color: rgba(255,92,53,0.3); color: var(--text-1); }
.mock-option.selected { background: var(--brand); color: white; border-color: var(--brand); }

.results-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 500; display: flex; align-items: center; justify-content: center; padding: 1rem; animation: fadeIn 0.35s ease-out; }
.results-box { background: var(--bg-raised); border: 1px solid var(--glass-border-bright); border-radius: var(--r-xl); padding: 2.5rem; max-width: 580px; width: 100%; box-shadow: 0 40px 80px rgba(0,0,0,0.7); text-align: center; animation: fadeInUp 0.4s cubic-bezier(0.4,0,0.2,1); }
.results-score-hero { background: linear-gradient(135deg, var(--bg-base) 0%, rgba(255,92,53,0.1) 100%); border: 1px solid rgba(255,92,53,0.2); border-radius: var(--r-lg); padding: 2.5rem 2rem; margin-bottom: 2rem; position: relative; overflow: hidden; }
.results-score-hero::before { content: ''; position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,92,53,0.22), transparent 65%); top: -100px; right: -50px; }
.results-score-big { font-family: 'Poppins', sans-serif; font-size: 3.5rem; font-weight: 900; background: linear-gradient(135deg, #FF5C35, #FF9165); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; line-height: 1; position: relative; }
.results-score-label { color: var(--text-muted); font-size: 0.78rem; margin-top: 0.5rem; text-transform: uppercase; letter-spacing: 1px; }
.results-breakdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.breakdown-item { background: var(--bg-overlay); border: 1px solid var(--glass-border); border-radius: var(--r); padding: 1rem; }
.breakdown-item .bd-number { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--text-1); display: block; }
.breakdown-item .bd-label  { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.5px; }
.results-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   23. PRICING
   ========================================================= */
.pricing-page-main { padding: 5rem 0; background: var(--bg-base); min-height: 100vh; }
.pricing-hero { text-align: center; margin-bottom: 4rem; }
.pricing-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -1.5px; color: var(--text-1); }
.pricing-hero p  { color: var(--text-muted); font-size: 1.05rem; max-width: 460px; margin: 0.75rem auto 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.price-card-new { background: var(--glass-1); border: 1px solid var(--glass-border); border-radius: var(--r-xl); padding: 2rem; display: flex; flex-direction: column; transition: var(--t-lg); position: relative; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.price-card-new:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--glass-border-bright); }
.price-card-new.popular { border-color: rgba(255,92,53,0.35); background: linear-gradient(135deg, rgba(255,92,53,0.08), rgba(255,92,53,0.02)); box-shadow: 0 0 0 1px rgba(255,92,53,0.15); }
.price-card-new.popular:hover { box-shadow: 0 0 0 1px rgba(255,92,53,0.3), var(--shadow-orange-xl); }
.popular-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: white; padding: 0.28rem 1rem; border-radius: 50px; font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; box-shadow: var(--shadow-orange); }
.card-header { margin-bottom: 1.5rem; }
.card-header h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--text-1); }
.card-header p  { color: var(--text-muted); font-size: 0.88rem; }
.card-price { margin-bottom: 1.5rem; }
.card-price .price-amount { font-family: 'Poppins', sans-serif; font-size: 2.8rem; font-weight: 800; color: var(--text-1); letter-spacing: -1.5px; }
.card-price .price-freq   { color: var(--text-muted); font-size: 0.9rem; }
.card-divider { border: none; height: 1px; background: var(--glass-border); margin: 1.5rem 0; }
.features-title { font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 1rem; }
.features-list { list-style: none; padding: 0; flex: 1; }
.features-list li { padding: 0.48rem 0; color: var(--text-2); font-size: 0.88rem; display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.5; }
.features-list li::before { content: '✓'; color: #10B981; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.comparison-section { text-align: center; background: var(--glass-1); border: 1px solid var(--glass-border); border-radius: var(--r-xl); padding: 3rem; margin-top: 4rem; }
.comparison-section h2 { font-size: 1.7rem; margin-bottom: 0.5rem; color: var(--text-1); }
.comparison-section p  { color: var(--text-muted); margin-bottom: 1.5rem; }

/* =========================================================
   24. COMPARISON TABLE
   ========================================================= */
.comparison-page-main { background: var(--bg-base); padding: 4rem 0; min-height: 100vh; }
.table-container { overflow-x: auto; border: 1px solid var(--glass-border); border-radius: var(--r-xl); }
.comparison-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 0.88rem; }
.comparison-table th, .comparison-table td { padding: 1rem 1.25rem; text-align: center; border-bottom: 1px solid var(--glass-border); }
.comparison-table thead th                  { font-size: 0.97rem; font-weight: 700; color: var(--text-1); background: var(--bg-overlay); }
.comparison-table thead th.popular-plan      { color: var(--brand); }
.comparison-table tbody th[scope="row"]      { text-align: left; font-weight: 500; color: var(--text-2); }
.comparison-table tr.section-header td      { background: var(--bg-overlay); font-weight: 700; color: var(--text-1); text-align: left; }
.feature-check { color: #10B981; font-size: 1.1rem; }
.feature-cross  { color: rgba(255,255,255,0.15); font-size: 1.1rem; }
.comparison-table tr.cta-row { background: var(--bg-overlay); }
.comparison-table tr.cta-row td { border-bottom: none; }

/* =========================================================
   25. COUNSELING
   ========================================================= */
.counseling-page-main { padding: 4rem 0; background: var(--bg-base); }
.exam-section { background: var(--glass-1); border: 1px solid var(--glass-border); border-radius: var(--r-xl); padding: 2.5rem; margin-bottom: 2rem; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.exam-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.exam-icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.exam-header h2 { font-size: 1.75rem; font-weight: 700; margin: 0; color: var(--text-1); }
.exam-overview { color: var(--text-muted); margin-bottom: 2rem; line-height: 1.75; }
.exam-section h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); border-bottom: 1px solid var(--glass-border); padding-bottom: 0.5rem; margin-bottom: 1rem; }
.quick-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.fact-item { background: var(--bg-overlay); padding: 1rem; border-radius: var(--r); font-size: 1.3rem; font-weight: 700; color: var(--text-1); border: 1px solid var(--glass-border); }
.fact-item span { display: block; font-size: 0.68rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.5px; }
.country-list { list-style: none; padding: 0; margin-bottom: 2rem; }
.country-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.65rem; color: var(--text-2); font-size: 0.92rem; }
.country-list li::before { content: '✓'; color: var(--brand); font-weight: 700; position: absolute; left: 0; }
.exam-pattern-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; font-size: 0.88rem; }
.exam-pattern-table th, .exam-pattern-table td { border: 1px solid var(--glass-border); padding: 0.75rem 1rem; text-align: left; color: var(--text-2); }
.exam-pattern-table thead th { background: var(--bg-overlay); font-weight: 600; color: var(--text-1); }
.exam-pattern-table tbody td:first-child { font-weight: 600; color: var(--text-1); }

/* =========================================================
   26. STATIC / CONTACT / LEGAL
   ========================================================= */
.static-page-main, .legal-page-main { padding: 4rem 0; flex-grow: 1; background: var(--bg-base); }
.page-hero { text-align: center; margin-bottom: 4rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -1px; color: var(--text-1); }
.page-hero p  { color: var(--text-muted); font-size: 1.05rem; max-width: 540px; margin: 0.75rem auto 0; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
.grid-image img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.grid-text h2 { font-size: 2rem; margin-bottom: 1rem; color: var(--text-1); }
.grid-text p  { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.8; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2.5rem; background: var(--glass-1); padding: 2.5rem; border-radius: var(--r-xl); border: 1px solid var(--glass-border); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.contact-details h3 { font-size: 1.4rem; margin-bottom: 0.75rem; color: var(--text-1); }
.info-list { list-style: none; padding: 0; margin-top: 1.5rem; }
.info-list li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; color: var(--text-2); font-size: 0.92rem; }
.info-list li i { color: var(--brand); font-size: 1rem; width: 18px; text-align: center; flex-shrink: 0; }
.legal-content { max-width: 760px; margin: 0 auto; background: var(--glass-1); padding: 3rem; border: 1px solid var(--glass-border); border-radius: var(--r-xl); }
.legal-content h1  { font-size: 2rem; margin-bottom: 0.5rem; color: var(--text-1); }
.legal-content h2  { font-size: 1.25rem; margin-top: 2.5rem; margin-bottom: 1rem; border-bottom: 1px solid var(--glass-border); padding-bottom: 0.5rem; color: var(--text-1); }
.legal-content p   { line-height: 1.8; color: var(--text-muted); margin-bottom: 1rem; font-size: 0.93rem; }

/* =========================================================
   27. TOAST
   ========================================================= */
.toast { position: fixed; bottom: 2rem; right: 2rem; background: var(--bg-raised); border: 1px solid var(--glass-border-bright); border-radius: var(--r-lg); padding: 1rem 1.5rem; box-shadow: var(--shadow-xl); font-size: 0.9rem; font-weight: 500; z-index: 9999; animation: fadeInUp 0.3s ease-out; max-width: 320px; color: var(--text-1); }
.toast.success { border-color: rgba(16,185,129,0.3); color: #34D399; }
.toast.error   { border-color: rgba(239,68,68,0.3);  color: #FCA5A5; }

/* =========================================================
   28. RESPONSIVE
   ========================================================= */

/* Mobile sidebar toggle (hamburger) + backdrop — hidden on desktop.
   The button toggles body.nav-open; media queries below slide the
   relevant sidebar in as a fixed overlay drawer. */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 0.8rem;
  left: 1rem;
  z-index: 320; /* above the nav drawer (300), below .results-overlay (500) */
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--bg-raised);
  border: 1px solid var(--glass-border-bright);
  border-radius: var(--r-sm);
  color: var(--text-1);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--t);
}
.sidebar-toggle:hover { border-color: var(--brand-border); color: var(--brand); }
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 290;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }

@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-cell.span-2 { grid-column: span 1; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .mock-layout { grid-template-columns: 1fr; }
  /* Mock sidebar becomes an off-canvas drawer opened by the hamburger */
  .mock-page-body .sidebar-toggle { display: flex; }
  .mock-page-body .nav-backdrop { display: block; }
  .mock-header { padding-left: 4.5rem; }
  .mock-sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    z-index: 300;
    background: var(--bg-raised);
    border-right: 1px solid var(--glass-border-bright);
    transform: translateX(-105%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  }
  body.nav-open .mock-sidebar { transform: translateX(0); box-shadow: var(--shadow-xl); }
  .passage-split { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .app-layout { flex-direction: column; height: auto; overflow: visible; min-height: 100vh; }
  /* App sidebar becomes an off-canvas drawer opened by the hamburger */
  .app-layout .sidebar-toggle { display: flex; }
  .nav-backdrop { display: block; }
  .app-header { padding-left: 4.5rem; }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    flex-direction: column;
    z-index: 300;
    border-right: 1px solid var(--glass-border-bright);
    transform: translateX(-105%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  }
  body.nav-open .sidebar { transform: translateX(0); box-shadow: var(--shadow-xl); }
  .main-content { overflow: visible; }
  .workspace { overflow: visible; padding: 1rem; }
  /* Hero band stacks; toolbar wraps */
  .hero-band { padding: 1.4rem 1.3rem; gap: 1.25rem; }
  .hb-right { width: 100%; justify-content: space-between; gap: 1rem; }
  .dash-toolbar { flex-direction: column; align-items: flex-start; }
  .practice-ui { grid-template-columns: 1fr; height: auto; }
  .split-pane { height: auto; min-height: 200px; margin-bottom: 1rem; }
  .content-grid, .contact-grid { grid-template-columns: 1fr; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .hero-stats { gap: 2rem; }
  .bento-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero { padding: 5rem 0 6rem; min-height: auto; }
  .hero h1 { font-size: 2.4rem; letter-spacing: -1.5px; }
  .section-wrapper { padding: 4rem 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .info-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .results-breakdown { grid-template-columns: 1fr; }
  .modal-box { border-radius: var(--r-lg); }
  .modal-body { padding: 1.25rem; }
  .pricing-grid { max-width: 100%; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 280px; margin: 0 auto; }
  .hero-actions .btn { width: 100%; }
  .results-actions { flex-direction: column; }
  .btn-lg { padding: 0.9rem 1.75rem; }
  .score-number { font-size: 3.8rem; }
}

/* =========================================================
   29. SITE-WIDE PARTICLE BACKGROUND LAYERING
   ========================================================= */

/* Root gets the dark color; body is transparent so canvas shows through */
html { background: var(--bg-base); }
body { background: transparent; }

/* Fixed canvas — z:-1 so it's above html bg but below ALL body content naturally */
.fx-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw !important;
  height: 100vh !important;
  z-index: -1;
  pointer-events: none;
}

/* Make section backgrounds semi-transparent so canvas glows through */
.hero              { background: rgba(6,6,8,0.08)  !important; }
.marquee-section   { background: rgba(13,15,20,0.82) !important; }
.features-section  { background: rgba(6,6,8,0.72)  !important; }
.exams-section     { background: rgba(13,15,20,0.78) !important; }
.cta-band          { background: rgba(10,4,3,0.6)   !important; }
.site-footer       { background: rgba(13,15,20,0.92) !important; }

/* App interior — transparent so canvas shows behind the workspace */
.app-layout    { background: transparent !important; }
.sidebar       { background: rgba(6,6,8,0.92) !important; }
.app-header    { background: rgba(6,6,8,0.75) !important; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.main-content  { background: transparent !important; }
.workspace     { background: transparent !important; }

/* Other pages — semi-transparent so canvas glows through */
.counseling-page-main { background: rgba(6,6,8,0.72) !important; }
.static-page-main,
.legal-page-main      { background: rgba(6,6,8,0.72) !important; }
.mock-page-body       { background: rgba(13,15,20,0.78) !important; }
.mock-header          { background: rgba(6,6,8,0.88) !important; }
.mock-content         { background: rgba(13,15,20,0.72) !important; }
.pricing-page-main    { background: rgba(6,6,8,0.72) !important; }

/* =========================================================
   30. (removed) QUOTA BANNER — replaced by the hero quota ring
   (.ring-wrap in section 20)
   ========================================================= */

/* =========================================================
   31. INTERACTIVE EFFECTS
   ========================================================= */

/* Scroll progress bar */
.fx-scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand) 0%, #FF9165 50%, var(--brand) 100%);
  background-size: 200% 100%;
  animation: progress-shimmer 2s linear infinite;
  z-index: 100001;
  box-shadow: 0 0 10px rgba(255,92,53,0.7), 0 0 24px rgba(255,92,53,0.3);
  pointer-events: none;
  transition: width 0.1s linear;
}
@keyframes progress-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Film grain */
.fx-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99997;
  opacity: 0.027;
  background-size: 200px 200px;
  mix-blend-mode: screen;
}

/* Cursor halo — ambient glow trailing the NATIVE cursor (never hidden) */
.fx-cursor-halo {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,92,53,0.35) 0%, rgba(255,92,53,0.12) 45%, transparent 70%);
  filter: blur(6px);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.25s ease, height 0.25s ease;
  will-change: transform;
}
.fx-cursor-halo.is-active {
  width: 56px; height: 56px;
  background: radial-gradient(circle, rgba(255,92,53,0.5) 0%, rgba(255,145,101,0.18) 45%, transparent 70%);
}

/* Spotlight layer */
.fx-spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  transition: background 0.06s linear;
}

/* Hero particle canvas */
.fx-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
  z-index: 0;
}
/* Ensure hero orbs sit above the particle canvas */
.hero-orb { z-index: 1; }

/* Smooth translate transition for magnetic buttons */
.btn-primary, .btn-glow {
  transition: transform var(--t), translate 0.18s cubic-bezier(0.4,0,0.2,1),
              box-shadow var(--t), background var(--t), border-color var(--t) !important;
}

/* ─── Section 32 — IELTS Extended UI Components ──────────────────────────── */

/* ── Passage text ── */
.passage-text {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--text-2);
  white-space: pre-wrap;
}
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.section-sublabel {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

/* ── True / False / Not Given ── */
.tfng-row {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  margin-bottom: 0.85rem;
  background: var(--glass-1);
  transition: border-color 0.2s;
}
.tfng-row.tfng-done { border-color: rgba(255,255,255,0.08); }
.tfng-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.35rem;
}
.tfng-stmt {
  font-size: 0.93rem;
  color: var(--text-1);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.tfng-btns {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tfng-btn {
  padding: 0.42rem 1rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.tfng-btn:hover:not(:disabled) { background: var(--glass-2); border-color: rgba(255,255,255,0.25); color: var(--text-1); }
.tfng-btn.tfng-correct  { background: rgba(16,185,129,0.18); border-color: #10B981; color: #10B981; }
.tfng-btn.tfng-wrong    { background: rgba(239,68,68,0.18);  border-color: #EF4444; color: #EF4444; }
.tfng-exp {
  margin-top: 0.65rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.tfng-tag-right { color: #10B981; font-weight: 700; margin-right: 0.35rem; }
.tfng-tag-wrong { color: #EF4444; font-weight: 700; margin-right: 0.35rem; }

/* ── Matching Headings ── */
.match-para {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  background: var(--glass-1);
}
.match-para-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.match-para-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 0.75rem;
}
.match-para-select { margin-bottom: 0.25rem; }
.match-select {
  width: 100%;
  background: var(--glass-1);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  color: var(--text-1);
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  cursor: pointer;
  appearance: auto;
}
.match-select:focus { outline: none; border-color: var(--brand); }
.match-select option { background: #1a1a2e; color: var(--text-1); }
.heading-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.heading-list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--glass-border);
}
.heading-num {
  font-weight: 700;
  color: var(--brand);
  font-size: 0.75rem;
  min-width: 1.8rem;
  text-align: center;
  background: rgba(255,92,53,0.12);
  border-radius: 4px;
  padding: 0.15rem 0.35rem;
}
.match-para-result { margin-top: 0.6rem; font-size: 0.83rem; line-height: 1.5; }
.match-right { color: #10B981; font-weight: 700; }
.match-wrong { color: #EF4444; font-weight: 700; }
.match-answer { color: var(--text-muted); margin-left: 0.4rem; font-size: 0.82rem; }
.match-exp  { color: var(--text-muted); margin-top: 0.3rem; font-size: 0.82rem; line-height: 1.5; }

/* ── Sentence Completion ── */
.sc-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 0.8rem;
  background: var(--glass-1);
  font-size: 0.9rem;
  color: var(--text-1);
  line-height: 1.7;
}
.sc-num { font-weight: 700; color: var(--brand); min-width: 1.2rem; }
.sc-text { flex: 1; }
.sc-input {
  display: inline-block;
  background: var(--glass-2);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  color: var(--text-1);
  padding: 0.25rem 0.65rem;
  font-size: 0.88rem;
  width: 160px;
  vertical-align: middle;
  transition: border-color 0.18s;
}
.sc-input:focus { outline: none; border-color: var(--brand); }
.sc-input.sc-correct { border-color: #10B981; background: rgba(16,185,129,0.1); }
.sc-input.sc-wrong   { border-color: #EF4444; background: rgba(239,68,68,0.1); }
.sc-result { width: 100%; font-size: 0.82rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ── Listening Form ── */
.form-card {
  background: var(--glass-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.form-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-1);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.lf-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.lf-label {
  font-size: 0.88rem;
  color: var(--text-2);
  min-width: 160px;
  font-weight: 600;
}
.lf-input {
  flex: 1;
  min-width: 180px;
  display: block;
}

/* ── Audio player bar ── */
.audio-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--glass-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 0.9rem 1.25rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}
.audio-play-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s;
  white-space: nowrap;
}
.audio-play-btn:hover { background: #e04e28; }
.audio-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}
.audio-wave.active { opacity: 1; }
.audio-wave span {
  display: block;
  width: 3px;
  background: var(--brand);
  border-radius: 2px;
  height: 4px;
  transition: height 0.15s;
}
.audio-wave.active span {
  animation: soundWave 0.8s ease-in-out infinite alternate;
  height: calc(4px + var(--h, 10px));
}
.audio-wave span:nth-child(1)  { --h: 6px; }
.audio-wave span:nth-child(2)  { --h: 14px; }
.audio-wave span:nth-child(3)  { --h: 20px; }
.audio-wave span:nth-child(4)  { --h: 16px; }
.audio-wave span:nth-child(5)  { --h: 10px; }
.audio-wave span:nth-child(6)  { --h: 20px; }
.audio-wave span:nth-child(7)  { --h: 14px; }
.audio-wave span:nth-child(8)  { --h: 8px; }
.audio-wave span:nth-child(9)  { --h: 18px; }
.audio-wave span:nth-child(10) { --h: 22px; }
.audio-wave span:nth-child(11) { --h: 16px; }
.audio-wave span:nth-child(12) { --h: 12px; }
.audio-wave span:nth-child(13) { --h: 20px; }
.audio-wave span:nth-child(14) { --h: 8px; }
.audio-wave span:nth-child(15) { --h: 14px; }
.audio-wave span:nth-child(16) { --h: 18px; }
.audio-wave span:nth-child(17) { --h: 10px; }
.audio-wave span:nth-child(18) { --h: 6px; }
@keyframes soundWave {
  from { height: 4px; }
  to   { height: calc(4px + var(--h, 10px)); }
}
.audio-script-toggle .btn-text-sm {
  background: none;
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}
.audio-script-toggle .btn-text-sm:hover { border-color: var(--brand); color: var(--text-1); }
.audio-script {
  background: var(--glass-1);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.75;
  white-space: pre-wrap;
  margin-top: 0.5rem;
}

/* ── Speaking recorder ── */
.sp-questions { margin-bottom: 1.5rem; }
.sp-q-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r);
  border-left: 3px solid transparent;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  transition: all 0.2s;
}
.sp-q-row.sp-q-active {
  border-left-color: var(--brand);
  background: rgba(255,92,53,0.07);
  color: var(--text-1);
  font-weight: 600;
}
.sp-q-num {
  min-width: 1.5rem;
  font-weight: 700;
  color: var(--brand);
  font-size: 0.85rem;
}
.sp-recorder {
  background: var(--glass-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-top: 1rem;
}
.sp-current-q {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.sp-rec-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.sp-rec-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255,92,53,0.12);
  color: var(--brand);
  border: 1.5px solid rgba(255,92,53,0.4);
  border-radius: 50px;
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}
.sp-rec-btn:hover     { background: rgba(255,92,53,0.22); border-color: var(--brand); }
.sp-rec-btn.recording { background: rgba(239,68,68,0.18); border-color: #EF4444; color: #EF4444; animation: recPulse 1.2s ease-in-out infinite; }
@keyframes recPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}
.sp-timer {
  font-size: 1rem;
  font-weight: 700;
  color: #EF4444;
  font-variant-numeric: tabular-nums;
  min-width: 3rem;
  display: flex;
  align-items: center;
}
.sp-transcript-box {
  margin-top: 1.25rem;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-1);
  line-height: 1.7;
  min-height: 80px;
}
.rec-final       { color: var(--text-1); }
.rec-interim-text { color: var(--text-muted); font-style: italic; }

/* ── Cue Card ── */
.cue-card {
  background: linear-gradient(135deg, rgba(255,92,53,0.1) 0%, rgba(255,92,53,0.04) 100%);
  border: 1.5px solid rgba(255,92,53,0.3);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
}
.cue-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 0.75rem;
}
.cue-card-points {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.8;
}
.sp-timing-info {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.sp-timing-info strong { color: var(--text-1); }
.prep-countdown {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
  padding: 0.65rem 1.25rem;
  background: rgba(255,92,53,0.1);
  border-radius: var(--r);
  display: inline-block;
}

/* ── Vocabulary chips ── */
.vocab-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.vocab-chip {
  background: var(--glass-2);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.25rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-2);
}

/* ── Sample answer toggle ── */
.sample-answer-toggle {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--glass-1);
  overflow: hidden;
}
.sample-answer-toggle summary {
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  list-style: none;
}
.sample-answer-toggle summary::-webkit-details-marker { display: none; }
.sample-answer-toggle summary::before { content: '+ '; color: var(--brand); }
.sample-answer-toggle[open] summary::before { content: '- '; }
.sample-answer-body {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.75;
  border-top: 1px solid var(--border);
}

/* ── Speaking results: improved response ── */
.improved-response {
  background: linear-gradient(135deg, rgba(16,185,129,0.1) 0%, rgba(16,185,129,0.04) 100%);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}
.improved-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #10B981;
  margin-bottom: 0.65rem;
}
.improved-response p { font-size: 0.9rem; color: var(--text-1); line-height: 1.7; }

/* ── Question diagram (inline SVG for MCQ/reading/geometry questions) ── */
.question-diagram {
  max-width: 520px;
  margin: 0.75rem auto 1.25rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.question-diagram svg { display: block; max-width: 100%; height: auto; }

/* ═══════════════════════════════════════════════════════════════════════════
   EXTENDED QUESTION TYPE STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Sentence Equivalence (GRE) ── */
.se-sentence {
  background: var(--glass-1);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  line-height: 2;
}
.se-opts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
@media (max-width: 600px) { .se-opts-grid { grid-template-columns: 1fr 1fr; } }
.se-opt-btn {
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  background: var(--glass-1);
  color: var(--text-1);
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
.se-opt-btn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.se-opt-btn.se-selected { background: rgba(99,102,241,0.15); border-color: #6366F1; color: #6366F1; font-weight: 600; }
.se-opt-btn.se-correct  { background: rgba(16,185,129,0.18); border-color: #10B981; color: #10B981; font-weight: 700; }
.se-opt-btn.se-wrong    { background: rgba(239,68,68,0.18);  border-color: #EF4444; color: #EF4444; }
.se-opt-btn:disabled    { cursor: default; opacity: 0.75; }

/* ── Data Sufficiency (GMAT) ── */
.ds-question-box p { margin-bottom: 0.5rem; }
.ds-opt-btn { font-size: 0.83rem; }

/* ── MCQ Multiple Answers ── */
.mm-opt-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  background: var(--glass-1);
  cursor: pointer;
  margin-bottom: 0.5rem;
  transition: border-color 0.15s;
}
.mm-opt-row:hover { border-color: var(--brand); }
.mm-checkbox {
  margin-top: 0.15rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--brand);
  flex-shrink: 0;
  cursor: pointer;
}
.mm-opt-text { font-size: 0.93rem; color: var(--text-1); line-height: 1.5; }
.mm-opt-row.mm-correct { border-color: #10B981; background: rgba(16,185,129,0.08); }
.mm-opt-row.mm-wrong   { border-color: #EF4444; background: rgba(239,68,68,0.08); }

/* ── Reorder Paragraphs (PTE) ── */
.rp-row {
  display: grid;
  grid-template-columns: 2rem 1fr 4.5rem;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  background: var(--glass-1);
  margin-bottom: 0.6rem;
}
.rp-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.5;
  padding-top: 0.1rem;
}
.rp-text  { font-size: 0.9rem; color: var(--text-1); line-height: 1.6; }
.rp-select {
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--glass-2);
  color: var(--text-1);
  font-size: 0.85rem;
  cursor: pointer;
}
.rp-result { grid-column: 1 / -1; font-size: 0.82rem; padding-top: 0.25rem; }


/* =========================================================
   32. MOCK — INDEPENDENT SCROLLING + IELTS CBT READING SHELL
   The canvas is a flex column; the passage/question split takes
   the remaining height and EACH PANE scrolls on its own, like the
   official computer-based test.
   ========================================================= */
.mock-content { display: flex; flex-direction: column; }
.mock-content > * { flex-shrink: 0; }
.mock-content > .passage-split { flex: 1 1 auto; min-height: 0; }
.passage-split { min-height: 0; }
.read-pane, .qa-pane { min-height: 0; overflow-y: auto; }
.qa-pane { padding-right: 0.25rem; }
.lock-banner { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.35); color: #F87171; padding: 0.75rem 1rem; border-radius: var(--r); margin-bottom: 1rem; font-size: 0.9rem; font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Exam-shell mode: edge-to-edge, no outer scroll */
.mock-content--exam { padding: 0 !important; overflow: hidden !important; }
.mock-content--exam .lock-banner { margin: 0.75rem 1rem 0; }
.ielts-shell { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.ielts-topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.7rem 1.25rem; background: var(--bg-raised); border-bottom: 1px solid var(--glass-border); font-size: 0.88rem; color: var(--text-2); flex-shrink: 0; }
.ielts-topbar strong { color: var(--text-1); margin-right: 0.5rem; }
.ielts-topbar-right { color: var(--text-muted); font-size: 0.78rem; white-space: nowrap; }
.ielts-split { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; }
.ielts-passage, .ielts-questions { min-height: 0; overflow-y: auto; padding: 1.5rem 1.75rem 3rem; scroll-behavior: smooth; }
.ielts-passage { border-right: 1px solid var(--glass-border); background: var(--bg-surface); font-family: Georgia, 'Times New Roman', serif; font-size: 1rem; line-height: 1.85; color: var(--text-2); }
.ielts-passage h2 { font-family: 'Poppins', sans-serif; font-size: 1.2rem; color: var(--text-1); margin-bottom: 1rem; letter-spacing: -0.2px; }
.ielts-passage p { margin-bottom: 1.1rem; text-align: justify; }
.para-label { display: inline-block; font-family: 'Inter', sans-serif; font-weight: 800; color: var(--brand); margin-right: 0.6rem; }
.ielts-questions { background: var(--bg-surface); }

.ig { margin-bottom: 2rem; }
.ig-head { font-weight: 800; font-size: 0.95rem; color: var(--text-1); margin-bottom: 0.35rem; }
.ig-instr { font-size: 0.88rem; color: var(--text-2); line-height: 1.6; margin-bottom: 1rem; padding: 0.75rem 1rem; background: var(--glass-1); border-left: 3px solid var(--brand); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.iq { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.75rem 0.4rem; border-bottom: 1px solid var(--glass-border); border-radius: var(--r-sm); }
.iq:last-child { border-bottom: none; }
.iq.is-target { animation: iq-flash 1.4s ease; }
@keyframes iq-flash { 0% { background: rgba(255,92,53,0.22); } 100% { background: transparent; } }
.iq-num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 6px; background: var(--bg-overlay); border: 1px solid var(--glass-border); display: grid; place-items: center; font-size: 0.78rem; font-weight: 700; color: var(--text-1); }
.iq-body { flex: 1; min-width: 0; }
.iq-inline { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.iq-text { font-size: 0.93rem; color: var(--text-1); line-height: 1.7; margin: 0 0 0.6rem; }
.iq-inline .iq-text { margin: 0; flex: 1; min-width: 12rem; }
.iq-sentence { margin: 0; }
.tf-opts { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tf-opt { padding: 0.42rem 0.9rem; border-radius: 50px; border: 1.5px solid var(--glass-border); background: var(--bg-overlay); color: var(--text-2); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.3px; cursor: pointer; transition: var(--t); font-family: inherit; }
.tf-opt:hover:not(:disabled) { border-color: var(--brand); color: var(--text-1); }
.tf-opt.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.tf-opt:disabled { cursor: not-allowed; opacity: 0.7; }
.mcq-opt { display: flex; gap: 0.6rem; align-items: flex-start; }
.opt-letter { font-weight: 800; min-width: 1.1rem; }
.iq-input { font: inherit; font-size: 0.9rem; padding: 0.3rem 0.6rem; min-width: 9rem; border: 1.5px solid var(--glass-border-bright); border-bottom: 2px solid var(--brand); border-radius: var(--r-sm); background: var(--bg-overlay); color: var(--text-1); vertical-align: baseline; }
.iq-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255,92,53,0.15); }
.iq-input:disabled { opacity: 0.7; }
.iq-select { font: inherit; font-size: 0.9rem; padding: 0.35rem 0.6rem; border: 1.5px solid var(--glass-border-bright); border-radius: var(--r-sm); background: var(--bg-overlay); color: var(--text-1); min-width: 5rem; }
.headings-box { background: var(--bg-raised); border: 1px solid var(--glass-border); border-radius: var(--r); padding: 0.9rem 1.1rem; margin-bottom: 1rem; }
.hb-title { font-weight: 800; font-size: 0.85rem; margin-bottom: 0.5rem; color: var(--text-1); }
.headings-box ol { list-style: none; margin: 0; padding: 0; }
.headings-box li { font-size: 0.88rem; color: var(--text-2); padding: 0.25rem 0; display: flex; gap: 0.6rem; }
.headings-box .roman { font-weight: 800; min-width: 2rem; color: var(--brand); }
.summary-box { background: var(--bg-raised); border: 1px solid var(--glass-border); border-radius: var(--r); padding: 1rem 1.2rem; font-size: 0.93rem; line-height: 2.3; color: var(--text-2); }
.summary-box h4 { font-size: 0.95rem; color: var(--text-1); margin-bottom: 0.5rem; text-align: center; }
.gap { display: inline-flex; align-items: center; gap: 0.3rem; margin: 0 0.2rem; }
.gap-num { font-size: 0.7rem; font-weight: 800; color: var(--brand); }
.gap .iq-input { min-width: 7rem; padding: 0.15rem 0.5rem; }

.ielts-bottombar { flex-shrink: 0; display: flex; align-items: stretch; gap: 0.5rem; padding: 0.55rem 0.75rem; background: var(--bg-raised); border-top: 1px solid var(--glass-border); overflow-x: auto; }
.bb-part { display: flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0.7rem; border-radius: var(--r-sm); border: 1px solid var(--glass-border); cursor: pointer; white-space: nowrap; color: var(--text-muted); font-size: 0.78rem; font-weight: 700; transition: var(--t); }
.bb-part:hover { border-color: var(--glass-border-bright); color: var(--text-2); }
.bb-part.on { border-color: rgba(255,92,53,0.4); background: rgba(255,92,53,0.06); color: var(--text-1); }
.bb-nums { display: flex; gap: 3px; }
.bb-num { width: 24px; height: 24px; border-radius: 5px; border: 1px solid var(--glass-border); display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; color: var(--text-muted); background: var(--bg-overlay); cursor: pointer; transition: var(--t); }
.bb-num:hover { border-color: var(--brand); color: var(--brand); }
.bb-num.answered { background: rgba(16,185,129,0.15); color: #34D399; border-color: #10B981; }
.bb-range { font-weight: 600; }
.bb-arrows { margin-left: auto; display: flex; gap: 0.4rem; }
.bb-arrows button { width: 34px; height: 34px; border-radius: var(--r-sm); border: 1px solid var(--glass-border); background: var(--bg-overlay); color: var(--text-1); font-size: 1.2rem; line-height: 1; cursor: pointer; transition: var(--t); }
.bb-arrows button:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.bb-arrows button:disabled { opacity: 0.35; cursor: not-allowed; }
.pal-part { grid-column: 1 / -1; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); margin-top: 0.5rem; }
.pal-part:first-child { margin-top: 0; }
.bd-band { font-size: 0.72rem; color: var(--brand); font-weight: 700; margin-top: 0.15rem; }

/* Review rows for grouped sections */
.rv-part { font-family: 'Poppins', sans-serif; font-size: 1rem; margin: 1.5rem 0 0.5rem; color: var(--text-1); }
.rv-group { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); font-weight: 700; margin: 1rem 0 0.5rem; }
.rv-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 0.75rem; align-items: start; padding: 0.6rem 0.75rem; border: 1px solid var(--glass-border); border-radius: var(--r-sm); margin-bottom: 0.4rem; background: var(--bg-raised); font-size: 0.88rem; color: var(--text-2); line-height: 1.6; }
.rv-row.ok  { border-left: 3px solid #10B981; }
.rv-row.bad { border-left: 3px solid #EF4444; }
.rv-ans { text-align: right; white-space: nowrap; }
.rv-ans .g { font-weight: 700; }
.rv-ans .c { color: #10B981; font-size: 0.8rem; }

/* Dashboard: full-section module cards */
.chip.section { color: var(--brand); border-color: rgba(255,92,53,0.35); background: rgba(255,92,53,0.08); display: inline-flex; align-items: center; gap: 0.3rem; }
.module-card.is-section { border-color: color-mix(in srgb, var(--sc) 30%, var(--glass-border)); }

@media (max-width: 1024px) {
  .ielts-split { grid-template-columns: 1fr; grid-template-rows: minmax(0, 42%) minmax(0, 1fr); }
  .ielts-passage { border-right: none; border-bottom: 1px solid var(--glass-border); }
  .ielts-topbar-right { display: none; }
}

/* =========================================================
   33. LIGHT THEME
   <html data-theme="light"> — toggled by js/theme.js, persisted in
   localStorage('aceTheme'). Dark stays the default brand theme.
   Everything token-driven flips automatically; the rules below cover
   the hard-coded glass/overlay colours from sections 29–31.
   ========================================================= */
:root[data-theme="light"] {
  color-scheme: light;
  --bg-base:    #EEF0F5;
  --bg-surface: #F7F8FB;
  --bg-raised:  #FFFFFF;
  --bg-overlay: #F1F3F8;
  --dark:   #EEF0F5;
  --dark-2: #F7F8FB;
  --dark-3: #FFFFFF;
  --dark-4: #F1F3F8;
  --glass-1: rgba(15,23,42,0.03);
  --glass-2: rgba(15,23,42,0.055);
  --glass-3: rgba(15,23,42,0.09);
  --glass-border:        rgba(15,23,42,0.10);
  --glass-border-bright: rgba(15,23,42,0.18);
  --text-1:     #0F172A;
  --text-2:     rgba(15,23,42,0.78);
  --text-muted: rgba(15,23,42,0.52);
  --border:      rgba(15,23,42,0.10);
  --border-dark: rgba(15,23,42,0.10);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08);
  --shadow:    0 4px 20px rgba(15,23,42,0.08);
  --shadow-lg: 0 20px 50px rgba(15,23,42,0.12);
  --shadow-xl: 0 40px 100px rgba(15,23,42,0.16);
}
:root[data-theme="light"] .sidebar          { background: rgba(255,255,255,0.94) !important; }
:root[data-theme="light"] .app-header       { background: rgba(255,255,255,0.82) !important; }
:root[data-theme="light"] .mock-page-body   { background: rgba(238,240,245,0.85) !important; }
:root[data-theme="light"] .mock-header      { background: rgba(255,255,255,0.92) !important; }
:root[data-theme="light"] .mock-content     { background: rgba(247,248,251,0.75) !important; }
:root[data-theme="light"] .fx-grain         { opacity: 0.012; mix-blend-mode: multiply; }
:root[data-theme="light"] .fx-cursor-halo   { mix-blend-mode: multiply; }
:root[data-theme="light"] .q-num.answered,
:root[data-theme="light"] .bb-num.answered  { color: #047857; background: rgba(16,185,129,0.12); }
:root[data-theme="light"] .nav-item:hover   { background: rgba(15,23,42,0.04); }
:root[data-theme="light"] .nav-item .nav-icon { background: rgba(15,23,42,0.04); }
:root[data-theme="light"] .u-out:hover      { background: rgba(15,23,42,0.06); }
:root[data-theme="light"] .tfng-btn:hover:not(:disabled) { background: rgba(15,23,42,0.05); border-color: rgba(15,23,42,0.25); }
:root[data-theme="light"] .tfng-row.tfng-done { border-color: rgba(15,23,42,0.1); }
:root[data-theme="light"] .results-overlay  { background: rgba(238,240,245,0.86); }
:root[data-theme="light"] .results-box      { box-shadow: 0 40px 80px rgba(15,23,42,0.18); }
:root[data-theme="light"] .module-card:hover { box-shadow: 0 16px 44px rgba(15,23,42,0.10); }
:root[data-theme="light"] .lock-banner      { background: #FEF2F2; border-color: #FECACA; color: #B91C1C; }
:root[data-theme="light"] .mock-option.selected,
:root[data-theme="light"] .q-num.active,
:root[data-theme="light"] .tf-opt.on        { color: #fff; }

/* Theme toggle button (app header + mock header) */
.theme-toggle { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--glass-border); background: var(--glass-1); color: var(--text-2); display: inline-grid; place-items: center; cursor: pointer; transition: var(--t); font-size: 0.9rem; padding: 0; }
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); }
.theme-toggle .fa-sun { display: none; }
:root[data-theme="light"] .theme-toggle .fa-sun  { display: inline; }
:root[data-theme="light"] .theme-toggle .fa-moon { display: none; }


/* =========================================================
   34. LIGHT THEME — LANDING / AUTH PAGES
   ========================================================= */
:root[data-theme="light"] .landing-nav.scrolled { background: rgba(255,255,255,0.86); box-shadow: 0 4px 30px rgba(15,23,42,0.08); }
:root[data-theme="light"] .hero              { background: rgba(238,240,245,0.4) !important; }
:root[data-theme="light"] .marquee-section   { background: rgba(255,255,255,0.85) !important; }
:root[data-theme="light"] .features-section  { background: rgba(238,240,245,0.7) !important; }
:root[data-theme="light"] .exams-section     { background: rgba(255,255,255,0.8) !important; }
:root[data-theme="light"] .site-footer       { background: rgba(255,255,255,0.92) !important; }
:root[data-theme="light"] .counseling-page-main,
:root[data-theme="light"] .static-page-main,
:root[data-theme="light"] .legal-page-main,
:root[data-theme="light"] .pricing-page-main { background: rgba(238,240,245,0.7) !important; }
:root[data-theme="light"] .footer-col a      { color: rgba(15,23,42,0.55); }
:root[data-theme="light"] .footer-copy       { color: rgba(15,23,42,0.35); }
:root[data-theme="light"] .feature-cross     { color: rgba(15,23,42,0.2); }
:root[data-theme="light"] .bento-cell:hover  { box-shadow: 0 20px 50px rgba(15,23,42,0.10); }
:root[data-theme="light"] .feature-card,
:root[data-theme="light"] .bento-cell        { background: rgba(255,255,255,0.7); }
:root[data-theme="light"] .hero-orb          { opacity: 0.35; }
/* The CTA band stays a dark accent strip on both themes — its text is white by design. */
/* Auth: left brand panel flips to light; its hard-coded white text follows. */
:root[data-theme="light"] .auth-brand-sub,
:root[data-theme="light"] .auth-brand-content p,
:root[data-theme="light"] .auth-features li,
:root[data-theme="light"] .auth-brand-features li { color: rgba(15,23,42,0.65); }
:root[data-theme="light"] .auth-brand-footer  { color: rgba(15,23,42,0.35); }
:root[data-theme="light"] .brand-logo.light   { color: var(--text-1); }
:root[data-theme="light"] .auth-form-panel    { background: #FFFFFF; border-left: 1px solid var(--glass-border); }
.theme-toggle--float { position: fixed; top: 1rem; right: 1rem; z-index: 500; background: var(--bg-raised); box-shadow: var(--shadow); }
.nav-links .theme-toggle { margin: 0 0.35rem; }


/* =========================================================
   35. EXAM SHELLS — full-length sections (format:'blocks' and
   format:'ielts_listening')
   `.xs` fills the mock canvas in exam mode: top strip (section +
   question x of N), a body whose passage/question panes scroll
   independently, and a fixed bottom navigation bar. Token-driven so
   it flips with the light theme; light-only overrides at the end.
   ========================================================= */
.mock-content > .xs { flex: 1 1 auto; min-height: 0; }
.xs { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.xs-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem 1.25rem; background: var(--bg-raised); border-bottom: 1px solid var(--glass-border); font-size: 0.85rem; color: var(--text-2); flex-shrink: 0; flex-wrap: wrap; }
.xs-top-sec strong { color: var(--text-1); margin-right: 0.5rem; }
.xs-top-q { font-weight: 700; color: var(--text-1); white-space: nowrap; }
.xs-of { color: var(--text-muted); font-weight: 500; }
.xs-top-right { color: var(--text-muted); font-size: 0.76rem; display: flex; gap: 0.75rem; align-items: center; }
.xs-body { flex: 1 1 auto; min-height: 0; display: grid; }
.xs-body--single { grid-template-columns: 1fr; }
.xs-body--split  { grid-template-columns: 1fr 1fr; }
.xs-passage, .xs-q, .xs-review { min-height: 0; overflow-y: auto; padding: 1.5rem 1.75rem 4rem; -webkit-overflow-scrolling: touch; overflow-wrap: anywhere; }
.xs-passage { border-right: 1px solid var(--glass-border); background: var(--bg-surface); font-family: Georgia, 'Times New Roman', serif; font-size: 1rem; line-height: 1.85; color: var(--text-2); }
.xs-passage h3 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; color: var(--text-1); margin-bottom: 0.9rem; }
.xs-passage p { margin-bottom: 1rem; }
.xs-passage .para-label { margin-right: 0.6rem; }
.xs-q { background: var(--bg-surface); }
.xs-body--single .xs-q { max-width: 880px; width: 100%; margin: 0 auto; }
.xs-instr { font-size: 0.85rem; color: var(--text-2); background: var(--glass-1); border-left: 3px solid var(--brand); padding: 0.65rem 0.9rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-bottom: 1rem; line-height: 1.6; }
.xs-context { font-size: 0.88rem; color: var(--text-muted); font-style: italic; margin-bottom: 0.75rem; line-height: 1.6; }
.xs-stem { font-size: 1rem; font-weight: 600; color: var(--text-1); line-height: 1.65; margin: 0 0 1rem; display: flex; gap: 0.6rem; align-items: flex-start; }
.xs-stem .xs-stem-text { flex: 1; min-width: 0; }
.xs-qnum { flex-shrink: 0; min-width: 28px; height: 28px; padding: 0 0.4rem; border-radius: 6px; background: var(--bg-overlay); border: 1px solid var(--glass-border); display: inline-grid; place-items: center; font-size: 0.76rem; font-weight: 700; color: var(--text-1); }
.xs-item { padding: 1rem 0; border-bottom: 1px solid var(--glass-border); }
.xs-item:last-child { border-bottom: none; }
.xs-item.is-target { animation: iq-flash 1.4s ease; }
.xs-ds { background: rgba(217,119,6,0.08); border: 1px solid rgba(217,119,6,0.3); border-radius: var(--r); padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.xs-ds p { font-size: 0.9rem; color: var(--text-2); margin: 0.35rem 0; line-height: 1.6; }

/* Answer options: lettered ovals, like the TOEFL/SAT/GRE shells */
.xo { display: flex; gap: 0.75rem; align-items: flex-start; width: 100%; text-align: left; padding: 0.7rem 0.9rem; margin-bottom: 0.5rem; border: 1.5px solid var(--glass-border); border-radius: var(--r); background: var(--bg-overlay); color: var(--text-2); font: inherit; font-size: 0.92rem; line-height: 1.5; cursor: pointer; transition: var(--t); }
.xo:hover:not(:disabled) { border-color: var(--brand); color: var(--text-1); }
.xo.on { border-color: var(--brand); background: rgba(255,92,53,0.10); color: var(--text-1); }
.xo:disabled { cursor: not-allowed; opacity: 0.75; }
.xo-letter { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--glass-border-bright); display: grid; place-items: center; font-size: 0.74rem; font-weight: 800; color: var(--text-1); }
.xo.on .xo-letter { background: var(--brand); border-color: var(--brand); color: #fff; }
.xo--check .xo-letter { border-radius: 6px; }
.xo-text { flex: 1; min-width: 0; }
.xs-grid-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.xs-grid-opts .xo { margin: 0; justify-content: center; text-align: center; }
.xs-blank { display: inline-block; min-width: 6rem; border-bottom: 2px solid var(--brand); margin: 0 0.25rem; vertical-align: baseline; }
.xs-select { font: inherit; font-size: 0.9rem; padding: 0.3rem 0.5rem; border: 1.5px solid var(--glass-border-bright); border-radius: var(--r-sm); background: var(--bg-overlay); color: var(--text-1); max-width: 100%; vertical-align: baseline; margin: 0 0.2rem; }
.xs-input { font: inherit; font-size: 0.92rem; padding: 0.35rem 0.6rem; border: 1.5px solid var(--glass-border-bright); border-bottom: 2px solid var(--brand); border-radius: var(--r-sm); background: var(--bg-overlay); color: var(--text-1); min-width: 8rem; max-width: 100%; vertical-align: baseline; }
.xs-input:focus, .xs-select:focus, .xs-essay:focus { outline: none; box-shadow: 0 0 0 3px rgba(255,92,53,0.15); }
.xs-input:disabled, .xs-select:disabled { opacity: 0.7; }
.xs-prose { font-size: 0.97rem; line-height: 2.3; color: var(--text-2); }
.xs-prose .gap-num { margin-right: 0.15rem; }
.xs-cw-input { display: inline-block; width: auto; min-width: 0; text-align: center; padding: 0.1rem 0.3rem; }
.xs-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.4rem; }

/* Fill-in-the-blanks (drag & drop, click-based) */
.xs-gap { display: inline-block; min-width: 7rem; margin: 0 0.25rem; padding: 0.15rem 0.6rem; border: 2px dashed var(--glass-border-bright); border-radius: 6px; background: transparent; color: var(--text-muted); font: inherit; cursor: pointer; vertical-align: baseline; line-height: 1.6; }
.xs-gap.filled { border-style: solid; border-color: var(--brand); color: var(--text-1); background: rgba(255,92,53,0.08); }
.xs-gap.target { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,92,53,0.18); }
.xs-gap:disabled { cursor: not-allowed; }
.xs-bank { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.9rem; border: 1px solid var(--glass-border); border-radius: var(--r); background: var(--bg-raised); margin-top: 1rem; }
.xs-chip { font: inherit; font-size: 0.88rem; padding: 0.35rem 0.8rem; border-radius: 50px; border: 1px solid var(--glass-border-bright); background: var(--bg-overlay); color: var(--text-1); cursor: pointer; transition: var(--t); }
.xs-chip:hover:not(:disabled) { border-color: var(--brand); }
.xs-chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.xs-chip.used { opacity: 0.35; cursor: default; }

/* Re-order paragraphs: source box -> target box */
.xs-reorder { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.xs-rbox { border: 1px solid var(--glass-border); border-radius: var(--r); background: var(--bg-raised); padding: 0.75rem; min-height: 160px; }
.xs-rbox-title { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); margin-bottom: 0.5rem; }
.xs-rrow { display: grid; grid-template-columns: 1.6rem 1fr auto; gap: 0.6rem; align-items: start; padding: 0.6rem 0.7rem; border: 1.5px solid var(--glass-border); border-radius: var(--r-sm); background: var(--bg-overlay); margin-bottom: 0.5rem; font-size: 0.9rem; line-height: 1.55; color: var(--text-1); }
.xs-rrow .rp-label { font-size: 0.8rem; padding-top: 0; }
.xs-rctl { display: flex; gap: 0.25rem; }
.xs-rctl button { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--glass-border); background: var(--bg-raised); color: var(--text-1); cursor: pointer; font-size: 0.8rem; }
.xs-rctl button:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.xs-rctl button:disabled { opacity: 0.35; cursor: not-allowed; }

/* Writing tasks */
.xs-prompt { background: var(--bg-raised); border: 1px solid var(--glass-border); border-radius: var(--r); padding: 1rem 1.2rem; font-size: 0.95rem; line-height: 1.7; color: var(--text-1); margin-bottom: 1rem; white-space: pre-line; }
.xs-essay { min-height: 260px; }
.xs-wc { font-size: 0.78rem; color: var(--text-muted); text-align: right; margin-top: 0.4rem; }
.xs-chart { max-width: 580px; margin: 0 auto 1rem; padding: 1rem; background: #fff; border-radius: var(--r); border: 1px solid var(--border); overflow: hidden; }
.xs-chart svg { display: block; max-width: 100%; height: auto; }
.xs-lecture { background: var(--glass-1); border: 1px solid var(--glass-border); border-radius: var(--r); padding: 0.9rem 1.1rem; margin-bottom: 1rem; font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }
.xs-lecture p { margin-bottom: 0.4rem; }

/* Audio (listening sections) */
.xs-audio { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; padding: 0.75rem 0.9rem; border: 1px solid var(--glass-border); border-radius: var(--r); background: var(--bg-raised); margin-bottom: 1rem; }
.xs-audio-btn { display: inline-flex; align-items: center; gap: 0.5rem; font: inherit; font-size: 0.86rem; font-weight: 700; padding: 0.5rem 0.9rem; border-radius: 50px; border: none; background: var(--brand); color: #fff; cursor: pointer; }
.xs-audio-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.xs-audio-track { flex: 1 1 120px; height: 6px; border-radius: 3px; background: var(--glass-3); overflow: hidden; }
.xs-audio-fill { height: 100%; width: 0; background: var(--brand); transition: width 0.25s linear; }
.xs-audio-note { font-size: 0.74rem; color: var(--text-muted); white-space: nowrap; }
.xs-link { font: inherit; font-size: 0.78rem; color: var(--brand); background: none; border: none; cursor: pointer; text-decoration: underline; padding: 0; }
.xs-transcript { font-size: 0.88rem; line-height: 1.7; color: var(--text-2); background: var(--glass-1); border: 1px solid var(--glass-border); border-radius: var(--r); padding: 0.9rem 1rem; margin-bottom: 1rem; white-space: pre-line; }
.xs-dict-row { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.9rem 0; border-bottom: 1px solid var(--glass-border); }
.xs-dict-row:last-child { border-bottom: none; }
.xs-banner { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.35); color: #34D399; padding: 0.7rem 1rem; border-radius: var(--r); margin-bottom: 1rem; font-size: 0.88rem; font-weight: 600; }

/* Listening form / notes / table (IELTS) */
.xs-form { border: 1px solid var(--glass-border); border-radius: var(--r); background: var(--bg-raised); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.xs-form-title { font-weight: 800; text-align: center; margin-bottom: 0.75rem; color: var(--text-1); }
.xs-form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(8rem, 14rem); gap: 0.75rem; align-items: center; padding: 0.45rem 0; border-bottom: 1px dashed var(--glass-border); font-size: 0.92rem; color: var(--text-2); }
.xs-form-row:last-child { border-bottom: none; }
.xs-form-line { padding: 0.35rem 0; font-size: 0.92rem; color: var(--text-2); line-height: 2.1; }
.xs-form-line.l0 { font-weight: 800; color: var(--text-1); margin-top: 0.5rem; }
.xs-form-line.l1 { padding-left: 1.25rem; }
.xs-form-line.l1::before { content: '\2022'; margin-right: 0.5rem; color: var(--brand); }
.xs-form-line.l2 { padding-left: 2.75rem; }
.xs-form-line.l2::before { content: '\2013'; margin-right: 0.5rem; color: var(--text-muted); }
.xs-table-wrap { overflow-x: auto; }
.xs-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; color: var(--text-2); }
.xs-table th, .xs-table td { border: 1px solid var(--glass-border); padding: 0.5rem 0.65rem; text-align: left; vertical-align: middle; line-height: 1.9; }
.xs-table th { background: var(--bg-overlay); color: var(--text-1); font-weight: 700; }
.xs-table .xs-input { min-width: 6rem; }
.xs-map { border: 1px dashed var(--glass-border-bright); border-radius: var(--r); padding: 1rem 1.2rem; background: var(--glass-1); font-size: 0.92rem; line-height: 1.8; color: var(--text-2); margin-bottom: 1rem; white-space: pre-line; }
.xs-map-letters { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.5rem; }
.xs-map-letters span { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand); display: grid; place-items: center; font-size: 0.74rem; font-weight: 800; }

/* Bottom navigation bar */
.xs-bottom { flex-shrink: 0; display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.9rem; background: var(--bg-raised); border-top: 1px solid var(--glass-border); flex-wrap: wrap; }
.xs-spacer { flex: 1; }
.xs-btn { font: inherit; font-size: 0.84rem; font-weight: 700; padding: 0.5rem 0.95rem; border-radius: var(--r-sm); border: 1px solid var(--glass-border-bright); background: var(--bg-overlay); color: var(--text-1); cursor: pointer; transition: var(--t); display: inline-flex; align-items: center; gap: 0.4rem; }
.xs-btn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.xs-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.xs-btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.xs-btn--primary:hover:not(:disabled) { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.xs-btn.is-marked { border-color: #F59E0B; color: #F59E0B; }

/* Review screen (question grid) */
.xs-review h3 { font-family: 'Poppins', sans-serif; font-size: 1.15rem; color: var(--text-1); margin-bottom: 0.4rem; }
.xs-review > p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1rem; line-height: 1.6; }
.xs-legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.76rem; color: var(--text-muted); margin-bottom: 1rem; }
.xs-legend span::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 0.35rem; vertical-align: -2px; border: 1px solid var(--glass-border-bright); background: var(--bg-overlay); }
.xs-legend .l-ans::before  { background: rgba(16,185,129,0.35); border-color: #10B981; }
.xs-legend .l-mark::before { background: rgba(245,158,11,0.35); border-color: #F59E0B; }
.xs-legend .l-chg::before  { border-color: #6366F1; }
.xs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; max-width: 720px; }
.xs-cell { aspect-ratio: 1; border: 1.5px solid var(--glass-border); border-radius: var(--r-sm); display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); background: var(--bg-overlay); cursor: pointer; transition: var(--t); font-family: inherit; position: relative; }
.xs-cell:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.xs-cell.answered { background: rgba(16,185,129,0.15); color: #34D399; border-color: #10B981; }
.xs-cell.marked::after { content: ''; position: absolute; top: 3px; right: 3px; width: 8px; height: 8px; border-radius: 50%; background: #F59E0B; }
.xs-cell.current { outline: 2px solid var(--brand); outline-offset: 1px; }
.xs-cell.changed { border-color: #6366F1; box-shadow: inset 0 0 0 1px #6366F1; }
.xs-cell:disabled { cursor: not-allowed; opacity: 0.6; }
.q-num.marked { border-color: #F59E0B; box-shadow: inset 0 0 0 1px #F59E0B; }
.q-num.current { outline: 2px solid var(--brand); outline-offset: 1px; }
.xs-edit-note { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-2); padding: 0.4rem 0.8rem; border: 1px solid var(--glass-border); border-radius: 50px; background: var(--glass-1); margin-bottom: 1rem; }
.xs-edit-note strong { color: #6366F1; }
.xs-review-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Section loader + results extras */
.xs-loader-step { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; }
.xs-loader-step span { color: var(--text-2); font-variant-numeric: tabular-nums; }
.results-note { font-size: 0.8rem; color: #F59E0B; margin: -0.75rem 0 1.25rem; line-height: 1.5; }
.rv-module { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--brand); font-weight: 800; margin: 1.25rem 0 0.5rem; }
.rv-row .rv-q { color: var(--text-2); }
.rv-row .rv-q em { color: var(--text-muted); }
.section-tab.locked { opacity: 0.5; cursor: not-allowed; }
.section-tab.locked::after { content: '\1F512'; font-size: 0.7rem; margin-left: 0.4rem; }

/* Light theme */
:root[data-theme="light"] .xs-cell.answered { color: #047857; background: rgba(16,185,129,0.12); }
:root[data-theme="light"] .xo.on { background: rgba(255,92,53,0.10); }
:root[data-theme="light"] .xs-audio-btn,
:root[data-theme="light"] .xs-btn--primary,
:root[data-theme="light"] .xs-chip.on,
:root[data-theme="light"] .xo.on .xo-letter { color: #fff; }
:root[data-theme="light"] .xs-ds { background: rgba(217,119,6,0.06); }
:root[data-theme="light"] .xs-banner { background: #ECFDF5; border-color: #A7F3D0; color: #047857; }

/* Responsive: panes stack, bars wrap, nothing scrolls sideways at 360px */
@media (max-width: 1024px) {
  .xs-body--split { grid-template-columns: 1fr; grid-template-rows: minmax(0, 42%) minmax(0, 1fr); }
  .xs-passage { border-right: none; border-bottom: 1px solid var(--glass-border); }
  .xs-reorder { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .xs-top { padding: 0.5rem 0.75rem; font-size: 0.78rem; gap: 0.5rem; }
  .xs-top-right { display: none; }
  .xs-passage, .xs-q, .xs-review { padding: 1rem 1rem 3.5rem; }
  .xs-grid-opts { grid-template-columns: repeat(2, 1fr); }
  .xs-bottom { padding: 0.5rem; gap: 0.35rem; }
  .xs-btn { font-size: 0.78rem; padding: 0.45rem 0.7rem; }
  .xs-form-row { grid-template-columns: 1fr; }
  .xs-audio-note { display: none; }
  .xs-input { min-width: 6rem; }
  .xs-gap { min-width: 5rem; }
}

/* ── 35b. GMAT Data Insights / GRE Data Interpretation item widgets ── */
.xs-table--sortable th { padding: 0; }
.xs-sort { width: 100%; font: inherit; font-weight: 700; text-align: left; padding: 0.5rem 0.65rem; border: none; background: transparent; color: var(--text-1); cursor: pointer; display: flex; justify-content: space-between; gap: 0.4rem; }
.xs-sort span { color: var(--text-muted); font-size: 0.75rem; }
.xs-sort.on, .xs-sort:hover { color: var(--brand); }
.xs-sort.on span { color: var(--brand); }
.xs-tabs { display: flex; gap: 0.35rem; flex-wrap: wrap; border-bottom: 1px solid var(--glass-border); margin-bottom: 1rem; }
.xs-tab { font: inherit; font-size: 0.82rem; font-weight: 700; padding: 0.5rem 0.9rem; border: 1px solid var(--glass-border); border-bottom: none; border-radius: var(--r-sm) var(--r-sm) 0 0; background: var(--bg-overlay); color: var(--text-muted); cursor: pointer; }
.xs-tab.on { background: var(--bg-raised); color: var(--brand); border-color: var(--glass-border-bright); }
.xs-tabpanel { font-family: Georgia, 'Times New Roman', serif; }
.xs-ta { border: 1px solid var(--glass-border); border-radius: var(--r); background: var(--bg-raised); overflow: hidden; }
.xs-ta-head, .xs-ta-row { display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.75rem; align-items: center; padding: 0.6rem 0.8rem; }
.xs-ta-head { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); background: var(--bg-overlay); }
.xs-ta-row { border-top: 1px solid var(--glass-border); }
.xs-ta-row .tf-opts { flex-wrap: nowrap; }
.xs-twopart td, .xs-twopart th { vertical-align: middle; }
.xs-twopart th:not(:last-child), .xs-twopart td:not(:last-child) { width: 7rem; }
.xs-radio { width: 1.1rem; height: 1.1rem; accent-color: var(--brand); cursor: pointer; }
.xs-radio:disabled { cursor: not-allowed; }
@media (max-width: 600px) {
  .xs-ta-head, .xs-ta-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .xs-ta-head span:first-child { display: none; }
  .xs-twopart th:not(:last-child), .xs-twopart td:not(:last-child) { width: 4.5rem; }
}

/* ── 35c. Listening widgets, per-task clock, IELTS GT multi-text passages ── */
.xs-item-timer { display: inline-flex; align-items: center; gap: 0.3rem; margin-left: 0.75rem; padding: 0.15rem 0.55rem; border-radius: 50px; border: 1px solid var(--glass-border-bright); background: var(--bg-overlay); font-size: 0.78rem; font-weight: 700; color: var(--text-1); font-variant-numeric: tabular-nums; }
.xs-item-timer i { color: var(--brand); font-size: 0.72rem; }
.xs-tokens { line-height: 2.4; }
.xs-tok { font: inherit; font-size: 0.97rem; padding: 0.05rem 0.25rem; margin: 0 0.05rem; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--text-2); cursor: pointer; transition: var(--t); }
.xs-tok:hover:not(:disabled) { border-color: var(--glass-border-bright); color: var(--text-1); }
.xs-tok.on { background: rgba(245,158,11,0.28); border-color: #F59E0B; color: var(--text-1); text-decoration: line-through; }
.xs-tok:disabled { cursor: not-allowed; }
.xs-passage .xs-audio { margin-top: 0.5rem; font-family: 'Inter', sans-serif; }
.ielts-text { margin-bottom: 1.75rem; }
.ielts-text-divider { font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.9px; color: var(--brand); border-top: 1px solid var(--glass-border); padding-top: 0.75rem; margin-bottom: 0.5rem; }
.ielts-text:first-child .ielts-text-divider { border-top: none; padding-top: 0; }
:root[data-theme="light"] .xs-tok.on { background: rgba(245,158,11,0.22); }


/* =========================================================
   36. LIGHT THEME — TEXT READABILITY
   Hard-coded white text from the dark design, re-pointed at theme
   tokens when its background follows the theme. White is kept only
   on surfaces that stay brand-coloured or dark in both themes
   (.btn-primary, .btn-glow, .cta-band, selected option pills, badges).
   ========================================================= */
:root[data-theme="light"] .hero h1,
:root[data-theme="light"] .stat-number,
:root[data-theme="light"] .auth-brand-headline,
:root[data-theme="light"] .auth-brand-content h2,
:root[data-theme="light"] .brand-logo,
:root[data-theme="light"] .brand-logo.light        { color: var(--text-1); }
:root[data-theme="light"] .hero p                  { color: var(--text-2); }
:root[data-theme="light"] .stat-label              { color: var(--text-muted); }
:root[data-theme="light"] .auth-feature-item,
:root[data-theme="light"] .auth-features li        { color: rgba(15,23,42,0.72); }
:root[data-theme="light"] .btn-outline-white       { color: var(--text-1); border-color: rgba(15,23,42,0.28); }
:root[data-theme="light"] .btn-outline-white:hover { background: var(--glass-2); border-color: var(--text-1); color: var(--text-1); }
/* the CTA band stays dark in both themes — keep its white text and outline button */
:root[data-theme="light"] .cta-band h2             { color: #fff; }
:root[data-theme="light"] .cta-band p              { color: rgba(255,255,255,0.6); }
:root[data-theme="light"] .cta-band .btn-outline-white { color: #fff; border-color: rgba(255,255,255,0.4); }
/* essay / speaking result cards (gradient over --bg-base, which is light now) */
.es-summary { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-top: 0.75rem; }
:root[data-theme="light"] .es-summary              { color: var(--text-2); }
:root[data-theme="light"] .score-card              { border-color: rgba(255,92,53,0.35); }
/* generic escape hatch for any remaining white text on theme surfaces */
:root[data-theme="light"] .text-on-theme           { color: var(--text-1) !important; }

/* ── 35d. Streamed sections: placeholders, indicator, paused clock, waiting panel ── */
.q-num.pending { opacity: 0.4; cursor: default; border-style: dashed; color: var(--text-muted); }
.q-num.pending:hover { border-color: var(--glass-border); color: var(--text-muted); }
.xs-stream { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; color: var(--text-muted); white-space: nowrap; }
.xs-stream i { color: var(--brand); font-size: 0.7rem; }
.ielts-topbar-right .xs-stream { margin-right: 0.75rem; }
.bb-part.pending { opacity: 0.45; cursor: default; border-style: dashed; pointer-events: none; }
.timer-box.paused { opacity: 0.55; border-style: dashed; }
.timer-box.paused::after { content: ' paused'; font-family: 'Inter', sans-serif; font-size: 0.62rem; letter-spacing: 0.5px; text-transform: uppercase; vertical-align: middle; }
.xs .xs-wait { flex: 1 1 auto; min-height: 0; }

/* ── 35e. IELTS CBT Writing (task | editor) and two-column Listening ── */
/* Writing: left task pane is sans-serif like the real test; right pane is the editor */
.iw-task { font-family: 'Inter', sans-serif; font-size: 0.97rem; line-height: 1.75; }
.iw-task h2 { font-family: 'Poppins', sans-serif; font-size: 1.15rem; margin-bottom: 0.35rem; color: var(--text-1); }
.iw-time { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 1rem; }
.iw-prompt { white-space: pre-line; color: var(--text-1); margin-bottom: 1rem; }
.iw-context { font-size: 0.9rem; }
.iw-min { font-weight: 700; color: var(--text-1); margin-top: 0.75rem; }
.iw-task .xs-chart { margin: 0.5rem 0 1rem; }
.iw-editor-pane { display: flex; flex-direction: column; padding: 1rem 1.25rem 0.75rem; overflow: hidden; }
.iw-editor { flex: 1 1 auto; min-height: 240px; width: 100%; resize: none; font-size: 1rem; line-height: 1.75; border-radius: var(--r-sm); }
.iw-wc { flex-shrink: 0; align-self: flex-end; margin-top: 0.4rem; font-size: 0.8rem; font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; }
.iw-shell .bb-num { width: auto; padding: 0 0.45rem; }
/* Listening: left pane carries instructions + reference material, right pane the inputs */
.il-left { font-family: 'Inter', sans-serif; font-size: 0.93rem; line-height: 1.7; }
.il-left h2 { font-family: 'Poppins', sans-serif; font-size: 1.15rem; margin-bottom: 0.25rem; color: var(--text-1); }
.il-listen { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.il-left .xs-audio { margin: 0.5rem 0 1.25rem; }
.il-ig { margin-bottom: 1.5rem; }
.il-ref-title { text-align: left; margin: 0.25rem 0 0; }
:root[data-theme="light"] .iw-wc { color: rgba(15,23,42,0.7); }
@media (max-width: 1024px) {
  .iw-editor-pane { overflow: visible; }
  .iw-editor { min-height: 220px; }
}

/* Practice drill (app.js): IELTS writing split keeps its two columns on desktop */
.iw-practice { grid-template-columns: 1fr 1fr; }
.iw-practice .iw-editor-pane { display: flex; flex-direction: column; }
@media (max-width: 900px) { .iw-practice { grid-template-columns: 1fr; } }
