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

:root {
  --blue:       #0284C7;
  --blue-dark:  #0369A1;
  --blue-light: #F0F9FF;
  --text:       #0F172A;
  --muted:      #64748B;
  --border:     #E2E8F0;
  --bg-light:   #F8FAFC;
  --white:      #FFFFFF;
  --radius:     12px;
  --shadow:     0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Shared Layout ── */
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 24px;
}

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

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 48px;
}

.bg-light { background: var(--bg-light); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,99,235,.35); }

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-secondary:hover { background: var(--blue-light); transform: translateY(-1px); }

.btn-full { width: 100%; justify-content: center; }

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}

#navbar.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 7px;
  font-size: .875rem !important;
  transition: background .15s, transform .15s !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .2s; }

/* ── Mobile Menu ── */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 16px 24px 24px;
  gap: 4px;
  box-shadow: var(--shadow-lg);
}

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

.mobile-link {
  padding: 12px 8px;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: var(--blue); }

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  gap: 64px;
}

.hero-content { flex: 1; }

.hero-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

#hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}

#hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { flex: 1; display: flex; justify-content: center; }

.hero-image-placeholder {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/3;
  background: var(--bg-light);
  border: 2px dashed var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.placeholder-icon svg { width: 72px; height: 72px; }

.placeholder-text {
  font-size: .85rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── Stats Strip ── */
.stats-strip {
  background: var(--blue);
  padding: 40px 24px;
}

.stats-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
  min-width: 0;
  flex: 1;
  text-align: center;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  white-space: nowrap;
}

.stat-label {
  font-size: .72rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.2);
}

/* ── About ── */
#about .about-text h2 { margin-top: 0; }
#about .about-text p { color: var(--muted); margin-bottom: 16px; line-height: 1.75; }

.team-cards { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }

.team-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.team-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-name { font-weight: 600; font-size: .95rem; margin: 0; }
.team-role { font-size: .8rem; color: var(--muted); margin: 0; }

.about-image-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-light);
  border: 2px dashed var(--border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .82rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #BFDBFE;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow .2s, transform .2s;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.feature-icon {
  width: 52px; height: 52px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg { width: 28px; height: 28px; }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── How It Works ── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  opacity: .6;
}

.step-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-body p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin-top: 20px;
  flex-shrink: 0;
}

/* ── Videos ── */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-placeholder {
  aspect-ratio: 16/9;
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.video-placeholder:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}

.video-play-icon svg { width: 56px; height: 56px; }

.video-placeholder p {
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
}

/* ── Contact ── */
.contact-layout { align-items: flex-start; }

.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: var(--muted); line-height: 1.75; margin-bottom: 32px; }

.contact-items { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  color: var(--muted);
}

.contact-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.contact-item a { color: var(--blue); font-weight: 500; }
.contact-item a:hover { text-decoration: underline; }

.contact-form {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: var(--muted);
}

.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  gap: 12px;
  color: var(--blue);
}

.form-success svg {
  width: 52px;
  height: 52px;
  color: var(--blue);
}

.form-success h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.form-success p {
  font-size: .9rem;
  color: var(--muted);
}

.form-note {
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
  margin-top: -8px;
}

/* ── Who We Help ── */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.condition-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
}

.condition-item svg { width: 20px; height: 20px; flex-shrink: 0; }

.condition-item--more {
  border-style: dashed;
  color: var(--muted);
  font-style: italic;
}

.conditions-note {
  font-size: .9rem;
  color: var(--muted);
  text-align: center;
}

.conditions-note a { color: var(--blue); font-weight: 500; }
.conditions-note a:hover { text-decoration: underline; }

/* ── Comparison Table ── */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: .9rem;
}

.comparison-table thead tr {
  background: var(--bg-light);
  border-bottom: 2px solid var(--border);
}

.comparison-table th {
  padding: 18px 24px;
  text-align: left;
  font-weight: 700;
  font-size: .85rem;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.col-feature { width: 35%; }
.col-munchkin { width: 32.5%; }
.col-obi { width: 32.5%; }

.table-brand {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.table-brand--munchkin {
  background: var(--blue);
  color: var(--white);
}

.table-brand--obi {
  background: #F1F5F9;
  color: var(--muted);
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}

.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:hover { background: #FAFBFF; }

.comparison-table td {
  padding: 16px 24px;
  vertical-align: middle;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text);
}

.comparison-table td.yes,
.comparison-table td.no,
.comparison-table td.partial {
  display: table-cell;
}

.comparison-table td svg {
  width: 20px; height: 20px;
  vertical-align: middle;
  margin-right: 8px;
  flex-shrink: 0;
}

.comparison-table td.yes { color: #15803D; }
.comparison-table td.no { color: #DC2626; }
.comparison-table td.partial { color: #B45309; }

.comparison-note {
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
}

.comparison-note a { color: var(--blue); }
.comparison-note a:hover { text-decoration: underline; }

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

@media (max-width: 640px) {
  .conditions-grid { grid-template-columns: 1fr; }
  .comparison-table th,
  .comparison-table td { padding: 12px 14px; font-size: .82rem; }
}

/* ── Footer ── */
footer {
  background: var(--text);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 6px;
}

.footer-left p {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  transition: color .15s;
}
.footer-links a:hover { color: var(--white); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  #hero { flex-direction: column; min-height: auto; padding-top: 100px; padding-bottom: 48px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .steps { flex-direction: column; gap: 32px; }
  .step-connector { width: 2px; height: 32px; margin-top: 0; align-self: center; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .stat { padding: 0 24px; }
  .stat-divider { display: none; }
  .stats-inner { gap: 24px; }
  .section-inner { padding: 64px 20px; }
}
