/* MockOrbit — Main Stylesheet */
/* Brand: Dark Navy #1c2b3a + Orange #f97316 */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --ink: #1c2b3a;
  --ink-soft: #3d5166;
  --ink-muted: #7a92a8;
  --canvas: #ffffff;
  --canvas-soft: #f8fafc;
  --canvas-warm: #f4f6f8;
  --accent: #f97316;
  --accent-light: #fff7ed;
  --accent-hover: #ea6d05;
  --navy: #1c2b3a;
  --navy-light: #253748;
  --navy-muted: #344d61;
  --success: #059669;
  --success-light: #d1fae5;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --warning: #d97706;
  --warning-light: #fef3c7;
  --border: #e2e8ef;
  --border-strong: #c8d5e0;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(28,43,58,0.06), 0 1px 2px rgba(28,43,58,0.04);
  --shadow: 0 4px 12px rgba(28,43,58,0.10);
  --shadow-lg: 0 16px 48px rgba(28,43,58,0.14);
  --transition: 0.2s ease;
}

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

html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

/* ADA: Skip navigation link */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--accent);
  color: white;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 8px 0;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-nav:focus { top: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  min-height: 100vh;
}

/* ADA: Visible focus styles for keyboard navigation */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ADA: Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--ink);
}
h4, h5 {
  font-family: 'DM Sans', sans-serif;
  line-height: 1.3;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { color: var(--ink-soft); }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 680px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  padding: 0;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.navbar-brand:hover,
.navbar-brand:focus {
  color: var(--ink);
}
.navbar-brand .brand-mock { color: var(--ink); }
.navbar-brand .brand-orbit { color: var(--accent); }
.navbar-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  display: none;
}
.navbar-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
}
.nav-link:hover { color: var(--ink); background: var(--canvas-soft); }
.nav-link.active { color: var(--accent); }
.nav-divider { width: 1px; height: 20px; background: var(--border); margin: 0 4px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); color: white; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(249,115,22,0.35); }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-light); color: white; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(28,43,58,0.3); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border-strong); }
.btn-outline:hover { border-color: var(--accent); background: var(--accent-light); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-light); }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #b91c1c; color: white; }
.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: #047857; color: white; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 6px 14px; font-size: 0.82rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* Cards */
.card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow); border-color: var(--border-strong); }
.card-flat { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; background: var(--canvas-soft); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

/* Exam Cards */
.exam-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: all var(--transition);
  background: var(--canvas);
  cursor: pointer;
  text-decoration: none;
}
.exam-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.exam-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.exam-name { font-size: 1.1rem; font-weight: 600; color: var(--ink); font-family: 'DM Sans', sans-serif; }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
}
.badge-orange { background: var(--accent-light); color: var(--accent); }
.badge-blue { background: #e0f2fe; color: #0369a1; }
.badge-navy { background: #e7edf2; color: var(--navy); }
.badge-green { background: var(--success-light); color: var(--success); }
.badge-warm { background: var(--warning-light); color: var(--warning); }

/* Form Elements */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.87rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--canvas);
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(249,115,22,0.12); }
.form-control::placeholder { color: var(--ink-muted); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: 0.8rem; color: var(--ink-muted); margin-top: 5px; }

/* Alert / Flash */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-error { background: var(--danger-light); color: var(--danger); border: 1px solid #fca5a5; }
.alert-success { background: var(--success-light); color: var(--success); border: 1px solid #6ee7b7; }
.alert-info { background: var(--accent-light); color: var(--accent); border: 1px solid #fdba74; }

/* ===================== HERO ===================== */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(160deg, #fff 60%, #fff7ed 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(249,115,22,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(249,115,22,0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 { margin-bottom: 20px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero h1 .highlight { color: var(--accent); }
.hero-sub { font-size: 1.15rem; max-width: 560px; margin: 0 auto 36px; color: var(--ink-soft); line-height: 1.7; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trust {
  margin-top: 48px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
/* legacy alias */
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
}

/* Stats bar */
.stats-bar {
  background: var(--navy);
  padding: 32px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 0 16px; border-right: 1px solid rgba(255,255,255,0.12); }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 1.9rem; font-weight: 700; color: white; font-family: 'Playfair Display', serif; }
.stat-number span { color: var(--accent); }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.04em; }

/* Section headings */
.section-heading { text-align: center; margin-bottom: 52px; }
.section-heading h2 { margin-bottom: 12px; }
.section-heading p { font-size: 1.05rem; max-width: 500px; margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* How it works */
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.how-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: calc(16.67% + 16px); right: calc(16.67% + 16px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0, var(--accent) 6px, transparent 6px, transparent 14px);
}
.how-step { text-align: center; padding: 8px; }
.how-step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(249,115,22,0.3);
  position: relative;
  z-index: 1;
}
.how-step h4 { margin-bottom: 10px; font-size: 1.05rem; }
.how-step p { font-size: 0.9rem; }

/* Features grid */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  background: var(--canvas);
  transition: all var(--transition);
}
.feature-card:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(249,115,22,0.08); transform: translateY(-3px); }
.feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.feature-card h4 { margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; line-height: 1.65; }

/* Organization section */
.org-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.org-section::after {
  content: '';
  position: absolute;
  right: -100px; bottom: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.org-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.org-text h2 { color: white; margin-bottom: 16px; }
.org-text p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 28px; }
.org-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.org-feature-item {
  display: flex; align-items: flex-start; gap: 12px;
}
.org-feature-icon {
  width: 28px; height: 28px; min-width: 28px;
  background: rgba(249,115,22,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--accent);
  margin-top: 1px;
}
.org-feature-item p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin: 0; }
.org-feature-item strong { color: white; display: block; font-size: 0.88rem; margin-bottom: 2px; }

.org-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
}
.org-card-title { color: white; font-size: 1rem; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.org-types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.org-type-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); }
.testimonial-stars { color: var(--accent); font-size: 0.85rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.92rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.testimonial-role { font-size: 0.78rem; color: var(--ink-muted); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--canvas);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--canvas-soft); }
.faq-question[aria-expanded="true"] { background: var(--accent-light); color: var(--accent); }
.faq-icon { font-size: 1.1rem; transition: transform 0.25s; flex-shrink: 0; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
}
.faq-answer.open { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.7; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #e05b10 100%);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 { color: white; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 32px; }
.cta-banner .btn-white { background: white; color: var(--accent); font-weight: 700; }
.cta-banner .btn-white:hover { background: #fff7ed; color: var(--accent-hover); transform: translateY(-1px); }
.cta-banner .btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.cta-banner .btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Price */
.price { font-size: 2.2rem; font-weight: 700; color: var(--ink); font-family: 'Playfair Display', serif; }
.price-currency { font-size: 1.2rem; vertical-align: super; }
.price-note { font-size: 0.85rem; color: var(--ink-muted); }

/* Features list */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--ink-soft); }
.feature-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* Test Interface */
.test-header {
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.test-progress-bar {
  height: 3px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 12px;
}
.test-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.3s ease;
}
.question-card { background: var(--canvas); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.question-number { font-size: 0.82rem; font-weight: 600; color: var(--ink-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.question-text { font-size: 1.05rem; font-weight: 500; color: var(--ink); margin-bottom: 28px; line-height: 1.7; }
.options-grid { display: flex; flex-direction: column; gap: 10px; }
.option-btn {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--canvas);
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  transition: all var(--transition);
  width: 100%;
}
.option-btn:hover { border-color: var(--accent); background: var(--accent-light); }
.option-btn.selected { border-color: var(--accent); background: var(--accent-light); color: var(--accent); }
.option-btn.correct { border-color: var(--success); background: var(--success-light); color: var(--success); }
.option-btn.wrong { border-color: var(--danger); background: var(--danger-light); color: var(--danger); }
.option-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Question nav palette */
.q-palette { display: flex; flex-wrap: wrap; gap: 8px; }
.q-dot {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--canvas);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--ink-soft);
}
.q-dot:hover { border-color: var(--accent); color: var(--accent); }
.q-dot.answered { background: var(--accent); color: white; border-color: var(--accent); }
.q-dot.current { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }

/* Timer */
.timer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.timer.warning { color: var(--warning); }
.timer.danger { color: var(--danger); }

/* Result page */
.result-score-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 6px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  background: var(--accent-light);
}
.result-score-number { font-size: 2.2rem; font-weight: 700; font-family: 'Playfair Display', serif; color: var(--accent); line-height: 1; }
.result-score-label { font-size: 0.75rem; color: var(--accent); font-weight: 600; }
.result-stat { text-align: center; padding: 20px; background: var(--canvas-soft); border-radius: var(--radius); border: 1px solid var(--border); }
.result-stat-value { font-size: 1.6rem; font-weight: 700; font-family: 'Playfair Display', serif; color: var(--ink); }
.result-stat-label { font-size: 0.8rem; color: var(--ink-muted); margin-top: 4px; }

/* Review question */
.review-q {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.review-q-header { padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.review-q-header.correct { background: var(--success-light); border-bottom: 1px solid #6ee7b7; }
.review-q-header.wrong { background: var(--danger-light); border-bottom: 1px solid #fca5a5; }
.review-q-header.skipped { background: var(--canvas-warm); border-bottom: 1px solid var(--border); }
.review-q-body { padding: 20px 24px; }
.explanation-box { background: var(--canvas-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; margin-top: 14px; font-size: 0.9rem; }

/* Dashboard */
.series-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--canvas);
}
.series-card-header { padding: 20px 24px; border-bottom: 1px solid var(--border); background: var(--canvas-soft); }
.test-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.test-row:last-child { border-bottom: none; }
.test-row:hover { background: var(--canvas-soft); }

/* ===================== ORG PORTAL ===================== */
.org-portal-nav {
  background: var(--navy);
  padding: 0;
}
.org-portal-nav .navbar-inner { height: 60px; }
.org-portal-nav .navbar-brand .brand-mock,
.org-portal-nav .navbar-brand .brand-orbit { color: white; }
.org-portal-nav .navbar-brand .brand-orbit { color: var(--accent); }
.org-portal-nav .nav-link { color: rgba(255,255,255,0.7); }
.org-portal-nav .nav-link:hover { color: white; background: rgba(255,255,255,0.08); }
.org-portal-nav .nav-link.active { color: var(--accent); }

.org-layout-shell { display: flex; min-height: 100vh; background: var(--canvas-soft); }
.org-sidebar {
  width: 260px;
  background: var(--navy);
  color: white;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 50;
}
.org-sidebar-brand {
  padding: 22px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.org-sidebar-brand .brand { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; }
.org-sidebar-brand .brand-mock { color: white; }
.org-sidebar-brand .brand-orbit { color: var(--accent); }
.org-sidebar-nav { padding: 16px 0; flex: 1; }
.org-nav-section { padding: 8px 20px 4px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); }
.org-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
}
.org-nav-link:hover { color: white; background: rgba(255,255,255,0.07); }
.org-nav-link.active { color: white; background: rgba(249,115,22,0.15); border-right: 3px solid var(--accent); }
.org-nav-icon { font-size: 1rem; width: 18px; text-align: center; }
.org-sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.org-content { margin-left: 260px; flex: 1; min-height: 100vh; }
.org-topbar {
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky; top: 0; z-index: 40;
}
.org-topbar-title { font-weight: 600; font-size: 1rem; color: var(--ink); }
.org-page { padding: 32px; }
.org-page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }

.org-stat-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.org-stat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.org-stat-icon.orange { background: var(--accent-light); }
.org-stat-icon.navy { background: #e7edf2; }
.org-stat-icon.green { background: var(--success-light); }
.org-stat-icon.blue { background: #e0f2fe; }
.org-stat-value { font-size: 2rem; font-weight: 700; color: var(--ink); font-family: 'Playfair Display', serif; line-height: 1; }
.org-stat-label { font-size: 0.82rem; color: var(--ink-muted); margin-top: 4px; }

.student-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.student-row:last-child { border-bottom: none; }
.student-row:hover { background: var(--canvas-soft); }
.student-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #e05b10 100%);
  color: white; font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.assignment-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  transition: all var(--transition);
}
.assignment-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.assignment-meta { font-size: 0.8rem; color: var(--ink-muted); margin-top: 4px; }

.result-table-wrap { background: var(--canvas); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }

/* Auth pages */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--canvas) 55%, #fff7ed 100%);
  display: flex;
  align-items: center;
  padding: 48px 24px;
}
.auth-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.auth-brand { text-align: center; margin-bottom: 28px; }
.auth-brand .brand-mock { color: var(--navy); font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; }
.auth-brand .brand-orbit { color: var(--accent); font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; }
.auth-tagline { font-size: 0.8rem; color: var(--ink-muted); margin-top: 2px; }
.auth-divider { text-align: center; margin: 20px 0; font-size: 0.82rem; color: var(--ink-muted); position: relative; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.auth-divider span { background: var(--canvas); padding: 0 12px; position: relative; }

/* Admin Layout */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  background: var(--ink);
  color: white;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 50;
}
.admin-sidebar-brand { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar-brand .brand { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: white; }
.admin-sidebar-brand .brand span { color: var(--accent); }
.admin-sidebar-nav { padding: 16px 0; flex: 1; }
.admin-nav-section { padding: 8px 20px 4px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.35); }
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
}
.admin-nav-link:hover { color: white; background: rgba(255,255,255,0.08); }
.admin-nav-link.active { color: white; background: rgba(249,115,22,0.15); border-right: 3px solid var(--accent); }
.admin-nav-icon { font-size: 1rem; width: 18px; text-align: center; }
.admin-content { margin-left: 240px; flex: 1; min-height: 100vh; background: var(--canvas-soft); }
.admin-topbar { background: var(--canvas); border-bottom: 1px solid var(--border); padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; }
.admin-page { padding: 32px; }
.admin-page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }

/* Table */
.table-wrap { background: var(--canvas); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
thead { background: var(--canvas-soft); }
th { padding: 12px 16px; text-align: left; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-muted); }
td { padding: 14px 16px; font-size: 0.9rem; color: var(--ink-soft); border-top: 1px solid var(--border); }
tr:hover td { background: var(--canvas-soft); }

/* Stats cards (admin) */
.stat-card { background: var(--canvas); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.stat-card-value { font-size: 2.2rem; font-weight: 700; color: var(--ink); font-family: 'Playfair Display', serif; line-height: 1; }
.stat-card-label { font-size: 0.85rem; color: var(--ink-muted); margin-top: 6px; }
.stats-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal { background: var(--canvas); border-radius: var(--radius-lg); padding: 32px; max-width: 500px; width: 100%; max-height: 90vh; overflow-y: auto; transform: translateY(20px); transition: transform var(--transition); }
.modal-backdrop.open .modal { transform: translateY(0); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-close { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--ink-muted); padding: 4px; }

/* Loading spinner */
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.7s linear infinite; }
.spinner-dark { border-color: rgba(0,0,0,0.15); border-top-color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Divider */
.divider { height: 1px; background: var(--border); margin: 28px 0; }

/* Empty state */
.empty-state { text-align: center; padding: 60px 24px; }
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.1rem; color: var(--ink); margin-bottom: 8px; font-family: 'DM Sans', sans-serif; }
.empty-state p { font-size: 0.9rem; color: var(--ink-muted); }

/* Rich Footer */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 0;
}
.footer-top { padding: 56px 0 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand-col .footer-logo-text { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }
.footer-brand-col .logo-mock { color: white; }
.footer-brand-col .logo-orbit { color: var(--accent); }
.footer-brand-col p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 10px; }
.footer-social-link {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  text-decoration: none;
}
.footer-social-link:hover { background: var(--accent); color: white; }
.footer-col h5 { color: white; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.875rem; text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom-links { display: flex; gap: 20px; }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media(max-width: 768px) { .checkout-layout { grid-template-columns: 1fr; } }

/* Trust text */
.trust-text { text-align: center; color: var(--ink-muted); font-size: 0.88rem; display: flex; align-items: center; justify-content: center; gap: 8px; }

/* Mobile */
@media (max-width: 768px) {
  .container, .container-sm { padding: 0 16px; }
  .section { padding: 56px 0; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-item { padding: 0 10px; }
  .stat-number { font-size: 1.4rem; }
  .hero { padding: 64px 0 56px; }
  .card-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 24px; }
  .how-steps::before { display: none; }
  .org-layout { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .admin-sidebar { width: 0; overflow: hidden; }
  .admin-content { margin-left: 0; }
  .admin-page { padding: 16px; }
  .org-sidebar { width: 0; overflow: hidden; }
  .org-content { margin-left: 0; }
  .org-page { padding: 16px; }
  table { font-size: 0.82rem; }
  th, td { padding: 10px 12px; }
  .test-header { padding: 12px 0; }
  .question-card { padding: 20px; }
  .auth-card { padding: 28px 20px; }
}

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

/* Utility */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.hidden { display: none; }
.text-muted { color: var(--ink-muted); }
.text-small { font-size: 0.85rem; }
.text-xs { font-size: 0.78rem; }
.font-mono { font-family: monospace; }
.fw-600 { font-weight: 600; }
.color-accent { color: var(--accent); }
.color-success { color: var(--success); }
.color-danger { color: var(--danger); }
.full-width { width: 100%; }

/* ============================================================
   LOGO — Minimal text logo
   ============================================================ */
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  padding: 0;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.navbar-brand:hover,
.navbar-brand:focus {
  color: var(--ink);
}
.navbar-brand .logo-mock {
  color: var(--ink);
}
.navbar-brand .logo-orbit {
  color: var(--accent);
}
.mobile-menu-header .logo-mock {
  color: #ffffff;
}
.mobile-menu-header .logo-orbit {
  color: var(--accent);
}
.header-logo-text {
  font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 10px;
}
.mobile-menu-header .footer-logo-text {
  font-size: 1.25rem;
}
.brand-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brand-mock {
  color: var(--ink);
}
.brand-orbit {
  color: var(--accent);
}
.mobile-menu-header .brand-text,
.footer-logo-text,
.auth-brand .brand-mock,
.auth-brand .brand-orbit {
  /* font-family: 'DM Sans', sans-serif; */
  font-weight: 700;
}
.footer-logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 1.35rem;
}
.footer-logo-text .logo-mock {
  color: white;
}
.header-logo-text .logo-mock {
  color: black;
}
.footer-logo-text .logo-orbit {
  color: var(--accent);
}
.auth-brand .brand-mock {
  color: var(--navy);
}
.auth-brand .brand-orbit {
  color: var(--accent);
}

/* ============================================================
   HAMBURGER — Mobile nav toggle button
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  transition: all var(--transition);
  flex-shrink: 0;
}
.hamburger:hover { background: var(--canvas-soft); border-color: var(--border-strong); }
.hamburger-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU — Slide-in panel
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 88vw);
  background: var(--canvas);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 32px rgba(28,43,58,0.18);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-inner { display: flex; flex-direction: column; height: 100%; overflow-y: auto; }
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--navy);
}
.mobile-menu-header .brand-text { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; }
.mobile-menu-header .brand-mock { color: #fff; }
.mobile-menu-header .brand-orbit { color: var(--accent); }
.mobile-menu-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 1rem;
  width: 32px; height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.mobile-menu-close:hover { background: rgba(255,255,255,0.2); }
.mobile-nav { padding: 12px 0 24px; flex: 1; }
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-link:hover { background: var(--canvas-soft); color: var(--accent); }
.mobile-nav-primary { color: var(--accent); font-weight: 600; }
.mobile-nav-divider { height: 1px; background: var(--border); margin: 8px 0; }
.mobile-nav .btn { margin: 16px 20px 0; width: calc(100% - 40px); }
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(2px);
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ============================================================
   STATIC PAGES — Hero, Content, Legal
   ============================================================ */
.static-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1e3a52 100%);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.static-hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(249,115,22,0.07);
  pointer-events: none;
}
.static-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}
.static-hero-content { position: relative; z-index: 1; max-width: 700px; }
.static-hero .section-label { color: var(--accent); }
.static-hero h1 { color: #ffffff; margin: 12px 0 20px; }
.static-hero .highlight { color: var(--accent); }
.static-hero-sub { color: rgba(255,255,255,0.72); font-size: 1.05rem; line-height: 1.65; max-width: 580px; }

/* Legal pages */
.legal-body { display: flex; flex-direction: column; gap: 0; }
.legal-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-child { border-bottom: none; }
.legal-section h2 { font-size: 1.3rem; margin-bottom: 16px; font-family: 'DM Sans', sans-serif; font-weight: 700; }
.legal-section p { margin-bottom: 14px; font-size: 0.95rem; line-height: 1.75; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { margin: 12px 0 14px 20px; display: flex; flex-direction: column; gap: 8px; }
.legal-section ul li { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; }
.legal-address { font-style: normal; color: var(--ink-soft); line-height: 1.8; font-size: 0.95rem; }
.toc-list { margin-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.toc-list li a { font-size: 0.9rem; color: var(--accent); text-decoration: none; }
.toc-list li a:hover { text-decoration: underline; }
.content-prose p { margin-bottom: 20px; font-size: 0.97rem; line-height: 1.8; }
.content-prose p:last-child { margin-bottom: 0; }

/* About page */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-split-text h2 { margin-bottom: 16px; }
.about-split-text p { margin-bottom: 16px; font-size: 0.97rem; line-height: 1.78; }
.about-stats-row { display: flex; gap: 32px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.about-stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1; }
.about-stat-label { font-size: 0.8rem; color: var(--ink-muted); margin-top: 4px; font-weight: 500; }
.about-split-visual { display: flex; flex-direction: column; gap: 16px; }
.about-visual-card {
  background: var(--canvas-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.about-visual-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.about-visual-icon { font-size: 1.5rem; flex-shrink: 0; }
.about-visual-title { font-weight: 700; font-size: 0.97rem; color: var(--ink); margin-bottom: 4px; }
.about-visual-desc { font-size: 0.85rem; color: var(--ink-muted); line-height: 1.55; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.value-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.value-icon { font-size: 2rem; margin-bottom: 14px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 10px; font-family: 'DM Sans', sans-serif; }
.value-card p { font-size: 0.9rem; line-height: 1.65; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-cards-col { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: box-shadow var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow); }
.contact-card-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 6px; font-family: 'DM Sans', sans-serif; font-weight: 700; }
.contact-card p { font-size: 0.88rem; line-height: 1.6; margin-bottom: 10px; }
.contact-form-col .card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-form-col .card h2 { margin-bottom: 12px; }
.contact-form-col .form-group { margin-bottom: 18px; }
.contact-form-col .btn-block { margin-top: 16px; }
.contact-link { font-size: 0.9rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.contact-link:hover { text-decoration: underline; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 26px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'DM Sans', sans-serif;
}
.faq-q::after { content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--accent); flex-shrink: 0; transition: transform 0.25s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.7;
  transition: max-height 0.35s ease, padding 0.25s;
  padding: 0;
}
.faq-item.open .faq-a { max-height: 220px; padding: 12px 20px; }

/* Company page */
.company-mission-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.company-mission-text h2 { margin-bottom: 16px; }
.company-mission-text p { margin-bottom: 16px; font-size: 0.97rem; line-height: 1.78; }
.company-mission-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.company-number-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.company-number { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--accent); line-height: 1; }
.company-number-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 6px; font-weight: 500; }
.company-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.company-feature { padding: 32px; border: 1px solid var(--border); border-radius: var(--radius-lg); transition: box-shadow var(--transition); }
.company-feature:hover { box-shadow: var(--shadow); }
.company-feature-num { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--accent); opacity: 0.4; line-height: 1; margin-bottom: 12px; }
.company-feature h3 { font-size: 1.05rem; margin-bottom: 10px; font-family: 'DM Sans', sans-serif; }
.company-feature p { font-size: 0.9rem; line-height: 1.65; }
.exam-tags-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.exam-tag { background: var(--canvas-soft); border: 1px solid var(--border); border-radius: 100px; padding: 8px 18px; font-size: 0.88rem; font-weight: 500; color: var(--ink-soft); }
.exam-tag-featured { background: var(--accent-light); border-color: var(--accent); color: var(--accent); font-weight: 600; }

/* CTA Section */
.cta-section { background: linear-gradient(135deg, var(--navy) 0%, #1e3a52 100%); }
.cta-box { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-box h2 { color: #ffffff; margin-bottom: 16px; }
.cta-box p { color: rgba(255,255,255,0.72); font-size: 1.05rem; margin-bottom: 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Refund page */
.refund-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.refund-summary-card { border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); }
.refund-eligible { background: var(--success-light); border-color: #a7f3d0; }
.refund-ineligible { background: var(--danger-light); border-color: #fca5a5; }
.refund-sum-icon { font-size: 1.8rem; margin-bottom: 12px; }
.refund-summary-card h3 { font-size: 1rem; margin-bottom: 12px; font-family: 'DM Sans', sans-serif; font-weight: 700; }
.refund-summary-card ul { margin-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.refund-summary-card ul li { font-size: 0.88rem; line-height: 1.5; }

/* bg-soft utility */
.bg-soft { background: var(--canvas-soft); }

/* ============================================================
   ENHANCED RESPONSIVE — Full mobile breakpoints
   ============================================================ */
@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .company-mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .company-features-grid { grid-template-columns: 1fr; gap: 20px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .hamburger { display: flex; }
  .navbar-nav { display: none; }

  /* Static hero */
  .static-hero { padding: 52px 0 44px; }
  .static-hero h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .static-hero-sub { font-size: 0.95rem; }

  /* About */
  .about-stats-row { gap: 20px; flex-wrap: wrap; }
  .values-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; }

  /* Company */
  .company-mission-numbers { grid-template-columns: 1fr 1fr; }
  .company-features-grid { grid-template-columns: 1fr; }

  /* Refund */
  .refund-summary-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 280px; }

  /* Legal */
  .legal-section { padding: 28px 0; }
}

@media (max-width: 480px) {
  .navbar-brand { padding: 6px 12px 6px 8px; }
  .brand-text { font-size: 1.05rem; }
  .logo-icon svg { width: 22px; height: 22px; }
  .static-hero { padding: 40px 0 36px; }
  .company-mission-numbers { grid-template-columns: 1fr 1fr; gap: 12px; }
  .company-number { font-size: 1.7rem; }
  .about-stats-row { flex-direction: row; justify-content: space-between; }
  .contact-card { padding: 18px; }
  .refund-summary-card { padding: 20px; }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open { overflow: hidden; }

/* ============================================================
   ACCESSIBILITY — Skip nav link
   ============================================================ */
.skip-nav {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 8px 20px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-nav:focus,
.skip-nav.visible {
  top: 0;
}

/* ============================================================
   UTILITY — sr-only for screen readers
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================================
   ALERT helpers for contact form
   ============================================================ */
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 16px; }
.alert-success { background: var(--success-light, #d1fae5); color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: var(--danger-light,  #fee2e2); color: #991b1b; border: 1px solid #fca5a5; }
.alert.hidden  { display: none; }

/* ============================================================
   SECTION HEADING helper
   ============================================================ */
.section-heading {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 52px;
}
.section-heading p {
  font-size: 1rem;
  color: var(--ink-muted);
  margin-top: 12px;
  line-height: 1.65;
}

/* container-sm */
.container-sm { max-width: 760px; margin-left: auto; margin-right: auto; }

/* btn-block */
.btn-block { display: block; width: 100%; text-align: center; }

/* text helpers */
.text-muted { color: var(--ink-muted); }
.text-small { font-size: 0.82rem; }
