:root {
  --bg-primary: #040b1e;
  --bg-secondary: #081632;
  --surface: #0f1f42;
  --surface-soft: rgba(18, 34, 73, 0.7);
  --line: rgba(84, 130, 222, 0.3);
  --text: #f4f7ff;
  --muted: #bdd0ff;
  --brand: #13b9dd;
  --brand-deep: #0e6bf0;
  --shadow: 0 20px 50px rgba(4, 8, 20, 0.55);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 15% 15%, #13336f 0%, var(--bg-primary) 48%, #020612 100%);
  color: var(--text);
  line-height: 1.45;
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

.video-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.video-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(145deg, rgba(4, 11, 30, 0.86), rgba(2, 7, 18, 0.9));
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(19, 185, 221, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 185, 221, 0.06) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 100%);
  z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
  .video-bg {
    display: none;
  }
}

.topbar {
  width: min(1200px, 92vw);
  margin: 1.25rem auto;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 20, 45, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  animation: rise 600ms ease-out;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  width: 170px;
  height: auto;
  object-fit: contain;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
}

.cta,
.btn-primary,
.btn-ghost {
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.cta,
.btn-primary {
  background: linear-gradient(110deg, var(--brand), var(--brand-deep));
  color: #02102b;
  box-shadow: 0 10px 30px rgba(19, 185, 221, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible,
.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(190, 220, 255, 0.4);
  color: var(--text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(123, 172, 255, 0.13);
}

main {
  width: min(1200px, 92vw);
  margin: 0 auto 3rem;
  display: grid;
  gap: 1.4rem;
}

.hero,
.capabilities,
.partners,
.contact {
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: linear-gradient(145deg, rgba(17, 34, 72, 0.9), rgba(6, 15, 37, 0.9));
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 2.6vw, 2.2rem);
  animation: rise 700ms ease-out;
}

.hero {
  display: grid;
  gap: 1.25rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #91dffd;
  font-size: 0.78rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  max-width: 14ch;
}

.hero > p {
  max-width: 65ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stats {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.hero-stats article {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
}

.hero-stats h2 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.hero-stats p {
  color: var(--muted);
}

.section-head {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  max-width: 24ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.cards article {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
  transition: transform 200ms ease, border-color 200ms ease;
}

.cards article:hover {
  transform: translateY(-3px);
  border-color: rgba(145, 223, 253, 0.7);
}

.cards p,
.partners-copy,
.contact p {
  color: var(--muted);
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.logo-wall div {
  min-height: 78px;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.07), rgba(19, 185, 221, 0.08));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.contact {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}

.contact h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  max-width: 24ch;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .topbar {
    border-radius: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 145px;
  }

  .cta {
    width: 100%;
    text-align: center;
  }

  .hero h1 {
    max-width: 11ch;
  }
}
