/* ── Shared Design Tokens & Components ──────────────────────────
   Used across every page (index, how-it-works, solutions, pricing,
   about, contact). Extracted from the original hero page so all
   pages share one source of truth for nav/footer/buttons/tokens. */

:root {
  --white:      #ffffff;
  --off-white:  #f7f8fc;
  --surface:    #eef1f8;
  --border:     #e2e6f0;
  --border-mid: #c9d0e3;
  --blue-50:    #eff4ff;
  --blue-100:   #dde8ff;
  --blue-500:   #3b6ef8;
  --blue-600:   #2350c8;
  --blue-700:   #1a3a8f;
  --blue-soft:  rgba(59,110,248,0.08);
  --ink:        #0e1629;
  --ink-70:     rgba(14,22,41,0.70);
  --ink-45:     rgba(14,22,41,0.45);
  --ink-25:     rgba(14,22,41,0.25);
  --ink-10:     rgba(14,22,41,0.10);
  --ink-06:     rgba(14,22,41,0.06);
  --green:      #10b981;
  --green-bg:   #ecfdf5;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Page Wrapper ───────────────────────────────────────────── */
.page {
  position: relative;
  min-height: 100vh;
}

.page--tinted {
  background:
    radial-gradient(ellipse 70% 55% at 75% 35%, rgba(59,110,248,0.06) 0%, transparent 65%),
    linear-gradient(175deg, #ffffff 0%, #f6f8ff 55%, #f0f3fb 100%);
}

/* ── Navbar ─────────────────────────────────────────────────── */
nav.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 6%;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-wordmark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.logo-wordmark em {
  font-style: normal;
  color: var(--blue-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-70);
  text-decoration: none;
  transition: color 0.18s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--blue-600); }

.nav-cta {
  padding: 9px 18px;
  background: var(--blue-500);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 9px;
  text-decoration: none;
  transition: background 0.18s;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--blue-600); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px var(--ink-06);
    padding: 6px 6%;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a { border-bottom: none; }

  .nav-toggle { display: inline-flex; }
}

/* ── Shared section scaffolding ────────────────────────────── */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 6%;
}

.section--tight { padding: 64px 6%; }
.section--alt { background: var(--off-white); }
.section[id] { scroll-margin-top: 80px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 14px 5px 7px;
  border-radius: 100px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  margin-bottom: 20px;
}

.eyebrow-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  flex-shrink: 0;
}

.eyebrow-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-70);
  max-width: 640px;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 2px 8px var(--ink-06);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink-70);
}

.badge-pill {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.badge-pill.live {
  background: rgba(16,185,129,0.1);
  color: #059669;
  border: 1px solid rgba(16,185,129,0.2);
}

.badge-pill.soon {
  background: var(--ink-06);
  color: var(--ink-45);
  border: 1px solid var(--ink-10);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 11px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--blue-500);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59,110,248,0.28);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--border-mid);
}

.btn-secondary:hover { border-color: var(--blue-500); color: var(--blue-600); }

/* ── Footer ─────────────────────────────────────────────────── */
footer.site-footer {
  border-top: 1px solid var(--border);
  background: var(--off-white);
  padding: 48px 6% 32px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.footer-brand .logo-wordmark { font-size: 1.15rem; }

.footer-tagline {
  font-size: 0.8rem;
  color: var(--ink-45);
  margin-top: 8px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-70);
}

.footer-contact a { color: var(--ink-70); text-decoration: none; }
.footer-contact a:hover { color: var(--blue-600); }

.footer-copyright {
  max-width: 1180px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--ink-45);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 920px) {
  .section { padding: 64px 5%; }
}
