/* ═══════════════════════════════════════════════════════════════
   BUNDLE — Design System
   Aesthetic: Dark-navy enterprise × bold startup energy
   Fonts: Syne (display) + DM Sans (body)
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

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

:root {
  --navy:       #060e1e;
  --navy2:      #0c1a30;
  --navy3:      #102040;
  --blue:       #1a6bff;
  --blue-light: #4d8fff;
  --blue-glow:  rgba(26,107,255,.18);
  --cyan:       #00d4ff;
  --green:      #00e09a;
  --amber:      #ffb547;
  --red:        #ff4f64;
  --white:      #ffffff;
  --off-white:  #f0f4ff;
  --text:       #e8edf8;
  --text2:      #8fa3c4;
  --text3:      #5a7490;
  --border:     rgba(255,255,255,.08);
  --border2:    rgba(255,255,255,.14);
  --card-bg:    rgba(255,255,255,.04);
  --card-hover: rgba(255,255,255,.07);
  --radius:     14px;
  --radius-lg:  22px;
  --shadow:     0 4px 24px rgba(0,0,0,.35);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.5);
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --ease-out:   cubic-bezier(.22,.68,0,1.2);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Typography ───────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--white);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p { color: var(--text2); line-height: 1.75; }
a { text-decoration: none; color: inherit; }

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text2);
  max-width: 580px;
  line-height: 1.75;
}

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1rem;
  padding: .3rem .8rem;
  border: 1px solid rgba(26,107,255,.3);
  border-radius: 100px;
  background: rgba(26,107,255,.08);
}

/* ── Layout ───────────────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.section-sm {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

/* ── Navigation ───────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,14,30,.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.logo::before {
  content: '';
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text2);
  padding: .45rem .85rem;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--white); background: var(--border); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border2);
  color: var(--white);
  width: 38px; height: 38px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background .2s;
}
.nav-toggle:hover { background: var(--border); }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  padding: .6rem 1.3rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all .22s var(--ease-out);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(26,107,255,0);
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(26,107,255,.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { background: var(--border); color: var(--white); border-color: rgba(255,255,255,.2); }

.btn-outline {
  background: transparent;
  color: var(--blue-light);
  border: 1px solid rgba(26,107,255,.4);
}
.btn-outline:hover { background: rgba(26,107,255,.12); color: var(--white); border-color: var(--blue); }

.btn-lg {
  font-size: 1rem;
  padding: .85rem 1.8rem;
  border-radius: 12px;
}

.btn-xl {
  font-size: 1.05rem;
  padding: 1rem 2.2rem;
  border-radius: 13px;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(5rem, 12vw, 10rem) 0 clamp(4rem, 9vw, 8rem);
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Radial blue glow */
.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(26,107,255,.22) 0%, transparent 68%);
}

/* Grid pattern */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  padding: .35rem .9rem .35rem .6rem;
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 100px;
  background: rgba(0,212,255,.07);
}
.hero-eyebrow span.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  display: inline-block;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.7); }
}

.hero h1 { max-width: 820px; }

.hero-grad {
  background: linear-gradient(135deg, var(--white) 40%, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--text3);
}
.hero-trust-item svg { color: var(--green); flex-shrink: 0; }

/* ── Stats Row ────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 4rem;
}
.stat-cell {
  background: var(--navy2);
  padding: 2.2rem 1.8rem;
  transition: background .25s;
}
.stat-cell:hover { background: var(--navy3); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-num span { color: var(--blue-light); }
.stat-label { font-size: .82rem; color: var(--text3); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }

/* ── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: background .25s, border-color .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.card:hover {
  background: var(--card-hover);
  border-color: var(--border2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card-grid .card {
  border-radius: 0;
  border: none;
  margin: 0;
}

.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.25rem;
}
.icon-blue  { background: rgba(26,107,255,.15); color: var(--blue-light); }
.icon-green { background: rgba(0,224,154,.12); color: var(--green); }
.icon-amber { background: rgba(255,181,71,.12); color: var(--amber); }
.icon-cyan  { background: rgba(0,212,255,.12); color: var(--cyan); }
.icon-red   { background: rgba(255,79,100,.12); color: var(--red); }

.card h3 { margin-bottom: .5rem; }
.card p  { font-size: .9rem; color: var(--text2); }

/* Featured card */
.card-featured {
  background: linear-gradient(135deg, rgba(26,107,255,.18), rgba(0,212,255,.08));
  border-color: rgba(26,107,255,.35);
}
.card-featured:hover { border-color: rgba(26,107,255,.6); }

/* ── Process Steps ────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  counter-reset: step;
}

.step {
  background: var(--card-bg);
  padding: 2.2rem 1.8rem;
  position: relative;
  counter-increment: step;
  transition: background .25s;
}
.step:hover { background: var(--card-hover); }

.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  color: rgba(255,255,255,.06);
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  user-select: none;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--blue);
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
}

/* ── Feature List ─────────────────────────────────────────────── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .92rem;
  color: var(--text2);
}
.feature-item::before {
  content: '';
  width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2300e09a'%3E%3Cpath fill-rule='evenodd' d='M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: .18rem;
}

/* ── Section headers ──────────────────────────────────────────── */
.section-header {
  margin-bottom: 3.5rem;
}
.section-header.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-header p {
  margin-top: .85rem;
  max-width: 560px;
}

/* ── CTA Band ─────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--navy2), var(--navy3));
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(26,107,255,.2), transparent 65%);
  pointer-events: none;
}
.cta-band h2 { position: relative; }
.cta-band p  { position: relative; margin: 1rem auto 0; max-width: 480px; }
.cta-band .btn-group { position: relative; display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────────── */
footer { background: var(--navy); border-top: 1px solid var(--border); padding: 4rem 0 2.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo { margin-bottom: 1rem; font-size: 1.3rem; display: block; }
.footer-brand p { font-size: .875rem; color: var(--text2); max-width: 220px; line-height: 1.6; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: .85rem;
}
.footer-col a {
  display: block;
  font-size: .84rem;
  color: var(--text2);
  margin-bottom: .5rem;
  text-decoration: none;
  transition: color .18s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: .82rem; color: var(--text3); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .82rem; color: var(--text3); text-decoration: none; transition: color .18s; }
.footer-legal a:hover { color: var(--text2); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Forms ────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: .45rem;
  letter-spacing: .02em;
}
.input {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: .75rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
.input::placeholder { color: var(--text3); }
.input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,107,255,.18);
}
textarea.input { resize: vertical; min-height: 130px; }

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

.notice {
  margin-top: .9rem;
  font-size: .875rem;
  padding: .75rem 1rem;
  border-radius: 8px;
  display: none;
}
.notice.success { display: block; background: rgba(0,224,154,.1); color: var(--green); border: 1px solid rgba(0,224,154,.2); }
.notice.error   { display: block; background: rgba(255,79,100,.1); color: var(--red); border: 1px solid rgba(255,79,100,.2); }

/* ── Login card ───────────────────────────────────────────────── */
.login-wrap {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}
.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--navy2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.login-card h2 { margin-bottom: .4rem; }
.login-card > p { font-size: .9rem; margin-bottom: 2rem; }
.login-divider { display: flex; align-items: center; gap: .75rem; margin: 1.5rem 0; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.login-divider span { font-size: .78rem; color: var(--text3); }

/* ── Prose (legal pages) ──────────────────────────────────────── */
.prose {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text2);
  font-size: .95rem;
  line-height: 1.8;
}
.prose h2 { font-size: 1.4rem; margin-top: 2.8rem; margin-bottom: .9rem; color: var(--white); }
.prose h3 { font-size: 1.05rem; margin-top: 1.8rem; margin-bottom: .6rem; color: var(--text); }
.prose p  { margin-bottom: 1.1rem; }
.prose ul { padding-left: 1.4rem; margin-bottom: 1.1rem; }
.prose li { margin-bottom: .4rem; }
.prose strong { color: var(--text); }
.prose a { color: var(--blue-light); }
.prose a:hover { text-decoration: underline; }

/* ── Badge / Pill ─────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 100px;
}
.badge-blue  { background: rgba(26,107,255,.15); color: var(--blue-light); }
.badge-green { background: rgba(0,224,154,.12); color: var(--green); }
.badge-amber { background: rgba(255,181,71,.12); color: var(--amber); }

/* ── Divider ──────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── Animations ───────────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fade-up .65s var(--ease-out) both; }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
.delay-4 { animation-delay: .32s; }
.delay-5 { animation-delay: .40s; }

/* ── Two-col split ────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

/* ── Narrow page header ───────────────────────────────────────── */
.page-header {
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(26,107,255,.14), transparent 65%);
  pointer-events: none;
}
.page-header .container { position: relative; }
.page-header h1 { max-width: 700px; }
.page-header .lead { margin-top: 1rem; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse { direction: ltr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--navy);
    padding: 1.5rem;
    z-index: 99;
    gap: .25rem;
    overflow-y: auto;
  }
  .nav-links.open a { padding: .85rem 1rem; border-radius: 10px; font-size: 1rem; }
  .nav-actions.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 1.25rem 1.5rem;
    background: var(--navy);
    border-top: 1px solid var(--border);
    z-index: 99;
  }
  .nav-actions.open .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-trust { gap: 1rem; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .card-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
