/* ============================================================
   AMEX — ACADEMIC MERIT EXCELLENCE (POWERED BY EPSILON DIARY)
   Design System: Neumorphic + Claymorphic Palette & Surfaces
   ============================================================ */

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

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  /* Colors */
  --amex-bg:            #F5F6FC;
  --amex-surface:       #ECEFFA;
  --amex-surface-glass: rgba(236, 239, 250, 0.85);
  --amex-white:         #FFFFFF;
  --amex-ink:           #1E1B4B;  /* Deep Indigo */
  --amex-heading:       #312E81;
  --amex-body:          #2D3748;
  --amex-muted:         #64748B;
  --amex-border:        rgba(79, 70, 229, 0.12);
  --amex-border-light:  rgba(255, 255, 255, 0.8);

  /* Primary Brand: Electric Indigo */
  --amex-primary:       #4F46E5;
  --amex-primary-hover: #4338CA;
  --amex-primary-light: #EEF2FF;
  --amex-primary-glow:  rgba(79, 70, 229, 0.35);

  /* Accent: Trophy Gold */
  --amex-gold:          #F59E0B;
  --amex-gold-dark:     #D97706;
  --amex-gold-light:    #FEF3C7;
  --amex-gold-glow:     rgba(245, 158, 11, 0.35);

  /* Accent: Mint Verified */
  --amex-mint:          #10B981;
  --amex-mint-dark:     #059669;
  --amex-mint-light:    #D1FAE5;
  --amex-mint-glow:     rgba(16, 185, 129, 0.35);

  /* CTA Accent: High-Conversion Coral */
  --amex-coral:         #FF5A5F;
  --amex-coral-dark:    #E0484D;
  --amex-coral-grad:    linear-gradient(135deg, #FF6B6B 0%, #FF5A5F 50%, #EE4950 100%);
  --amex-coral-glow:    rgba(255, 90, 95, 0.4);

  /* Subject Color Codes */
  --sub-math:           #4F46E5;
  --sub-math-bg:        #EEF2FF;
  --sub-science:        #10B981;
  --sub-science-bg:     #ECFDF5;
  --sub-aptitude:       #8B5CF6;
  --sub-aptitude-bg:    #F5F3FF;
  --sub-english:        #F59E0B;
  --sub-english-bg:     #FFFBEB;

  /* Neumorphic + Claymorphic Shadows */
  --shadow-raised:
    8px 10px 20px rgba(163, 177, 210, 0.45),
    -8px -8px 20px rgba(255, 255, 255, 0.95);
  --shadow-floating:
    14px 18px 32px rgba(163, 177, 210, 0.5),
    -12px -12px 28px rgba(255, 255, 255, 1);
  --shadow-pressed:
    inset 4px 4px 10px rgba(163, 177, 210, 0.6),
    inset -4px -4px 10px rgba(255, 255, 255, 0.9);
  --shadow-clay-card:
    10px 14px 26px rgba(163, 177, 210, 0.4),
    -8px -8px 22px rgba(255, 255, 255, 0.95),
    inset 1px 1px 1px rgba(255, 255, 255, 0.8);
  --shadow-clay-card-hover:
    16px 22px 38px rgba(163, 177, 210, 0.55),
    -12px -12px 28px rgba(255, 255, 255, 1),
    inset 1px 1px 1px rgba(255, 255, 255, 0.9);
  --shadow-clay-btn:
    6px 8px 18px rgba(79, 70, 229, 0.35),
    inset 2px 2px 4px rgba(255, 255, 255, 0.45),
    inset -2px -2px 4px rgba(0, 0, 0, 0.15);
  --shadow-clay-coral-btn:
    6px 10px 20px rgba(255, 90, 95, 0.45),
    inset 2px 2px 4px rgba(255, 255, 255, 0.45),
    inset -2px -2px 4px rgba(0, 0, 0, 0.18);
  --shadow-clay-mint-btn:
    6px 8px 18px rgba(16, 185, 129, 0.35),
    inset 2px 2px 4px rgba(255, 255, 255, 0.45),
    inset -2px -2px 4px rgba(0, 0, 0, 0.15);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Font Sizes */
  --text-h1: clamp(2.4rem, 5vw, 3.6rem);
  --text-h2: clamp(1.8rem, 3.5vw, 2.5rem);
  --text-h3: clamp(1.3rem, 2.2vw, 1.75rem);
  --text-h4: 1.2rem;
  --text-body-lg: 1.125rem;
  --text-body: 1rem;
  --text-sm: 0.875rem;
  --text-caption: 0.8125rem;

  /* Spacing */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(16px, 4vw, 40px);

  /* Radius */
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Global ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--amex-body);
  background-color: var(--amex-bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s var(--ease-smooth);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Layout Container ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding: var(--space-7) 0;
  position: relative;
}

.section-sm {
  padding: var(--space-5) 0;
}

/* Section Header */
.section-header {
  margin-bottom: var(--space-5);
}

.section-header.centered {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-caption);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amex-primary);
  background: var(--amex-primary-light);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: inset 1px 1px 3px rgba(79, 70, 229, 0.2);
  margin-bottom: var(--space-2);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 800;
  color: var(--amex-ink);
  line-height: 1.25;
  margin-bottom: var(--space-2);
}

.section-subtitle {
  font-size: var(--text-body-lg);
  color: var(--amex-muted);
  line-height: 1.7;
}

/* ── Neumorphic / Claymorphic Components ────────────────── */
.clay-card {
  background: var(--amex-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-clay-card);
  border: 1px solid var(--amex-border-light);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-smooth);
  position: relative;
}

.clay-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-clay-card-hover);
}

.clay-inset {
  background: var(--amex-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pressed);
  border: 1px solid rgba(163, 177, 210, 0.2);
}

/* Clay Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--ease-spring);
  text-align: center;
  white-space: nowrap;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1rem;
}

.btn-coral {
  background: var(--amex-coral-grad);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-clay-coral-btn);
}

.btn-coral:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px rgba(255, 90, 95, 0.55), inset 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.btn-coral:active {
  transform: translateY(1px);
  box-shadow: inset 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background: var(--amex-primary);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-clay-btn);
}

.btn-primary:hover {
  background: var(--amex-primary-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px var(--amex-primary-glow), inset 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.btn-secondary {
  background: var(--amex-bg);
  color: var(--amex-ink);
  box-shadow: var(--shadow-raised);
  border: 1px solid var(--amex-border-light);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-floating);
  color: var(--amex-primary);
}

.btn-mint {
  background: var(--amex-mint);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-clay-mint-btn);
}

.btn-mint:hover {
  background: var(--amex-mint-dark);
  transform: translateY(-2px);
}

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

/* ── Fixed Navbar ────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(245, 246, 252, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(79, 70, 229, 0.08);
  z-index: 1000;
  transition: all 0.3s var(--ease-smooth);
}

.navbar.scrolled {
  box-shadow: 0 10px 24px rgba(163, 177, 210, 0.35);
  background: rgba(245, 246, 252, 0.96);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-brand-highlighted {
  padding: 4px 14px 4px 6px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(79, 70, 229, 0.14);
  box-shadow: 
    0 4px 14px rgba(163, 177, 210, 0.28),
    inset 0 1px 2px rgba(255, 255, 255, 0.95);
}

.nav-brand-highlighted:hover {
  background: #ffffff;
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 
    0 6px 20px rgba(79, 70, 229, 0.22),
    0 0 18px rgba(245, 158, 11, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.nav-logo-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #F5F6FC 100%);
  box-shadow: 
    -2px -2px 6px rgba(255, 255, 255, 1),
    3px 3px 10px rgba(79, 70, 229, 0.18),
    0 0 0 2px rgba(245, 158, 11, 0.85), /* High-impact Golden Highlight Ring */
    0 0 16px rgba(245, 158, 11, 0.35);  /* Radiant Golden Glow */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: amex-logo-glow 4s ease-in-out infinite;
}

@keyframes amex-logo-glow {
  0%, 100% {
    box-shadow: 
      -2px -2px 6px rgba(255, 255, 255, 1),
      3px 3px 10px rgba(79, 70, 229, 0.18),
      0 0 0 2px rgba(245, 158, 11, 0.75),
      0 0 12px rgba(245, 158, 11, 0.22);
  }
  50% {
    box-shadow: 
      -2px -2px 8px rgba(255, 255, 255, 1),
      4px 4px 14px rgba(79, 70, 229, 0.24),
      0 0 0 2.5px #F59E0B,
      0 0 20px rgba(245, 158, 11, 0.45);
  }
}

.nav-logo-badge:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 
    -4px -4px 12px rgba(255, 255, 255, 1),
    6px 6px 18px rgba(79, 70, 229, 0.28),
    0 0 0 2.5px var(--amex-gold),
    0 0 24px rgba(245, 158, 11, 0.5);
}

.nav-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(30, 27, 75, 0.18));
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-brand-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-brand-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--amex-ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1E1B4B 0%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-brand-title span {
  color: var(--amex-primary);
  -webkit-text-fill-color: var(--amex-primary);
}

.nav-brand-badge {
  font-size: 0.62rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-brand-endorsement {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 2px;
}

.endorsement-label {
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 500;
  color: #7B849B;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.endorsement-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: #009EDF; /* Signature Epsilon Blue */
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.endorsement-icon {
  width: 13px;
  height: 10px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--amex-body);
  background: transparent;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: all 0.25s var(--ease-spring);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--amex-primary);
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(79, 70, 229, 0.12);
  box-shadow: 0 3px 10px rgba(163, 177, 210, 0.28);
  transform: translateY(-1px);
}

.nav-link.active {
  color: var(--amex-primary);
  background: var(--amex-bg);
  box-shadow: var(--shadow-pressed);
  border-color: rgba(79, 70, 229, 0.14);
}

.nav-link-two-line {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  text-align: center;
  padding-inline: 20px;
}

.nav-line-title {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: inherit;
}

.nav-line-sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--amex-primary);
  letter-spacing: 0.04em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-login-btn {
  height: 44px;
  box-sizing: border-box;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--amex-ink);
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background: var(--amex-bg);
  box-shadow: var(--shadow-raised);
  border: 1px solid var(--amex-border-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s var(--ease-spring);
}

.nav-login-btn:hover {
  transform: translateY(-2px);
  color: var(--amex-primary);
  box-shadow: var(--shadow-floating);
}

#navRegisterBtn {
  height: 44px;
  box-sizing: border-box;
  padding: 0 22px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s var(--ease-spring);
}

#navRegisterBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 90, 95, 0.45);
}

.nav-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--amex-bg);
  box-shadow: var(--shadow-raised);
  align-items: center;
  justify-content: center;
  color: var(--amex-ink);
}

/* ── Mobile Nav Drawer ───────────────────────────────────── */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 27, 75, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 340px;
  background: var(--amex-bg);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-smooth);
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--amex-border);
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amex-bg);
  box-shadow: var(--shadow-raised);
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--amex-ink);
  background: var(--amex-bg);
  box-shadow: var(--shadow-raised);
}

.drawer-link.active {
  color: var(--amex-primary);
  box-shadow: var(--shadow-pressed);
}

/* ── Hero Section ────────────────────────────────────────── */
.hero-section {
  padding-top: 130px;
  padding-bottom: var(--space-6);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-6);
  align-items: center;
}

.hero-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--amex-bg);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-raised);
  border: 1px solid var(--amex-border-light);
  font-size: var(--text-caption);
  font-weight: 700;
  color: var(--amex-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
}

.hero-ai-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amex-mint);
  box-shadow: 0 0 0 4px var(--amex-mint-glow);
  animation: amex-pulse 1.8s infinite;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: 800;
  color: var(--amex-ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.hero-headline .highlight-grad {
  background: linear-gradient(135deg, var(--amex-primary) 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: var(--text-body-lg);
  color: var(--amex-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-top: var(--space-2);
  border-top: 1px solid rgba(79, 70, 229, 0.1);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--amex-ink);
}

.hero-trust-item svg {
  color: var(--amex-mint);
}

/* ── Interactive AI Exam Simulator Card ─────────────────── */
.simulator-wrap {
  position: relative;
}

.simulator-card {
  background: var(--amex-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-clay-card);
  border: 1px solid var(--amex-border-light);
  overflow: hidden;
  position: relative;
}

.simulator-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--amex-surface);
  border-bottom: 1px solid var(--amex-border);
}

.sim-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sim-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amex-mint);
  box-shadow: 0 0 6px var(--amex-mint);
}

.sim-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--amex-ink);
}

.sim-timer {
  font-size: var(--text-caption);
  font-weight: 700;
  color: var(--amex-primary);
  background: var(--amex-white);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-raised);
}

.simulator-body {
  padding: var(--space-3);
}

.sim-q-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.sim-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.sim-tag-math { background: var(--sub-math-bg); color: var(--sub-math); }
.sim-tag-tier { background: var(--amex-gold-light); color: var(--amex-gold-dark); }
.sim-tag-ai   { background: var(--amex-mint-light); color: var(--amex-mint-dark); }

.sim-question {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--amex-ink);
  line-height: 1.5;
  margin-bottom: 14px;
}

.sim-diagram-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amex-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pressed);
  padding: 12px;
  margin-bottom: 14px;
}

.sim-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--amex-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-raised);
  border: 1px solid var(--amex-border-light);
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
}

.sim-option:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-clay-card);
}

.sim-opt-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sim-opt-letter {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--amex-surface);
  box-shadow: var(--shadow-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--amex-ink);
}

.sim-opt-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--amex-body);
}

.sim-option.correct {
  background: #ECFDF5;
  border-color: #10B981;
  box-shadow: 0 0 0 2px #10B981, var(--shadow-raised);
}

.sim-option.correct .sim-opt-letter {
  background: #10B981;
  color: #FFFFFF;
}

.sim-option.incorrect {
  background: #FEF2F2;
  border-color: #EF4444;
  box-shadow: 0 0 0 2px #EF4444, var(--shadow-raised);
}

.sim-option.incorrect .sim-opt-letter {
  background: #EF4444;
  color: #FFFFFF;
}

.sim-feedback {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  line-height: 1.5;
  display: none;
  animation: amex-fade-in 0.3s ease;
}

.sim-feedback.visible {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.sim-feedback.correct-feedback {
  background: var(--amex-mint-light);
  color: #065F46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.sim-feedback.incorrect-feedback {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Floating Badges */
.sim-float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--amex-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-floating);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--amex-ink);
  z-index: 5;
  white-space: nowrap;
}

.sim-badge-top {
  top: -14px;
  right: 20px;
  animation: amex-float 4s ease-in-out infinite;
}

.sim-badge-bottom {
  bottom: -14px;
  left: -15px;
  animation: amex-float 4.5s ease-in-out infinite 0.7s;
}

/* ── 4-Card Stats Bar ────────────────────────────────────── */
.stats-bar {
  padding: var(--space-4) 0;
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.stat-pill {
  background: var(--amex-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-clay-card);
  border: 1px solid var(--amex-border-light);
  padding: var(--space-3);
  text-align: center;
  transition: transform 0.25s var(--ease-spring);
}

.stat-pill:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--amex-ink);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-number .accent-color {
  color: var(--amex-primary);
}

.stat-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--amex-muted);
}

/* ── Grade Switcher & 4 Core Subjects ────────────────────── */
.grade-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}

.grade-tab {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--amex-bg);
  box-shadow: var(--shadow-raised);
  color: var(--amex-muted);
  transition: all 0.2s var(--ease-smooth);
}

.grade-tab:hover {
  color: var(--amex-primary);
}

.grade-tab.active {
  background: var(--amex-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-clay-btn);
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.subject-card {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.subject-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subject-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-raised);
}

.subject-card.math .subject-icon-wrap { background: var(--sub-math-bg); color: var(--sub-math); }
.subject-card.science .subject-icon-wrap { background: var(--sub-science-bg); color: var(--sub-science); }
.subject-card.aptitude .subject-icon-wrap { background: var(--sub-aptitude-bg); color: var(--sub-aptitude); }
.subject-card.english .subject-icon-wrap { background: var(--sub-english-bg); color: var(--sub-english); }

.subject-grade-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--amex-surface);
  color: var(--amex-muted);
}

.subject-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--amex-ink);
}

.subject-desc {
  font-size: var(--text-sm);
  color: var(--amex-muted);
  line-height: 1.6;
}

.subject-topics {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  border-top: 1px solid var(--amex-border);
  padding-top: 12px;
}

.subject-topics li {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--amex-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

.subject-topics li svg {
  color: var(--amex-mint);
  flex-shrink: 0;
}

/* ── 01–04 Alternating AI Showcase ───────────────────────── */
.showcase-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.showcase-row.reverse .showcase-content {
  order: 2;
}

.showcase-row.reverse .showcase-visual {
  order: 1;
}

.showcase-step-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--amex-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
  display: block;
}

.showcase-title {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: 800;
  color: var(--amex-ink);
  line-height: 1.3;
  margin-bottom: var(--space-2);
}

.showcase-desc {
  font-size: var(--text-body);
  color: var(--amex-muted);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.showcase-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.showcase-bullets li {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--amex-ink);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.showcase-bullets li svg {
  color: var(--amex-mint);
  margin-top: 3px;
  flex-shrink: 0;
}

.showcase-visual-frame {
  background: var(--amex-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-clay-card);
  border: 1px solid var(--amex-border-light);
  padding: 12px;
  overflow: hidden;
}

.showcase-visual-frame img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
}

/* ── Practice & App Support Cards ────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.feature-box {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--amex-primary-light);
  color: var(--amex-primary);
  box-shadow: var(--shadow-raised);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-box-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--amex-ink);
}

.feature-box-desc {
  font-size: var(--text-sm);
  color: var(--amex-muted);
  line-height: 1.6;
}

/* ── Value Pass & ₹2,500 Pricing Card ────────────────────── */
.pricing-section-card {
  padding: var(--space-5);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: center;
  background: linear-gradient(135deg, #F8F9FE 0%, var(--amex-bg) 100%);
}

.price-tag-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin: var(--space-2) 0;
}

.price-symbol {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--amex-primary);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--amex-ink);
  line-height: 1;
}

.price-period {
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--amex-muted);
}

.price-sub-note {
  font-size: 0.85rem;
  color: var(--amex-gold-dark);
  font-weight: 700;
  background: var(--amex-gold-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: var(--space-3);
}

/* ── Merit Scholarships & Prizes ─────────────────────────── */
.prizes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}

.prize-badge-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

.prize-item {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.prize-icon-gold {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amex-gold-light);
  color: var(--amex-gold-dark);
  box-shadow: var(--shadow-raised);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prize-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--amex-ink);
}

.prize-sub {
  font-size: 0.78rem;
  color: var(--amex-muted);
}

/* ── "Who is using AMEX?" Section ────────────────────────── */
.schools-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-4);
}

.school-partner-card {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.school-badge-flagship {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amex-primary);
  background: var(--amex-primary-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

.school-partner-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--amex-ink);
}

.school-quote {
  font-size: 0.95rem;
  color: var(--amex-body);
  line-height: 1.6;
  font-style: italic;
  border-left: 3px solid var(--amex-primary);
  padding-left: 14px;
  margin: 6px 0;
}

/* ── 3-Step "How It Works" ───────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  position: relative;
}

.step-card {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.step-num-pill {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amex-primary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-clay-btn);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--amex-ink);
}

.step-desc {
  font-size: var(--text-sm);
  color: var(--amex-muted);
  line-height: 1.6;
}

/* ── FAQ Accordion ───────────────────────────────────────── */
.faq-grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-card {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--amex-ink);
  line-height: 1.4;
  margin: 0;
}

.faq-icon-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--amex-bg);
  box-shadow: var(--shadow-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-smooth);
}

.faq-card.open .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--amex-primary);
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-smooth);
  padding: 0 22px;
  color: var(--amex-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-card.open .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

/* ── Forms & Interactive Registration UI ─────────────────── */
.tab-switcher {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: var(--space-4);
}

.tab-btn {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  background: var(--amex-bg);
  box-shadow: var(--shadow-raised);
  color: var(--amex-muted);
  transition: all 0.2s var(--ease-smooth);
}

.tab-btn.active {
  background: var(--amex-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-clay-btn);
}

.form-card {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--space-5);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.col-span-2 {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--amex-ink);
}

.form-label .req {
  color: var(--amex-coral);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--amex-bg);
  box-shadow: var(--shadow-pressed);
  border: 1px solid rgba(163, 177, 210, 0.4);
  color: var(--amex-ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--amex-primary);
  box-shadow: inset 2px 2px 6px rgba(79, 70, 229, 0.2), 0 0 0 3px var(--amex-primary-light);
}

.form-error {
  font-size: 0.78rem;
  color: #EF4444;
  font-weight: 600;
  display: none;
}

.form-error.visible {
  display: block;
}

/* Dynamic Phones Repeater */
.phone-repeater-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  gap: 10px;
  align-items: center;
}

.phone-remove-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--amex-bg);
  box-shadow: var(--shadow-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EF4444;
}

.add-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--amex-primary);
  margin-top: 4px;
}

/* ── Animated Confirmation Card ──────────────────────────── */
.confirmation-card {
  display: none;
  max-width: 680px;
  margin: 0 auto;
  padding: var(--space-5);
  text-align: center;
  animation: amex-pop-in 0.4s var(--ease-spring);
}

.confirmation-card.active {
  display: block;
}

.conf-check-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--amex-mint);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-3);
  box-shadow: var(--shadow-clay-mint-btn);
  animation: amex-bounce 1s ease-in-out;
}

.conf-ref-box {
  background: var(--amex-bg);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-pressed);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  margin: var(--space-3) 0;
}

.conf-ref-id {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--amex-primary);
  letter-spacing: 0.04em;
}

.conf-copy-btn {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amex-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Dual CTA Band ───────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--amex-surface) 0%, var(--amex-bg) 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-clay-card);
  border: 1px solid var(--amex-border-light);
  padding: var(--space-6) var(--space-4);
  text-align: center;
}

.cta-band-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-3);
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--amex-bg);
  border-top: 1px solid var(--amex-border);
  padding: var(--space-6) 0 var(--space-3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--amex-muted);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--amex-ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--amex-muted);
}

.footer-links a:hover {
  color: var(--amex-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(79, 70, 229, 0.08);
  font-size: var(--text-caption);
  color: var(--amex-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Floating WhatsApp Button ────────────────────────────── */
.floating-wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform 0.25s var(--ease-spring);
}

.floating-wa-btn:hover {
  transform: scale(1.1);
}

.floating-wa-btn svg {
  color: #FFFFFF;
  width: 32px;
  height: 32px;
}

/* ── Back to Top Button ──────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amex-bg);
  box-shadow: var(--shadow-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amex-ink);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.25s var(--ease-spring);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
  color: var(--amex-primary);
}

/* ── Mobile Sticky Bottom Action Bar ─────────────────────── */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(245, 246, 252, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 16px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
  z-index: 995;
  border-top: 1px solid var(--amex-border);
}

/* ── Responsive Media Queries ────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .subjects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-section-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding-inline: 12px;
  }

  .nav-brand-highlighted {
    padding: 3px 10px 3px 4px;
    border-radius: 14px;
    gap: 8px;
    max-width: calc(100% - 50px);
  }

  .nav-logo-badge {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    flex-shrink: 0;
  }

  .nav-brand-title {
    font-size: 1.15rem;
  }

  .nav-brand-badge {
    font-size: 0.55rem;
    padding: 1px 5px;
  }

  .nav-brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
  }

  .nav-links, .nav-login-btn, #navRegisterBtn {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .hero-section {
    padding-top: 105px;
    padding-bottom: var(--space-4);
  }

  .showcase-row, .showcase-row.reverse {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .showcase-row.reverse .showcase-content {
    order: 1;
  }

  .showcase-row.reverse .showcase-visual {
    order: 2;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .prizes-grid, .schools-grid {
    grid-template-columns: 1fr;
  }

  .prize-badge-card {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.col-span-2 {
    grid-column: span 1;
  }

  .phone-row {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-bar {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .floating-wa-btn {
    bottom: 74px;
    right: 18px;
    width: 48px;
    height: 48px;
  }

  .back-to-top {
    bottom: 132px;
    right: 20px;
  }
}

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

  .subjects-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
