/* ── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1e293b;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Google Font ──────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Tokens ───────────────────────────────────────────────────────────────── */
:root {
  --blue:       #2563eb;
  --blue-light: #3b82f6;
  --blue-dark:  #1d4ed8;
  --indigo:     #4f46e5;
  --navy:       #0f172a;
  --slate-700:  #334155;
  --slate-500:  #64748b;
  --slate-300:  #cbd5e1;
  --slate-100:  #f1f5f9;
  --white:      #ffffff;
  --radius-sm:  0.5rem;
  --radius:     0.875rem;
  --radius-lg:  1.25rem;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:     0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.07);
}

/* ── Utilities ────────────────────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.6rem 1.25rem; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: all 0.18s ease; border: none; white-space: nowrap;
}
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 1px 3px rgba(37,99,235,.35), 0 4px 14px rgba(37,99,235,.2);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 18px rgba(37,99,235,.4); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-outline { background: #fff; color: var(--slate-700); border: 1.5px solid var(--slate-300); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { padding: 0.8rem 1.75rem; font-size: 1rem; border-radius: var(--radius-sm); }
.btn-xl { padding: 0.95rem 2.25rem; font-size: 1.05rem; border-radius: var(--radius); }
.btn svg { width: 1em; height: 1em; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 0.875rem 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid rgba(203,213,225,.5);
  transition: box-shadow 0.2s;
}
.nav-wrap.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.07); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-brand { display: flex; align-items: center; gap: 0.5rem; }
.nav-logo {
  width: 2rem; height: 2rem; border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 900; color: #fff; letter-spacing: -0.05em;
}
.nav-wordmark { font-size: 1.1rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.nav-wordmark span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a {
  display: block; padding: 0.4rem 0.75rem; border-radius: var(--radius-sm);
  font-size: 0.875rem; color: var(--slate-700); font-weight: 500;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--navy); background: var(--slate-100); }
.nav-actions { display: flex; align-items: center; gap: 0.625rem; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, #0a0f1e 0%, #0f1f40 40%, #0d2257 75%, #0a1f4e 100%);
  padding: 8.5rem 0 6rem;
  color: #fff;
}

/* Animated mesh gradient */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(37,99,235,.28) 0%, transparent 65%),
    radial-gradient(ellipse 60% 70% at 80% 20%, rgba(79,70,229,.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 60% 80%, rgba(16,185,129,.1) 0%, transparent 55%);
  pointer-events: none;
}

/* Dot grid overlay */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(37,99,235,.2); color: #93c5fd;
  border: 1px solid rgba(147,197,253,.25);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.35rem 1rem; border-radius: 2rem;
  margin-bottom: 1.75rem;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52,211,153,.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(52,211,153,.25); }
  50%       { box-shadow: 0 0 0 6px rgba(52,211,153,.08); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #34d399 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #94a3b8; max-width: 560px; margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }

/* Platform pills */
.hero-platforms {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0.5rem 0.75rem;
}
.hero-platforms-label { font-size: 0.75rem; color: #64748b; font-weight: 500; letter-spacing: 0.04em; }
.platform-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: #cbd5e1; font-size: 0.78rem; font-weight: 500;
  padding: 0.3rem 0.75rem; border-radius: 2rem;
  backdrop-filter: blur(4px);
}
.platform-pill-dot { width: 5px; height: 5px; border-radius: 50%; background: #34d399; }

/* ── Stats bar ────────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem 0;
}
.stats-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem; flex-wrap: wrap;
}
.stat-item { text-align: center; padding: 0.5rem 2rem; }
.stat-item:not(:last-child) { border-right: 1px solid #e2e8f0; }
.stat-num { font-size: 1.65rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.stat-label { font-size: 0.78rem; color: var(--slate-500); font-weight: 500; margin-top: 0.1rem; }

/* ── Section shared ───────────────────────────────────────────────────────── */
.section { padding: 5.5rem 0; }
.section-alt { background: #f8fafc; }
.section-dark { background: var(--navy); color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--blue); margin-bottom: 0.75rem;
}
.section-dark .eyebrow { color: #60a5fa; }

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1.2;
  margin-bottom: 1rem;
}
.section-dark .section-title { color: #fff; }

.section-lead {
  font-size: 1.05rem; color: var(--slate-500); max-width: 540px; line-height: 1.75;
}
.text-center .section-lead { margin: 0 auto; }
.section-dark .section-lead { color: #94a3b8; }

/* ── Features ─────────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 4rem;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: default;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #bfdbfe;
}

.feature-icon-wrap {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.1rem;
}
.feature-icon-blue   { background: #eff6ff; }
.feature-icon-indigo { background: #eef2ff; }
.feature-icon-green  { background: #f0fdf4; }
.feature-icon-amber  { background: #fffbeb; }
.feature-icon-rose   { background: #fff1f2; }
.feature-icon-purple { background: #faf5ff; }

.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.45rem; }
.feature-card p  { font-size: 0.875rem; color: var(--slate-500); line-height: 1.7; }

/* ── How it works ─────────────────────────────────────────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; margin-top: 4rem; position: relative;
}
@media (max-width: 800px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }

/* Connector line between steps */
.steps-grid::before {
  content: '';
  position: absolute; top: 1.375rem; left: calc(12.5% + 1rem); right: calc(12.5% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--indigo) 100%);
  opacity: 0.25;
}
@media (max-width: 800px) { .steps-grid::before { display: none; } }

.step { text-align: center; }
.step-badge {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%);
  color: #fff; font-weight: 800; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.step h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.step p  { font-size: 0.85rem; color: var(--slate-500); line-height: 1.65; }

/* ── Social proof / quote ─────────────────────────────────────────────────── */
.quote-section { padding: 5rem 0; }
.quote-card {
  background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%);
  border-radius: var(--radius-lg); padding: 3.5rem;
  text-align: center; color: #fff;
  box-shadow: var(--shadow-lg);
}
.quote-mark { font-size: 4rem; line-height: 1; color: rgba(255,255,255,.25); font-family: Georgia, serif; }
.quote-text { font-size: 1.3rem; font-weight: 500; line-height: 1.6; max-width: 680px; margin: 0 auto 2rem; }
.quote-author { display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.quote-avatar {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: #fff;
}
.quote-name { font-weight: 700; font-size: 0.95rem; }
.quote-role { font-size: 0.8rem; opacity: 0.75; }

/* ── Platforms section ────────────────────────────────────────────────────── */
.platforms-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-top: 3.5rem;
}
@media (max-width: 700px) { .platforms-grid { grid-template-columns: repeat(2, 1fr); } }

.platform-card {
  border: 1px solid #e2e8f0; border-radius: var(--radius);
  padding: 1.5rem 1.25rem; text-align: center;
  background: #fff; transition: all 0.2s;
}
.platform-card:hover { border-color: #bfdbfe; box-shadow: var(--shadow); transform: translateY(-2px); }
.platform-card-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.platform-card h3 { font-size: 0.925rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.platform-card p  { font-size: 0.8rem; color: var(--slate-500); }

/* ── CTA strip ────────────────────────────────────────────────────────────── */
.cta-strip {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #0d2257 60%, #1a0a4e 100%);
  padding: 5.5rem 0; text-align: center; color: #fff;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(37,99,235,.18) 0%, transparent 65%);
  pointer-events: none;
}
.cta-strip::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-strip h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900; letter-spacing: -0.03em; margin-bottom: 1rem;
}
.cta-strip p { font-size: 1.05rem; color: #94a3b8; max-width: 480px; margin: 0 auto 2.25rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  background: #020917;
  padding: 3rem 0 2rem;
  color: #475569;
}
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 2rem; padding-bottom: 2rem;
  border-bottom: 1px solid #0f172a;
}
.footer-brand-block { max-width: 280px; }
.footer-wordmark { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 0.6rem; }
.footer-wordmark span { color: #60a5fa; }
.footer-tagline { font-size: 0.85rem; color: #475569; line-height: 1.6; }
.footer-col h4 { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; margin-bottom: 0.875rem; }
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links-list a { font-size: 0.875rem; color: #475569; transition: color 0.15s; }
.footer-links-list a:hover { color: #94a3b8; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding-top: 1.5rem;
  font-size: 0.8rem; color: #334155;
}

/* ── Legal pages ──────────────────────────────────────────────────────────── */
.legal-hero {
  background: linear-gradient(145deg, #0a0f1e 0%, #0f1f40 100%);
  padding: 8rem 0 3.5rem; color: #fff;
}
.legal-hero .eyebrow { color: #60a5fa; }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.legal-hero .effective { color: #64748b; font-size: 0.875rem; }

.legal-content { max-width: 800px; margin: 0 auto; padding: 3.5rem 1.5rem 6rem; }
.legal-content h2 {
  font-size: 1.1rem; font-weight: 700; color: var(--navy);
  margin: 2.5rem 0 0.7rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.legal-content p  { font-size: 0.95rem; color: var(--slate-700); margin-bottom: 0.875rem; line-height: 1.8; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 0.875rem; }
.legal-content li { font-size: 0.95rem; color: var(--slate-700); margin-bottom: 0.45rem; line-height: 1.75; }
.legal-content ul ul { margin-top: 0.4rem; }
.legal-content a { color: var(--blue); }
.legal-content a:hover { text-decoration: underline; }

/* ── Responsive nav ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 7rem 0 4rem; }
  .stats-inner { gap: 0; }
  .stat-item { padding: 0.5rem 1rem; }
  .stat-item:not(:last-child) { border-right: none; border-bottom: 1px solid #e2e8f0; }
  .quote-card { padding: 2.5rem 1.5rem; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 480px) {
  .btn-xl { width: 100%; justify-content: center; }
}
