/* ==========================================================================
   Excellence Talk Modern Design System & Stylesheet
   Brand Colors aligned with Official Excellence Talk Identity:
   - Deep Royal Navy: #0A1D56
   - Vibrant Cyan/Electric Blue: #0084FF
   ========================================================================== */

:root {
  --primary: #0084FF;
  --primary-hover: #006ED6;
  --primary-light: #E8F4FD;
  --primary-dark: #0A1D56;
  --secondary: #10B981;
  --secondary-light: #DEF7EC;
  --accent: #F59E0B;
  --accent-light: #FEF3C7;
  
  --dark-navy: #0A1D56;
  --navy-800: #0E256C;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(10, 29, 86, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(10, 29, 86, 0.08), 0 2px 4px -1px rgba(10, 29, 86, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(10, 29, 86, 0.1), 0 4px 6px -2px rgba(10, 29, 86, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(10, 29, 86, 0.12), 0 10px 10px -5px rgba(10, 29, 86, 0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--slate-800);
  background-color: var(--white);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--slate-600);
  font-size: 1.05rem;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 780px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.6rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}

.section-desc {
  font-size: 1.15rem;
  color: var(--slate-600);
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.align-center {
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #006FD8 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 132, 255, 0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 132, 255, 0.45);
}

.btn-secondary {
  background: var(--slate-100);
  color: var(--slate-800);
}

.btn-secondary:hover {
  background: var(--slate-200);
  color: var(--slate-900);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--slate-200);
  color: var(--slate-700);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #0084FF 0%, #00C6FF 50%, #10B981 100%);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(0, 132, 255, 0.6);
  pointer-events: none;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  padding: 10px 0;
  box-shadow: 0 1px 3px rgba(10, 29, 86, 0.04);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  background: #FFFFFF;
  padding: 8px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.nav-links a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate-700);
  padding: 7px 9px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-btn-sample {
  padding: 9px 16px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.nav-btn-demo {
  padding: 9px 18px;
  font-size: 0.88rem;
  white-space: nowrap;
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px 8px;
  z-index: 1010;
  transition: all 0.25s ease;
}

.mobile-menu-btn:hover {
  background: var(--slate-200);
}

.hamburger-bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--primary-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  background: var(--white);
  box-shadow: -10px 0 25px rgba(10, 29, 86, 0.2);
  z-index: 2500;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--slate-200);
}

.mobile-drawer-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.mobile-drawer-close {
  background: var(--slate-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer-close:hover {
  background: var(--slate-200);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  flex-grow: 1;
}

.mobile-nav-links a {
  padding: 13px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-800);
  display: block;
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.2s, color 0.2s;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:active {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-drawer-actions {
  padding: 18px 20px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--slate-50);
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 29, 86, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2400;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.open {
  display: block;
  opacity: 1;
}

/* Hero Section */
.hero-section {
  padding: 80px 0 60px 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 132, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  text-align: center;
}

.hero-container {
  max-width: 1000px;
}

.hero-tagline-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid #BFDBFE;
  box-shadow: var(--shadow-sm);
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
}

.hero-highlights-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid #BFDBFE;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.hero-highlights-trigger:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 132, 255, 0.25);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 132, 255, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 132, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 132, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 132, 255, 0); }
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.1;
  color: var(--primary-dark);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #00C6FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--slate-600);
  max-width: 860px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 24px 40px;
  box-shadow: var(--shadow-lg);
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--slate-200);
}

/* SECTION 1: HOW WE HELP STUDENTS SPEAK */
.how-it-works-section {
  background: var(--white);
}

.transformation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.trans-card {
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.trans-card:hover {
  transform: translateY(-6px);
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
}

.trans-icon-box {
  width: 54px;
  height: 54px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.trans-step-tag {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.trans-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.trans-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--slate-600);
  margin-bottom: 20px;
  flex-grow: 1;
}

.trans-metric {
  background: var(--white);
  border-left: 3px solid var(--secondary);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--slate-800);
  box-shadow: var(--shadow-sm);
}

.trans-metric strong {
  color: var(--secondary);
}

/* SECTION 2: STUDENT ACHIEVEMENTS */
.achievements-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.story-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #BFDBFE;
}

.story-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  position: relative;
}

.student-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.student-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.student-meta {
  font-size: 0.8rem;
  color: var(--slate-500);
}

.achievement-pill {
  position: absolute;
  top: -12px;
  right: 0;
  background: #FEF3C7;
  color: #B45309;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.story-quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--slate-700);
  margin-bottom: 24px;
  font-style: normal;
}

.story-quote strong {
  color: var(--primary-dark);
}

.story-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--slate-100);
  padding-top: 16px;
}

.metric-badge {
  font-size: 0.85rem;
  color: var(--slate-600);
  background: var(--slate-50);
  padding: 6px 10px;
  border-radius: 6px;
}

.metric-badge strong {
  color: var(--primary);
}

.institutional-achievements-banner {
  background: var(--primary-dark);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 30px;
  box-shadow: var(--shadow-xl);
}

.inst-stat {
  text-align: center;
  max-width: 280px;
}

.inst-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: #38BDF8;
  margin-bottom: 4px;
}

.inst-text {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.4;
}

.inst-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
}

/* SECTION 3: 4 PILLARS */
.method-section {
  background: var(--white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.pillar-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius-md);
}

.pillar-number {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.pillar-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.pillar-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.pillar-bullets {
  list-style: none;
  font-size: 0.88rem;
  color: var(--slate-700);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--slate-100);
  padding-top: 16px;
}

.pillar-bullets li {
  position: relative;
  padding-left: 18px;
}

.pillar-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.2rem;
  line-height: 1;
}

/* SECTION 4: 6-STEP SPEAKING JOURNEY */
.loop-section {
  background: var(--slate-50);
}

.case-study-banner {
  background: var(--primary-light);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-md);
  padding: 16px 24px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.case-study-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.badge-accent {
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
}

.loop-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.timeline-step {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.timeline-step:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.timeline-step.active {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.2), var(--shadow-md);
}

.step-badge {
  width: 30px;
  height: 30px;
  background: var(--slate-200);
  color: var(--slate-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.timeline-step.active .step-badge {
  background: var(--primary);
  color: var(--white);
}

.step-action {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-500);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.timeline-step.active .step-action {
  color: var(--primary);
}

.step-content h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.step-content p {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--slate-600);
}

.loop-interactive-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F0F7FF 100%);
  border: 1.5px solid #BFDBFE;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.loop-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.loop-visual-preview {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
}

.preview-badge {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 12px;
}

/* SECTION 5: CURRICULUM */
.curriculum-section {
  background: var(--white);
}

.curriculum-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 24px;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(10, 29, 86, 0.35);
}

.grade-detail-box {
  background: var(--slate-50);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
}

.grade-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
}

.book-mockup-card {
  background: linear-gradient(135deg, #0A1D56 0%, #0F172A 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  box-shadow: 0 20px 30px rgba(10, 29, 86, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.book-spine-effect {
  border-left: 5px solid rgba(255, 255, 255, 0.3);
  padding-left: 14px;
}

.book-grade-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38BDF8;
  margin-bottom: 8px;
}

.book-mockup-card h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.book-meta {
  margin-top: 32px;
  font-size: 0.85rem;
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qr-bridge-preview {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.qr-box {
  width: 44px;
  height: 44px;
  background: var(--white);
  color: var(--slate-900);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.qr-text {
  font-size: 0.78rem;
  line-height: 1.3;
  color: #CBD5E1;
}

.grade-info-col h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.grade-focus-sub {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 24px;
}

.syllabus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.syllabus-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px;
}

.syllabus-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
}

.syllabus-card ul {
  list-style: none;
  font-size: 0.88rem;
  color: var(--slate-600);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.syllabus-card ul li::before {
  content: "→ ";
  color: var(--primary);
  font-weight: bold;
}

/* SECTION 6: AI COACH SIMULATOR */
.ai-coach-section {
  background: var(--slate-50);
}

.ai-demo-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  max-width: 1050px;
  margin: 0 auto;
}

.ai-chat-column {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ai-chat-header {
  background: var(--primary-dark);
  color: var(--white);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-ai {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.ai-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.ai-sub {
  font-size: 0.8rem;
  color: #94A3B8;
}

.status-online {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  color: #34D399;
  background: rgba(52, 211, 153, 0.15);
  padding: 4px 10px;
  border-radius: 20px;
}

.ai-chat-transcript {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex-grow: 1;
  background: var(--slate-50);
}

.bubble {
  max-width: 85%;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  font-size: 0.96rem;
  line-height: 1.5;
}

.ai-bubble {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-800);
  border-bottom-left-radius: 4px;
}

.user-bubble {
  align-self: flex-end;
  background: var(--primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.ai-controls {
  padding: 18px 24px;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  display: flex;
  gap: 10px;
}

.ai-eval-column {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ai-eval-column h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.eval-subtitle {
  font-size: 0.88rem;
  color: var(--slate-500);
  margin-bottom: 24px;
}

.score-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.score-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.score-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
}

.progress-track {
  width: 100%;
  height: 8px;
  background: var(--slate-100);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, #10B981 100%);
  border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-feedback-box {
  background: var(--primary-light);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-md);
  padding: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--slate-800);
}

/* SECTION 7: INSTITUTIONAL LICENSING */
.licensing-section {
  background: var(--white);
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  max-width: 960px;
  margin: 0 auto 50px auto;
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

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

.featured-pricing {
  border-color: var(--primary);
  box-shadow: 0 10px 25px -5px rgba(0, 132, 255, 0.15), var(--shadow-md);
}

.card-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 20px;
}

.card-badge-muted {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 20px;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.pricing-sub {
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.price-figure {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.price-figure span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-500);
}

.pricing-features {
  list-style: none;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.guarantees-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  max-width: 1040px;
  margin: 0 auto;
}

.guarantee-col {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.guarantee-col .icon {
  font-size: 1.8rem;
}

.guarantee-col strong {
  font-size: 1rem;
  color: var(--slate-900);
  display: block;
  margin-bottom: 4px;
}

.guarantee-col p {
  font-size: 0.85rem;
  line-height: 1.4;
}

/* ==========================================================================
   About Us Section Styles
   ========================================================================== */
.about-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-top: 1px solid var(--slate-200);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.about-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0A1D56, #0084FF);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #BFDBFE;
}

.about-card:hover::before {
  opacity: 1;
}

.about-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 132, 255, 0.12) 0%, rgba(10, 29, 86, 0.06) 100%);
  border: 1.5px solid rgba(0, 132, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 22px;
}

.about-card h3 {
  font-size: 1.45rem;
  color: var(--primary-dark);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.about-card p {
  font-size: 0.98rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.about-card-badge {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 132, 255, 0.22);
}

.about-pillars-banner {
  background: linear-gradient(135deg, #0A1D56 0%, #0E256C 50%, #0045A5 100%);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  color: var(--white);
  box-shadow: 0 16px 36px -10px rgba(10, 29, 86, 0.25);
  position: relative;
  overflow: hidden;
}

.about-pillars-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.18) 0%, rgba(0, 132, 255, 0) 70%);
  pointer-events: none;
}

.about-banner-title {
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.about-banner-title .badge-accent {
  display: inline-block;
  background: rgba(0, 198, 255, 0.2);
  color: #67E8F9;
  border: 1px solid rgba(103, 232, 249, 0.4);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.about-banner-title h3 {
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.about-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 40px;
  position: relative;
  z-index: 2;
}

.about-banner-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-item-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 198, 255, 0.2);
  border: 1.5px solid #38BDF8;
  color: #38BDF8;
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-banner-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 4px;
}

.about-banner-item p {
  font-size: 0.92rem;
  color: #CBD5E1;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Meet the Founder Section Styles
   ========================================================================== */
.founder-section {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  position: relative;
  overflow: hidden;
}

.founder-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 12% 25%, rgba(0, 132, 255, 0.05) 0%, transparent 45%),
              radial-gradient(circle at 88% 75%, rgba(10, 29, 86, 0.04) 0%, transparent 45%);
  pointer-events: none;
}

.founder-grid {
  display: grid;
  grid-template-columns: 410px 1fr;
  gap: 48px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

/* Left Profile Executive Card */
.founder-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 38px 30px;
  box-shadow: 0 12px 30px -10px rgba(10, 29, 86, 0.12);
  position: sticky;
  top: 90px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.founder-card:hover {
  box-shadow: 0 18px 40px -10px rgba(10, 29, 86, 0.16);
  border-color: #BFDBFE;
}

/* Founder Visual Crest / Portrait Emblem */
.founder-visual-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 22px;
}

.founder-avatar-crest {
  width: 146px;
  height: 146px;
  border-radius: 50%;
  margin: 0 auto;
  background: linear-gradient(135deg, #0A1D56 0%, #0E256C 45%, #0084FF 100%);
  padding: 5px;
  box-shadow: 0 8px 24px rgba(0, 132, 255, 0.28), 0 0 0 5px rgba(0, 132, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.founder-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(145deg, #07133B 0%, #0A1D56 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.16);
  position: relative;
  overflow: hidden;
}

.founder-avatar-inner::after {
  content: '';
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle at 35% 30%, rgba(0, 198, 255, 0.35) 0%, transparent 60%);
  pointer-events: none;
}

.founder-initials {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FFFFFF 25%, #67E8F9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  position: relative;
  z-index: 2;
}

.founder-avatar-subtag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #38BDF8;
  margin-top: 4px;
  position: relative;
  z-index: 2;
}

.founder-verified-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0084FF 0%, #0056B3 100%);
  border: 3px solid var(--white);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 132, 255, 0.4);
}

.founder-name-highlight {
  font-size: 1.85rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.founder-designation-primary {
  display: inline-block;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 132, 255, 0.25);
  margin-bottom: 8px;
}

.founder-designation-secondary {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 18px;
}

.founder-credentials-strip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  padding: 16px 18px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  text-align: left;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--slate-700);
  font-weight: 500;
}

.credential-item .icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* Founder Direct Contact Box */
.founder-contact-box {
  background: linear-gradient(145deg, #0A1D56 0%, #0E256C 100%);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  color: var(--white);
  text-align: center;
  box-shadow: 0 8px 24px rgba(10, 29, 86, 0.22);
  border: 1px solid rgba(0, 132, 255, 0.3);
}

.founder-contact-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #38BDF8;
  font-weight: 800;
  margin-bottom: 4px;
}

.founder-phone-display {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.founder-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-dialler {
  background: linear-gradient(135deg, #0084FF 0%, #0060C4 100%);
  color: var(--white);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 132, 255, 0.4);
  transition: all 0.2s ease;
  font-size: 0.94rem;
  text-decoration: none;
}

.btn-dialler:hover {
  background: #0070E0;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 132, 255, 0.55);
  color: var(--white);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
  color: var(--white);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
  font-size: 0.94rem;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

.founder-contact-hint {
  font-size: 0.74rem;
  color: #94A3B8;
  margin-top: 10px;
  line-height: 1.4;
}

/* Right Content Column */
.founder-content-wrapper {
  display: flex;
  flex-direction: column;
}

.founder-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.founder-title-lead {
  font-size: 2.25rem;
  color: var(--primary-dark);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.founder-intro-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.founder-intro-body p {
  font-size: 1.05rem;
  color: var(--slate-700);
  line-height: 1.72;
}

.founder-intro-body strong {
  color: var(--primary-dark);
}

/* Founder Impact Focus Points */
.founder-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.founder-focus-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.founder-focus-card:hover {
  transform: translateY(-3px);
  border-color: #93C5FD;
  box-shadow: var(--shadow-sm);
}

.focus-card-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.founder-focus-card h4 {
  font-size: 0.98rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
  font-weight: 700;
}

.founder-focus-card p {
  font-size: 0.86rem;
  color: var(--slate-600);
  line-height: 1.45;
}

/* Founder Quote Box */
.founder-quote-box {
  background: linear-gradient(135deg, rgba(10, 29, 86, 0.04) 0%, rgba(0, 132, 255, 0.08) 100%);
  border-left: 4.5px solid var(--primary);
  border-top: 1px solid rgba(0, 132, 255, 0.16);
  border-right: 1px solid rgba(0, 132, 255, 0.16);
  border-bottom: 1px solid rgba(0, 132, 255, 0.16);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 28px 32px;
  position: relative;
}

.quote-mark-icon {
  position: absolute;
  top: 10px;
  right: 22px;
  font-size: 4.2rem;
  font-family: Georgia, serif;
  color: rgba(0, 132, 255, 0.12);
  line-height: 1;
  pointer-events: none;
}

.founder-quote-text {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--primary-dark);
  line-height: 1.62;
  font-style: italic;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.founder-quote-author {
  font-size: 0.95rem;
  color: var(--slate-600);
  position: relative;
  z-index: 2;
}

.founder-quote-author strong {
  color: var(--primary-dark);
  font-weight: 700;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-navy) 0%, #0045A5 100%);
  color: var(--white);
  padding: 80px 0;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #BFDBFE;
  font-size: 1.25rem;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

/* Footer */
.footer {
  background: #060E26;
  color: #94A3B8;
  padding: 70px 0 30px 0;
  border-top: 1px solid #1E2D5A;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.95rem;
  margin: 16px 0 24px 0;
  max-width: 380px;
}

.copyright {
  font-size: 0.85rem;
  color: #64748B;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: #94A3B8;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #38BDF8;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 29, 86, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--slate-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--slate-200);
}

/* ==========================================================================
   Welcome Key Highlights Entry Popup
   ========================================================================== */
.welcome-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 29, 86, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  padding-top: max(32px, calc(env(safe-area-inset-top, 0px) + 24px));
  padding-bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 20px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.welcome-popup-backdrop.open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  animation: popupBackdropFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.welcome-popup-backdrop.closing {
  animation: popupBackdropFadeOut 0.28s cubic-bezier(0.7, 0, 0.84, 0) forwards !important;
}

.welcome-popup-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 760px;
  width: 100%;
  padding: 34px 38px 28px;
  position: relative;
  box-shadow: 0 25px 60px -10px rgba(10, 29, 86, 0.45), 0 0 0 1px rgba(191, 219, 254, 0.6);
  max-height: min(88vh, 820px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: auto;
}

.welcome-popup-backdrop.open .welcome-popup-card {
  animation: popupCardEntrance 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.welcome-popup-backdrop.closing .welcome-popup-card {
  animation: popupCardExit 0.28s cubic-bezier(0.7, 0, 0.84, 0) forwards !important;
}

@keyframes popupBackdropFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes popupBackdropFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes popupCardEntrance {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(36px);
  }
  65% {
    opacity: 1;
    transform: scale(1.02) translateY(-4px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes popupCardExit {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
}

/* Staggered items cascade inside popup */
.welcome-popup-backdrop.open .welcome-popup-header {
  animation: popupItemSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.welcome-popup-backdrop.open .welcome-highlight-item:nth-child(1) {
  animation: popupItemSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}
.welcome-popup-backdrop.open .welcome-highlight-item:nth-child(2) {
  animation: popupItemSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}
.welcome-popup-backdrop.open .welcome-highlight-item:nth-child(3) {
  animation: popupItemSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}
.welcome-popup-backdrop.open .welcome-highlight-item:nth-child(4) {
  animation: popupItemSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both;
}
.welcome-popup-backdrop.open .welcome-highlight-item:nth-child(5) {
  animation: popupItemSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

.welcome-popup-backdrop.open .welcome-popup-metrics {
  animation: popupItemSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both;
}

.welcome-popup-backdrop.open .welcome-popup-actions {
  animation: popupItemSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

@keyframes popupItemSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.welcome-popup-close:hover {
  background: #FEE2E2;
  border-color: #FCA5A5;
  color: #DC2626;
  transform: scale(1.06);
}

.welcome-popup-header {
  margin-bottom: 22px;
  padding-right: 32px;
}

.welcome-popup-topline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.welcome-popup-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.welcome-popup-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  border: 1px solid #BFDBFE;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.06em;
}

.welcome-popup-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 8px;
}

.welcome-popup-subtitle {
  font-size: 0.94rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin: 0;
}

/* Highlights Grid */
.welcome-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.welcome-highlight-item {
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: all 0.25s ease;
}

.welcome-highlight-item:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 132, 255, 0.1);
}

.welcome-highlight-span {
  grid-column: span 2;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border-color: #BFDBFE;
}

.welcome-highlight-icon {
  font-size: 1.35rem;
  width: 38px;
  height: 38px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.welcome-highlight-span .welcome-highlight-icon {
  background: var(--primary-light);
  border-color: #BFDBFE;
}

.welcome-highlight-text h4 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 3px;
}

.welcome-highlight-text p {
  font-size: 0.81rem;
  line-height: 1.4;
  color: var(--slate-600);
  margin: 0;
}

/* Metric Strip inside popup */
.welcome-popup-metrics {
  background: linear-gradient(135deg, #0A1D56 0%, #0060C7 100%);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 22px;
  box-shadow: 0 6px 16px rgba(10, 29, 86, 0.15);
}

.popup-metric {
  text-align: center;
}

.popup-metric strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #38BDF8;
  display: block;
  line-height: 1.1;
}

.popup-metric span {
  font-size: 0.74rem;
  color: #E2E8F0;
  font-weight: 500;
}

.popup-metric-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
}

/* Actions */
.welcome-popup-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.welcome-popup-actions .btn {
  flex: 1;
  min-width: 160px;
  padding: 12px 18px;
  font-size: 0.92rem;
  white-space: nowrap;
}

.welcome-popup-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--slate-100);
  padding-top: 12px;
}

.welcome-popup-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--slate-500);
  cursor: pointer;
  user-select: none;
}

.welcome-popup-checkbox-label input {
  cursor: pointer;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.15);
}

/* SECTION: TEACHER GUIDANCE & EMPOWERMENT */
.teachers-section {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.teacher-card {
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.teacher-card:hover {
  transform: translateY(-6px);
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
}

.teacher-icon-box {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.teacher-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: block;
}

.teacher-card h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.teacher-card p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--slate-600);
  margin-bottom: 18px;
  flex-grow: 1;
}

.teacher-card-bullets {
  list-style: none;
  font-size: 0.84rem;
  color: var(--slate-700);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--slate-200);
  padding-top: 14px;
}

.teacher-card-bullets li {
  position: relative;
  padding-left: 18px;
}

.teacher-card-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.teacher-quote-banner {
  background: linear-gradient(135deg, #F0F7FF 0%, #E0F2FE 100%);
  border: 1.5px solid #BAE6FD;
  border-radius: var(--radius-xl);
  padding: 36px 42px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  box-shadow: var(--shadow-md);
}

.quote-symbol {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  line-height: 0.8;
  color: var(--primary);
  opacity: 0.4;
  flex-shrink: 0;
}

.quote-body {
  flex-grow: 1;
}

.quote-text {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.quote-author {
  font-size: 0.92rem;
  color: var(--slate-600);
}

.quote-author strong {
  color: var(--primary-dark);
}

/* ==========================================================================
   Comprehensive Responsive & Mobile-First Media Queries
   ========================================================================== */

/* Tablet & Smaller Laptops (<= 1220px) */
@media (max-width: 1220px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-btn-sample {
    display: none;
  }

  .hero-title {
    font-size: 3rem;
  }

  .transformation-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stories-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .teachers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .teacher-quote-banner {
    flex-direction: column;
    gap: 16px;
    padding: 28px;
  }

  .quote-symbol {
    font-size: 3.2rem;
  }

  .institutional-achievements-banner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    padding: 32px 28px;
  }

  .inst-divider {
    display: none;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .loop-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .loop-detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .grade-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ai-demo-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pricing-cards-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .guarantees-bar {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-banner-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .founder-card {
    position: static;
    max-width: 520px;
    margin: 0 auto;
  }

  .founder-focus-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Tablets & Large Phones (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .section {
    padding: 56px 0;
  }

  .nav-logo-img {
    height: 40px;
    max-width: 210px;
  }

  .hero-section {
    padding: 48px 0 36px 0;
  }

  .hero-tagline-badge {
    font-size: 0.75rem;
    padding: 6px 16px;
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: 2.3rem;
    line-height: 1.18;
    margin-bottom: 18px;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 32px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 40px;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-lg);
  }

  .stat-divider {
    display: none;
  }

  .stat-number {
    font-size: 1.45rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-header h2 {
    font-size: 1.9rem;
    line-height: 1.25;
  }

  .section-desc {
    font-size: 1rem;
  }

  .trans-card {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }

  .trans-card h3 {
    font-size: 1.25rem;
  }

  .trans-icon-box {
    width: 46px;
    height: 46px;
    font-size: 1.5rem;
  }

  .trans-metric {
    font-size: 0.85rem;
    padding: 10px 14px;
  }

  .story-card {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }

  .story-quote {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .inst-num {
    font-size: 2.2rem;
  }

  .inst-text {
    font-size: 0.85rem;
  }

  .teachers-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
  }

  .teacher-card {
    padding: 24px 20px;
  }

  .teacher-card h3 {
    font-size: 1.2rem;
  }

  .teacher-quote-banner {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }

  .quote-text {
    font-size: 1rem;
    line-height: 1.55;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pillar-card {
    padding: 24px 20px;
  }

  /* 6-Step Loop Touch-Friendly Horizontal Swipe */
  .loop-timeline {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 24px;
  }

  .timeline-step {
    flex: 0 0 250px;
    scroll-snap-align: start;
    padding: 16px 14px;
  }

  .case-study-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
  }

  .loop-interactive-card {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  /* Curriculum Horizontal Scrolling Tabs */
  .curriculum-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 12px;
    gap: 8px;
    margin-bottom: 24px;
  }

  .tab-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 0.88rem;
  }

  .grade-detail-box {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  .book-mockup-card {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }

  .book-mockup-card h3 {
    font-size: 1.35rem;
  }

  .syllabus-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Classroom Smart TV */
  .tv-bezel {
    padding: 10px;
    border-radius: 14px;
  }

  .tv-screen {
    padding: 16px;
    min-height: auto;
  }

  .tv-slide-title {
    font-size: 1.15rem;
  }

  .tv-opt-btn {
    padding: 10px 12px;
    font-size: 0.86rem;
  }

  .tv-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* AI Coach Column */
  .ai-chat-header {
    padding: 14px 18px;
  }

  .ai-chat-transcript {
    padding: 16px;
    gap: 14px;
  }

  .bubble {
    max-width: 90%;
    font-size: 0.9rem;
    padding: 12px 16px;
  }

  .ai-controls {
    flex-direction: column;
    gap: 8px;
    padding: 14px 18px;
  }

  .ai-controls .btn {
    width: 100%;
  }

  .ai-eval-column {
    padding: 22px 18px;
    border-radius: var(--radius-lg);
  }

  /* Pricing */
  .pricing-card {
    padding: 28px 20px;
    border-radius: var(--radius-lg);
  }

  .price-figure {
    font-size: 2.2rem;
  }

  .guarantee-col {
    gap: 12px;
  }

  /* About & Founder Mobile Adaptations */
  .about-card {
    padding: 26px 20px;
    border-radius: var(--radius-lg);
  }

  .about-pillars-banner {
    padding: 28px 20px;
    border-radius: var(--radius-lg);
  }

  .about-banner-title h3 {
    font-size: 1.35rem;
  }

  .founder-card {
    padding: 28px 18px;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 100%;
  }

  .founder-avatar-crest {
    width: 130px;
    height: 130px;
  }

  .founder-initials {
    font-size: 2.7rem;
  }

  .founder-name-highlight {
    font-size: 1.65rem;
  }

  .founder-title-lead {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .founder-intro-body p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .founder-quote-box {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }

  .founder-quote-text {
    font-size: 1.05rem;
  }

  .cta-banner {
    padding: 50px 0;
  }

  .cta-banner h2 {
    font-size: 2rem;
  }

  .cta-banner p {
    font-size: 1rem;
  }

  .footer {
    padding: 50px 0 24px 0;
  }

  .footer-links-group {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .modal-box {
    padding: 24px 18px;
    width: 95%;
    max-height: 88vh;
    border-radius: var(--radius-lg);
  }

  /* Welcome Popup on Tablets & Mobiles */
  .welcome-popup-backdrop {
    padding: 24px 16px;
    padding-top: max(32px, calc(env(safe-area-inset-top, 0px) + 24px));
    padding-bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 16px));
  }

  .welcome-popup-card {
    padding: 26px 20px 20px;
    width: 100%;
    max-width: 540px;
    max-height: calc(85vh - 36px);
    max-height: calc(85dvh - 36px);
    border-radius: 22px;
    margin: auto;
  }

  .welcome-popup-title {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .welcome-popup-subtitle {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .welcome-highlights-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .welcome-highlight-span {
    grid-column: span 1;
  }

  .welcome-popup-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
  }

  .popup-metric-divider {
    display: none;
  }

  .welcome-popup-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .welcome-popup-actions .btn {
    flex: 1;
    min-width: 130px;
    padding: 12px 14px;
    font-size: 0.9rem;
    text-align: center;
    justify-content: center;
  }
}

/* Small Phones (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-logo-img {
    height: 36px;
    max-width: 175px;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .hero-tagline-badge {
    font-size: 0.72rem;
    padding: 6px 12px;
  }

  .hero-highlights-trigger {
    font-size: 0.78rem;
    padding: 6px 14px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .section-header h2 {
    font-size: 1.65rem;
  }

  .story-header {
    flex-wrap: wrap;
  }

  .achievement-pill {
    position: static;
    display: inline-block;
    margin-top: 6px;
  }

  .founder-phone-display {
    font-size: 1.25rem;
  }

  .btn-dialler,
  .btn-whatsapp {
    font-size: 0.88rem;
    padding: 11px 14px;
  }

  .founder-avatar-crest {
    width: 120px;
    height: 120px;
  }

  .founder-initials {
    font-size: 2.4rem;
  }

  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .welcome-popup-backdrop {
    padding: 28px 12px 20px;
    padding-top: max(36px, calc(env(safe-area-inset-top, 0px) + 28px));
    padding-bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 16px));
  }

  .welcome-popup-card {
    padding: 22px 16px 18px;
    width: 100%;
    max-height: calc(84vh - 40px);
    max-height: calc(84dvh - 40px);
    border-radius: 20px;
    margin: auto;
  }

  .welcome-popup-close {
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .welcome-popup-header {
    margin-bottom: 14px;
    padding-right: 36px;
  }

  .welcome-popup-topline {
    gap: 10px;
    margin-bottom: 8px;
  }

  .welcome-popup-logo {
    height: 32px;
  }

  .welcome-popup-pill {
    padding: 4px 10px;
    font-size: 0.68rem;
  }

  .welcome-popup-title {
    font-size: 1.25rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .welcome-popup-subtitle {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .welcome-highlight-item {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
  }

  .welcome-highlight-icon {
    font-size: 1.25rem;
  }

  .welcome-highlight-text h4 {
    font-size: 0.88rem;
    margin-bottom: 2px;
  }

  .welcome-highlight-text p {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .welcome-popup-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    margin-bottom: 14px;
  }

  .popup-metric strong {
    font-size: 1.15rem;
  }

  .popup-metric span {
    font-size: 0.7rem;
  }

  .welcome-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
  }

  .welcome-popup-actions .btn {
    width: 100%;
    padding: 11px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   Mobile-Friendly Visibility Assurance (max-width: 900px)
   Guarantees 100% immediate content visibility on all mobile screens.
   Prevents any blank or white screens when scrolling down on mobile devices.
   ========================================================================== */
@media (max-width: 900px) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-stagger > *,
  html.has-scroll-anim .reveal,
  html.has-scroll-anim .reveal-left,
  html.has-scroll-anim .reveal-right,
  html.has-scroll-anim .reveal-scale,
  html.has-scroll-anim .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Scroll-Triggered Reveal Animations (Progressive Enhancement)
   Default / Baseline: Content is 100% visible and accessible.
   Animations only activate on desktop (>= 901px) when JS confirms readiness.
   ========================================================================== */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 1;
  transform: none;
}

.reveal-stagger > * {
  opacity: 1;
  transform: none;
}

/* Activated strictly on desktop screens (>= 901px) with JS support */
@media (min-width: 901px) {
  html.has-scroll-anim .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }

  html.has-scroll-anim .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  html.has-scroll-anim .reveal-left {
    opacity: 0;
    transform: translateX(-35px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }

  html.has-scroll-anim .reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
  }

  html.has-scroll-anim .reveal-right {
    opacity: 0;
    transform: translateX(35px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }

  html.has-scroll-anim .reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
  }

  html.has-scroll-anim .reveal-scale {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }

  html.has-scroll-anim .reveal-scale.revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  /* Staggered Grid Animations */
  html.has-scroll-anim .reveal-stagger > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }

  html.has-scroll-anim .reveal-stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
  }

  html.has-scroll-anim .reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.04s; }
  html.has-scroll-anim .reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.10s; }
  html.has-scroll-anim .reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.16s; }
  html.has-scroll-anim .reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.22s; }
  html.has-scroll-anim .reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.28s; }
  html.has-scroll-anim .reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.34s; }
  html.has-scroll-anim .reveal-stagger.revealed > *:nth-child(n+7) { transition-delay: 0.40s; }
}

/* Card hover micro-interactions */
.trans-card,
.story-card,
.teacher-card,
.pillar-card,
.pricing-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-stagger > *,
  html.has-scroll-anim .reveal,
  html.has-scroll-anim .reveal-left,
  html.has-scroll-anim .reveal-right,
  html.has-scroll-anim .reveal-scale,
  html.has-scroll-anim .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .welcome-popup-backdrop.open,
  .welcome-popup-backdrop.open .welcome-popup-card,
  .welcome-popup-backdrop.open .welcome-highlight-item,
  .welcome-popup-backdrop.open .welcome-popup-metrics,
  .welcome-popup-backdrop.open .welcome-popup-actions {
    animation: none !important;
  }

  .scroll-progress-bar {
    display: none !important;
  }
}
