/* LevelUpAI — Design System v2 */
:root {
  --navy: #0B1F3A;
  --navy-deep: #061526;
  --teal: #0D9488;
  --teal-light: #14B8A6;
  --teal-soft: #CCFBF1;
  --slate: #334155;
  --slate-light: #64748B;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --white: #FFFFFF;
  --accent: #F59E0B;
  --success: #059669;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow: 0 4px 24px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 31, 58, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1120px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  color: var(--slate);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-light); }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--slate-light); }
.lead { font-size: 1.15rem; color: var(--slate); line-height: 1.7; }

/* ── Layout ── */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-gray { background: var(--gray-50); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.8); }
.section-teal { background: linear-gradient(135deg, var(--teal) 0%, #0F766E 100%); color: var(--white); }
.section-teal h2, .section-teal h3 { color: var(--white); }
.section-teal p { color: rgba(255,255,255,0.9); }

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2.5rem; }
.mt-4 { margin-top: 2.5rem; }

/* ── Scroll reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.reveal.reveal-delay-1 { transition-delay: 0.1s; }
.reveal.reveal-delay-2 { transition-delay: 0.2s; }
.reveal.reveal-delay-3 { transition-delay: 0.3s; }
.reveal.reveal-delay-4 { transition-delay: 0.4s; }
.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* ── Header / Nav ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 20px rgba(11,31,58,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  color: var(--slate);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--teal); font-weight: 600; }
.nav-cta {
  background: var(--navy) !important;
  color: white !important;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--teal) !important;
  color: white !important;
  transform: translateY(-1px);
}
.mobile-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  z-index: 110;
  -webkit-tap-highlight-color: transparent;
}
.mobile-toggle span {
  display: block;
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}
.mobile-toggle span:nth-child(1) { top: 14px; }
.mobile-toggle span:nth-child(2) { top: 21px; }
.mobile-toggle span:nth-child(3) { top: 28px; }
.mobile-toggle.active span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-toggle.active span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: white; }
.btn-primary:hover {
  background: var(--teal-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}
.btn-secondary { background: white; color: var(--navy); border: 2px solid var(--gray-200); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }
.btn-white { background: white; color: var(--navy); }
.btn-white:hover { background: var(--gray-100); color: var(--navy); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: white; color: var(--navy); border-color: white; }
.btn-lg { padding: 1.1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; border-radius: 7px; }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-danger { background: #FEE2E2; color: #DC2626; border: none; }
.btn-danger:hover { background: #DC2626; color: white; }
.btn-ghost { background: var(--gray-100); color: var(--slate); border: none; }
.btn-ghost:hover { background: var(--gray-200); color: var(--navy); }

/* ── Hero ── */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: white;
  padding: 6rem 0 5rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(13, 148, 136, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(15, 118, 110, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 148, 136, 0.18);
  border: 1px solid rgba(13, 148, 136, 0.4);
  color: var(--teal-light);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: pulse-badge 3s ease-in-out infinite;
}
.badge-dot { color: var(--teal-light); font-size: 0.6rem; animation: dot-glow-blink 1.2s ease-in-out infinite; }
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(13,148,136,0); }
  50% { box-shadow: 0 0 0 6px rgba(13,148,136,0.12); }
}
@keyframes dot-glow-blink {
  0%, 100% { 
    opacity: 1; 
    text-shadow: 0 0 8px rgba(20, 184, 166, 0.8), 0 0 12px rgba(20, 184, 166, 0.4); 
  }
  50% { 
    opacity: 0.3; 
    text-shadow: 0 0 2px rgba(20, 184, 166, 0.2); 
  }
}
.hero h1 { color: white; margin-bottom: 1.25rem; }
.hero h1 span { color: var(--teal-light); }
.hero-lead {
  font-size: 1.18rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  color: white;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero-stat span { font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.hero-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
  transform: perspective(800px) rotateY(-3deg);
  transition: transform 0.5s ease;
}
.hero-visual:hover { transform: perspective(800px) rotateY(0deg); }
.hero-visual img { width: 100%; height: 380px; object-fit: cover; }
.hero-card {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
  animation: slide-up-card 0.8s 0.6s both cubic-bezier(0.4,0,0.2,1);
}
@keyframes slide-up-card {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.hero-card-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.hero-card strong { color: var(--navy); display: block; font-size: 0.93rem; }
.hero-card span { color: var(--slate-light); font-size: 0.78rem; }

/* Hero text stagger animation */
.hero-badge { animation: fade-up 0.6s 0.1s both; }
/* Typewriter h1: no fade-up so characters appear cleanly */
.hero h1.typewriter-h1 { animation: none; opacity: 1; }
.hero-lead { animation: fade-up 0.6s 0.3s both; }
.hero .btn-group { animation: fade-up 0.6s 0.4s both; }
.hero-stats { animation: fade-up 0.6s 0.5s both; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* ── Typewriter ── */
.typewriter-h1 .tw-line {
  color: white;
}
.typewriter-h1 .tw-line.tw-accent {
  color: var(--teal-light);
}
.typewriter-cursor {
  display: inline-block;
  color: var(--teal-light);
  font-weight: 400;
  margin-left: 2px;
  animation: cursor-blink 0.85s step-end infinite;
  vertical-align: baseline;
}
.typewriter-cursor.done {
  /* keep blinking after typing finishes */
  animation: cursor-blink 0.85s step-end infinite;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Cards ── */
.card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
  height: 100%;
}
.card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: transform var(--transition);
}
.card:hover .card-icon { transform: scale(1.1) rotate(-5deg); }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; margin-bottom: 0; }
.card-tag {
  display: inline-block;
  background: var(--gray-100);
  color: var(--slate);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.card-tag.featured { background: var(--teal-soft); color: var(--teal); }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Staggered grid children */
.grid-stagger > * { animation: fade-up 0.5s both; }
.grid-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.grid-stagger > *:nth-child(2) { animation-delay: 0.15s; }
.grid-stagger > *:nth-child(3) { animation-delay: 0.25s; }
.grid-stagger > *:nth-child(4) { animation-delay: 0.35s; }
.grid-stagger > *:nth-child(5) { animation-delay: 0.45s; }
.grid-stagger > *:nth-child(6) { animation-delay: 0.55s; }

/* ── Feature list ── */
.feature-list { margin-top: 1.5rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--slate);
  font-size: 0.95rem;
}
.feature-list li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* Problem / contrast list: red X for negatives, teal ✓ for positives */
.feature-list-contrast { margin-top: 1.5rem; }
.feature-list-contrast li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--slate);
  font-size: 0.95rem;
}
.feature-list-contrast li.negative::before {
  content: "✕";
  color: #DC2626;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.feature-list-contrast li.positive::before {
  content: "✓";
  color: var(--teal);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.feature-list-contrast li.positive {
  color: var(--slate);
  margin-bottom: 1.35rem;
}
.feature-list-contrast li.negative {
  color: var(--slate-light);
}

/* Strikethrough for problem headline */
.strike {
  text-decoration: line-through;
  text-decoration-color: rgba(220, 38, 38, 0.7);
  text-decoration-thickness: 2px;
  color: var(--slate-light);
  font-weight: 600;
}
.headline-tick {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy);
}
.headline-tick .tick {
  color: var(--teal);
  font-weight: 800;
  font-size: 1.1em;
}

/* ── Journey ── */
.journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.journey::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(to right, var(--teal), var(--teal-light));
  z-index: 0;
  opacity: 0.4;
}
.journey-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 0.75rem;
}
.journey-num {
  width: 56px;
  height: 56px;
  background: white;
  border: 3px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--teal);
  margin: 0 auto 1rem;
  font-size: 1.1rem;
  transition: all var(--transition);
  box-shadow: 0 0 0 0 rgba(13,148,136,0.2);
}
.journey-step:hover .journey-num {
  background: var(--teal);
  color: white;
  box-shadow: 0 0 0 8px rgba(13,148,136,0.12);
}
.journey-step h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.journey-step p { font-size: 0.85rem; margin: 0; }

/* ── Track cards ── */
.track-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.track-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: rgba(13,148,136,0.4);
}
.track-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow);
}
.track-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--gray-100);
}
.track-header .duration {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  display: block;
}
.track-body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.track-body p { flex: 1; font-size: 0.9rem; }
.track-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  font-size: 0.78rem;
  color: var(--slate-light);
}
.track-meta span { display: flex; align-items: center; gap: 0.3rem; }

/* ── Table ── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--gray-200); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--gray-200); }
th {
  background: var(--gray-50);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
tr:last-child td { border-bottom: none; }
tr { transition: background var(--transition); }
tr:hover td { background: var(--gray-50); }

/* ── Quote block ── */
.quote-block {
  background: var(--gray-50);
  border-left: 4px solid var(--teal);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.75;
}
.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--slate-light);
  font-weight: 600;
}

/* ── CTA Banner ── */
.cta-banner {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy) 0%, #0F3D5C 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(13,148,136,0.2), transparent 60%);
  pointer-events: none;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: white; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 1.75rem; }

/* ── Footer ── */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer h4 {
  color: white;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer a { color: rgba(255,255,255,0.6); display: block; margin-bottom: 0.6rem; transition: color var(--transition), padding-left var(--transition); }
.footer a:hover { color: var(--teal-light); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-logo {
  font-weight: 800;
  color: white;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

/* ── Page header (inner pages) ── */
.page-header {
  background: var(--navy);
  color: white;
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 90% 50%, rgba(13, 148, 136, 0.2) 0%, transparent 60%);
}
.page-header .container { position: relative; }
.page-header h1 { color: white; margin-bottom: 0.75rem; animation: fade-up 0.55s 0.1s both; }
.page-header p { color: rgba(255,255,255,0.72); font-size: 1.12rem; max-width: 600px; margin: 0; animation: fade-up 0.55s 0.2s both; }
.page-header .pill { animation: fade-up 0.55s 0.05s both; }

/* ── Form ── */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: white;
  color: var(--navy);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ── Badge / Pill ── */
.pill {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pill-teal { background: var(--teal-soft); color: var(--teal); }
.pill-navy { background: rgba(11, 31, 58, 0.08); color: var(--navy); }

/* ADD THIS OVERRIDE FIX HERE */
.page-header .pill.pill-teal {
  background: var(--teal-soft);
  color: var(--teal);
}

/* ── Split / two-col ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-img img { width: 100%; height: 360px; object-fit: cover; transition: transform 0.6s ease; }
.split-img:hover img { transform: scale(1.03); }

/* ── Stat boxes ── */
.stat-box {
  text-align: center;
  padding: 1.5rem;
}
.stat-box strong {
  display: block;
  font-size: 2.4rem;
  color: var(--navy);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-box span { color: var(--slate-light); font-size: 0.88rem; }

/* ── Demo day cards ── */
.demo-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.demo-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.demo-card.featured { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.demo-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, #0F3460 100%);
  padding: 1.75rem;
  color: white;
  position: relative;
  overflow: hidden;
}
.demo-card-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 100% 0%, rgba(13,148,136,0.25), transparent);
}
.demo-card-header h3 { color: white; position: relative; margin-bottom: 0.25rem; }
.demo-card-header .duration { color: rgba(255,255,255,0.65); font-size: 0.82rem; font-weight: 500; position: relative; }
.demo-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

/* ── Outcomes section ── */
.outcome-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  align-items: flex-start;
}
.outcome-item:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.outcome-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.outcome-item h3 { margin-bottom: 0.35rem; }
.outcome-item p { font-size: 0.9rem; margin: 0; }

/* ── About page ── */
.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--teal-soft), var(--gray-100));
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 3px solid var(--gray-200);
  transition: border-color var(--transition);
}
.team-card:hover .team-avatar { border-color: var(--teal); }

/* ── Breadcrumb / Eyebrow ── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.eyebrow .line {
  flex: 1;
  max-width: 40px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { height: 280px; }
  .hero-visual { transform: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .split, .grid-2, .grid-3, .grid-4, .journey { grid-template-columns: 1fr; }
  .journey::before { display: none; }

  /*
   * backdrop-filter creates a containing block that clips position:fixed
   * children to the header height. Disable it on mobile so the menu can
   * cover the full viewport.
   */
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
  }

  .mobile-toggle { display: block; }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    max-width: 100vw;
    margin: 0;
    padding: 1.5rem 1.5rem 3rem;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: none;
    z-index: 99;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav-links.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .nav-links a {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--slate);
    padding: 1.15rem 0.35rem;
    width: 100%;
    border-bottom: 1px solid var(--gray-100);
    border-radius: 0;
    line-height: 1.4;
  }
  .nav-links a::after { display: none !important; }
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--teal);
  }
  .nav-links a.nav-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: none;
    border-radius: 10px;
    background: var(--navy) !important;
    color: white !important;
    font-weight: 600 !important;
    text-align: center;
  }
  .nav-links a.nav-cta:hover {
    background: var(--teal) !important;
    color: white !important;
  }

  /* Lock page scroll when menu is open */
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .hero { padding: 4rem 0 3.5rem; }
  .cta-banner { padding: 3rem 1.5rem; }
}

/* ─────────────────────────────────────────
   ADMIN (Command) Panel Styles
──────────────────────────────────────────── */
body.admin-body { background: var(--gray-50); }

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(160deg, var(--navy-deep) 0%, #0a2744 50%, #0d3d4a 100%);
}
.login-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  animation: fade-up 0.4s ease;
}
.login-card h1 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.login-card .sub { color: var(--slate-light); font-size: 0.9rem; margin-bottom: 1.75rem; }
.login-error { color: #dc2626; font-size: 0.9rem; margin-top: 0.75rem; display: none; }

.admin-shell { display: none; min-height: 100vh; flex-direction: column; }
.admin-shell.visible { display: flex; }

.admin-top {
  background: var(--navy);
  color: white;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.admin-top .brand {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-top .brand span {
  background: var(--teal);
  color: white;
  width: 28px; height: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
}
.admin-meta { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-left: 0.75rem; }
.admin-top-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.admin-top .btn { padding: 0.45rem 1rem; font-size: 0.85rem; }

.admin-body-wrap { display: flex; flex: 1; min-height: 0; }
.admin-sidebar {
  width: 220px;
  background: white;
  border-right: 1px solid var(--gray-200);
  padding: 1rem 0;
  flex-shrink: 0;
  overflow-y: auto;
  position: sticky;
  top: 53px;
  height: calc(100vh - 53px);
}
.admin-sidebar-section {
  padding: 0.5rem 1rem 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-light);
  margin-top: 0.5rem;
}
.admin-sidebar button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  padding: 0.65rem 1.25rem;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.15s;
}
.admin-sidebar button .sb-icon { font-size: 1rem; flex-shrink: 0; }
.admin-sidebar button:hover { background: var(--gray-50); color: var(--teal); }
.admin-sidebar button.active {
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 600;
  border-right: 3px solid var(--teal);
}

.admin-main { flex: 1; padding: 2rem 1.5rem 4rem; overflow-y: auto; max-width: 960px; }

.panel { display: none; }
.panel.active { display: block; animation: fade-up 0.25s ease; }
.panel-title { margin-bottom: 0.35rem; }
.panel-desc { color: var(--slate-light); margin-bottom: 1.75rem; font-size: 0.95rem; }

.admin-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.2s;
}
.admin-card:hover { box-shadow: var(--shadow); }
.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-100);
}
.admin-card-header h3 { font-size: 1rem; margin: 0; }
.admin-card-actions { display: flex; gap: 0.5rem; }

.row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.85rem; }
.row > * { flex: 1; min-width: 140px; }

.field label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
  color: var(--navy);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}
.field textarea { min-height: 80px; resize: vertical; }

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.toggle-row:last-child { border-bottom: none; }
.toggle-row .label { font-weight: 500; color: var(--slate); }
.toggle-row .hint { font-size: 0.78rem; color: var(--slate-light); margin-top: 0.1rem; }
.toggle-row-left { display: flex; flex-direction: column; }

.switch {
  position: relative;
  width: 44px; height: 24px;
  flex-shrink: 0;
}
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch .slider {
  position: absolute;
  inset: 0;
  background: var(--gray-200);
  border-radius: 24px;
  cursor: pointer;
  transition: 0.25s;
}
.switch .slider::before {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.25s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.switch input:checked + .slider { background: var(--teal); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch input:disabled + .slider { opacity: 0.5; cursor: not-allowed; }

.status-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  z-index: 999;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.status-bar.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.status-bar.ok { background: var(--success); }
.status-bar.err { background: #DC2626; }
.status-bar.warn { background: var(--accent); color: var(--navy); }

.section-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.75rem 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.section-divider::before, .section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.add-btn-row { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--gray-200); }

@keyframes simple-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}


@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 768px) {
  .admin-sidebar { display: none; }
  .admin-main { max-width: 100%; }
}
