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

:root {
  --navy:     #0f1f3d;
  --teal:     #0d7377;
  --teal-lt:  #14a085;
  --amber:    #f5a623;
  --amber-lt: #fbbf47;
  --white:    #ffffff;
  --off-white:#f7f8fa;
  --gray-100: #eef0f4;
  --gray-300: #c4c9d4;
  --gray-500: #7a8190;
  --gray-700: #3d4451;
  --text:     #1a2340;
  --radius:   12px;
  --shadow:   0 4px 24px rgba(15,31,61,.10);
  --transition: 200ms ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, 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%; }

/* ─── Layout helpers ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--gray { background: var(--off-white); }

/* ─── NAV ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.4rem; font-weight: 800; color: var(--navy);
  letter-spacing: -.5px;
}
.logo-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--teal), var(--teal-lt));
  border-radius: 8px;
  display: grid; place-items: center;
}
.logo-mark svg { width: 18px; height: 18px; fill: white; }
.nav-cta {
  background: var(--teal);
  color: white;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--teal-lt); transform: translateY(-1px); }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #1a3460 60%, #0d4f6e 100%);
  color: white;
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13,115,119,.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.35);
  color: var(--amber-lt);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge span { width: 6px; height: 6px; background: var(--amber); border-radius: 50%; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  max-width: 820px;
  margin: 0 auto 24px;
}
.hero h1 em { font-style: normal; color: var(--amber-lt); }

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.72);
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* Inline mini-form in hero */
.hero-form {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  max-width: 480px; margin: 0 auto;
}
.hero-form input {
  flex: 1 1 220px;
  padding: 14px 18px;
  border: none; border-radius: 10px;
  font-size: 1rem;
  background: rgba(255,255,255,.12);
  color: white;
  outline: none;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
  transition: border-color var(--transition);
}
.hero-form input::placeholder { color: rgba(255,255,255,.5); }
.hero-form input:focus { border-color: var(--amber); }
.hero-form button {
  padding: 14px 28px;
  background: var(--amber);
  color: var(--navy);
  border: none; border-radius: 10px;
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.hero-form button:hover { background: var(--amber-lt); transform: translateY(-1px); }

.hero-sub {
  margin-top: 20px;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

/* ─── STAT STRIP ─── */
.stat-strip {
  background: var(--navy);
  color: white;
  padding: 32px 0;
}
.stats {
  display: flex; gap: 0; flex-wrap: wrap;
  justify-content: center; align-items: center;
}
.stat {
  text-align: center;
  padding: 16px 40px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat:last-child { border-right: none; }
.stat-number {
  font-size: 2rem; font-weight: 800;
  color: var(--amber-lt);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
  max-width: 140px;
}

/* ─── PROBLEM ─── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.section-label {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--teal);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 20px;
}
.section-body {
  font-size: 1.05rem; color: var(--gray-700);
  line-height: 1.75;
}

.problem-visual {
  background: var(--gray-100);
  border-radius: 20px;
  padding: 40px;
  display: flex; flex-direction: column; gap: 16px;
}
.problem-card {
  background: white;
  border-radius: 12px;
  padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 14px;
  box-shadow: 0 2px 12px rgba(15,31,61,.06);
}
.problem-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 1.2rem;
}
.problem-icon--red { background: #fff1f0; }
.problem-icon--yellow { background: #fffbe6; }
.problem-card-text { font-size: .9rem; color: var(--gray-700); line-height: 1.5; }
.problem-card-text strong { color: var(--navy); display: block; margin-bottom: 2px; }

/* ─── HOW IT WORKS ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 56px;
}
.step {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.step:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(15,31,61,.13); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-lt));
  color: white; font-weight: 800; font-size: 1.1rem;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.step h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--gray-500); line-height: 1.6; }

/* ─── TRUST ─── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.trust-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.trust-icon {
  font-size: 1.6rem; flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(13,115,119,.1), rgba(20,160,133,.08));
  display: grid; place-items: center;
}
.trust-card h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.trust-card p { font-size: .85rem; color: var(--gray-500); line-height: 1.55; }

/* ─── WAITLIST FORM SECTION ─── */
.waitlist-section {
  background: linear-gradient(160deg, var(--navy), #1a3460);
  color: white;
  padding: 96px 0;
  text-align: center;
}
.waitlist-section .section-label { color: var(--amber-lt); }
.waitlist-section .section-title { color: white; }
.waitlist-section .section-body { color: rgba(255,255,255,.65); max-width: 500px; margin: 0 auto 48px; }

.waitlist-form {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 40px;
  max-width: 520px;
  margin: 0 auto;
}
.form-group { margin-bottom: 16px; text-align: left; }
.form-group label {
  display: block; font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.6); margin-bottom: 6px;
  letter-spacing: .02em;
}
.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: white;
  font-size: .97rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input::placeholder { color: rgba(255,255,255,.35); }
.form-group input:focus { border-color: var(--amber); }

.form-optional { font-size: .75rem; color: rgba(255,255,255,.35); margin-left: 4px; }

.submit-btn {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  background: var(--amber);
  color: var(--navy);
  border: none; border-radius: 10px;
  font-size: 1.05rem; font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.submit-btn:hover { background: var(--amber-lt); transform: translateY(-1px); }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.form-privacy {
  font-size: .78rem; color: rgba(255,255,255,.35);
  margin-top: 16px; text-align: center;
}

/* Success / Error states */
.form-message {
  display: none;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: .9rem;
  font-weight: 500;
  margin-top: 16px;
}
.form-message--success {
  background: rgba(20,160,133,.2);
  border: 1px solid rgba(20,160,133,.4);
  color: #6efce8;
}
.form-message--error {
  background: rgba(220,38,38,.15);
  border: 1px solid rgba(220,38,38,.3);
  color: #fca5a5;
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.45);
  padding: 40px 0;
  text-align: center;
  font-size: .85rem;
}
footer .logo { justify-content: center; color: white; margin-bottom: 12px; }
footer p { margin-top: 4px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust-grid { grid-template-columns: 1fr; }
  .stat { padding: 16px 24px; }
  .waitlist-form { padding: 28px 20px; }
  .section { padding: 64px 0; }
}
@media (max-width: 500px) {
  .stats { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat:last-child { border-bottom: none; }
}
