/* ======================================
   QuizTime Manager Landing Page Styles
   Parent-focused, iOS-first redesign
   ====================================== */

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

html {
  scroll-behavior: smooth;
}

/* CSS Variables */
:root {
  /* Primary — brand blue (#0B63CE) into deep navy (#073B82) */
  --primary-50: #ebf3fc;
  --primary-100: #d7e7f9;
  --primary-200: #aecff4;
  --primary-300: #7db2ec;
  --primary-400: #4a92e1;
  --primary-500: #1e78d8;
  --primary-600: #0b63ce;
  --primary-700: #0950a9;
  --primary-800: #073b82;
  --primary-900: #052c61;

  /* Accent — cyan (#20C7E8) for energy & CTAs */
  --accent-100: #d9f6fc;
  --accent-300: #7ddff2;
  --accent-400: #20c7e8;
  --accent-500: #12aecb;
  --accent-600: #0e8ba3;

  /* Success green */
  --success-100: #dcfce7;
  --success-400: #4ade80;
  --success-500: #22c55e;
  --success-600: #16a34a;
  --success-700: #15803d;

  /* Cool neutrals */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Page backgrounds */
  --cream: #ffffff;
  --cream-deep: #f2f7fd;

  /* Radii */
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(7, 59, 130, 0.06);
  --shadow-md: 0 4px 12px rgba(7, 59, 130, 0.08);
  --shadow-lg: 0 12px 32px rgba(7, 59, 130, 0.12);
  --shadow-xl: 0 24px 56px rgba(7, 59, 130, 0.18);

  --nav-height: 72px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ======================================
   Buttons
   ====================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: #fff;
  box-shadow: 0 6px 20px rgba(11, 99, 206, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(11, 99, 206, 0.45);
}

.btn-secondary {
  background: #fff;
  color: var(--primary-700);
  border-color: var(--primary-200);
  box-shadow: var(--shadow-sm);
}

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

/* CTA-section variants (on dark background) */
.btn-cta {
  background: var(--accent-400);
  color: var(--primary-900);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.btn-cta:hover {
  background: var(--accent-300);
  transform: translateY(-2px);
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ======================================
   Navigation
   ====================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
}

/* Status banners — active incidents flagged for the landing page sit above
   the nav; the navbar switches to sticky so the banners scroll away while
   the nav stays pinned. */
.status-banners {
  position: relative;
  z-index: 101;
}

.status-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem 0.75rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #fff;
  text-align: center;
}

.status-banner-outage { background: #b91c1c; }
.status-banner-degraded,
.status-banner-maintenance { background: #b45309; }
.status-banner-informational { background: var(--primary-700); }

.status-banner-link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.status-banner-link:hover { opacity: 0.85; }

.has-status-banners .navbar { position: sticky; }
.has-status-banners .hero { padding-top: 4rem; }

.nav-container {
  max-width: 1160px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--gray-900);
}

.brand-icon {
  height: 1.75rem;
  width: auto;
  display: block;
}
.brand-accent { color: var(--primary-600); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links > a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.15s ease;
}

.nav-links > a:hover { color: var(--primary-700); }

.nav-btn {
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.nav-btn-secondary {
  color: var(--primary-700) !important;
  border: 2px solid var(--primary-200);
}

.nav-btn-secondary:hover { border-color: var(--primary-400); }

.nav-btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(11, 99, 206, 0.3);
}

.nav-btn-primary:hover {
  box-shadow: 0 6px 18px rgba(11, 99, 206, 0.4);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--gray-700);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ======================================
   Hero
   ====================================== */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + 4rem) 0 7rem;
  background:
    radial-gradient(1000px 600px at 85% -10%, var(--primary-100) 0%, transparent 60%),
    radial-gradient(800px 500px at -10% 40%, var(--accent-100) 0%, transparent 55%),
    var(--cream);
  overflow: hidden;
}

.hero-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--primary-200);
  color: var(--primary-800);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(120deg, var(--primary-800) 10%, var(--primary-600) 50%, var(--accent-500) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.1875rem;
  color: var(--gray-600);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-platform-note {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
}

.platform-live {
  color: var(--success-700);
  font-weight: 600;
}

.platform-note-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  opacity: 0.75;
}

.platform-note-icon:not(:first-child) {
  margin-left: 0.375rem;
}

.platform-dot {
  margin: 0 0.5rem;
  color: var(--gray-300);
}

.platform-soon { font-weight: 500; }

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  background: #fff;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
}

.stat-number {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--primary-700);
  line-height: 1.2;
}

.stat-unit {
  font-size: 0.875rem;
  font-weight: 700;
  margin-left: 1px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 2.25rem;
  background: var(--gray-200);
}

/* Hero visual — phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-image-container {
  position: relative;
  padding: 1rem 2.5rem;
}

.device-mockup.phone-mockup {
  position: relative;
  width: 300px;
  background: var(--gray-900);
  border-radius: 2.5rem;
  padding: 0.625rem;
  box-shadow: var(--shadow-xl);
  transform: rotate(2deg);
}

.device-notch {
  position: absolute;
  top: 0.625rem;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 22px;
  background: var(--gray-900);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.device-screen {
  background: linear-gradient(180deg, var(--primary-50) 0%, #fff 40%);
  border-radius: 2rem;
  overflow: hidden;
  min-height: 480px;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2.25rem 1rem 0.875rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--primary-900);
}

.mockup-lock { font-size: 1rem; }

.mockup-content {
  padding: 0.5rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.streak-mock {
  background: #fff;
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.streak-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.streak-pips {
  display: flex;
  justify-content: center;
  gap: 0.3125rem;
  margin-bottom: 0.5rem;
}

.pip {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gray-200);
}

.pip.done { background: var(--success-500); }

.pip.current {
  background: var(--accent-400);
  box-shadow: 0 0 0 3px var(--accent-100);
  animation: pulse 1.6s ease-in-out infinite;
}

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

.streak-count {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--success-700);
}

.quiz-card-mock {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.quiz-emoji {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.375rem;
}

.quiz-question {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.875rem;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.quiz-option {
  padding: 0.5rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.quiz-option.correct {
  background: var(--success-100);
  border-color: var(--success-500);
  color: var(--success-700);
}

/* Floating cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}

.card-1 { top: 8%; left: -3rem; animation-delay: 0s; }
.card-2 { top: 42%; right: -4.5rem; animation-delay: 1.5s; }
.card-3 { bottom: 8%; left: -3.5rem; animation-delay: 3s; }

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

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  color: #fff;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ======================================
   Problem / Solution
   ====================================== */
.problem-solution {
  background: #fff;
  padding: 4.5rem 0 5rem;
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.ps-card {
  padding: 2rem;
  border-radius: var(--radius-2xl);
  align-self: stretch;
}

.ps-problem {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.ps-solution {
  background: linear-gradient(160deg, var(--primary-50), #fff);
  border: 1px solid var(--primary-200);
  box-shadow: var(--shadow-md);
}

.ps-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.ps-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.ps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ps-list li {
  position: relative;
  padding-left: 1.625rem;
  color: var(--gray-600);
  font-size: 0.9688rem;
}

.ps-problem .ps-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--gray-400);
  font-weight: 700;
}

.ps-solution .ps-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-600);
  font-weight: 700;
}

.ps-arrow {
  color: var(--primary-400);
  display: flex;
}

/* ======================================
   Section headers
   ====================================== */
.section-header {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-block;
  background: var(--primary-100);
  color: var(--primary-800);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3125rem 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-badge.badge-light {
  background: rgba(255, 255, 255, 0.16);
  color: var(--accent-300);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0938rem;
  color: var(--gray-600);
}

/* ======================================
   How It Works
   ====================================== */
.how-it-works {
  background: var(--cream-deep);
  padding: 5.5rem 0;
}

.steps-container {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.75rem;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 2rem 2.25rem;
  width: 100%;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.step-card.step-final {
  border: 1px solid var(--primary-200);
  background: linear-gradient(160deg, #fff, var(--primary-50));
}

.step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(11, 99, 206, 0.3);
}

.step-content h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.375rem;
}

.step-content p {
  color: var(--gray-600);
  font-size: 0.9688rem;
}

.step-visual { flex-shrink: 0; }

.step-mockup {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mockup-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
}

.settings-mockup {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
}

.toggle {
  width: 34px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--gray-300);
  position: relative;
  flex-shrink: 0;
}

.toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease;
}

.toggle.on { background: var(--success-500); }
.toggle.on::after { transform: translateX(14px); }

.celebration-visual {
  display: flex;
  gap: 0.375rem;
  font-size: 1.75rem;
}

.celebration-emoji {
  animation: bounce 2s ease-in-out infinite;
}

.celebration-emoji:nth-child(2) { animation-delay: 0.2s; }
.celebration-emoji:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
}

.step-connector {
  color: var(--primary-300);
  padding: 0.375rem 0;
}

/* ======================================
   Enforcement callout
   ====================================== */
.enforcement {
  background: var(--cream-deep);
  padding: 0 0 5.5rem;
}

.enforcement-card {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  background: var(--gray-900);
  color: #fff;
  border-radius: var(--radius-2xl);
  padding: 2.5rem 2.75rem;
  box-shadow: var(--shadow-xl);
}

.enforcement-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.enforcement-text h3 {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 0.625rem;
  color: var(--accent-300);
}

.enforcement-text p {
  color: var(--gray-300);
  font-size: 1rem;
}

/* ======================================
   Features
   ====================================== */
.features {
  background: #fff;
  padding: 5.5rem 0;
}

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

.feature-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 1.875rem 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.feature-card.feature-highlight {
  background: linear-gradient(160deg, var(--primary-50), #fff);
  border-color: var(--primary-300);
}

.feature-icon-wrapper {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
  box-shadow: var(--shadow-sm);
}

.feature-icon { font-size: 1.5rem; }

.feature-card h3 {
  font-size: 1.0938rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.feature-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-600);
  text-decoration: none;
}

.feature-link:hover {
  color: var(--primary-800);
  text-decoration: underline;
}

.feature-tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--accent-400);
  color: var(--gray-900);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
}

/* ======================================
   Magic Builder spotlight
   ====================================== */
.magic-builder {
  background:
    radial-gradient(900px 500px at 110% 0%, rgba(32, 199, 232, 0.22) 0%, transparent 55%),
    linear-gradient(160deg, var(--primary-900), var(--primary-800));
  color: #fff;
  padding: 5.5rem 0;
}

.mb-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.mb-content .section-title {
  color: #fff;
  text-align: left;
}

.mb-content > p {
  color: var(--primary-100);
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
}

.mb-prompt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}

.mb-prompt-icon { font-size: 1.375rem; }

.mb-prompt-text {
  font-weight: 600;
  font-size: 1.0313rem;
  color: #fff;
  font-style: italic;
}

.mb-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
}

.mb-steps li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  color: var(--primary-100);
  font-size: 0.9844rem;
}

.mb-step-icon { flex-shrink: 0; }

.mb-note {
  color: var(--accent-300);
  font-weight: 600;
  font-size: 1rem;
}

.mb-pipeline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
  backdrop-filter: blur(6px);
}

.mb-pipeline-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.125rem;
  box-shadow: var(--shadow-md);
}

.mb-pipe-icon { font-size: 1.375rem; flex-shrink: 0; }

.mb-pipeline-step div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.mb-pipeline-step strong {
  color: var(--gray-900);
  font-size: 0.9375rem;
}

.mb-pipeline-step span:not(.mb-pipe-icon):not(.mb-pipe-status) {
  color: var(--gray-500);
  font-size: 0.8125rem;
}

.mb-pipe-status {
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  flex-shrink: 0;
}

.mb-pipe-status.done {
  background: var(--success-100);
  color: var(--success-700);
}

.mb-pipe-status.ready {
  background: var(--accent-100);
  color: var(--accent-600);
}

.mb-pipeline-line {
  width: 2px;
  height: 1.125rem;
  background: rgba(255, 255, 255, 0.3);
  margin-left: 2.375rem;
}

/* ======================================
   Roadmap / Coming Soon
   ====================================== */
.roadmap {
  background: var(--cream);
  padding: 5.5rem 0;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.roadmap-card {
  background: #fff;
  border: 1px dashed var(--primary-300);
  border-radius: var(--radius-xl);
  padding: 1.875rem 1.75rem;
  text-align: center;
}

.roadmap-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.875rem;
}

.roadmap-card h3 {
  font-size: 1.0938rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.roadmap-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.roadmap-status {
  display: inline-block;
  background: var(--primary-100);
  color: var(--primary-800);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.roadmap-signup {
  max-width: 30rem;
  margin: 0 auto;
  text-align: center;
}

.roadmap-signup > p {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.625rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1.125rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--gray-200);
  background: #fff;
  color: var(--gray-800);
  outline: none;
  transition: border-color 0.15s ease;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--primary-500);
}

.newsletter-message {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  min-height: 1.5rem;
}

.newsletter-message.success { color: var(--success-600); }
.newsletter-message.error { color: #dc2626; }

/* ======================================
   FAQ
   ====================================== */
.faq {
  background: #fff;
  padding: 5.5rem 0;
}

.faq-grid {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.faq-item {
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item[open] {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.125rem 3rem 1.125rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-900);
  position: relative;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.375rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--primary-500);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-600);
  font-size: 0.9688rem;
}

.faq-item a {
  color: var(--primary-700);
  font-weight: 600;
}

/* ======================================
   Final CTA
   ====================================== */
.final-cta {
  background:
    radial-gradient(800px 400px at 20% 120%, rgba(32, 199, 232, 0.22) 0%, transparent 55%),
    linear-gradient(150deg, var(--primary-800), var(--primary-900));
  color: #fff;
  padding: 5.5rem 0;
}

.cta-content {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-content > p {
  color: var(--primary-100);
  font-size: 1.0938rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cta-note {
  font-size: 0.875rem;
  color: var(--primary-200);
}

/* ======================================
   Footer
   ====================================== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-logo .brand-accent { color: var(--primary-400); }

.footer-brand p {
  font-size: 0.9375rem;
  max-width: 20rem;
}

.footer-links h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.15s ease;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

/* ======================================
   Responsive
   ====================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 4.5rem;
    text-align: center;
  }

  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }

  .hero-visual { order: 2; }
  .card-1 { left: 0; }
  .card-2 { right: 0; }
  .card-3 { left: 0.5rem; }

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

  .mb-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mb-content .section-title { text-align: left; }

  .roadmap-grid { grid-template-columns: 1fr; max-width: 30rem; margin-left: auto; margin-right: auto; }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-links > a {
    padding: 0.875rem 0.25rem;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-links .nav-btn {
    margin-top: 0.75rem;
    text-align: center;
    justify-content: center;
    display: flex;
    border-bottom: none;
  }

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

  .hero { padding: calc(var(--nav-height) + 2.5rem) 0 6rem; }

  /* With banners the navbar is sticky (in flow), so anchor the mobile menu
     to the navbar itself instead of the viewport and drop the fixed-nav
     hero offset. */
  .has-status-banners .nav-links { position: absolute; top: var(--nav-height); }
  .has-status-banners .hero { padding-top: 2.5rem; }

  .hero-stats {
    display: flex;
    width: 100%;
    justify-content: space-around;
    gap: 0.75rem;
    padding: 1rem;
  }

  .ps-grid { grid-template-columns: 1fr; }
  .ps-arrow { transform: rotate(90deg); justify-content: center; }

  .step-card {
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
  }

  .step-visual { display: none; }

  .enforcement-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .device-mockup.phone-mockup { width: 260px; }
  .device-screen { min-height: 430px; }

  .floating-card { font-size: 0.75rem; padding: 0.5rem 0.75rem; }
  .card-1 { left: -0.5rem; }
  .card-2 { right: -0.5rem; }
  .card-3 { left: -0.25rem; }

  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }

  .cta-buttons { flex-direction: column; align-items: stretch; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .floating-card,
  .celebration-emoji,
  .pip.current {
    animation: none;
  }
}
