:root {
  --brand: #F22F46;
  --brand-dark: #D51F35;
  --brand-tint: #FDEBEE;
  --navy-900: #0B1220;
  --navy-800: #10192E;
  --navy-700: #16213A;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #F6F7FB;
  color: #151A28;
}

.container-fluid {
  max-width: 1680px;
  margin-left: auto;
  margin-right: auto;
}

/* Brand utility overrides */
.bg-navy { background-color: var(--navy-900) !important; }
.bg-brand-tint { background-color: var(--brand-tint) !important; }
.text-brand { color: var(--brand) !important; }
.border-brand-soft { border-color: #f6c9cf !important; }

.btn-brand {
  background-color: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.btn-brand:hover, .btn-brand:focus {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

.btn-outline-light-soft {
  background-color: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.btn-outline-light-soft:hover {
  background-color: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.4);
  color: #fff;
}

.hover-lift {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(16,24,40,.10);
  border-color: #dfe2ea !important;
}

.rounded-4 { border-radius: 1.1rem !important; }

.icon-tile {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-tint);
  color: var(--brand);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .875rem;
}

.checklist { list-style: none; padding-left: 0; }
.checklist li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; color: #cbd1e0; }
.checklist li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 700; }
.checklist.checklist-dark li { color: #5a6273; }

.dashlist { list-style: none; padding-left: 0; }
.dashlist li { position: relative; padding-left: 1.1rem; margin-bottom: .5rem; color: #5a6273; }
.dashlist li::before { content: "\2013"; position: absolute; left: 0; color: #8890a0; }

/* Hero */
.hero-navy {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  position: relative;
  overflow: hidden;
}
.hero-navy::before {
  content: "";
  position: absolute;
  top: -180px; right: -160px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(242,47,70,.35), transparent 70%);
  filter: blur(10px);
}
.hero-navy::after {
  content: "";
  position: absolute;
  bottom: -220px; left: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,.06), transparent 70%);
}

/* CTA band */
.cta-navy {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}
.cta-navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(242,47,70,.35), transparent 55%);
}

.badge-pill-dark {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #dfe3ee;
  font-weight: 600;
  border-radius: 999px;
  padding: .4rem .85rem;
}
.badge-pill-dark .dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(242,47,70,.25);
}

.mockup-dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
}

@keyframes pulseGreen {
  0%   { box-shadow: 0 0 0 0 rgba(28,107,52,.4); }
  70%  { box-shadow: 0 0 0 5px rgba(28,107,52,0); }
  100% { box-shadow: 0 0 0 0 rgba(28,107,52,0); }
}
.live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1C6B34;
  animation: pulseGreen 2s infinite;
}

.top-strip a { color: #ff8fa0; }
.top-strip a:hover { color: #ffb3bf; }

.eyebrow-pink { color: #ff8fa0; }

.alert-brand {
  background-color: var(--brand-tint);
  border-color: #f6c9cf;
  color: #7a1727;
}
.alert-brand strong { color: #5e0e1b; }

.table-navy thead th {
  background-color: var(--navy-900);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .03em;
  border: none;
}

/* ============ Animation system ============ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-animate {
  opacity: 0;
  animation: fadeInUp .8s ease forwards;
}
.hero-delay-1 { animation-delay: .05s; }
.hero-delay-2 { animation-delay: .2s; }
.hero-delay-3 { animation-delay: .35s; }
.hero-delay-4 { animation-delay: .5s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.float-anim { animation: floaty 6s ease-in-out infinite; }

@keyframes blobMoveA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-26px, 22px) scale(1.08); }
}
@keyframes blobMoveB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(24px, -18px) scale(1.05); }
}
.hero-navy::before { animation: blobMoveA 11s ease-in-out infinite; }
.hero-navy::after  { animation: blobMoveB 13s ease-in-out infinite; }

@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(242,47,70,.45); }
  70%  { box-shadow: 0 0 0 7px rgba(242,47,70,0); }
  100% { box-shadow: 0 0 0 0 rgba(242,47,70,0); }
}
.badge-pill-dark .dot { animation: pulseDot 2s infinite; }

/* Scroll reveal (JS toggles .is-visible via IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > * {
  animation: fadeInUp .6s ease both;
}
.reveal-stagger.is-visible > *:nth-child(1) { animation-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { animation-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { animation-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { animation-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(5) { animation-delay: .32s; }
.reveal-stagger.is-visible > *:nth-child(6) { animation-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-animate { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}
