@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&display=swap');

:root {
  --navy: #0D1B2A;
  --navy-mid: #1A2E45;
  --navy-light: #253D5B;
  --blue-tint: #EEF1F6;
  --blue-tint-dark: #E2E7EF;
  --white: #FFFFFF;
  --off-white: #F8F9FC;
  --border: #E2E6ED;
  --text-primary: #0D1B2A;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --accent: #0057FF;
  --accent-light: #EEF3FF;
  --success: #059669;
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.12);
  /* ── LEGACY ALIASES (backward compat) ── */
  --cream: #F8F9FC;
  --cream-dark: #EAE6DD;
  --mist: #E2E6ED;
  --accent-dim: #0046cc;
  --navy-dark: #0D1B2A;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
footer { margin-top: auto; }
img { max-width: 100%; display: block; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px; height: 68px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: var(--shadow-md); }
.nav-logo {
  font-family: var(--font-display); font-weight: 800; font-size: 19px;
  letter-spacing: -0.5px; color: var(--navy); text-decoration: none;
  display: flex; align-items: center; gap: 6px;
}
.nav-dot {
  width: 7px; height: 7px; background: var(--accent);
  border-radius: 50%; animation: pulse 2.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; padding: 6px 14px; border-radius: 100px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--navy); background: var(--blue-tint); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta {
  background: var(--navy); color: var(--white); padding: 9px 20px;
  border-radius: 100px; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: all 0.2s;
}
.nav-cta:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  padding: 13px 28px; border-radius: 100px; text-decoration: none;
  border: none; cursor: pointer; transition: all 0.2s;
}
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary .arrow { font-size: 13px; transition: transform 0.2s; }
.btn-primary:hover .arrow { transform: translate(2px,-2px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--navy);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  padding: 12px 24px; border-radius: 100px; text-decoration: none;
  border: 1.5px solid var(--border); cursor: pointer; transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--navy); background: var(--blue-tint); transform: translateY(-1px); }
.btn-accent {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--white);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  padding: 13px 28px; border-radius: 100px; text-decoration: none;
  border: none; cursor: pointer; transition: all 0.2s;
}
.btn-accent:hover { background: #0046cc; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,87,255,0.3); }

/* ── EYEBROW / LABELS ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content:''; width:18px; height:2px; background:var(--accent); border-radius:2px; }
.section-h2 {
  font-family: var(--font-display); font-size: clamp(30px,3.5vw,46px);
  font-weight: 800; letter-spacing: -1px; line-height: 1.1; color: var(--navy);
}
.section-h2 em { font-style: normal; color: var(--accent); }

/* ── CARDS ── */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 32px;
  transition: all 0.25s; box-shadow: var(--shadow-sm);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }

/* ── BADGE ── */
.badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 4px 12px; border-radius: 100px; letter-spacing: 0.03em;
}
.badge-blue { background: var(--accent-light); color: var(--accent); }
.badge-navy { background: var(--navy); color: var(--white); }
.badge-green { background: #ECFDF5; color: var(--success); }
.badge-popular { background: #FFF7ED; color: #C2410C; }

/* ── REVEAL ── */
.reveal { opacity:0; transform:translateY(20px); transition:opacity 0.6s ease,transform 0.6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:0.1s; }
.reveal-delay-2 { transition-delay:0.2s; }
.reveal-delay-3 { transition-delay:0.3s; }

/* ── SECTION ── */
.section { padding: 96px 64px; }
.section-sm { padding: 64px 64px; }
.container { max-width: 1160px; margin: 0 auto; }

/* ── LOGOS STRIP ── */
.logos-strip {
  background: var(--off-white); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 28px 64px;
}
.logos-strip-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  text-align: center; margin-bottom: 20px;
}
.logos-strip-track {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.logos-strip-item {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: var(--text-muted); opacity: 0.5; letter-spacing: -0.3px;
  transition: opacity 0.2s;
}
.logos-strip-item:hover { opacity: 0.85; }

/* ── FOOTER ── */
footer {
  background: var(--navy); padding: 48px 64px;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-logo { font-family:var(--font-display); font-weight:800; font-size:17px; color:var(--white); flex-shrink:0; }
.footer-links {
  display: flex; flex-wrap: wrap; gap: 12px 20px;
  list-style: none; max-width: 600px;
}
.footer-links a { font-size:13px; color:rgba(255,255,255,0.45); text-decoration:none; transition:color 0.2s; white-space:nowrap; }
.footer-links a:hover { color:rgba(255,255,255,0.8); }
.footer-copy { font-size:12px; color:rgba(255,255,255,0.25); width:100%; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy); padding: 130px 64px 72px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse at 60% 0%, rgba(0,87,255,0.12) 0%, transparent 65%);
  pointer-events:none;
}
.page-hero h1 {
  font-family:var(--font-display); font-size:clamp(36px,5vw,60px);
  font-weight:800; letter-spacing:-1.5px; color:var(--white); line-height:1.05; margin-bottom:16px;
  position:relative; z-index:1;
}
.page-hero h1 span { color:#60A5FA; }
.page-hero p {
  font-size:17px; font-weight:300; color:rgba(255,255,255,0.6);
  max-width:520px; margin:0 auto; line-height:1.7; position:relative; z-index:1;
}

/* ── WAITLIST FORM ── */
.waitlist-form {
  display: flex; gap: 10px; max-width: 420px; margin: 24px auto 0;
}
.waitlist-input {
  flex: 1; background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 100px; padding: 12px 20px; font-family: var(--font-body);
  font-size: 14px; color: var(--white); outline: none; transition: border-color 0.2s;
}
.waitlist-input::placeholder { color: rgba(255,255,255,0.4); }
.waitlist-input:focus { border-color: rgba(255,255,255,0.5); }
.waitlist-btn {
  background: var(--white); color: var(--navy); font-family: var(--font-body);
  font-size: 13px; font-weight: 600; padding: 12px 20px; border-radius: 100px;
  border: none; cursor: pointer; white-space: nowrap; transition: all 0.2s;
}
.waitlist-btn:hover { background: var(--blue-tint); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; cursor: pointer; font-size: 15px; font-weight: 600;
  color: var(--navy); gap: 16px; user-select: none; transition: color 0.2s;
}
.faq-question:hover { color: var(--text-secondary); }
.faq-icon {
  width: 26px; height: 26px; background: var(--blue-tint); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0; transition: all 0.3s;
  color: var(--navy); font-weight: 400; line-height: 1;
}
.faq-item.open .faq-icon { background: var(--navy); color: var(--white); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 0 20px; font-size: 14px; line-height: 1.8; color: var(--text-secondary); }

/* ── FORMS ── */
.form-label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 6px; }
.form-input {
  width: 100%; background: var(--off-white); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 16px;
  font-family: var(--font-body); font-size: 14px; color: var(--navy);
  outline: none; transition: all 0.2s;
}
.form-input:focus { border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 3px rgba(0,87,255,0.08); }
.form-input::placeholder { color: var(--text-muted); }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; background: var(--navy); color: var(--white);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  padding: 14px; border-radius: 100px; border: none; cursor: pointer;
  transition: all 0.2s; margin-top: 4px;
}
.form-submit:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.checkbox-item { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text-secondary); margin-bottom: 8px; }
.checkbox-item input { width: 16px; height: 16px; accent-color: var(--navy); }

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
  nav, .section, .section-sm, .logos-strip, footer, .page-hero { padding-left: 40px; padding-right: 40px; }
}
@media(max-width:768px) {
  /* Hard stop on horizontal scroll */
  html, body { overflow-x: hidden; max-width: 100vw; }
  * { max-width: 100%; }

  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .section, .section-sm, .logos-strip, .page-hero { padding-left: 20px; padding-right: 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer — stack vertically, grid links, no overflow */
  footer {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 40px 20px !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .footer-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .footer-links li { list-style: none; }
  .footer-links a { font-size: 14px !important; white-space: normal !important; }
  .footer-copy { font-size: 12px; margin-top: 4px; }
}

@media(max-width:480px) {
  nav { padding: 0 16px; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
  footer { padding: 36px 16px !important; }
}
