/* =========================================
   MIZASI LANDING PAGE — STYLES
   Dark / AI-forward / Green accent
   ========================================= */

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

:root {
  --bg:         #030a14;
  --bg2:        #060f1e;
  --bg3:        #0a1628;
  --surface:    #0f1d35;
  --surface2:   #132240;
  --green:      #00e676;
  --green2:     #00c765;
  --green-dim:  rgba(0,230,118,0.10);
  --green-glow: rgba(0,230,118,0.18);
  --blue:       #38bdf8;
  --purple:     #a78bfa;
  --text:       #f1f5f9;
  --text2:      #cbd5e1;
  --muted:      #64748b;
  --border:     rgba(255,255,255,0.07);
  --border2:    rgba(255,255,255,0.13);
  --ease:       cubic-bezier(0.4,0,0.2,1);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;     /* clip is stronger than hidden — can't be overridden by children */
  width: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  position: relative;   /* establishes stacking context so absolute children don't widen it */
}

h1,h2,h3,h4 { line-height: 1.12; letter-spacing: -0.025em; }

img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 22px; height: 48px;
  border-radius: 10px; border: none; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.btn-green  { background: var(--green); color: #030a14; }
.btn-green:hover { background: var(--green2); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,230,118,0.28); }
.btn-sm     { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg     { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-full   { width: 100%; justify-content: center; }

/* =========================================
   NAV
   ========================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(3,10,20,0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; gap: 12px;
  height: 68px;
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 36px; height: 36px; display: block; flex-shrink: 0; }
.logo-text { font-size: 19px; font-weight: 800; color: var(--text); }

.nav-links {
  display: flex; align-items: center; gap: 6px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text2); text-decoration: none;
  font-size: 15px; font-weight: 500;
  padding: 6px 12px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--green); background: var(--green-dim); }
.nav-cta {
  margin-left: 10px;
  background: transparent !important;
  color: var(--green) !important;
  border: 1.5px solid rgba(0,230,118,0.5) !important;
  box-shadow: none !important;
}
.nav-cta:hover {
  background: var(--green) !important;
  color: #030a14 !important;
  border-color: var(--green) !important;
  box-shadow: 0 6px 24px rgba(0,230,118,0.22) !important;
  transform: translateY(-1px) !important;
}

.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px; margin-left: auto;
}
.mobile-menu-btn span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 0 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }

.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
  animation: blobFloat 10s ease-in-out infinite;
}
.blob-1 {
  width: 700px; height: 700px;
  top: -250px; left: -150px;
  background: radial-gradient(circle, rgba(0,230,118,0.13) 0%, transparent 70%);
}
.blob-2 {
  width: 550px; height: 550px;
  top: 100px; right: -180px;
  background: radial-gradient(circle, rgba(56,189,248,0.10) 0%, transparent 70%);
  animation-delay: -4s;
}
.blob-3 {
  width: 450px; height: 450px;
  bottom: -100px; left: 35%;
  background: radial-gradient(circle, rgba(167,139,250,0.09) 0%, transparent 70%);
  animation-delay: -7s;
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
}

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

.hero-content { max-width: 560px; width: 100%; }

.hero-badge {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  padding: 7px 16px;
  background: rgba(0,230,118,0.07);
  border: 1px solid rgba(0,230,118,0.2);
  border-radius: 999px;
  font-size: 13px; color: var(--green); font-weight: 500;
  margin-bottom: 26px;
  width: fit-content;
  max-width: min(100%, calc(100vw - 48px));  /* hard viewport cap */
  text-align: center;
  line-height: 1.5;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--green); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 22px;
}
.gradient-text {
  background: linear-gradient(130deg, #00e676 0%, #00c8ff 55%, #a78bfa 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 5s ease-in-out infinite;
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 36px;
}

/* Waitlist form */
.waitlist-form {
  display: flex; gap: 10px; max-width: 500px;
}
.email-input {
  flex: 1; width: 100%; height: 50px; padding: 0 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border2);
  border-radius: 10px;
  color: var(--text); font-size: 15px; font-family: inherit;
  outline: none;
  transition: all 0.2s;
}
.email-input::placeholder { color: var(--muted); }
.email-input:focus {
  border-color: var(--green);
  background: rgba(0,230,118,0.04);
  box-shadow: 0 0 0 3px rgba(0,230,118,0.08);
}
.waitlist-form .btn { flex-shrink: 0; height: 50px; }

.success-msg {
  display: none; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: rgba(0,230,118,0.10);
  border: 1px solid rgba(0,230,118,0.22);
  border-radius: 10px;
  color: var(--green); font-weight: 500; font-size: 15px;
  max-width: 500px;
}
.success-msg.show { display: flex; }

.form-note {
  margin-top: 12px; font-size: 13px; color: var(--muted);
  width: 100%; text-align: center;          /* prevents overflow when parent is flex column */
  box-sizing: border-box;
}

/* Waitlist social proof counter */
.waitlist-counter {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 10px;
  font-size: 13px; color: var(--muted);
}
.waitlist-counter strong { color: var(--text); }
.wc-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

/* Hero survey strip */
.hero-survey {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hs-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.13em; color: var(--muted);
  margin-bottom: 16px;
}
.hs-stats {
  display: flex; align-items: stretch; gap: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border2);
  border-radius: 14px; overflow: hidden;
}
.hs-stat {
  flex: 1; display: flex; flex-direction: column; gap: 5px;
  padding: 16px 20px;
}
.hs-stat:hover { background: rgba(255,255,255,0.02); }
.hs-num {
  font-size: 32px; font-weight: 900;
  letter-spacing: -0.04em; line-height: 1;
}
.hs-num.green  { color: var(--green); }
.hs-num.blue   { color: var(--blue); }
.hs-num.purple { color: var(--purple); }
.hs-desc {
  font-size: 12px; color: var(--text2); line-height: 1.45; flex: 1;
}
.hs-group {
  font-size: 10px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px;
}
.hs-divider {
  width: 1px; background: var(--border); flex-shrink: 0; align-self: stretch;
}

@media (max-width: 520px) {
  .hs-stats    { flex-direction: column; }
  .hs-divider  { width: 100%; height: 1px; }
  .hs-num      { font-size: 26px; }
}

/* Hero visual — mock app card */
.hero-visual { display: flex; justify-content: flex-end; }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 20px;
  width: 100%; max-width: 440px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}
.hero-card-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.hc-dots { display: flex; gap: 6px; }
.hc-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.hc-dots span:nth-child(1) { background: #ff5f57; }
.hc-dots span:nth-child(2) { background: #ffbd2e; }
.hc-dots span:nth-child(3) { background: #28c840; }
.hc-title { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 auto; }

.hero-card-body { padding: 22px 20px; display: flex; flex-direction: column; gap: 18px; }

.hc-profile { display: flex; align-items: center; gap: 12px; }
.hc-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; color: #030a14; flex-shrink: 0;
}
.hc-name { font-weight: 700; font-size: 15px; }
.hc-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.hc-score {
  margin-left: auto; text-align: center;
  background: var(--green-dim);
  border: 1px solid rgba(0,230,118,0.15);
  border-radius: 10px; padding: 6px 12px;
}
.hc-score-num { display: block; font-size: 22px; font-weight: 900; color: var(--green); line-height: 1; }
.hc-score-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.hc-section-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }

.hc-tasks { display: flex; flex-direction: column; gap: 10px; }
.hc-task {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.hc-task.active {
  background: rgba(0,230,118,0.06);
  border-color: rgba(0,230,118,0.15);
}
.hc-task-check {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
  background: rgba(0,230,118,0.15); color: var(--green);
}
.hc-task.active .hc-task-check { background: var(--green); color: #030a14; }
.pending-check { background: rgba(255,255,255,0.06) !important; color: var(--muted) !important; }
.hc-task-info { flex: 1; min-width: 0; }
.hc-task-name { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-task-bar {
  height: 3px; background: rgba(255,255,255,0.07);
  border-radius: 2px; margin-top: 5px; overflow: hidden;
}
.hc-task-fill { height: 100%; background: var(--green); border-radius: 2px; }
.hc-tag {
  font-size: 10px; font-weight: 600;
  padding: 2px 8px; border-radius: 999px; white-space: nowrap; flex-shrink: 0;
}
.done        { background: rgba(0,230,118,0.12); color: var(--green); }
.active-tag  { background: rgba(0,230,118,0.18); color: var(--green); }
.pending-tag { background: rgba(255,255,255,0.05); color: var(--muted); }

.hc-ai-insight {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px;
  background: rgba(167,139,250,0.07);
  border: 1px solid rgba(167,139,250,0.15);
  border-radius: 10px;
}
.hc-ai-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; color: var(--purple); }
.hc-ai-label { font-size: 10px; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 3px; }
.hc-ai-text { font-size: 12px; color: var(--text2); line-height: 1.5; }

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.trust-inner {
  display: flex; align-items: center; gap: 20px;
  flex-wrap: wrap; justify-content: center;
}
.trust-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.trust-right { font-size: 13px; color: var(--muted); margin-left: auto; }
.trust-divider { width: 1px; height: 20px; background: var(--border2); flex-shrink: 0; }
.subject-pills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.subject-pill {
  padding: 5px 13px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  border-radius: 999px;
  font-size: 13px; color: var(--text2); font-weight: 500;
}
.board-pill {
  background: rgba(0,230,118,0.06);
  border-color: rgba(0,230,118,0.2);
  color: var(--green);
  font-weight: 600;
}

/* =========================================
   SECTIONS — SHARED
   ========================================= */
.section { padding: 100px 0; }

.section-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--green); margin-bottom: 14px;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900; color: var(--text); margin-bottom: 18px;
}
.section-sub {
  font-size: 17px; color: var(--text2);
  max-width: 58ch; margin: 0 auto; line-height: 1.7;
}

/* =========================================
   COMBINED SECTION (How It Works + Features)
   ========================================= */
.combined-section { background: var(--bg2); }

/* Problem → Solution cards */
.solution-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px; margin-bottom: 72px;
}
.solution-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.solution-card:hover {
  border-color: rgba(0,230,118,0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.22);
}

.solution-before {
  padding: 22px 24px;
  background: rgba(239,68,68,0.04);
  border-bottom: 1px solid rgba(239,68,68,0.1);
}
.before-label {
  display: inline-block;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: #ef4444; margin-bottom: 8px;
}
.solution-before p {
  font-size: 13px; color: var(--muted); line-height: 1.6;
}

.solution-divider {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 24px;
  background: rgba(0,230,118,0.04);
  border-bottom: 1px solid rgba(0,230,118,0.1);
}
.solution-arrow-icon { font-size: 16px; color: var(--green); }
.solution-becomes {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--green);
}

.solution-after {
  padding: 24px; flex: 1;
}
.solution-after .step-num {
  font-size: 11px; font-weight: 800; color: var(--green);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px;
}
.solution-after .step-emoji { font-size: 32px; margin-bottom: 12px; }
.solution-after h3 { font-size: 17px; font-weight: 700; margin-bottom: 9px; }
.solution-after p  { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* Features divider */
.features-sub-header {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 40px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted);
}
.features-sub-line {
  flex: 1; height: 1px; background: var(--border);
}

/* Feature cards — keep existing .feature-card styles, just override section bg */
.combined-section .features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

@media (max-width: 1080px) {
  .solution-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto 60px; }
  .combined-section .features-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .combined-section .features-grid { grid-template-columns: 1fr; }
}


/* =========================================
   FEATURES
   ========================================= */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 28px;
  position: relative; overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.feature-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  opacity: 0; transition: opacity 0.25s;
}
.feature-card:hover {
  border-color: rgba(0,230,118,0.18);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.28);
}
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 46px; height: 46px;
  background: var(--green-dim);
  border: 1px solid rgba(0,230,118,0.14);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green); margin-bottom: 18px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 9px; }
.feature-card p  { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* =========================================
   SUBJECTS
   ========================================= */
.subjects-section { background: var(--bg); }

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

.subject-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 28px 22px;
  transition: border-color 0.2s, transform 0.2s;
}
.subject-card:hover { border-color: rgba(0,230,118,0.2); transform: translateY(-3px); }
.subject-icon { font-size: 36px; margin-bottom: 14px; display: block; }
.subject-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.subject-card p  { font-size: 13px; color: var(--text2); line-height: 1.65; margin-bottom: 16px; }
.subject-topics  { display: flex; flex-wrap: wrap; gap: 6px; }
.subject-topics span {
  padding: 3px 10px;
  background: var(--green-dim);
  border: 1px solid rgba(0,230,118,0.12);
  border-radius: 999px;
  font-size: 11px; color: var(--green); font-weight: 600;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-section { background: var(--bg2); }

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

.tcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  display: flex; flex-direction: column; gap: 20px;
  transition: border-color 0.25s, transform 0.25s;
  position: relative;
}
.tcard:hover { border-color: var(--border2); transform: translateY(-3px); }

.tcard-educator {
  background: linear-gradient(150deg, rgba(167,139,250,0.05) 0%, var(--surface) 60%);
  border-color: rgba(167,139,250,0.18);
}
.tcard-educator:hover { border-color: rgba(167,139,250,0.35); }

.tcard-quote-mark {
  font-size: 56px; line-height: 1;
  font-family: Georgia, serif;
  color: var(--purple); opacity: 0.5;
  margin-bottom: -12px;
}

.tcard-stars {
  font-size: 15px; color: #f59e0b; letter-spacing: 2px;
}

.tcard blockquote {
  flex: 1;
  font-size: 14.5px; color: var(--text2);
  line-height: 1.75;
  border: none; padding: 0; margin: 0;
  font-style: normal;
}
.tcard blockquote em { color: var(--text); font-style: italic; }

.tcard-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.tcard-photo {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  object-fit: cover;
  border: 2px solid var(--border2);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
}
.tcard-parent   .tcard-photo { border-color: rgba(0,230,118,0.5); }
.tcard-educator .tcard-photo { border-color: rgba(167,139,250,0.5); }

.tcard-name { font-size: 14px; font-weight: 700; }
.tcard-role { font-size: 12px; color: var(--muted); margin-top: 2px; }

.tcard-type-pill {
  margin-left: auto; flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.parent-pill  { background: rgba(0,230,118,0.10); color: var(--green); border: 1px solid rgba(0,230,118,0.2); }
.educator-pill { background: rgba(167,139,250,0.12); color: var(--purple); border: 1px solid rgba(167,139,250,0.22); }
.tutor-pill   { background: rgba(56,189,248,0.10); color: var(--blue); border: 1px solid rgba(56,189,248,0.2); }

@media (max-width: 1080px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}


/* =========================================
   SURVEY VALIDATION
   ========================================= */
.survey-section { background: var(--bg); }

.survey-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 36px;
}

.survey-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
.survey-panel::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.panel-parents::before  { background: linear-gradient(90deg, var(--green), #00c8ff); }
.panel-teachers::before { background: linear-gradient(90deg, var(--blue), #6366f1); }
.panel-kids::before     { background: linear-gradient(90deg, var(--purple), #f472b6); }

.survey-panel-header {
  display: flex; align-items: center; gap: 14px;
  padding: 24px 24px 0;
}
.survey-icon { font-size: 28px; }
.survey-group { font-size: 16px; font-weight: 800; color: var(--text); }
.survey-count { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Headline stat */
.survey-headline-stat {
  display: flex; flex-direction: column; gap: 6px;
  margin: 20px 24px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  border: 1px solid var(--border);
}
.shs-num {
  font-size: 52px; font-weight: 900;
  letter-spacing: -0.04em; line-height: 1;
}
.shs-num.green  { color: var(--green); }
.shs-num.blue   { color: var(--blue); }
.shs-num.purple { color: var(--purple); }
.shs-text { font-size: 13px; color: var(--text2); line-height: 1.55; }

/* Bars */
.survey-bars {
  display: flex; flex-direction: column; gap: 14px;
  padding: 0 24px; flex: 1;
}
.survey-bar-item {}
.sbi-label {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 8px; margin-bottom: 6px;
}
.sbi-label > span:first-child { font-size: 12px; color: var(--text2); line-height: 1.45; flex: 1; }
.sbi-pct { font-size: 12px; font-weight: 800; color: var(--green); white-space: nowrap; }
.low-pct { color: #ef4444 !important; }

.sbi-track {
  height: 6px; background: rgba(255,255,255,0.06);
  border-radius: 3px; overflow: hidden;
}
.sbi-fill {
  height: 100%; width: 0%;
  background: var(--green); border-radius: 3px;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.sbi-fill-blue   { background: var(--blue); }
.sbi-fill-purple { background: var(--purple); }
.sbi-fill-low    { background: #ef4444; }

/* Trigger bar animation when grid scrolls into view */
.reveal.visible .sbi-fill { width: var(--pct); }

/* Quote */
.survey-quote {
  margin: 20px 24px 24px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
  border-left: 3px solid var(--border2);
  border-radius: 0 10px 10px 0;
  font-size: 13px; color: var(--muted);
  font-style: italic; line-height: 1.6;
}
.panel-parents  .survey-quote { border-left-color: rgba(0,230,118,0.4); }
.panel-teachers .survey-quote { border-left-color: rgba(56,189,248,0.4); }
.panel-kids     .survey-quote { border-left-color: rgba(167,139,250,0.4); }
.survey-quote cite {
  display: block; margin-top: 8px;
  font-size: 11px; font-style: normal;
  font-weight: 600; color: var(--muted); opacity: 0.7;
}

/* Footer attribution */
.survey-footer {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 12px; color: var(--muted);
  text-align: center;
}
.survey-footer svg { flex-shrink: 0; color: var(--green); }

@media (max-width: 1080px) {
  .survey-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto 36px; }
}

/* =========================================
   PRICING
   ========================================= */
.pricing-section { background: var(--bg); }

.pricing-layout {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 24px; max-width: 980px; margin: 0 auto;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid rgba(0,230,118,0.22);
  border-radius: 22px; padding: 38px;
  box-shadow: 0 0 80px rgba(0,230,118,0.06);
}

/* Founding member card overrides */
.founding-card {
  background: linear-gradient(160deg, rgba(0,230,118,0.06) 0%, var(--surface) 50%);
  border-color: rgba(0,230,118,0.35);
  box-shadow: 0 0 100px rgba(0,230,118,0.10), 0 0 0 1px rgba(0,230,118,0.08);
  position: relative;
  overflow: hidden;
}
.founding-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), #00c8ff, var(--green));
}

.founding-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; gap: 10px;
}
.pricing-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  background: var(--green-dim);
  border: 1px solid rgba(0,230,118,0.2);
  border-radius: 999px;
  font-size: 12px; color: var(--green); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.founding-badge svg { flex-shrink: 0; }
.spots-badge {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: rgba(245,158,11,0.10);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 999px;
  font-size: 11px; font-weight: 700; color: #f59e0b;
  white-space: nowrap;
}
.spots-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #f59e0b;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Free price block */
.founding-price-block { margin-bottom: 14px; }
.founding-free-label {
  font-size: 80px; font-weight: 900; color: var(--green);
  letter-spacing: -0.05em; line-height: 1; margin-bottom: 4px;
}
.founding-duration {
  font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 6px;
}
.founding-then {
  font-size: 13px; color: var(--muted);
}

.founding-saving {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  background: rgba(0,230,118,0.07);
  border: 1px solid rgba(0,230,118,0.15);
  border-radius: 10px;
  font-size: 13px; color: var(--green); font-weight: 500;
  margin-bottom: 26px;
}
.founding-saving svg { flex-shrink: 0; }


.pricing-list { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; }
.pricing-list li { display: flex; align-items: center; gap: 11px; font-size: 15px; color: var(--text2); }
.chk { color: var(--green); font-weight: 700; font-size: 16px; flex-shrink: 0; }
.pricing-note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }

/* Comparison card */
.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px; padding: 32px;
}
.compare-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 24px; }

.compare-table { display: flex; flex-direction: column; gap: 2px; border-radius: 12px; overflow: hidden; }
.compare-header {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 2px; padding: 10px 14px;
}
.compare-header span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.col-mizasi { color: var(--green) !important; }

.compare-row-item {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.compare-row-item > span {
  background: var(--bg3);
  padding: 11px 14px;
  font-size: 13px;
}
.compare-row-item > span:first-child { color: var(--text2); font-weight: 500; }
.val-green { color: var(--green) !important; font-weight: 600 !important; background: rgba(0,230,118,0.06) !important; }
.val-muted  { color: var(--muted) !important; }

.compare-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding: 12px 14px;
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.15);
  border-radius: 10px;
  font-size: 13px; color: var(--muted);
}
.compare-footer-val { font-weight: 700; color: #ef4444; font-size: 14px; }

/* =========================================
   FINAL CTA
   ========================================= */
.cta-section {
  position: relative; overflow: hidden;
  padding: 120px 0;
  background: var(--bg2);
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-blob {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
}
.cta-blob-1 {
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(0,230,118,0.09) 0%, transparent 70%);
}
.cta-blob-2 {
  width: 500px; height: 500px;
  bottom: -200px; right: -100px;
  background: radial-gradient(circle, rgba(56,189,248,0.07) 0%, transparent 70%);
}
.cta-inner {
  position: relative; z-index: 1;
  max-width: 640px; margin: 0 auto; text-align: center;
}
.cta-inner h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900; margin-bottom: 16px;
}
.cta-inner p {
  font-size: 17px; color: var(--text2);
  line-height: 1.7; margin-bottom: 36px;
}
.waitlist-form-cta {
  max-width: 500px; margin: 0 auto;
}
.cta-section .success-msg { max-width: 500px; margin: 0 auto; }
.cta-tagline {
  margin-top: 32px;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--green); opacity: 0.8;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p  { font-size: 14px; color: var(--muted); margin-top: 14px; max-width: 34ch; line-height: 1.65; }
.footer-tagline  { font-size: 12px !important; color: var(--green) !important; font-weight: 700 !important; letter-spacing: 0.06em; margin-top: 8px !important; }
.footer-col h4   { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; color: var(--text); }
.footer-col a    { display: block; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 13px; color: var(--muted); }

/* =========================================
   SCROLL REVEAL ANIMATIONS
   ========================================= */
.fade-up {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.36s; }

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   KEYFRAMES
   ========================================= */
@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(28px,-18px) scale(1.03); }
  66%      { transform: translate(-18px,14px) scale(0.97); }
}
@keyframes gradShift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
@keyframes pulse {
  0%,100% { opacity:1; transform: scale(1); }
  50%     { opacity:0.45; transform: scale(0.75); }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1080px) {
  .hero .container  { grid-template-columns: 1fr; gap: 48px; justify-items: center; }
  .hero-content     { max-width: 640px; width: 100%; text-align: center; }
  .hero-badge       { margin: 0 auto 26px; display: inline-flex; }
  .hero-sub         { margin-left: auto; margin-right: auto; }
  .hero-form-wrap   { display: flex; flex-direction: column; align-items: stretch; width: 100%; max-width: 480px; margin: 0 auto; }
  .waitlist-form    { width: 100%; max-width: 100%; }
  .success-msg      { margin: 0 auto; }
  .hero-visual      { justify-content: center; }
  .hero-card        { max-width: 480px; width: 100%; }

  .subjects-grid    { grid-template-columns: repeat(2,1fr); }
  .features-grid    { grid-template-columns: repeat(2,1fr); }
  .pricing-layout   { grid-template-columns: 1fr; max-width: 540px; }
}

@media (max-width: 768px) {
  .nav-links        { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: rgba(3,10,20,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 16px 24px 20px; gap: 4px; }
  .nav-links.open   { display: flex; }
  .nav-links a      { padding: 10px 12px; font-size: 16px; }
  .mobile-menu-btn  { display: flex; }

  /* Hide app mockup card on mobile — hero should be headline + CTA only */
  .hero-visual      { display: none; }

  /* Shrink blobs so they don't push layout wide */
  .blob-1 { width: 320px; height: 320px; top: -100px; left: -80px; }
  .blob-2 { width: 260px; height: 260px; right: -80px; }
  .blob-3 { width: 220px; height: 220px; }

  .features-grid    { grid-template-columns: 1fr; }
  .footer-inner     { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom    { flex-direction: column; gap: 8px; text-align: center; }
  .trust-right      { display: none; }

  .waitlist-form            { flex-direction: column; width: 100%; max-width: 100%; }
  .waitlist-form .btn       { width: 100%; justify-content: center; }
  .email-input              { width: 100%; }
  .hero-form-wrap           { width: 100%; }

  /* Hero card full width on mobile */
  .hero-card                { max-width: 100%; }

  .section { padding: 64px 0; }
}

@media (max-width: 520px) {
  .container        { padding: 0 16px; }

  .hero-badge       { font-size: 11px; padding: 6px 12px; }

  /* Hero form — constrain everything to viewport */
  .waitlist-form    { max-width: calc(100vw - 32px); }
  .email-input      { min-width: 0; }

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

  /* Pricing cards — reduce inner padding so table fits */
  .pricing-card         { padding: 24px 20px; }
  .compare-card         { padding: 20px 16px; }
  .founding-free-label  { font-size: 60px; }
  .compare-footer       { flex-direction: column; align-items: flex-start; gap: 4px; }

  /* Compare table — remove min-width, let grid shrink naturally */
  .compare-table    { overflow-x: visible; }
  .compare-header,
  .compare-row-item { grid-template-columns: 80px 1fr 1fr; min-width: unset; }
  .compare-header span,
  .compare-row-item > span { font-size: 11px; padding: 9px 8px; }

  /* First-callout pillars stack */
  .first-pillars    { grid-template-columns: 1fr; }

  /* Founder kids: narrower bar labels */
  .kid-bar-row      { grid-template-columns: 75px 1fr 30px; }
}

/* =========================================
   WORLD'S FIRST CALLOUT
   ========================================= */
.first-callout {
  background: var(--bg2);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.first-callout::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,230,118,0.3), transparent);
}
.first-callout::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,230,118,0.3), transparent);
}

.first-callout-inner { text-align: center; }

.first-callout-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(0,230,118,0.12), rgba(167,139,250,0.10));
  border: 1px solid rgba(0,230,118,0.25);
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  color: var(--green);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.first-callout-badge svg { color: var(--green); flex-shrink: 0; }

.first-callout-inner h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900; color: var(--text);
  margin-bottom: 18px; line-height: 1.12;
}
.first-callout-inner > p {
  font-size: 17px; color: var(--text2);
  max-width: 60ch; margin: 0 auto 52px;
  line-height: 1.7;
}

.first-pillars {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; max-width: 900px; margin: 0 auto;
}
.first-pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 30px 26px;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
  position: relative; overflow: hidden;
}
.first-pillar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--purple));
}
.first-pillar:hover { border-color: rgba(0,230,118,0.2); transform: translateY(-3px); }
.pillar-icon { font-size: 32px; margin-bottom: 14px; }
.first-pillar h3 { font-size: 17px; font-weight: 700; margin-bottom: 9px; }
.first-pillar p  { font-size: 14px; color: var(--text2); line-height: 1.65; }

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

/* =========================================
   FOUNDER STORY
   ========================================= */
.founder-section { background: var(--bg); }

.founder-inner {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 64px; align-items: start;
}

.founder-story .section-tag { margin-bottom: 14px; }
.founder-story h2 {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 900; margin-bottom: 28px;
}

.founder-narrative { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.founder-narrative p {
  font-size: 16px; color: var(--text2); line-height: 1.75;
}
.founder-narrative em  { color: var(--text); font-style: italic; }
.founder-narrative strong { color: var(--green); font-weight: 700; }

.founder-sig {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 14px;
}
.founder-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--green), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 20px; color: #030a14;
}
.founder-name  { font-size: 16px; font-weight: 700; }
.founder-title { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Kid profile cards */
.founder-kids { display: flex; flex-direction: column; gap: 20px; }

.kid-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 24px;
  transition: border-color 0.2s;
}
.kid-card:hover { border-color: var(--border2); }

.kid-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.kid-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 17px;
}
.kid-a { background: linear-gradient(135deg, #00e676, #00b4d8); color: #030a14; }
.kid-b { background: linear-gradient(135deg, #a78bfa, #38bdf8); color: #030a14; }
.kid-name { font-weight: 700; font-size: 15px; }
.kid-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }

.kid-bars { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.kid-bar-row {
  display: grid; grid-template-columns: 110px 1fr 36px;
  align-items: center; gap: 10px;
}
.kid-bar-row > span:first-child { font-size: 12px; color: var(--text2); }
.kid-bar-track {
  height: 6px; background: rgba(255,255,255,0.06);
  border-radius: 3px; overflow: hidden;
}
.kid-bar-fill { height: 100%; background: var(--green); border-radius: 3px; transition: width 1s ease; }
.kid-bar-fill.weak { background: rgba(100,116,139,0.4); }
.kid-pct { font-size: 11px; font-weight: 700; text-align: right; }
.strong   { color: var(--green); }
.weak-pct { color: var(--muted); }

.kid-insight {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 14px;
  background: rgba(0,230,118,0.05);
  border: 1px solid rgba(0,230,118,0.12);
  border-radius: 10px;
}
.ki-label { font-size: 10px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.1em; }
.ki-text  { font-size: 13px; color: var(--text2); line-height: 1.5; }

.founder-conclusion {
  padding: 20px 24px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 15px; color: var(--text2); line-height: 1.65; text-align: center;
}
.founder-conclusion strong { color: var(--text); }

@media (max-width: 960px) {
  .founder-inner { grid-template-columns: 1fr; gap: 40px; }
  .kid-bar-row   { grid-template-columns: 90px 1fr 34px; }
}

@media (max-width: 520px) {
  .first-callout-inner h2 { font-size: 26px; }
  .kid-bar-row { grid-template-columns: 80px 1fr 30px; }
}

/* =========================================
   AI IN ACTION CALLOUT
   ========================================= */
.ai-example-section {
  background: var(--bg);
  padding: 0 0 80px;
}

.ai-example-inner {
  background: linear-gradient(135deg, rgba(0,230,118,0.06) 0%, rgba(167,139,250,0.05) 100%);
  border: 1px solid rgba(0,230,118,0.18);
  border-radius: 24px;
  padding: 56px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ai-example-inner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), var(--purple), transparent);
}

.ai-example-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px;
  background: rgba(0,230,118,0.1);
  border: 1px solid rgba(0,230,118,0.22);
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  color: var(--green); text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.ai-example-quote {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700; color: var(--text);
  line-height: 1.4; letter-spacing: -0.02em;
  max-width: 720px; margin: 0 auto 36px;
  border: none; padding: 0;
}
.ai-example-quote::before,
.ai-example-quote::after { content: none; }

.ai-example-chips {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 28px;
}
.ai-chip {
  display: flex; flex-direction: column; gap: 3px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 12px; padding: 10px 18px;
  text-align: center;
}
.ai-chip-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted);
}
.ai-chip-val {
  font-size: 14px; font-weight: 700; color: var(--text);
}
.ai-chip-val.warn { color: #f59e0b; }
.ai-chip-arrow {
  font-size: 18px; color: var(--green); opacity: 0.6; flex-shrink: 0;
}

.ai-example-sub {
  font-size: 15px; color: var(--muted);
}

@media (max-width: 768px) {
  .ai-example-inner { padding: 36px 24px; }
  .ai-chip-arrow { display: none; }
  .ai-example-chips { gap: 8px; }
}

@media (max-width: 520px) {
  .ai-example-inner { padding: 28px 18px; border-radius: 16px; }
  .ai-chip { padding: 9px 14px; }
}

/* =========================================
   YEAR GROUP JOURNEY
   ========================================= */
.journey-section { background: var(--bg2); }

.journey-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 8px; align-items: start;
}

.journey-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 28px 24px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.journey-card:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.28);
}
.journey-card-active {
  border-color: rgba(0,230,118,0.28);
  box-shadow: 0 0 48px rgba(0,230,118,0.07);
}
.journey-card-active::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--green), #00c8ff);
  border-radius: 20px 20px 0 0;
}
.journey-card-final {
  border-color: rgba(167,139,250,0.28);
  box-shadow: 0 0 48px rgba(167,139,250,0.06);
}
.journey-card-final::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--purple), #f59e0b);
  border-radius: 20px 20px 0 0;
}

.journey-year {
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 2px;
}
.journey-card-final .journey-year { color: var(--purple); }

.journey-age {
  font-size: 11px; color: var(--muted); margin-bottom: 16px;
}
.journey-icon { font-size: 32px; margin-bottom: 12px; }
.journey-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.journey-card p  { font-size: 13px; color: var(--text2); line-height: 1.65; margin-bottom: 14px; }

.journey-list {
  list-style: none; display: flex; flex-direction: column; gap: 7px;
}
.journey-list li {
  font-size: 12px; color: var(--muted);
  padding-left: 14px; position: relative; line-height: 1.5;
}
.journey-list li::before {
  content: '·'; position: absolute; left: 0;
  color: var(--green); font-weight: 900;
}

/* Connector between cards */
.journey-connector {
  display: flex; align-items: center; justify-content: center;
  padding-top: 80px; color: var(--green);
}
.jc-line { display: none; }
.jc-arrow { font-size: 20px; opacity: 0.5; }

/* CTA below journey */
.journey-cta {
  text-align: center; margin-top: 52px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.journey-cta p { font-size: 17px; color: var(--text2); }

@media (max-width: 1080px) {
  .journey-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .journey-connector { display: none; }
}
@media (max-width: 640px) {
  .journey-grid { grid-template-columns: 1fr; }
}
