:root {
  color-scheme: dark;
  --bg: #050b16;
  --bg-2: #07111f;
  --panel: rgba(10, 24, 44, 0.78);
  --panel-strong: rgba(13, 31, 58, 0.96);
  --line: rgba(160, 221, 255, 0.18);
  --line-strong: rgba(74, 241, 203, 0.45);
  --text: #eaf7ff;
  --muted: #9bb5c6;
  --soft: #6d8496;
  --teal: #2cf3c8;
  --cyan: #5fc7ff;
  --blue: #3e6cff;
  --gold: #f2ce7d;
  --danger: #ff758f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(circle at 12% 8%, rgba(62,108,255,0.25), transparent 34rem),
    radial-gradient(circle at 86% 18%, rgba(44,243,200,0.18), transparent 32rem),
    radial-gradient(circle at 56% 62%, rgba(95,199,255,0.10), transparent 40rem),
    linear-gradient(180deg, #050b16 0%, #07111f 48%, #050b16 100%);
  color: var(--text);
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 85%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }
button { color: inherit; }

.container {
  width: min(1180px, calc(100vw - 36px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 99;
  background: var(--teal);
  color: #03101c;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
}
.site-header[data-elevated="true"] {
  background: rgba(5, 11, 22, 0.78);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
}
.brand span:last-child { display: grid; gap: 0.1rem; }
.brand strong, .footer-brand strong { letter-spacing: 0.04em; }
.brand small { color: var(--muted); font-size: 0.76rem; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #0e2b55, #28f0c6);
  color: white;
  font-weight: 900;
  box-shadow: 0 16px 44px rgba(44, 243, 200, 0.2);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.93rem;
}
.nav a:hover, .nav a:focus { color: var(--text); }
.header-cta {
  padding: 0.72rem 1rem;
  border: 1px solid rgba(44, 243, 200, 0.45);
  border-radius: 999px;
  color: var(--teal);
  font-weight: 800;
  background: rgba(44, 243, 200, 0.08);
}
.header-cta:hover, .header-cta:focus { background: rgba(44, 243, 200, 0.16); }

.hero {
  padding: 86px 0 48px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(620px, 1.18fr);
  gap: 2.1rem;
  align-items: center;
}
.eyebrow {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 900;
  margin: 0 0 1rem;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(3rem, 7vw, 6.25rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  margin-bottom: 1.35rem;
}
h2 {
  font-size: clamp(2rem, 4.7vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin-bottom: 1rem;
}
h3 { letter-spacing: -0.025em; }
.hero-lede, .section-heading p, .feature-copy p, .launch-copy p, .preview-card p {
  color: #bdd2df;
  font-size: 1.08rem;
  line-height: 1.72;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0;
}
.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.22rem;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover, .btn:focus { transform: translateY(-1px); }
.btn-primary {
  color: #03101c;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  box-shadow: 0 18px 44px rgba(44, 243, 200, 0.22);
}
.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
}
.launch-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin: 0;
}
.launch-strip div, .metric-cards div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}
.launch-strip dt {
  color: var(--soft);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
}
.launch-strip dd {
  margin: 0;
  color: var(--text);
  font-weight: 850;
}
.hero-screen {
  position: relative;
  padding: 0.65rem;
  border: 1px solid rgba(44, 243, 200, 0.36);
  background:
    radial-gradient(circle at 30% 0%, rgba(44, 243, 200, 0.20), transparent 18rem),
    rgba(8, 21, 39, 0.72);
  box-shadow: 0 34px 110px rgba(44, 243, 200, 0.16), var(--shadow);
}
.hero-screen::before {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(44, 243, 200, 0.28);
  pointer-events: none;
  filter: blur(3px);
}
.screen-ribbon {
  position: absolute;
  top: -18px;
  left: 24px;
  z-index: 2;
  padding: 0.56rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(44,243,200,0.95), rgba(95,199,255,0.95));
  color: #03101c;
  font-weight: 950;
  font-size: 0.8rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.32);
}
.image-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}
.image-open img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(177, 231, 255, 0.18);
  box-shadow: 0 18px 60px rgba(0,0,0,0.28);
}
.hero-image-button img { box-shadow: none; }

.section { padding: 86px 0; }
.trust-band { padding-top: 32px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.trust-grid article {
  min-height: 220px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}
.trust-grid span {
  color: var(--gold);
  display: inline-block;
  margin-bottom: 2rem;
  font-weight: 900;
}
.trust-grid strong { display: block; font-size: 1.25rem; margin-bottom: 0.65rem; }
.trust-grid p { color: var(--muted); line-height: 1.65; margin-bottom: 0; }

.feature-grid, .cockpit-grid, .audit-grid, .launch-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.check-list {
  list-style: none;
  display: grid;
  gap: 0.78rem;
  padding: 0;
  margin: 1.4rem 0 0;
}
.check-list li {
  position: relative;
  padding-left: 2rem;
  color: #cfe1eb;
  line-height: 1.55;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 950;
}
.feature-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 1rem;
  align-items: stretch;
}
.primary-shot, .mini-shot, .dashboard-panel, .audit-shots .image-open, .shot-card, .module-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.55rem;
  box-shadow: var(--shadow);
}
.primary-shot { border-color: var(--line-strong); }
.mini-shot-row { display: grid; gap: 1rem; }
.mini-shot img {
  width: auto;
  max-height: 310px;
  margin-inline: auto;
}
.section-heading {
  width: min(840px, 100%);
  margin-bottom: 2.2rem;
}
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.shot-card { padding: 1rem; }
.shot-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.shot-copy span {
  color: var(--teal);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}
.shot-copy h3 { margin: 0; font-size: 1.05rem; }
.dashboard-panel { padding: 0.55rem; }
.metric-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.metric-cards strong { display: block; margin-bottom: 0.45rem; }
.metric-cards span { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.module-card {
  padding: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 0.82rem;
}
.module-card h3 { margin: 0; font-size: 1.1rem; }
.module-card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 0.94rem; }
.audit-grid { grid-template-columns: 0.88fr 1.12fr; }
.audit-shots {
  display: grid;
  gap: 1rem;
}
.timeline {
  display: grid;
  gap: 1rem;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 1rem;
  bottom: 1rem;
  width: 1px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding: 1.1rem 1.1rem 1.1rem 4rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 1.25rem;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--bg);
  border: 2px solid var(--cyan);
}
.timeline-item.active::before { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 0 8px rgba(44,243,200,0.12); }
.timeline-item span {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.timeline-item strong { display: block; font-size: 1.18rem; margin: 0.2rem 0; }
.timeline-item p { color: var(--muted); line-height: 1.5; margin: 0; }
.preview-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 16% 0%, rgba(44,243,200,0.17), transparent 22rem),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}
.lead-form {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.16);
}
.lead-form label { display: grid; gap: 0.45rem; color: #d9eaf4; font-weight: 850; }
.lead-form label span { font-size: 0.9rem; }
.lead-form input, .lead-form select {
  width: 100%;
  color: var(--text);
  background: #0a1728;
  border: 1px solid rgba(177, 231, 255, 0.18);
  padding: 0.86rem 0.95rem;
  border-radius: 14px;
  outline: none;
}
.lead-form select option { color: #07111f; background: #eef8ff; }
.lead-form input:focus, .lead-form select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(44, 243, 200, 0.12); }
.form-note { color: var(--muted); font-size: 0.82rem; line-height: 1.5; margin: 0; }
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0;
  color: var(--muted);
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand { color: var(--text); margin-bottom: 0.7rem; }
.footer-links { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer-links a:hover, .footer-links a:focus { color: var(--text); }
.lightbox {
  width: min(96vw, 1500px);
  max-height: 94vh;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: rgba(5, 11, 22, 0.96);
  color: var(--text);
  box-shadow: 0 40px 140px rgba(0,0,0,0.7);
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(8px); }
.lightbox figure { margin: 0; padding: 1rem; display: grid; gap: 0.9rem; }
.lightbox img {
  width: auto;
  height: auto;
  max-width: calc(96vw - 2rem);
  max-height: 82vh;
  margin-inline: auto;
  border: 1px solid var(--line);
}
.lightbox figcaption { color: var(--muted); font-weight: 800; }
.lightbox-close-form { position: absolute; right: 0.75rem; top: 0.75rem; z-index: 2; }
.lightbox-close {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(5, 11, 22, 0.88);
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1060px) {
  .hero-grid, .feature-grid, .cockpit-grid, .audit-grid, .launch-grid, .preview-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 3rem; }
  .hero-screen { max-width: 100%; }
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav { display: none; }
  .header-cta { display: none; }
  .hero { padding-top: 54px; }
  h1 { font-size: clamp(2.6rem, 16vw, 4rem); }
  .launch-strip, .trust-grid, .shot-grid, .module-grid, .metric-cards, .feature-stack { grid-template-columns: 1fr; }
  .mini-shot-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-shot img { max-height: 420px; }
  .shot-copy { align-items: flex-start; flex-direction: column; gap: 0.35rem; }
  .section { padding: 58px 0; }
  .preview-card { padding: 1rem; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  body { overflow-x: hidden; }
  .brand small { display: none; }
  .brand { min-width: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; justify-content: center; }
  .screen-ribbon { font-size: 0.7rem; letter-spacing: 0.08em; padding-inline: 0.72rem; }
  .hero-screen, .shot-card, .module-card, .primary-shot, .mini-shot { border-radius: 18px; }
  .lightbox figure { padding: 0.7rem; }
  .lightbox img { max-width: calc(96vw - 1.4rem); max-height: 78vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
