:root {
  --blue: #1763c7;
  --blue-dark: #114e9e;
  --blue-deep: #0b1f3a;
  --navy: #0e1b2e;
  --navy-2: #13243b;
  --ink: #16202e;
  --slate: #4a596b;
  --slate-light: #6b7a8d;
  --line: #e4e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --green: #8cc63f;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --shadow-sm: 0 1px 3px rgba(16, 32, 56, 0.08);
  --shadow-md: 0 14px 40px rgba(16, 32, 56, 0.14);
  --shadow-lg: 0 30px 70px rgba(8, 20, 40, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
sup { font-size: 0.55em; vertical-align: super; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: "Poppins", "Inter", sans-serif; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand-text { font-family: "Poppins", sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.brand-accent { color: var(--blue); }
.brand { display: flex; align-items: center; }
.brand-logo { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--slate); transition: color 0.2s; }
.nav a:hover { color: var(--ink); }
.nav-cta {
  background: var(--blue); color: #fff !important; padding: 10px 20px;
  border-radius: 10px; font-weight: 600; transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 11px; cursor: pointer; border: none;
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(23, 99, 199, 0.32); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- HERO ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  background:
    radial-gradient(58% 64% at 50% 42%, rgba(7,23,46,0.55), rgba(7,23,46,0) 72%),
    linear-gradient(180deg, rgba(7,23,46,0.18), rgba(7,23,46,0.42)),
    url("/gds/assets/hero-constellation.jpg") center center / cover no-repeat,
    #07172e;
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero h1, .hero .hero-sub, .hero .eyebrow { text-shadow: 0 1px 18px rgba(7,23,46,0.55); }
.hero-inner { position: relative; }
.eyebrow { color: #9fc3f2; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 18px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; max-width: 16ch; margin: 0 auto; }
.hero h1 .tm { font-size: 0.34em; }
.hero-sub { color: #c4d1e1; font-size: clamp(16px, 1.8vw, 19px); max-width: 60ch; margin: 22px auto 0; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

.hero-video {
  margin: 56px auto 0; max-width: 920px;
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.10);
}
.hero-video video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.hero-video figcaption {
  font-size: 13px; color: #91a3ba; padding: 12px;
  background: rgba(255,255,255,0.03); letter-spacing: 0.02em;
}

/* ---------- TRUST BAR ---------- */
.trustbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 38px 24px; text-align: center; }
.trust-item { display: flex; flex-direction: column; gap: 4px; }
.trust-num { font-family: "Poppins", sans-serif; font-weight: 800; font-size: clamp(26px, 3.4vw, 38px); color: var(--blue-deep); }
.trust-label { font-size: 13.5px; color: var(--slate-light); font-weight: 500; }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-eyebrow { color: var(--blue); font-size: 14px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 14px; }
.section-eyebrow.on-dark { color: #7fb1f0; }
.section-title { font-size: clamp(28px, 3.8vw, 44px); font-weight: 700; max-width: 18ch; }
.section-title.on-dark { color: #fff; }
.section-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--slate); max-width: 62ch; margin: 20px 0 0; }
.section-lead.on-dark { color: #c4d1e1; }

/* PROBLEM */
.problem { background: #fff; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.card p { font-size: 15.5px; color: var(--slate); margin: 0; }

/* SOLUTION */
.solution { background: linear-gradient(165deg, #0e1b2e 0%, #0b1f3a 100%); position: relative; }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: none; }
.steps li {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius); padding: 30px 26px;
}
.step-num { font-family: "Poppins", sans-serif; font-weight: 800; font-size: 15px; color: #7fb1f0; letter-spacing: 0.06em; }
.steps h3 { font-size: 22px; font-weight: 600; color: #fff; margin: 10px 0 8px; }
.steps p { font-size: 15.5px; color: #b8c6d8; margin: 0; }

/* DASHBOARD */
.dashboard { background: var(--bg-soft); }
.dash-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 32px; font-size: 16px; color: var(--slate); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 13px; font-weight: 700;
  display: grid; place-items: center;
}
.check-list strong { color: var(--ink); font-weight: 600; }
.dash-figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); background: #fff; }

/* DEMO */
.demo { background: linear-gradient(165deg, #0b1f3a 0%, #0e1b2e 100%); }
.demo-inner { display: grid; grid-template-columns: 1fr 0.95fr; gap: 56px; align-items: start; }
.demo-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 13px; }
.demo-points li { position: relative; padding-left: 30px; color: #c4d1e1; font-size: 16px; }
.demo-points li::before { content: "→"; position: absolute; left: 0; color: #7fb1f0; font-weight: 700; }

.lead-form { background: #fff; border-radius: 18px; padding: 36px 34px; box-shadow: var(--shadow-lg); }
.form-title { font-size: 24px; font-weight: 700; margin-bottom: 22px; color: var(--ink); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field .optional { font-weight: 400; color: var(--slate-light); }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fbfcfe; transition: border-color 0.2s, box-shadow 0.2s; resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,99,199,0.14); background: #fff;
}
.field input.touched:invalid { border-color: #d9534f; }
.form-note { font-size: 12.5px; color: var(--slate-light); margin: 14px 0 0; text-align: center; }
.form-success { font-size: 15px; color: #2f7d32; font-weight: 600; text-align: center; margin: 16px 0 0; }

/* ---------- FOOTER (consistent with main React site) ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); color: var(--slate); padding: 0; }
.footer-grid-wrap { padding: 56px 24px 40px; }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .footer-logo { height: 56px; width: auto; display: block; margin-bottom: 14px; }
.footer-tagline { font-size: 14px; color: var(--slate); max-width: 32ch; margin: 0; line-height: 1.6; }
.footer-col h3 { font-family: "Inter", sans-serif; font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 0 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--slate); transition: color 0.2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.footer-partners { font-size: 12.5px; color: var(--slate-light); margin: 0; text-align: center; }
.footer-partners a { transition: color 0.2s; }
.footer-partners a:hover { color: var(--ink); }
.footer-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 12.5px; color: var(--slate-light); margin: 0; }
.footer-social { display: flex; align-items: center; gap: 18px; }
.footer-social a { font-size: 12.5px; color: var(--slate-light); display: inline-flex; align-items: center; transition: color 0.2s; }
.footer-social a:hover { color: var(--ink); }
.footer-social svg { width: 16px; height: 16px; display: block; }

/* ---------- REVEAL ANIM ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .nav a:not(.nav-cta) { display: none; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 10px; }
  .brand-logo { height: 28px; }
  .cards-3, .steps { grid-template-columns: 1fr; }
  .dash-grid, .demo-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero { padding: 56px 0 64px; }
  .hero-video { margin-top: 36px; }
  .lead-form { padding: 28px 22px; }
}
