:root {
  --bg: #0a0a0f;
  --bg-alt: #0d1117;
  --bg-blue: #0f172a;
  --bg-card: #111827;
  --bg-card-hover: #1a2332;
  --text: #f1f5f9;
  --text-soft: #e2e8f0;
  --muted: #94a3b8;
  --border: rgba(59, 130, 246, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: rgba(59, 130, 246, 0.15);
  --accent: #1d4ed8;
  --success: #4ade80;
  --error: #f87171;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --container: 1140px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: #60a5fa; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.maxw { max-width: 640px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 15, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
  border-bottom-color: rgba(59, 130, 246, 0.25);
}

.site-header.is-scrolled .header-inner {
  min-height: 64px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
  transition: min-height 0.35s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
}
.brand:hover { color: var(--text); }

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.45);
}

.nav { position: relative; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-menu a {
  color: var(--muted);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--text); }

.nav-login {
  color: var(--text-soft) !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(59, 130, 246, 0.4);
}
.btn-ghost:hover {
  background: var(--primary-light);
  color: var(--text);
  border-color: var(--primary);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

.link {
  font-weight: 600;
  font-size: 0.925rem;
  color: #60a5fa;
}
.link:hover { color: #93c5fd; }

/* Hero */
.hero {
  position: relative;
  padding: 4rem 0 3rem;
  overflow: hidden;
  color: var(--text);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(37, 99, 235, 0.25), transparent),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(29, 78, 216, 0.2), transparent),
    linear-gradient(180deg, #0a0a0f 0%, #0f172a 50%, #0a0a0f 100%);
  z-index: -1;
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #60a5fa;
  margin: 0 0 1rem;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
}

.stat {
  padding: 1rem;
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.stat dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.stat dd {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  color: var(--text);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.card-subtitle {
  color: var(--muted);
  font-size: 0.925rem;
  margin: 0 0 1.25rem;
}

.hero-card .card {
  box-shadow: var(--shadow-lg);
  background: linear-gradient(145deg, #111827 0%, #0f172a 100%);
}

/* Forms */
.form { display: grid; gap: 1rem; }

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0a0a0f;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #64748b;
}

.field select option {
  background: #111827;
  color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.field input.error,
.field select.error,
.field textarea.error {
  border-color: var(--error);
}

.error {
  color: var(--error);
  font-size: 0.8rem;
  margin: 0.25rem 0 0;
  min-height: 1rem;
}

.success {
  color: var(--success);
  font-size: 0.875rem;
  margin: 0;
  font-weight: 500;
}

.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
  text-align: center;
}

.form-note a {
  color: #60a5fa;
}

/* Sections */
.section {
  padding: 4.5rem 0;
  background: var(--bg);
  color: var(--text);
}

.section-alt {
  background: linear-gradient(180deg, #0f172a 0%, #0a0a0f 100%);
}

.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #60a5fa;
  margin: 0 0 0.5rem;
}

.section h2,
.section h3 {
  color: var(--text);
}

.section h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.checklist li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  font-weight: 500;
  color: var(--text-soft);
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.levels-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.mini-card {
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}

.mini-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
}

.mini-card h4 {
  margin: 0 0 0.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.callout-title {
  font-weight: 700;
  margin: 0 0 0.15rem;
  color: var(--text);
}

/* Partners */
.partners {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-blue);
}

.partners-inner { text-align: center; }

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.logo-pill {
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.feature {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.feature:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--border);
  background: var(--bg-card-hover);
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--primary-light);
  color: #60a5fa;
  flex-shrink: 0;
}

.feature-icon svg { width: 22px; height: 22px; }
.feature-icon-2 { background: rgba(74, 222, 128, 0.12); color: #4ade80; }
.feature-icon-3 { background: rgba(251, 191, 36, 0.12); color: #fbbf24; }

.feature h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.feature p { margin: 0 0 0.75rem; font-size: 0.925rem; }

.programs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.program {
  padding: 1.75rem;
  background: linear-gradient(135deg, #0a0a0f 0%, #1e3a8a 50%, #1d4ed8 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.program h3 { margin: 0.75rem 0 0.35rem; font-size: 1.25rem; color: #fff; }
.program .muted { color: rgba(255, 255, 255, 0.75); }

.program-meta {
  display: flex;
  gap: 1.25rem;
  margin: 1rem 0 1.25rem;
  font-size: 0.875rem;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.85);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}
.badge-2 { background: rgba(251, 191, 36, 0.25); }

/* Tutors section */
.tutor-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-no {
  font-size: 1.75rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary);
  line-height: 1;
  flex-shrink: 0;
}

.steps h3 { margin: 0 0 0.25rem; font-size: 1.05rem; color: var(--text); }
.steps p { margin: 0; font-size: 0.925rem; }

.cta-card h3 { margin: 0 0 1rem; color: var(--text); }

.tick {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.tick li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
  font-size: 0.925rem;
  color: var(--text-soft);
}

.tick li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* Subjects pills */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.pill {
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: all 0.2s;
}

.pill:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--text);
}

/* Testimonials */
.slider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial {
  flex: 1;
  text-align: center;
  min-height: 180px;
}

.stars {
  color: #fbbf24;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.quote {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 1rem;
  font-style: italic;
  color: var(--text-soft);
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
  transition: all 0.2s;
}

.icon-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* FAQ */
.faq {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 0.25rem 1.25rem;
}

.faq summary {
  padding: 1rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--text);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  float: right;
  font-size: 1.25rem;
  color: var(--primary);
}

.faq details[open] summary::after { content: '−'; }

.faq p { margin: 0 0 1rem; font-size: 0.925rem; }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.blog-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.blog-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border);
}

.blog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.blog-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--primary-light);
  color: #60a5fa;
}

.blog-tag-2 { background: rgba(74, 222, 128, 0.12); color: #4ade80; }
.blog-tag-3 { background: rgba(251, 191, 36, 0.12); color: #fbbf24; }

.blog-date { font-size: 0.8rem; }

.blog-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.4;
  color: var(--text);
}

.blog-card p { font-size: 0.925rem; margin: 0 0 0.75rem; }

/* Contact */
.contact {
  background: linear-gradient(180deg, var(--bg) 0%, #0f172a 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-cards a {
  color: #60a5fa;
  font-weight: 600;
}
.contact-cards a:hover { color: #93c5fd; }

.mt-3 { margin-top: 1rem; }

/* Footer */
.footer {
  background: #050508;
  color: var(--muted);
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.footer-brand { color: #fff; }
.footer-brand .brand-mark { box-shadow: none; }

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.925rem;
}
.footer-links a:hover { color: #60a5fa; }

.footer-inner > .muted:last-child {
  text-align: right;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 480px; }
  .two-col,
  .tutor-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .programs { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .footer-inner > .muted:last-child { text-align: center; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    min-width: 220px;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.is-open { display: flex; }

  .nav-menu a.btn { text-align: center; }

  .grid-cards { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .slider { flex-direction: column; }
  .icon-btn { display: none; }
}

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), #60a5fa, var(--accent));
  z-index: 1000;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
  transition: width 0.08s linear;
}

/* ── Scroll reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.reveal-left {
  transform: translateX(-40px);
}

.reveal.reveal-right {
  transform: translateX(40px);
}

.reveal.reveal-scale {
  transform: scale(0.92);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Hero entrance (page load) */
.hero-animate {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: var(--hero-delay, 0s);
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatGlow {
  0%, 100% { opacity: 0.6; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-8px); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
  top: 20%;
  right: 10%;
  animation: floatGlow 6s ease-in-out infinite;
  pointer-events: none;
}

/* Testimonial slide transition */
.testimonial-inner {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonial-inner.is-changing {
  opacity: 0;
  transform: translateY(12px);
}

/* Nav link active indicator */
.nav-menu a.nav-active {
  color: #60a5fa !important;
  position: relative;
}

.nav-menu a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  animation: navUnderline 0.3s ease;
}

@keyframes navUnderline {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Enhanced hover transitions */
.brand-mark {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.05);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.55);
}

.program {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.program:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(29, 78, 216, 0.35);
}

.logo-pill {
  transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.logo-pill:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--text);
}

.faq details {
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq details[open] {
  border-color: var(--border);
  background: var(--bg-card-hover);
}

/* Fee plans */
.fee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.fee-card {
  position: relative;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.fee-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
}

.fee-card-featured {
  border-color: rgba(59, 130, 246, 0.5);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.12) 0%, var(--bg-card) 100%);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
}

.fee-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.2rem 0.6rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
}

.fee-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.fee-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--text);
}

.fee-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: #60a5fa;
  margin: 0 0 0.5rem;
}

.fee-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  text-align: left;
}

.fee-list li {
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
  font-size: 0.875rem;
  color: var(--muted);
}

.fee-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .fee-grid { grid-template-columns: 1fr; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  .hero-animate,
  .testimonial-inner,
  .scroll-progress,
  .hero-bg::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
