:root {
  --black: #030407;
  --ink: #f3f5ff;
  --muted: rgba(243, 245, 255, 0.72);
  --soft: rgba(243, 245, 255, 0.1);
  --line: rgba(243, 245, 255, 0.24);
  --accent: #9ed2ff;
  --accent-2: #ffffff;
  --panel: rgba(12, 16, 23, 0.74);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--black);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,0));
  transition: background .25s ease, backdrop-filter .25s ease, padding .25s ease;
}

.site-header.is-scrolled {
  padding-block: 16px;
  background: rgba(3, 4, 7, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.brand-mark { border: 1px solid var(--line); border-radius: 999px; padding: 8px 10px; font-size: 12px; }
.brand-name { font-size: 13px; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nav a { opacity: .82; transition: opacity .2s ease; }
.nav a:hover { opacity: 1; }

.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.nav-cta { background: rgba(255,255,255,.11); }
.button:hover, .nav-cta:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.7); }
.button.primary { background: var(--ink); color: #06070a; border-color: var(--ink); }
.button.ghost { background: rgba(255,255,255,.07); color: var(--ink); }

.scene {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.scene-media, .scene-overlay { position: absolute; inset: 0; z-index: -2; }
.scene-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 72% 38%, rgba(158, 210, 255, .18), transparent 28%),
    linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.42) 48%, rgba(0,0,0,.18)),
    linear-gradient(0deg, rgba(0,0,0,.82), transparent 35%, rgba(0,0,0,.42));
}

.hero-media {
  background:
    radial-gradient(circle at 68% 35%, rgba(180,215,255,.22), transparent 0 9%, transparent 32%),
    linear-gradient(150deg, #080b12 0%, #04050a 45%, #14171b 100%);
}

.road-lines {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -18%;
  height: 48%;
  transform: perspective(740px) rotateX(62deg);
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255,255,255,.10) 18.4%, transparent 18.8% 48%, rgba(255,255,255,.48) 49.8%, rgba(255,255,255,.48) 50.2%, transparent 51.2% 81%, rgba(255,255,255,.10) 81.4%, transparent 81.8%),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(255,255,255,.12) 35px, transparent 37px);
  mask-image: linear-gradient(0deg, #000 30%, transparent 100%);
}

.constellation { position: absolute; border-radius: 999px; filter: blur(.3px); }
.constellation-a { width: 620px; height: 620px; right: 5%; top: 16%; border: 1px solid rgba(255,255,255,.10); box-shadow: inset 0 0 80px rgba(158,210,255,.10); }
.constellation-b { width: 300px; height: 300px; right: 23%; top: 28%; border: 1px solid rgba(255,255,255,.14); }

.fleet-silhouette { position: absolute; right: 8%; bottom: 18%; width: min(540px, 48vw); height: 120px; opacity: .72; }
.fleet-silhouette span { position: absolute; bottom: 0; height: 58px; border: 1px solid rgba(255,255,255,.18); background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.02)); }
.fleet-silhouette span:nth-child(1) { left: 0; width: 56%; border-radius: 14px 4px 4px 14px; }
.fleet-silhouette span:nth-child(2) { right: 0; width: 34%; height: 70px; border-radius: 6px 16px 8px 4px; }
.fleet-silhouette span:nth-child(3) { left: 8%; bottom: -18px; width: 80%; height: 18px; border-radius: 999px; filter: blur(14px); background: rgba(158,210,255,.18); }

.binder-preview {
  position: absolute;
  right: clamp(16px, 4vw, 64px);
  top: 28%;
  z-index: 1;
  width: min(450px, 32vw);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(17,22,31,.88), rgba(6,8,13,.74));
  box-shadow: 0 40px 120px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(22px);
  overflow: hidden;
}
.preview-topbar { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.10); }
.preview-topbar span { width: 11px; height: 11px; border-radius: 50%; background: #74ffb4; box-shadow: 0 0 22px rgba(116,255,180,.7); }
.preview-topbar strong { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.preview-topbar em { margin-left: auto; color: #bdfed7; font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.preview-body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.preview-body aside { padding: 22px 16px; border-right: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.035); }
.preview-body aside b, .preview-body aside span { display: block; }
.preview-body aside b { margin-bottom: 18px; font-size: 20px; letter-spacing: -.03em; }
.preview-body aside span { margin: 12px 0; color: rgba(243,245,255,.62); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.document-stack { padding: 20px; display: grid; align-content: start; gap: 12px; }
.doc-card { padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 20px; background: rgba(255,255,255,.07); }
.doc-card small { display: block; margin-bottom: 12px; color: var(--accent); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.doc-card strong { display: block; font-size: 24px; letter-spacing: -.04em; }
.doc-card p { margin: 8px 0 0; font-size: 13px; line-height: 1.4; }
.doc-row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 14px; border-radius: 14px; background: rgba(255,255,255,.055); font-size: 13px; }
.doc-row b { color: #bdfed7; }
.doc-row.warning b { color: #ffe3a3; }

.scene-content {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 clamp(54px, 9vw, 105px);
}
.hero-content { max-width: 650px; margin-left: clamp(20px, 7vw, 86px); }
.scene-content.narrow { max-width: 680px; margin-left: clamp(20px, 7vw, 86px); }

.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 800; letter-spacing: -.055em; line-height: .92; text-wrap: balance; }
h1 { font-size: clamp(54px, 9vw, 132px); max-width: 980px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(54px, 7vw, 104px); max-width: 620px; }
h2 { font-size: clamp(42px, 6vw, 92px); margin-bottom: 24px; }
h3 { font-size: 24px; letter-spacing: -.03em; }
p { color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; max-width: 720px; }
.hero-copy { font-size: clamp(19px, 1.8vw, 25px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-actions.centered { justify-content: center; }

.scroll-cue {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: 32px;
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}

.systems-media { background: radial-gradient(circle at 72% 42%, rgba(158,210,255,.26), transparent 30%), linear-gradient(135deg, #07090e, #0e1219 55%, #020305); }
.binder-device { position: absolute; right: clamp(70px, 13vw, 210px); top: 20%; width: 250px; padding: 12px; border-radius: 38px; background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,.045)); border: 1px solid rgba(255,255,255,.20); box-shadow: 0 34px 90px rgba(0,0,0,.56); }
.phone-screen { min-height: 500px; padding: 24px 18px 18px; border-radius: 30px; background: #070a10; border: 1px solid rgba(255,255,255,.12); }
.phone-notch { width: 72px; height: 6px; margin: 0 auto 30px; border-radius: 99px; background: rgba(255,255,255,.22); }
.phone-screen h4 { margin: 0 0 10px; font-size: 24px; line-height: 1; letter-spacing: -.04em; }
.phone-screen p { margin-bottom: 20px; font-size: 13px; }
.mobile-doc { display: flex; justify-content: space-between; align-items: center; margin: 10px 0; padding: 13px; border-radius: 16px; background: rgba(255,255,255,.075); font-size: 12px; }
.mobile-doc b { color: #bdfed7; }
.phone-screen button { width: 100%; height: 46px; margin-top: 18px; border: 0; border-radius: 999px; background: var(--ink); color: #05070b; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.dashboard-orbit { position: absolute; right: 8%; top: 19%; width: min(560px, 48vw); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; }
.dashboard-orbit::before, .dashboard-orbit::after { content: ''; position: absolute; inset: 14%; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.dashboard-orbit::after { inset: 30%; }
.orbit-card { position: absolute; width: 178px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(16px); }
.orbit-card span { display: block; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.orbit-card strong { display: block; margin-top: 10px; font-size: 30px; }
.card-one { top: 10%; left: -4%; }
.card-two { top: 42%; right: -6%; }
.card-three { bottom: 7%; left: 20%; }

.services {
  min-height: 100svh;
  padding: clamp(92px, 12vw, 150px) clamp(20px, 5vw, 70px);
  background:
    radial-gradient(circle at 20% 15%, rgba(158,210,255,.12), transparent 30%),
    linear-gradient(180deg, #030407, #080a0f 60%, #030407);
}
.section-heading { max-width: var(--max); margin: 0 auto 48px; }
.section-heading h2 { max-width: 980px; }
.service-grid { width: min(var(--max), 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-panel {
  min-height: 360px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.service-panel:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.34); background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); }
.panel-index { margin-bottom: auto; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.service-panel p { font-size: 15px; }

.process-media { background: linear-gradient(135deg, rgba(1,2,4,.2), rgba(1,2,4,.8)), repeating-linear-gradient(112deg, rgba(255,255,255,.06) 0 1px, transparent 1px 80px), radial-gradient(circle at 70% 35%, rgba(158,210,255,.18), transparent 30%); }
.process-content { max-width: var(--max); }
.process-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.process-list li { padding: 24px; border-top: 1px solid rgba(255,255,255,.32); background: rgba(0,0,0,.18); }
.process-list span { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.process-list p { font-size: 15px; }

.final-cta { min-height: 76svh; display: grid; place-items: center; text-align: center; padding: 100px 20px; background: radial-gradient(circle at 50% 30%, rgba(158,210,255,.18), transparent 32%), #030407; }
.final-cta h2 { max-width: 980px; }
.final-cta p { margin-left: auto; margin-right: auto; }

.footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px 34px; padding: 28px 20px 44px; color: rgba(255,255,255,.58); font-size: 13px; border-top: 1px solid rgba(255,255,255,.08); }

.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-cta { display: none; }
  .scene { min-height: 92svh; }
  .hero-content, .scene-content.narrow { max-width: calc(100% - 40px); margin-left: auto; }
  .fleet-silhouette, .dashboard-orbit { opacity: .34; right: -14%; width: 84vw; }
  .binder-preview { position: relative; top: auto; right: auto; width: min(92vw, 520px); margin: 92px auto 0; order: -1; }
  .preview-body { grid-template-columns: 1fr; }
  .preview-body aside { display: none; }
  .binder-device { right: 28px; top: 12%; width: 210px; opacity: .36; }
  .phone-screen { min-height: 410px; }
  .service-grid, .process-list { grid-template-columns: 1fr; }
  .service-panel { min-height: 250px; }
  h1 { font-size: clamp(50px, 15vw, 76px); }
  h2 { font-size: clamp(38px, 11vw, 62px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
