/* ==========================================
   Design Tokens & CSS Variables
   ========================================== */
:root {
  /* Brand Palette — warmed to almond system */
  --navy-darkest: #120B04;
  --navy-deep: #1A1008;
  --navy: #2C1E10;
  --navy-mid: #3A2817;
  --navy-light: #4A3520;
  --navy-slate: #5A4330;

  --gold-dark: #7A5500;
  --gold: #A87B1A;
  --gold-light: #C9A84C;
  --gold-pale: #F5E6B8;

  --white: #FFFBF5;
  --off-white: #F1E7DB;
  --paper-pure: #FFFFFF;
  --gray-light: #E8DCCB;
  --gray-mid: #8B7A66;

  /* Semantic Text Hierarchy */
  --text-primary-dark: #FFFFFF;
  --text-secondary-dark: rgba(255, 255, 255, 0.76);
  --text-muted-dark: rgba(255, 255, 255, 0.5);

  --text-primary-light: #2C1E10;
  --text-secondary-light: #5A4330;
  --text-muted-light: #6B5744;

  /* Status Colors — accessible on warm surfaces */
  --success: #146C43;
  --success-bg: rgba(20, 108, 67, 0.1);
  --error: #B42318;
  --error-bg: rgba(180, 35, 24, 0.1);
  --info: #175CD3;
  --info-bg: rgba(23, 92, 211, 0.1);

  /* Borders & Shadows — warm tint */
  --border-gold-alpha: rgba(168, 123, 26, 0.28);
  --border-white-alpha: rgba(255, 255, 255, 0.08);
  --border-light: rgba(44, 30, 16, 0.10);

  --shadow-sm: 0 4px 12px rgba(44, 30, 16, 0.05);
  --shadow-md: 0 12px 30px rgba(44, 30, 16, 0.08);
  --shadow-lg: 0 24px 60px rgba(44, 30, 16, 0.16);
  --shadow-glow: 0 0.75rem 2rem rgba(44, 30, 16, 0.14);

  /* Layout */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Easing tokens */
  --ease-decelerate: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);

  /* Transitions — explicit properties, within budget */
  --transition-smooth: transform 280ms var(--ease-decelerate), opacity 280ms var(--ease-decelerate), box-shadow 280ms var(--ease-decelerate), border-color 280ms var(--ease-decelerate), background-color 280ms var(--ease-decelerate);
  --transition-fast: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

/* ==========================================
   Base & Reset Settings
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

html {
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body), 'Inter', sans-serif;
  font-size: 16px;
  background-color: var(--off-white);
  color: var(--text-primary-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-title {
  font-family: var(--font-display), 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.25;
}

em {
  font-family: var(--font-display), 'Playfair Display', serif;
  font-style: italic;
}

/* Skip Navigation Link */
.skip-nav {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-nav:focus {
  top: 20px;
}


/* ==========================================
   Navigation
   ========================================== */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 16, 8, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-white-alpha);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: var(--transition-smooth);
  will-change: transform;
}

#main-nav.scrolled {
  height: 70px;
  background: rgba(18, 11, 4, 0.95);
  box-shadow: var(--shadow-md);
}

/* Scroll progress bar */
.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  width: 0%;
  transition: width 280ms ease-out;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 2px 10px rgba(168, 123, 26, 0.3);
}

.nav-logo-text {
  color: var(--white);
  font-family: var(--font-display), 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
}

.nav-logo-text span {
  color: var(--gold);
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-display), 'Playfair Display', serif;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-display), 'Playfair Display', serif;
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-darkest);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-display), 'Playfair Display', serif;
  box-shadow: 0 4px 15px rgba(168, 123, 26, 0.2);
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}


/* ==========================================
   Three-Dots Site Menu Button & Overlay
   ========================================== */
.menu-dots-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(168, 123, 26, 0.4);
  border-radius: 10px;
  background: rgba(168, 123, 26, 0.06);
  cursor: pointer;
  margin-left: 14px;
  transition: border-color 160ms ease, background 160ms ease;
}

.menu-dots-btn span {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

.menu-dots-btn:hover {
  border-color: var(--gold);
  background: rgba(168, 123, 26, 0.12);
}

/* ── Site Menu Overlay ── */
.site-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  visibility: hidden;
}

.site-menu-overlay.open {
  pointer-events: all;
  visibility: visible;
}

.site-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 11, 4, 0.7);
  opacity: 0;
  transition: opacity 250ms ease;
}

.site-menu-overlay.open .site-menu-backdrop {
  opacity: 1;
}

/* ── Panel ── */
.site-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 90vw;
  height: 100%;
  background: #1A1008;
  border-left: 1px solid rgba(168, 123, 26, 0.15);
  box-shadow: -8px 0 30px rgba(44, 30, 16, 0.4);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.site-menu-overlay.open .site-menu-panel {
  transform: translateX(0);
}

/* ── Menu Header ── */
.site-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(168, 123, 26, 0.12);
  flex-shrink: 0;
}

.site-menu-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-menu-logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display), 'Playfair Display', serif;
  font-weight: 900;
  font-size: 16px;
  color: var(--navy-darkest);
}

.site-menu-brand span {
  font-family: var(--font-display), 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.site-menu-close {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease, color 160ms ease;
}

.site-menu-close:hover {
  background: rgba(180, 35, 24, 0.1);
  border-color: rgba(180, 35, 24, 0.3);
  color: var(--error);
}

/* ── Menu Navigation (scrollable area) ── */
.site-menu-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 24px;
}

.site-menu-group {
  margin-bottom: 20px;
}

.site-menu-group:last-child {
  margin-bottom: 0;
}

.site-menu-group-title {
  font-family: var(--font-display), 'Playfair Display', serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  padding: 0 10px 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(168, 123, 26, 0.1);
}

.site-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-menu-list li {
  opacity: 1;
  transform: none;
}

.site-menu-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-display), 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: background 150ms ease, color 150ms ease;
}

.site-menu-list a:hover {
  color: #fff;
  background: rgba(168, 123, 26, 0.08);
}

.site-menu-icon {
  font-size: 15px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

/* ── Menu Footer ── */
.site-menu-footer {
  padding: 14px 24px;
  border-top: 1px solid rgba(168, 123, 26, 0.08);
  flex-shrink: 0;
}

.site-menu-footer p {
  font-family: var(--font-display), 'Playfair Display', serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Mobile adjustments ── */
@media (max-width: 900px) {
  .menu-dots-btn {
    margin-left: 0;
    margin-right: 8px;
    order: -1;
  }
}

@media (max-width: 480px) {
  .site-menu-panel {
    width: 100vw;
    max-width: 100vw;
    border-left: none;
  }
}


/* ==========================================
   Hero Section
   ========================================== */
#hero {
  min-height: 100vh;
  background: radial-gradient(circle at 80% 20%, var(--navy-mid) 0%, var(--navy-darkest) 100%);
  position: relative;
  overflow: clip;
  display: flex;
  align-items: center;
  padding: 140px 5vw 80px;
}

/* Particle system background */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: clip;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 80% 20%, black 10%, transparent 80%);
  pointer-events: none;
}

/* Floating blur blobs — constrained to hero via overflow:clip on #hero */
.hero-orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(80px);
  opacity: 0.12;
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--gold);
  top: -100px;
  right: -50px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(168, 123, 26, 0.5);
  bottom: -50px;
  left: 10%;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(168, 123, 26, 0.1);
  border: 1px solid var(--border-gold-alpha);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-display), 'Playfair Display', serif;
  overflow: hidden;
  position: relative;
}

.hero-headline {
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-headline span.typewriter {
  border-right: 3px solid var(--gold-light);
  padding-right: 5px;
  animation: blinkType 0.8s infinite;
}

@keyframes blinkType {
  50% { border-color: transparent; }
}

.hero-sub {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-secondary-dark);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-display), 'Playfair Display', serif;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-darkest);
  box-shadow: 0 8px 24px rgba(168, 123, 26, 0.25);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 280ms ease;
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--gold-light);
  font-family: var(--font-display), 'Playfair Display', serif;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Hero Visual Box */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-main {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-white-alpha);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.video-mock {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-light));
  border-radius: var(--radius-md);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-mock-bg {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 15px, rgba(168, 123, 26, 0.04) 15px, rgba(168, 123, 26, 0.04) 30px);
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--navy-darkest);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 12px rgba(168, 123, 26, 0.15);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 18px rgba(168, 123, 26, 0.25);
}

.video-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(44, 30, 16, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-label .dot {
  width: 10px;
  height: 10px;
  background: var(--success);
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px var(--success);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.video-label p {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
}

.hero-students {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.student-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary-dark);
}

.student-pill .flag {
  font-size: 16px;
}

/* Floating badges */
.float-badge {
  position: absolute;
  background: rgba(44, 30, 16, 0.9);
  border: 1px solid var(--border-gold-alpha);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.float-badge-1 {
  top: -24px;
  right: -24px;
}

.float-badge-2 {
  bottom: 24px;
  left: -40px;
  animation-delay: -2s;
}

.float-badge .icon {
  font-size: 22px;
}

.float-badge div strong {
  display: block;
  font-size: 13px;
  color: var(--white);
}

.float-badge div span {
  font-size: 11px;
  color: var(--text-muted-dark);
  display: block;
  margin-top: 2px;
}

@keyframes floatAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}


/* ==========================================
   Section Presets & Layouts
   ========================================== */
section {
  padding: 120px 5vw;
  position: relative;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 72px;
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-pale);
  color: var(--gold-dark);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-display), 'Playfair Display', serif;
  position: relative;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--gold);
}

.section-title {
  font-size: clamp(30px, 3.8vw, 44px);
  color: var(--text-primary-light);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary-light);
}

/* Scroll reveal system — single 480ms reveal allowed.
   The hidden state is deliberately scoped to motion-permitting users AND
   backed by a failsafe animation. Previously .reveal set opacity:0
   unconditionally, so if the IntersectionObserver never added .visible, whole
   sections including the enrollment form stayed permanently invisible. Content
   must never depend on script to become readable. */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 480ms var(--ease-decelerate), transform 480ms var(--ease-decelerate);
    /* If script never marks this visible, reveal it anyway. */
    animation: reveal-failsafe 1ms linear 2s forwards;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
    animation: none;
  }

  /* Stagger animation delay helper classes */
  .reveal-1 { transition-delay: 0.1s; }
  .reveal-2 { transition-delay: 0.2s; }
  .reveal-3 { transition-delay: 0.3s; }
  .reveal-4 { transition-delay: 0.4s; }
}

@keyframes reveal-failsafe {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================
   Why Choose Us Section
   ========================================== */
#why {
  background-color: var(--off-white);
}

.why-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 44px 36px;
  border: 1px solid var(--gray-light);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.why-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168, 123, 26, 0.3);
}

.why-card:hover::after {
  transform: scaleX(1);
}

.why-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(168, 123, 26, 0.12), rgba(168, 123, 26, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 28px;
  transition: var(--transition-smooth);
}

.why-card:hover .why-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(168, 123, 26, 0.2), rgba(168, 123, 26, 0.08));
}

.why-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
  color: var(--text-primary-light);
}

.why-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary-light);
}

/* ==========================================
   Courses Section
   ========================================== */
#courses {
  background-color: var(--white);
}

.courses-note {
  background: radial-gradient(circle at 100% 0%, var(--navy-mid) 0%, var(--navy-deep) 100%);
  border: 1px solid var(--border-gold-alpha);
  border-radius: var(--radius-md);
  padding: 16px 28px;
  max-width: 760px;
  margin: -20px auto 60px;
  text-align: center;
  color: var(--text-secondary-dark);
  font-size: 14px;
  box-shadow: var(--shadow-md);
}

.courses-note strong {
  color: var(--gold-light);
}

.courses-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.course-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-light);
  overflow: hidden;
  background: var(--white);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  will-change: transform;
  position: relative;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.course-card-header {
  padding: 36px 36px 24px;
  position: relative;
  color: var(--white);
}

.course-card:nth-child(1) .course-card-header { background: linear-gradient(135deg, #2C1E10, #4A3520); }
.course-card:nth-child(2) .course-card-header { background: linear-gradient(135deg, #3A2817, #5A4330); }
.course-card:nth-child(3) .course-card-header { background: linear-gradient(135deg, #451A03, #78350F); }
.course-card:nth-child(4) .course-card-header { background: linear-gradient(135deg, #064E3B, #0F766E); }

.course-level {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-display), 'Playfair Display', serif;
}

.course-card:nth-child(1) .course-level { background: rgba(168,123,26,0.2); color: var(--gold-light); }
.course-card:nth-child(2) .course-level { background: rgba(255,255,255,0.15); color: var(--white); }
.course-card:nth-child(3) .course-level { background: rgba(249,115,22,0.2); color: #FDBA74; }
.course-card:nth-child(4) .course-level { background: rgba(52,211,153,0.2); color: #A7F3D0; }

.course-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.course-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.course-card-body {
  padding: 36px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-features {
  list-style: none;
  margin-bottom: 32px;
}

.course-features li {
  font-size: 15px;
  color: var(--text-secondary-light);
  padding: 10px 0;
  border-bottom: 1px dashed var(--gray-light);
  display: flex;
  align-items: center;
  gap: 12px;
}

.course-features li::before {
  content: '✓';
  color: var(--gold-dark);
  font-weight: bold;
  font-size: 13px;
  flex-shrink: 0;
}

.course-enroll {
  margin-top: auto;
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-darkest);
  padding: 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-display), 'Playfair Display', serif;
  transition: var(--transition-smooth);
}

.course-enroll:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.course-note {
  font-size: 13px;
  color: var(--text-muted-light);
  background: var(--info-bg);
  border: 1px solid rgba(23, 92, 211, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 12px;
  line-height: 1.5;
}

.course-note strong {
  color: var(--info);
}


/* ==========================================
   Method Section (Timeline)
   ========================================== */
#method {
  background: radial-gradient(circle at 50% 0%, var(--navy) 0%, var(--navy-darkest) 100%);
  color: var(--white);
}

#method .section-title {
  color: var(--white);
}

#method .section-label {
  background: rgba(168, 123, 26, 0.15);
  color: var(--gold-light);
}

#method .section-sub {
  color: var(--text-secondary-dark);
}

.timeline {
  max-width: 900px;
  margin: 80px auto 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 45px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(168, 123, 26, 0.05) 100%);
}

.timeline-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
}

.timeline-dot {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(168, 123, 26, 0.12), 0 0 0 16px rgba(168, 123, 26, 0.06);
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.08);
  box-shadow: 0 0 0 12px rgba(168, 123, 26, 0.2), 0 0 0 20px rgba(168, 123, 26, 0.08);
}

.timeline-dot .step-num {
  font-family: var(--font-display), 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--navy-darkest);
  line-height: 1;
}

.timeline-dot .step-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--navy-darkest);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-display), 'Playfair Display', serif;
  margin-top: 2px;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-white-alpha);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  flex: 1;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
  border-color: var(--border-gold-alpha);
  background: rgba(255, 255, 255, 0.04);
  transform: translateX(5px);
}

.timeline-content h3 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
  font-family: var(--font-display), 'Playfair Display', serif;
}

.timeline-content p {
  color: var(--text-secondary-dark);
  font-size: 15px;
  line-height: 1.75;
}

.timeline-content .tag-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.tag {
  background: rgba(168, 123, 26, 0.1);
  border: 1px solid var(--border-gold-alpha);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  font-family: var(--font-display), 'Playfair Display', serif;
}

/* ==========================================
   Testimonials Section
   ========================================== */
#testimonials {
  background-color: var(--white);
}

.testi-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testi-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--gray-light);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: var(--white);
  border-color: var(--border-gold-alpha);
}

.testi-stars {
  color: var(--gold-dark);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.testi-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary-light);
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-darkest);
  font-family: var(--font-display), 'Playfair Display', serif;
  box-shadow: 0 4px 10px rgba(168, 123, 26, 0.2);
}

.testi-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary-light);
}

.testi-info {
  font-size: 12px;
  color: var(--text-muted-light);
  margin-top: 2px;
}

/* Testimonial quote decoration */
.testi-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 60px;
  font-family: var(--font-display), 'Playfair Display', serif;
  color: rgba(168, 123, 26, 0.08);
  line-height: 1;
  pointer-events: none;
}


/* ==========================================
   FAQ Section Accordions
   ========================================== */
#faq {
  background-color: var(--off-white);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-light);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-card:hover {
  border-color: rgba(168, 123, 26, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq-card[open] {
  border-color: var(--border-gold-alpha);
  box-shadow: var(--shadow-sm);
}

.faq-card summary {
  padding: 24px 30px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary-light);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  position: relative;
  padding-right: 50px;
  transition: color 280ms ease;
}

.faq-card summary::-webkit-details-marker,
.faq-card summary::marker {
  display: none;
  content: '';
}

.faq-card summary::after {
  content: '+';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-dark);
  font-size: 24px;
  line-height: 1;
  transition: transform 280ms ease;
}

.faq-card[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-card[open] summary {
  color: var(--gold-dark);
}

.faq-card p {
  padding: 0 30px 24px;
  color: var(--text-secondary-light);
  font-size: 15px;
  line-height: 1.8;
  border-top: 1px solid var(--off-white);
  margin-top: -6px;
  animation: slideOpen 280ms ease-out;
}

@keyframes slideOpen {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   Enrollment Section (Form Rebuild)
   ========================================== */
#register {
  background-color: var(--white);
}

.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-light);
  overflow: hidden;
}

.form-header {
  background: radial-gradient(circle at 0% 0%, var(--navy-mid) 0%, var(--navy-deep) 100%);
  padding: 36px 44px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--border-gold-alpha);
}

.form-header-icon {
  font-size: 40px;
}

.form-header h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 6px;
}

.form-header p {
  color: var(--text-secondary-dark);
  font-size: 14px;
}

.form-body {
  padding: 44px;
}

/* Wizard steps indicator */
.form-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.form-steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gray-light);
  z-index: 1;
}

.form-steps-progress {
  position: absolute;
  top: 15px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  z-index: 2;
  transition: width 280ms ease;
}

.form-step-dot {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 2px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted-light);
  position: relative;
  z-index: 3;
  transition: var(--transition-smooth);
}

.form-step-dot.active {
  border-color: var(--gold);
  background: var(--white);
  color: var(--gold-dark);
  box-shadow: 0 0 10px rgba(168, 123, 26, 0.3);
}

.form-step-dot.completed {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-darkest);
}

.form-step-section {
  display: none;
  animation: fadeFormStep 280ms ease-out;
}

.form-step-section.active {
  display: block;
}

@keyframes fadeFormStep {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group label span {
  color: var(--error);
}

.form-group input,
.form-group select {
  padding: 14px 18px;
  border: 1.5px solid var(--gray-light);
  border-radius: 12px;
  font-family: var(--font-body), 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-primary-light);
  background: var(--white);
  outline: none;
  transition: var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(168, 123, 26, 0.12);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '▼';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted-light);
  pointer-events: none;
  font-size: 10px;
}

.select-wrap select {
  width: 100%;
  padding-right: 44px;
}

/* Phone validation wrapper */
.phone-wrap {
  display: flex;
  border: 1.5px solid var(--gray-light);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.phone-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(168, 123, 26, 0.12);
}

.dial-wrap {
  flex-shrink: 0;
  width: 120px;
}

.dial-wrap::after {
  right: 14px;
}

.dial-wrap select {
  border: none !important;
  border-radius: 0 !important;
  border-right: 1.5px solid var(--gray-light) !important;
  box-shadow: none !important;
  padding: 14px 32px 14px 16px !important;
  font-size: 14px !important;
  background: var(--off-white) !important;
  width: 100%;
}

.phone-wrap input[type="tel"] {
  flex: 1;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 14px 18px !important;
  font-size: 15px;
}

.price-display {
  display: none;
  background: radial-gradient(circle at 0% 0%, var(--navy-mid) 0%, var(--navy-deep) 100%);
  border: 1px solid var(--border-gold-alpha);
  border-radius: 12px;
  padding: 18px 24px;
  margin-top: 12px;
  color: var(--white);
  font-size: 14.5px;
  animation: slideDown 280ms ease-out;
}

.price-display.active {
  display: flex;
  align-items: center;
  gap: 14px;
}

.price-display .price-icon {
  font-size: 24px;
}

.price-display strong {
  color: var(--gold-light);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
  gap: 16px;
}

.form-actions .btn {
  padding: 14px 28px;
  font-size: 14px;
  flex: 1;
}

.form-actions .btn-prev {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  color: var(--text-secondary-light);
}

.form-actions .btn-prev:hover {
  background: var(--gray-light);
}

.form-note {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted-light);
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.form-note::before {
  content: '🔒';
  position: absolute;
  left: 0;
  top: 0;
}

.form-note a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 500;
}

/* Success submission state */
.success-msg {
  display: none;
  text-align: center;
  padding: 60px 40px;
  position: relative;
}

.success-icon {
  font-size: 64px;
  margin-bottom: 24px;
  display: inline-block;
  animation: scaleBounce 280ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleBounce {
  0% { transform: scale(0.3); }
  100% { transform: scale(1); }
}

.success-msg h3 {
  font-size: 28px;
  color: var(--text-primary-light);
  margin-bottom: 14px;
}

.success-msg p {
  color: var(--text-secondary-light);
  font-size: 16px;
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 32px;
}

.success-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* WhatsApp helper panels */
.wa-panel {
  margin-top: 20px;
  animation: slideDown 280ms ease;
}

.wa-panel-inner {
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
}

.wa-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.wa-content {
  flex-grow: 1;
}

.wa-content strong {
  display: block;
  font-size: 15px;
  color: #065F46;
  margin-bottom: 6px;
}

.wa-content p {
  font-size: 13.5px;
  color: #047857;
  line-height: 1.6;
  margin-bottom: 14px;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #10B981;
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-display), 'Playfair Display', serif;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
  transition: var(--transition-smooth);
}

.wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.wa-both {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* ==========================================
   Footer
   ========================================== */
footer {
  background: var(--navy-darkest);
  border-top: 1px solid var(--border-gold-alpha);
  padding: 80px 5vw 40px;
  color: var(--white);
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-white-alpha);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.footer-logo-text {
  font-family: var(--font-display), 'Playfair Display', serif;
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.1;
}

.footer-logo-text small {
  display: block;
  font-family: var(--font-display), 'Playfair Display', serif;
  font-size: 11px;
  color: var(--text-muted-dark);
  font-weight: 500;
  letter-spacing: 1.5px;
  margin-top: 2px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted-dark);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted-dark);
  font-size: 13.5px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: var(--transition-fast);
}

.footer-contact a:hover {
  color: var(--gold-light);
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 24px;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-muted-dark);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
}

.footer-col a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width 280ms ease;
}

.footer-col a:hover::after {
  width: 100%;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted-dark);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: rgba(168, 123, 26, 0.12);
  border-color: var(--border-gold-alpha);
  color: var(--gold-light);
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: var(--text-muted-dark);
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-muted-dark);
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--gold-light);
}

/* ==========================================
   Utility Classes & Animations
   ========================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-darkest);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 4px 15px rgba(168, 123, 26, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  #main-nav {
    height: 70px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: rgba(26, 16, 8, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 40px 10%;
    gap: 24px;
    transition: var(--transition-smooth);
    border-right: 1px solid var(--border-white-alpha);
  }

  .nav-links.open {
    left: 0;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    gap: 24px;
  }

  .timeline-dot {
    width: 60px;
    height: 60px;
    box-shadow: 0 0 0 6px rgba(168, 123, 26, 0.1), 0 0 0 12px rgba(168, 123, 26, 0.05);
  }

  .timeline-dot .step-num {
    font-size: 18px;
  }

  .timeline-dot .step-label {
    display: none;
  }

  .timeline-content {
    min-width: 0;
    padding: 24px 30px;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  section {
    padding: 80px 5vw;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-body {
    padding: 28px 20px;
  }

  .form-header {
    padding: 28px 20px;
  }

  .form-actions {
    flex-direction: column;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}


/* ==========================================
   UI/UX IMPROVEMENTS & SPRINT ADDITIONS
   ========================================== */

/* Accessibility Focus Outlines — visible on warm surfaces */
:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 3px;
}

/* Sticky WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 99;
  display: none !important;
}
.whatsapp-fab-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: var(--transition-smooth);
}
.whatsapp-fab-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

/* Card Glows */
.glow-card {
  position: relative;
  overflow: hidden;
}
.glow-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(168, 123, 26, 0.06),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 280ms ease;
  z-index: 0;
}
.glow-card:hover .glow-overlay {
  opacity: 1;
}

/* Program visual cards inside the form */
.program-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .program-cards-grid {
    grid-template-columns: 1fr;
  }
}
.program-card-option {
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  user-select: none;
}
.program-card-option:hover {
  border-color: var(--gold-light);
  background: var(--off-white);
  transform: translateY(-2px);
}
.program-card-option.selected {
  border-color: var(--gold);
  background: rgba(168, 123, 26, 0.05);
  box-shadow: 0 4px 15px rgba(168, 123, 26, 0.15);
}
.program-card-option .icon {
  font-size: 24px;
}
.program-card-option strong {
  font-size: 15px;
  color: var(--text-primary-light);
}
.program-card-option span {
  font-size: 12px;
  color: var(--text-muted-light);
}

/* Confetti canvas */
#confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
}

/* Live Enrollment Toast Notifications */
.enrollment-toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(44, 30, 16, 0.95);
  border: 1px solid var(--border-gold-alpha);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: translateY(120px);
  transition: transform 280ms cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 280ms ease;
  opacity: 0;
  max-width: 320px;
}
.enrollment-toast.active {
  transform: translateY(0);
  opacity: 1;
}
.enrollment-toast .toast-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-darkest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display), 'Playfair Display', serif;
  flex-shrink: 0;
}
.enrollment-toast .toast-content {
  flex-grow: 1;
}
.enrollment-toast .toast-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.enrollment-toast .toast-desc {
  font-size: 11px;
  color: var(--text-muted-dark);
  margin-top: 2px;
}
.enrollment-toast .toast-close {
  background: none;
  border: none;
  color: var(--text-muted-dark);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  line-height: 1;
  transition: var(--transition-fast);
}
.enrollment-toast .toast-close:hover {
  color: var(--white);
}

/* Interactive Syllabus Preview Sections */
.syllabus-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.syllabus-tab-btn {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  color: var(--text-secondary-light);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-display), 'Playfair Display', serif;
  position: relative;
  overflow: hidden;
}
.syllabus-tab-btn:hover {
  background: var(--gray-light);
  color: var(--text-primary-light);
}
.syllabus-tab-btn.active {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-deep));
  color: var(--white);
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.syllabus-content-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
  min-height: 280px;
}
.syllabus-pane {
  display: none;
  animation: fadeIn 280ms ease-out;
}
.syllabus-pane.active {
  display: block;
}
.syllabus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
@media (max-width: 768px) {
  .syllabus-grid {
    grid-template-columns: 1fr;
  }
}
.syllabus-col h4 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--gold-pale);
  padding-bottom: 8px;
}
.syllabus-list {
  list-style: none;
}
.syllabus-list li {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--off-white);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary-light);
}
.syllabus-list li::before {
  content: '→';
  color: var(--gold);
  font-weight: bold;
}

/* Language Proficiency Slider */
.proficiency-slider-wrap {
  max-width: 800px;
  margin: 60px auto 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-white-alpha);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}
.slider-container {
  position: relative;
  margin: 40px 0 20px;
}
.prof-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
}
.prof-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  cursor: pointer;
  box-shadow: 0 0 10px rgba(168, 123, 26, 0.5);
  transition: transform 120ms ease;
}
.prof-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  color: var(--text-muted-dark);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-display), 'Playfair Display', serif;
  margin-top: 10px;
}
.slider-labels span {
  cursor: pointer;
  transition: var(--transition-fast);
}
.slider-labels span.active {
  color: var(--gold-light);
}
.slider-info-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 30px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.slider-info-box h4 {
  font-size: 18px;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.slider-info-box p {
  font-size: 14px;
  color: var(--text-secondary-dark);
  line-height: 1.6;
}

/* Video Modal Popup */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(18, 11, 4, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(16px);
  animation: fadeIn 280ms ease;
}
.video-modal.active {
  display: flex;
}
.video-modal-container {
  width: 100%;
  max-width: 900px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  aspect-ratio: 16/9;
  background: #000;
}
.video-modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.video-modal-close:hover {
  color: var(--gold-light);
}
.video-modal iframe,
.video-modal video {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}


/* ==========================================
   Responsive — New Components
   ========================================== */
@media (max-width: 768px) {
  .whatsapp-fab {
    bottom: 20px;
    right: 16px;
  }
  .whatsapp-fab-btn {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }
  .enrollment-toast {
    left: 12px;
    right: 12px;
    max-width: calc(100vw - 24px);
    bottom: 12px;
  }
  .video-modal-container {
    max-width: 100%;
  }
  .proficiency-slider-wrap {
    padding: 24px 16px;
  }
}

/* Grammar Practice nav link highlight */
.nav-grammar-link {
  color: var(--gold-light) !important;
  font-weight: 600 !important;
  border: 1px solid rgba(168, 123, 26, 0.4);
  padding: 4px 12px !important;
  border-radius: 6px;
  transition: background-color 280ms ease, border-color 280ms ease;
}
.nav-grammar-link:hover {
  background: rgba(168, 123, 26, 0.15);
  border-color: var(--gold-light);
}

/* ==========================================
   WARM EDITORIAL ACCENTS
   Soft gold system — replaces former neon palette
   ========================================== */

/* ── Hero orbs — subtle warm glow ── */
.hero-orb-1 {
  background: var(--gold) !important;
  opacity: 0.12 !important;
}

.hero-orb-2 {
  background: rgba(168, 123, 26, 0.4) !important;
  opacity: 0.10 !important;
}

/* ── Third decorative orb for depth (static) ── */
#hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: var(--radius-full);
  background: rgba(168, 123, 26, 0.3);
  filter: blur(80px);
  opacity: 0.06;
  bottom: 20%;
  right: 30%;
  pointer-events: none;
}

/* ── Hero headline em — warm gradient text ── */
.hero-headline em {
  background: linear-gradient(90deg, var(--gold-light), var(--gold-pale), var(--gold-light));
  background-size: 100% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero stats — warm gold tones ── */
.hero-stats .stat .stat-num {
  color: var(--gold-light);
}

/* ── Section labels — subtle warm underline ── */
.section-label::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  border-radius: 2px;
  opacity: 0.4;
}

/* ── Why-us cards hover — warm border ── */
.why-card:hover {
  border-color: var(--border-gold-alpha) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* ── Course card top accent on hover ── */
.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 280ms ease;
}
.course-card:hover::before { opacity: 1; }

/* ── Timeline connecting line — warm gradient ── */
.timeline::before {
  background: linear-gradient(180deg, var(--gold) 0%, rgba(168, 123, 26, 0.05) 100%) !important;
}

/* ── Testimonial stars ── */
.testi-stars {
  color: var(--gold-dark) !important;
}

/* ── Scroll progress bar ── */
.scroll-progress {
  background: linear-gradient(to right, var(--gold), var(--gold-light)) !important;
  height: 3px;
}

/* ── Nav link underlines — all gold ── */
.nav-links a::after {
  background-color: var(--gold) !important;
}

/* ── Hero particles static dots ── */
.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-particles::before {
  width: 6px;
  height: 6px;
  background: var(--gold-light);
  top: 30%;
  left: 15%;
  opacity: 0.3;
}
.hero-particles::after {
  width: 4px;
  height: 4px;
  background: var(--gold-pale);
  top: 60%;
  right: 20%;
  opacity: 0.25;
}

/* ── Extra dot in hero ── */
#hero::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  border-radius: 50%;
  top: 25%;
  left: 40%;
  opacity: 0.2;
  pointer-events: none;
  z-index: 2;
}

/* ── Trust banner ── */
.trust-banner {
  background: var(--off-white);
  padding: 32px 5vw;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}
.trust-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 280ms ease;
  cursor: default;
}
.trust-item:hover {
  transform: translateY(-3px);
}
.trust-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  flex-shrink: 0;
  transition: transform 280ms ease, box-shadow 280ms ease;
}
.trust-item:hover .trust-icon {
  box-shadow: 0 6px 20px rgba(168, 123, 26, 0.15);
  transform: scale(1.08);
}
.trust-text {
  display: flex;
  flex-direction: column;
}
.trust-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-display), 'Playfair Display', serif;
}
.trust-text span {
  font-size: 12px;
  color: var(--text-muted-light);
  margin-top: 1px;
}
.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-light);
}
@media (max-width: 768px) {
  .trust-banner-inner { gap: 20px; }
  .trust-divider { display: none; }
  .trust-item { flex: 0 0 calc(50% - 10px); }
}

/* Trust icon color variants */
.trust-icon.trust-cert { background: rgba(20, 108, 67, 0.1); color: var(--success); border: 1.5px solid rgba(20, 108, 67, 0.25); }
.trust-icon.trust-teacher { background: rgba(168, 123, 26, 0.1); color: var(--gold); border: 1.5px solid rgba(168, 123, 26, 0.25); }
.trust-icon.trust-global { background: rgba(23, 92, 211, 0.1); color: var(--info); border: 1.5px solid rgba(23, 92, 211, 0.25); }
.trust-icon.trust-fast { background: rgba(180, 35, 24, 0.1); color: var(--error); border: 1.5px solid rgba(180, 35, 24, 0.25); }

/* ── Urgency Banner ── */
.urgency-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(180, 35, 24, 0.04), rgba(168, 123, 26, 0.04));
  border: 1px solid rgba(180, 35, 24, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  max-width: 700px;
  margin: 0 auto 40px;
}
.urgency-pulse {
  width: 10px;
  height: 10px;
  background: var(--error);
  border-radius: 50%;
  flex-shrink: 0;
  animation: urgencyDot 1.5s ease-in-out infinite;
}
.urgency-text {
  font-size: 14px;
  color: var(--text-secondary-light);
  line-height: 1.5;
}
.urgency-text strong {
  color: var(--error);
}

@keyframes urgencyDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ==========================================
   INSTRUCTOR SECTION
   ========================================== */
.instructor-section {
  padding: 100px 5vw;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}
.instructor-card {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 48px;
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 280ms ease;
}
.instructor-card:hover {
  box-shadow: var(--shadow-lg);
}
.instructor-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.instructor-avatar-inner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 900;
  color: var(--navy-darkest);
  font-family: var(--font-display), 'Playfair Display', serif;
  box-shadow: 0 8px 30px rgba(168, 123, 26, 0.25);
}
.instructor-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.instructor-info h3 {
  font-family: var(--font-display), 'Playfair Display', serif;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 6px;
}
.instructor-tagline {
  font-size: 14px;
  color: var(--text-muted-light);
  margin-bottom: 20px;
}
.instructor-credentials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.credential {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary-light);
  line-height: 1.5;
}
.credential span {
  font-size: 18px;
  flex-shrink: 0;
}
.instructor-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .instructor-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }
  .instructor-credentials { align-items: center; }
  .instructor-cta-row { justify-content: center; }
}

/* ==========================================
   COURSE COMPARISON TABLE
   ========================================== */
.compare-section {
  padding: 100px 5vw;
  background: var(--navy-darkest);
  color: var(--white);
}
.compare-section .section-label { color: var(--gold-light); }
.compare-section .section-title { color: #fff; }
.compare-section .section-sub { color: var(--text-secondary-dark); }

.compare-table-wrap {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.compare-table th {
  background: rgba(168, 123, 26, 0.06);
  font-family: var(--font-display), 'Playfair Display', serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary-dark);
  padding-top: 20px;
  padding-bottom: 16px;
}
.compare-table th:first-child {
  text-align: left;
}
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}
.compare-table td {
  color: rgba(255, 255, 255, 0.6);
}
.compare-table tbody tr:hover {
  background: rgba(168, 123, 26, 0.04);
}
.compare-level {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.compare-level.cyan { color: var(--gold-light); }
.compare-level.purple { color: var(--gold-pale); }
.compare-level.rose { color: var(--gold); }
.compare-level.emerald { color: var(--success); }

.compare-table .check {
  color: var(--success);
  font-weight: 700;
}
.compare-table .check.highlight {
  background: rgba(20, 108, 67, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.compare-cta {
  text-align: center;
  margin-top: 40px;
}
.compare-cta p {
  color: var(--text-muted-dark);
  font-size: 14px;
  margin-bottom: 16px;
}
.compare-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.compare-cta .btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}


/* ==========================================
   DEMO CLASS SECTION
   ========================================== */
.demo-section {
  padding: 100px 5vw;
  background: linear-gradient(135deg, var(--navy-darkest) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  position: relative;
  overflow: clip;
}
.demo-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168, 123, 26, 0.06), transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.demo-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.demo-content .section-label { color: var(--gold-light); }
.demo-content .section-title { color: #fff; }
.demo-desc {
  color: var(--text-secondary-dark);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.demo-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}
.demo-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.demo-feat-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 123, 26, 0.08);
  border: 1px solid rgba(168, 123, 26, 0.2);
  border-radius: 12px;
}
.demo-feature strong {
  color: #fff;
  font-size: 14px;
  display: block;
  margin-bottom: 2px;
}
.demo-feature p {
  color: var(--text-muted-dark);
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}
.demo-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.demo-note {
  font-size: 13px;
  color: var(--success);
  opacity: 0.8;
}

/* Demo visual mock card */
.demo-visual {
  display: flex;
  justify-content: center;
}
.demo-card-mock {
  width: 100%;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(44, 30, 16, 0.3);
  animation: formFloat 6s ease-in-out infinite;
}

@keyframes formFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.demo-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(44, 30, 16, 0.4);
  font-size: 12px;
  color: var(--text-muted-dark);
}
.demo-card-header span {
  margin-left: auto;
  font-weight: 600;
  color: var(--gold-light);
}
.demo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.demo-dot.red { background: #ff5f56; }
.demo-dot.yellow { background: #ffbd2e; }
.demo-dot.green { background: #27c93f; }

.demo-card-body {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.demo-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: var(--navy-darkest);
  font-family: var(--font-display), 'Playfair Display', serif;
  flex-shrink: 0;
}
.demo-class-info strong {
  color: #fff;
  font-size: 13px;
  display: block;
}
.demo-class-info p {
  color: var(--text-muted-dark);
  font-size: 12px;
  margin: 3px 0 6px;
}
.demo-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  color: #27c93f;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.demo-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27c93f;
  animation: statusPulse 1.5s ease-in-out infinite;
}
.demo-card-chat {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.5;
  max-width: 85%;
}
.demo-msg.student {
  background: rgba(168, 123, 26, 0.12);
  color: var(--gold-light);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.demo-msg.instructor {
  background: rgba(168, 123, 26, 0.08);
  color: var(--gold-pale);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

@media (max-width: 768px) {
  .demo-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .demo-visual { order: -1; }
  .demo-card-mock { max-width: 280px; }
}

/* ==========================================
   GOETHE EXAM BOOKING SECTION
   ========================================== */
.booking-section {
  padding: 100px 5vw;
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}
.booking-content {
  max-width: 1000px;
  margin: 0 auto;
}

/* Stats row */
.booking-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.booking-stat {
  text-align: center;
}
.booking-stat-num {
  font-family: var(--font-display), 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.booking-stat-label {
  font-size: 13px;
  color: var(--text-muted-light);
  margin-top: 4px;
}

/* Country cards */
.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.booking-card {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}
.booking-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.booking-card-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.booking-card h4 {
  font-family: var(--font-display), 'Playfair Display', serif;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}
.booking-card p {
  font-size: 13px;
  color: var(--text-muted-light);
  line-height: 1.7;
}

/* How it works steps */
.booking-how {
  margin-bottom: 40px;
}
.booking-how h3 {
  font-family: var(--font-display), 'Playfair Display', serif;
  font-size: 20px;
  color: var(--navy);
  text-align: center;
  margin-bottom: 28px;
}
.booking-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}
.booking-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.booking-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-darkest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(168, 123, 26, 0.25);
}
.booking-step strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 3px;
}
.booking-step p {
  font-size: 13px;
  color: var(--text-muted-light);
  line-height: 1.6;
  margin: 0;
}

/* CTA */
.booking-cta {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================
   LEVEL DETECTION QUIZ SECTION
   ========================================== */
.quiz-section {
  padding: 100px 5vw;
  background: linear-gradient(135deg, var(--navy-darkest) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  position: relative;
  overflow: clip;
}
.quiz-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 123, 26, 0.05), transparent 70%);
  border-radius: 50%;
  top: -150px;
  left: -150px;
  pointer-events: none;
}
.quiz-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 123, 26, 0.04), transparent 70%);
  border-radius: 50%;
  bottom: -100px;
  right: -100px;
  pointer-events: none;
}
.quiz-section .section-label { color: var(--gold-light); }
.quiz-section .section-title { color: #fff; }
.quiz-section .section-sub { color: var(--text-secondary-dark); }

/* Quiz intro card */
.quiz-intro {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.quiz-intro-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 48px 36px;
  position: relative;
}
.quiz-intro-visual {
  margin-bottom: 24px;
}
.quiz-intro-visual svg {
  width: 180px;
  height: 140px;
}
.quiz-intro-card h3 {
  color: #fff;
  font-family: var(--font-display), 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 12px;
}
.quiz-intro-card p {
  color: var(--text-secondary-dark);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.quiz-features {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.quiz-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.quiz-feat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.quiz-start-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-darkest);
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-display), 'Playfair Display', serif;
  cursor: pointer;
  transition: box-shadow 280ms ease, transform 280ms ease;
  margin-top: 12px;
}
.quiz-start-btn:hover {
  box-shadow: 0 6px 25px rgba(168, 123, 26, 0.4);
  transform: translateY(-2px);
}

/* Quiz body (active quiz) */
.quiz-body {
  display: none;
  max-width: 650px;
  margin: 0 auto;
}
.quiz-progress-wrap {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.quiz-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  transition: width 280ms ease;
  width: 0%;
}
.quiz-counter {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted-dark);
  white-space: nowrap;
}

/* Question card */
.quiz-q-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 36px 28px;
}
.quiz-level-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.quiz-q-text {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-display), 'Playfair Display', serif;
  line-height: 1.5;
  margin-bottom: 28px;
}
.quiz-opts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quiz-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: background-color 250ms ease, border-color 250ms ease, transform 250ms ease;
  text-align: left;
  font-family: var(--font-body), 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}
.quiz-opt:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}
.quiz-opt.selected {
  border-color: var(--gold);
  background: rgba(168, 123, 26, 0.08);
}
.quiz-opt.correct {
  border-color: var(--success) !important;
  background: rgba(20, 108, 67, 0.12) !important;
}
.quiz-opt.wrong {
  border-color: var(--error) !important;
  background: rgba(180, 35, 24, 0.1) !important;
}
.quiz-opt-letter {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.quiz-opt-text {
  flex: 1;
}

/* Quiz result */
.quiz-result {
  display: none;
  max-width: 550px;
  margin: 0 auto;
}
.quiz-result-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
}
.quiz-result-ring {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}
.quiz-result-pct {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-display), 'Playfair Display', serif;
}
.quiz-result-emoji {
  font-size: 40px;
  margin-bottom: 12px;
}
.quiz-result-level {
  font-family: var(--font-display), 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}
.quiz-result-score {
  color: var(--text-muted-dark);
  font-size: 14px;
  margin-bottom: 16px;
}
.quiz-result-msg {
  color: var(--text-secondary-dark);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.quiz-result-breakdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.quiz-breakdown-item {
  font-size: 13px;
  color: var(--text-muted-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}
.quiz-breakdown-item span {
  font-weight: 800;
  font-size: 14px;
}
.quiz-result-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Quiz loading */
.quiz-loading {
  text-align: center;
  padding: 40px;
  color: var(--text-muted-dark);
}
.quiz-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .quiz-q-card { padding: 24px 18px; }
  .quiz-q-text { font-size: 17px; }
  .quiz-intro-card { padding: 32px 20px; }
}


/* ==========================================
   UI POLISH: Icons, Typography, Chat FAB
   ========================================== */

/* ── Back to top button ── */
.back-to-top {
  position: fixed !important;
  bottom: 24px !important;
  left: 24px !important;
  right: auto !important;
  z-index: 998 !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  border: none !important;
  border-radius: 50% !important;
  color: var(--navy-darkest) !important;
  font-size: 16px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(168, 123, 26, 0.3) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px) !important;
  transition: var(--transition-smooth) !important;
}
.back-to-top.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}
.back-to-top:hover {
  box-shadow: var(--shadow-glow) !important;
  transform: translateY(-3px) !important;
}

/* ── Chat with Us FAB (bottom right) ── */
.chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
}
.chat-fab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-darkest);
  padding: 12px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-display), 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(168, 123, 26, 0.3);
  transition: var(--transition-smooth);
}
.chat-fab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 123, 26, 0.45);
}
.chat-fab-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy-darkest);
}
.chat-fab-label {
  white-space: nowrap;
}
@media (max-width: 480px) {
  .chat-fab-btn .chat-fab-label { display: none; }
  .chat-fab-btn { padding: 13px; border-radius: 50%; }
  .back-to-top { bottom: 20px !important; left: 20px !important; width: 40px !important; height: 40px !important; }
}

/* ── Why-Us Icons ── */
.why-icon {
  width: 54px !important;
  height: 54px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px !important;
  font-size: 24px !important;
  margin-bottom: 16px !important;
  transition: var(--transition-smooth) !important;
  background: rgba(168, 123, 26, 0.08) !important;
  border: 1.5px solid rgba(168, 123, 26, 0.2) !important;
  color: var(--gold) !important;
}

.why-card:hover .why-icon {
  transform: scale(1.1) !important;
  box-shadow: 0 4px 15px rgba(44, 30, 16, 0.08) !important;
}

/* ── Trust Icons ── */
.trust-icon {
  width: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  transition: transform 280ms ease !important;
}

.trust-item:hover .trust-icon {
  transform: scale(1.12) !important;
}

/* ── Typography Improvements ── */
.section-title {
  font-size: clamp(28px, 3.5vw, 42px) !important;
  line-height: 1.2 !important;
  margin-bottom: 16px !important;
}
.section-sub {
  font-size: 15px !important;
  line-height: 1.75 !important;
  max-width: 650px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: var(--text-secondary-light) !important;
}
.section-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
  display: inline-block !important;
}

/* Why cards text */
.why-card h3 {
  font-family: var(--font-display), 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
}
.why-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted-light);
}

/* Course cards */
.course-card-header h3 {
  font-family: var(--font-display), 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}
.course-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}
.course-features li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary-light);
}

/* Testimonial text */
.testi-text {
  font-size: 15px !important;
  line-height: 1.75 !important;
  color: var(--text-secondary-light) !important;
  font-style: italic;
}
.testi-name {
  font-family: var(--font-display), 'Playfair Display', serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}
.testi-info {
  font-size: 12px !important;
  color: var(--text-muted-light) !important;
}

/* FAQ */
.faq-card summary {
  font-family: var(--font-display), 'Playfair Display', serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
  line-height: 1.5 !important;
}
.faq-card p {
  font-size: 14px !important;
  line-height: 1.75 !important;
  color: var(--text-secondary-light) !important;
}

/* Footer text */
.footer-col h4 {
  font-family: var(--font-display), 'Playfair Display', serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin-bottom: 16px !important;
}
.footer-col a {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.6) !important;
}
.footer-desc {
  font-size: 13.5px !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.55) !important;
}

/* Booking cards */
.booking-card h4 {
  font-family: var(--font-display), 'Playfair Display', serif !important;
  font-size: 18px !important;
}
.booking-card p {
  font-size: 13px !important;
  line-height: 1.7 !important;
}

/* Demo section text */
.demo-desc {
  font-size: 15px !important;
  line-height: 1.8 !important;
}
.demo-feature strong {
  font-size: 14px !important;
}
.demo-feature p {
  font-size: 12.5px !important;
}

/* Instructor section */
.instructor-info h3 {
  font-size: 22px !important;
}
.instructor-tagline {
  font-size: 13.5px !important;
}
.credential {
  font-size: 13.5px !important;
  line-height: 1.6 !important;
}

/* Comparison table */
.compare-table td,
.compare-table th {
  font-size: 12.5px !important;
}

/* Nav links */
.nav-links a {
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
  padding: 8px 4px !important;
}
.nav-links {
  gap: 24px !important;
}

/* Prevent nav link text from wrapping at constrained widths */
.nav-links a {
  white-space: nowrap;
}

.nav-links li {
  min-inline-size: 0;
}

/* Tighten nav at mid-width viewports to prevent collision */
@media (min-width: 901px) and (max-width: 1400px) {
  .nav-links {
    gap: 16px !important;
  }

  .nav-cta {
    padding: 10px 16px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Form labels */
.form-wrapper label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary-light);
}

/* Urgency banner */
.urgency-text {
  font-size: 13.5px !important;
}

/* Hero sub text */
.hero-sub {
  font-size: 17px !important;
  line-height: 1.8 !important;
}

/* Materials nav active state */
.nav-links a[href="/materials.html"] {
  color: var(--gold-light) !important;
}

/* Footer gradient top border */
#footer {
  border-top: 2px solid var(--gold);
}

/* Proficiency slider track */
.prof-slider::-webkit-slider-runnable-track {
  background: linear-gradient(90deg, var(--gold), var(--gold-light)) !important;
}
.prof-slider::-moz-range-track {
  background: linear-gradient(90deg, var(--gold), var(--gold-light)) !important;
}

/* Phone hero: keep dynamic typewriter phrases, calls to action and statistics
   inside the clipped hero canvas instead of visually cutting them off. */
@media (max-width: 480px) {
  #hero {
    padding-inline: 1rem;
  }

  .hero-inner,
  .hero-content,
  .hero-visual,
  .hero-card-main {
    min-width: 0;
    max-width: 100%;
  }

  .hero-headline {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.25rem);
    line-height: 1.16;
    overflow-wrap: anywhere;
    text-wrap: wrap;
  }

  .hero-sub {
    max-width: 100%;
    font-size: .98rem !important;
    line-height: 1.65 !important;
    overflow-wrap: anywhere;
  }

  .hero-ctas {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .75rem;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 1rem;
    white-space: normal;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    width: 100%;
  }

  .hero-stats .stat {
    min-width: 0;
  }
}
