/* ============================================
   INVATA.MD — Design System v2
   Blue · Green · Orange · Minimal · Modern
   ============================================ */

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

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
  /* ── Primary: Educational Blue ── */
  --blue-900: #0D2340;
  --blue-800: #123070;
  --blue-700: #1A4DA0;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --blue-300: #93C5FD;
  --blue-200: #BFDBFE;
  --blue-100: #DBEAFE;
  --blue-50:  #EFF6FF;

  /* ── Secondary: Soft Green ── */
  --green-600: #059669;
  --green-500: #10B981;
  --green-400: #34D399;
  --green-200: #A7F3D0;
  --green-100: #D1FAE5;
  --green-50:  #ECFDF5;

  /* ── CTA: Warm Orange ── */
  --orange-700: #C2410C;
  --orange-600: #EA580C;
  --orange-500: #F97316;
  --orange-400: #FB923C;
  --orange-200: #FED7AA;
  --orange-100: #FFEDD5;
  --orange-50:  #FFF7ED;

  /* ── Neutrals (warm-tinted for friendliness) ── */
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50:  #F9FAFB;
  --white:    #FFFFFF;

  /* ── Semantic Aliases ── */
  --color-primary:      var(--blue-600);
  --color-primary-dark: var(--blue-700);
  --color-primary-light: var(--blue-100);
  --color-primary-bg:   var(--blue-50);

  --color-secondary:      var(--green-500);
  --color-secondary-dark: var(--green-600);
  --color-secondary-light: var(--green-100);
  --color-secondary-bg:   var(--green-50);

  --color-cta:      var(--orange-500);
  --color-cta-dark: var(--orange-600);
  --color-cta-light: var(--orange-100);
  --color-cta-bg:   var(--orange-50);

  --color-bg:       var(--white);
  --color-surface:  var(--gray-50);
  --color-text:     var(--gray-800);
  --color-text-muted: var(--gray-500);
  --color-border:   var(--gray-200);

  /* ── Gradients ── */
  --grad-primary:  linear-gradient(135deg, #2563EB 0%, #60A5FA 100%);
  --grad-green:    linear-gradient(135deg, #10B981 0%, #34D399 100%);
  --grad-orange:   linear-gradient(135deg, #F97316 0%, #FB923C 100%);
  --grad-hero:     linear-gradient(160deg, #F0F7FF 0%, #EFF6FF 50%, #F0FDF4 100%);
  --grad-section:  linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
  --grad-dark:     linear-gradient(135deg, #0D2340 0%, #1A4DA0 100%);

  /* ── Shadows (soft, blue-tinted) ── */
  --shadow-xs: 0 1px 2px rgba(37, 99, 235, 0.04);
  --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(37, 99, 235, 0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 32px rgba(37, 99, 235, 0.10), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-xl: 0 16px 48px rgba(37, 99, 235, 0.12), 0 8px 20px rgba(0,0,0,0.06);

  /* ── Typography ── */
  --font-heading: 'Poppins', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* ── Border Radius (soft & rounded) ── */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-2xl:  40px;
  --radius-full: 9999px;

  /* ── Spacing ── */
  --section-gap:    112px 0;
  --container-max:  1200px;

  /* ── Transitions ── */
  --ease-out:    0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-smooth: 0.3s  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--ease-out); }
ul, ol { list-style: none; }

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Section badge pill ── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-primary-light);
  color: var(--color-primary);
  margin-bottom: 14px;
}

.section-badge.green {
  background: var(--color-secondary-light);
  color: var(--color-secondary-dark);
}

.section-badge.orange {
  background: var(--color-cta-light);
  color: var(--color-cta-dark);
}

/* ── Section headings ── */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 580px;
}

/* ── Gradient text ── */
.text-gradient-blue {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-orange {
  background: var(--grad-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 30px;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ease-smooth);
  position: relative;
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* Primary CTA — warm orange */
.btn-cta {
  background: var(--grad-orange);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.30);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249, 115, 22, 0.40);
}

.btn-cta:active { transform: translateY(0); }

/* Secondary — blue outline */
.btn-outline-blue {
  background: var(--white);
  color: var(--color-primary);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-xs);
}

.btn-outline-blue:hover {
  background: var(--blue-50);
  border-color: var(--blue-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Green — mentor action */
.btn-green {
  background: var(--grad-green);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.28);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.38);
}

/* Arrow icon */
.btn-arrow {
  font-size: 1.1em;
  transition: transform var(--ease-smooth);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--ease-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 var(--gray-200), 0 4px 20px rgba(37,99,235,0.04);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--grad-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.logo-dot { color: var(--color-cta); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
  transition: width var(--ease-smooth);
}

.nav-links a:hover { color: var(--color-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 22px !important;
  font-size: 0.88rem !important;
}

/* Mobile button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  font-size: 1.3rem;
  transition: background var(--ease-out);
}

.mobile-menu-btn:hover { background: var(--gray-100); }

/* Close button: hidden by default */
.close-menu-btn { display: none; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  padding-top: 88px;
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-blob-1 {
  width: 520px; height: 520px;
  top: -120px; right: -100px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 65%);
}

.hero-blob-2 {
  width: 380px; height: 380px;
  bottom: -80px; left: -60px;
  background: radial-gradient(circle, rgba(16,185,129,0.06) 0%, transparent 65%);
}

.hero-blob-3 {
  width: 220px; height: 220px;
  top: 40%; right: 38%;
  background: radial-gradient(circle, rgba(249,115,22,0.04) 0%, transparent 65%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero content side */
.hero-content { }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 22px;
  animation: fadeUp 0.6s ease-out;
}

.eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--color-secondary);
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--gray-600);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 36px;
  animation: fadeUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease-out 0.3s both;
}

/* Stats strip */
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--blue-100);
  animation: fadeUp 0.6s ease-out 0.45s both;
}

.hstat-num {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--gray-900);
}

.hstat-label {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 2px;
}

/* Hero visual side */
.hero-visual {
  position: relative;
  animation: fadeRight 0.8s ease-out 0.25s both;
}

.hero-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--white);
}

.hero-img-wrap img {
  width: 100%;
  display: block;
  border-radius: var(--radius-xl);
}

/* Floating notification cards */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--gray-100);
  min-width: 200px;
}

.float-card-1 {
  bottom: -16px; left: -32px;
  animation: float 4s ease-in-out infinite;
}

.float-card-2 {
  top: -16px; right: -24px;
  animation: float 4s ease-in-out 1.2s infinite;
}

.fcard-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.fcard-icon.blue { background: var(--blue-100); }
.fcard-icon.green { background: var(--green-100); }
.fcard-icon.orange { background: var(--orange-100); }

.fcard-label {
  font-size: 0.7rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-bottom: 2px;
}

.fcard-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-800);
}

/* ── Subjects Strip ── */
.subjects-strip {
  padding: 28px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}

.subjects-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.subject-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: all var(--ease-smooth);
  white-space: nowrap;
}

.subject-pill:hover {
  background: var(--blue-50);
  border-color: var(--blue-300);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.subject-pill .pill-icon { font-size: 1.05rem; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section {
  padding: var(--section-gap);
  background: var(--white);
  position: relative;
}

.how-header {
  text-align: center;
  margin-bottom: 72px;
}

.how-header .section-subtitle { margin: 8px auto 0; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

/* Connector line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.67% + 14px);
  right: calc(16.67% + 14px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue-200) 0%, var(--green-200) 100%);
  pointer-events: none;
  z-index: 0;
}

.step-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 28px 36px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all var(--ease-smooth);
}

.step-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Step number badge */
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 22px;
  background: var(--grad-primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  position: relative;
  z-index: 1;
}

.step-card:nth-child(2) .step-num {
  background: var(--grad-green);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28);
}

.step-card:nth-child(3) .step-num {
  background: var(--grad-orange);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.28);
}

/* SVG icon area */
.step-svg {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-svg svg {
  width: 100%;
  height: 100%;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.72;
}

/* ============================================
   SUBJECTS / FEATURES GRID
   ============================================ */
.features-section {
  padding: var(--section-gap);
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-400) 0%, var(--green-400) 50%, var(--orange-400) 100%);
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}
.features-header .section-subtitle { margin: 8px auto 0; }

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: all var(--ease-smooth);
}

.feature-card:hover {
  border-color: var(--blue-200);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.feature-icon-wrap.blue-bg  { background: var(--blue-100); }
.feature-icon-wrap.green-bg { background: var(--green-100); }
.feature-icon-wrap.orange-bg{ background: var(--orange-100); }

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================
   MENTOR MOTIVATION
   ============================================ */
.mentor-section {
  padding: var(--section-gap);
  background: var(--white);
  position: relative;
}

.mentor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mentor-content .section-title { margin-top: 6px; }
.mentor-content .section-subtitle { margin-bottom: 32px; }

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  transition: all var(--ease-smooth);
}

.benefit-row:hover {
  background: var(--white);
  border-color: var(--blue-100);
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.benefit-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.benefit-icon.blue-bg  { background: var(--blue-100); }
.benefit-icon.green-bg { background: var(--green-100); }
.benefit-icon.orange-bg{ background: var(--orange-100); }

.benefit-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.benefit-text p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ── Reward card stack visual ── */
.mentor-visual { position: relative; }

.reward-stack {
  position: relative;
  height: 440px;
}

.reward-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--gray-100);
  width: 310px;
}

.reward-card.rcard-a {
  top: 0; left: 10px;
  transform: rotate(-3deg);
  z-index: 2;
}

.reward-card.rcard-b {
  top: 70px; right: 0;
  transform: rotate(2.5deg);
  z-index: 1;
}

.reward-card.rcard-c {
  bottom: 0; left: 30px;
  transform: rotate(-1deg);
  z-index: 3;
}

.rcard-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.rcard-emoji { font-size: 1.9rem; }

.rcard-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gray-900);
}

.rcard-desc {
  font-size: 0.86rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.credit-track {
  margin-top: 14px;
  height: 7px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.credit-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  transition: width 1.6s ease-out;
}

/* ============================================
   IMPACT SECTION
   ============================================ */
.impact-section {
  padding: var(--section-gap);
  background: var(--grad-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Decorative blobs on dark bg */
.impact-section::before {
  content: '';
  position: absolute;
  top: -200px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.impact-section::after {
  content: '';
  position: absolute;
  bottom: -150px; right: -100px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.impact-inner {
  position: relative;
  z-index: 1;
}

.impact-header {
  text-align: center;
  margin-bottom: 64px;
}

.impact-header .section-title { color: var(--white); }
.impact-header .section-subtitle { color: rgba(255,255,255,0.65); margin: 8px auto 0; }
.impact-header .section-badge {
  background: rgba(59,130,246,0.18);
  color: var(--blue-300);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-tile {
  text-align: center;
  padding: 48px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: all var(--ease-smooth);
}

.stat-tile:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-5px);
  border-color: rgba(59,130,246,0.3);
}

.stat-tile-icon { font-size: 2.4rem; margin-bottom: 18px; }

.stat-tile-value {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 8px;
  display: block;
}

.stat-tile:nth-child(1) .stat-tile-value { color: var(--blue-300); }
.stat-tile:nth-child(2) .stat-tile-value { color: var(--green-400); }
.stat-tile:nth-child(3) .stat-tile-value { color: var(--orange-400); }

.stat-tile-label {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.cta-section {
  padding: var(--section-gap);
  background: var(--white);
}

.cta-box {
  background: linear-gradient(140deg, #EFF6FF 0%, #F0FDF4 50%, #FFF7ED 100%);
  border-radius: var(--radius-2xl);
  padding: 88px 60px;
  text-align: center;
  border: 1.5px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(249,115,22,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta-emoji { font-size: 3rem; margin-bottom: 16px; display: block; }

.cta-box .section-subtitle {
  margin: 10px auto 36px;
  max-width: 520px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 68px 0 32px;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 52px;
}

.footer-brand .nav-logo { color: var(--white); margin-bottom: 14px; }

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--gray-500);
  max-width: 280px;
  margin-bottom: 22px;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gray-400);
  transition: all var(--ease-smooth);
}

.social-btn:hover {
  background: var(--color-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 0.87rem;
  color: var(--gray-500);
  padding: 5px 0;
  transition: all var(--ease-out);
}

.footer-col a:hover {
  color: var(--blue-400);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
}

.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: var(--blue-400); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(1.6); }
}

/* Scroll-triggered animations */
.anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-smooth), transform 0.65s var(--ease-smooth);
}

.anim.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-d1 { transition-delay: 0.10s; }
.anim-d2 { transition-delay: 0.20s; }
.anim-d3 { transition-delay: 0.30s; }
.anim-d4 { transition-delay: 0.40s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero .container,
  .mentor-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle,
  .mentor-content .section-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .float-card-1 { left: 10px; }
  .float-card-2 { right: 10px; }

  .mentor-visual {
    max-width: 420px;
    margin: 0 auto;
  }

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

  .footer-brand { grid-column: span 2; }
}

@media (max-width: 768px) {
  :root { --section-gap: 76px 0; }

  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 28px;
    z-index: 999;
    animation: fadeIn 0.25s ease-out;
  }

  .nav-links.open a { font-size: 1.2rem; }

  .nav-links.open .close-menu-btn {
    display: block;
    position: absolute;
    top: 22px; right: 22px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-700);
  }

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

  .hero { min-height: auto; padding: 120px 0 72px; }
  .hero-title { font-size: 2.1rem; }

  .steps-grid,
  .features-grid,
  .stats-row {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .steps-grid::before { display: none; }
  .features-section::before { display: none; }

  .cta-box { padding: 52px 24px; }

  .footer-wrap { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .subjects-inner { gap: 8px; }
}

@media (max-width: 460px) {
  .hero-buttons,
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .float-card { display: none; }
  .reward-stack { height: 320px; max-width: 300px; margin: 0 auto; }
  .reward-card { width: 270px; }
}


/* ============================================
   NEW INTERACTIVE SECTIONS CSS
   Live Requests, Whiteboard, Leaderboard,
   Forum, Journey.
   ============================================ */

/* ── Live Learning Requests ── */
.requests-section {
  padding: var(--section-gap);
  background: var(--color-surface);
  position: relative;
}

.requests-header { text-align: center; margin-bottom: 56px; }

.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(239, 68, 68, 0.4);
  animation: livePulse 2s infinite;
  margin-right: 2px;
}

@keyframes livePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.requests-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.req-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

.req-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.req-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 0.82rem; font-weight: 600; }
.blue-text { color: var(--blue-600); }
.green-text { color: var(--green-600); }
.orange-text { color: var(--orange-600); }
.req-time { color: var(--gray-500); font-weight: 500; }

.req-topic { font-family: var(--font-heading); font-size: 1.05rem; color: var(--gray-900); margin-bottom: 16px; line-height: 1.4; flex-grow: 1; }
.req-meta { display: flex; gap: 12px; margin-bottom: 20px; }
.req-grade { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--gray-600); background: var(--gray-50); padding: 4px 10px; border-radius: 4px; border: 1px solid var(--gray-200); }

.btn-req { width: 100%; padding: 10px 0; font-size: 0.9rem; }
.requests-footer { text-align: center; }

/* ── Whiteboard section ── */
.whiteboard-section {
  padding: var(--section-gap);
  background: var(--white);
}

.wb-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }

.wb-features { margin-top: 32px; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.wb-feat-item { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; font-weight: 500; color: var(--gray-700); }

.wb-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  position: relative;
}

.wb-window { display: flex; flex-direction: column; }
.wb-toolbar { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: 12px 16px; display: flex; align-items: center; gap: 16px; }
.wb-tool-dots { display: flex; gap: 6px; }
.wb-tool-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-300); }
.wb-tool-dots span:nth-child(1) { background: #EF4444; }
.wb-tool-dots span:nth-child(2) { background: #F59E0B; }
.wb-tool-dots span:nth-child(3) { background: #10B981; }

.wb-title { font-size: 0.85rem; font-weight: 600; color: var(--gray-700); flex-grow: 1; text-align: center; }
.wb-status-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(239, 68, 68, 0.1); color: #EF4444; padding: 4px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; }

.wb-body { display: flex; height: 320px; }
.wb-canvas { flex-grow: 1; background: var(--gray-50); border-right: 1px solid var(--gray-200); position: relative; overflow: hidden; }
.wb-svg { width: 100%; height: 100%; display: block; }

.wb-chat { width: 220px; display: flex; flex-direction: column; background: var(--white); }
.wbc-header { padding: 10px; border-bottom: 1px solid var(--gray-200); font-size: 0.8rem; font-weight: 600; color: var(--gray-700); display: flex; align-items: center; gap: 6px; }
.wbc-msgs { flex-grow: 1; padding: 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.wbc-msg { display: flex; gap: 8px; align-items: flex-end; }
.wbc-msg.student { justify-content: flex-end; }
.wbc-avatar { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: white; flex-shrink: 0; }
.mentor-av { background: var(--blue-500); }
.student-av { background: var(--green-500); }
.wbc-bubble { background: var(--gray-100); padding: 8px 10px; border-radius: 12px 12px 12px 2px; font-size: 0.75rem; color: var(--gray-800); max-width: 140px; line-height: 1.4; }
.wbc-msg.student .wbc-bubble { background: var(--green-100); border-radius: 12px 12px 2px 12px; color: var(--green-900); }

.wbc-input { padding: 10px; border-top: 1px solid var(--gray-200); display: flex; gap: 6px; background: var(--gray-50); }
.wbc-input input { flex-grow: 1; border: 1px solid var(--gray-200); border-radius: 14px; padding: 6px 10px; font-size: 0.75rem; outline: none; }
.wbc-send { width: 26px; height: 26px; border-radius: 50%; background: var(--color-primary); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; }

.wb-participants { border-top: 1px solid var(--gray-200); padding: 10px 16px; display: flex; gap: 16px; align-items: center; background: var(--white); }
.wb-part { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--gray-800); }
.part-av { width: 28px; height: 28px; font-size: 0.85rem; }
.part-role { font-size: 0.7rem; font-weight: 500; display: block; }
.mentor-role { color: var(--blue-600); }
.student-role { color: var(--green-600); }
.wb-time { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--gray-600); }

/* ── Mentor Leaderboard ── */
.leaderboard-section { padding: var(--section-gap); background: var(--white); border-top: 1px solid var(--gray-100); }
.lb-header { text-align: center; margin-bottom: 56px; }

.lb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 20px; }
.lb-card { background: var(--white); border: 1.5px solid var(--gray-100); border-radius: var(--radius-xl); padding: 32px 24px; text-align: center; box-shadow: var(--shadow-sm); position: relative; transition: all var(--ease-smooth); }
.lb-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }

.lb-card:nth-child(1) { border-color: #FEF3C7; background: linear-gradient(180deg, #FFFBEB 0%, #FFFFFF 100%); }
.lb-card:nth-child(1):hover { border-color: #FCD34D; }

.lb-crown { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); font-size: 2rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); z-index: 10; }
.lb-rank { position: absolute; top: 16px; left: 16px; font-weight: 800; color: var(--gray-400); font-size: 0.9rem; }

.lb-av { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; color: var(--white); position: relative; }
.lb-card:nth-child(1) .lb-av { background: linear-gradient(135deg, #F59E0B, #FCD34D); box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3); }
.lb-card:nth-child(2) .lb-av { background: linear-gradient(135deg, #94A3B8, #CBD5E1); box-shadow: 0 4px 14px rgba(148, 163, 184, 0.3); }
.lb-card:nth-child(3) .lb-av { background: linear-gradient(135deg, #D97706, #FBBF24); box-shadow: 0 4px 14px rgba(217, 119, 6, 0.2); }

.lb-status { position: absolute; bottom: 2px; right: 2px; width: 14px; height: 14px; background: var(--green-500); border: 2.5px solid var(--white); border-radius: 50%; }

.lb-name { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.lb-role { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 20px; }

.lb-stats { display: flex; justify-content: center; gap: 32px; margin-bottom: 20px; padding: 16px 0; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); }
.lb-stat-box { display: flex; flex-direction: column; align-items: center; }
.lb-s-val { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; color: var(--gray-800); }
.lb-s-lbl { font-size: 0.75rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

.lb-badges { display: flex; justify-content: center; gap: 8px; }
.lb-badge { background: var(--gray-50); border: 1px solid var(--gray-200); padding: 4px 8px; border-radius: 12px; font-size: 0.9rem; }

/* ── Forum Section ── */
.forum-section { padding: var(--section-gap); background: var(--color-surface); }
.forum-header { text-align: center; margin-bottom: 56px; }

.forum-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.forum-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-xs); transition: all var(--ease-smooth); }
.forum-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--blue-200); }

.frc-tag { display: inline-block; padding: 4px 10px; background: var(--blue-50); color: var(--blue-600); font-size: 0.7rem; font-weight: 700; border-radius: 4px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.frc-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: var(--gray-900); line-height: 1.4; }
.frc-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--gray-500); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-100); }
.frc-replies { display: flex; align-items: center; gap: 6px; color: var(--green-600); font-weight: 600; }

.frc-answer { background: var(--gray-50); padding: 16px; border-radius: 8px; border-left: 3px solid var(--green-400); }
.frc-ans-label { font-size: 0.75rem; font-weight: 700; color: var(--gray-600); margin-bottom: 6px; }
.frc-answer p { font-size: 0.85rem; color: var(--gray-700); font-style: italic; line-height: 1.5; margin: 0; }

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

/* ── Learning Journey Timeline ── */
.journey-section { padding: var(--section-gap); background: var(--white); }
.journey-header { text-align: center; margin-bottom: 72px; }

.journey-timeline { position: relative; max-width: 900px; margin: 0 auto; display: flex; align-items: center; padding: 20px 0; }
.jt-track { position: absolute; top: 50px; left: 40px; right: 40px; height: 3px; background: linear-gradient(90deg, var(--gray-200) 0%, var(--orange-300) 50%, var(--green-300) 100%); z-index: 0; pointer-events: none; }

.jt-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; position: relative; z-index: 1; }
.jt-step { text-align: center; }
.jt-icon-wrap { width: 64px; height: 64px; background: var(--white); border: 2px solid var(--gray-200); border-radius: 50%; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; position: relative; transition: all var(--ease-smooth); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.jt-icon { font-size: 1.6rem; }
.jt-step:hover .jt-icon-wrap { border-color: var(--orange-400); transform: translateY(-4px) scale(1.05); box-shadow: 0 8px 20px rgba(249, 115, 22, 0.15); }
.jt-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.jt-desc { font-size: 0.85rem; color: var(--gray-600); line-height: 1.5; padding: 0 10px; }

/* ── Responsive adjustments for new sections ── */
@media (max-width: 1024px) {
  .requests-grid { grid-template-columns: repeat(2, 1fr); }
  .wb-grid { grid-template-columns: 1fr; }
  .wb-mockup { max-width: 700px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .requests-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .lb-cards { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .forum-grid { grid-template-columns: 1fr; max-width: 450px; margin-left: auto; margin-right: auto; }
  
  .journey-timeline { flex-direction: column; }
  .jt-track { display: none; }
  .jt-steps { grid-template-columns: 1fr; gap: 40px; max-width: 320px; margin: 0 auto; }
  .jt-icon-wrap { margin-bottom: 16px; }
  
  .wb-body { flex-direction: column; height: auto; }
  .wb-canvas { height: 280px; border-right: none; border-bottom: 1px solid var(--gray-200); }
  .wb-chat { width: 100%; height: 260px; }
  .impact-section::before, .impact-section::after { display: none; }
  .stats-row { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
}

/* Impact svg sizing */
.stat-svg { width: 44px; height: 44px; margin: 0 auto 16px; display: block; }
