:root {
  --bg: #040915;
  --bg-soft: #071426;
  --panel: rgba(9, 24, 45, 0.76);
  --panel-strong: rgba(13, 32, 58, 0.92);
  --line: rgba(112, 201, 255, 0.23);
  --text: #eef7ff;
  --muted: #9eb5c9;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --green: #2dd4bf;
  --white-soft: rgba(255, 255, 255, 0.82);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(37, 99, 235, 0.3), transparent 28rem),
    radial-gradient(circle at 86% 8%, rgba(6, 182, 212, 0.18), transparent 24rem),
    linear-gradient(135deg, #020611 0%, #071426 48%, #030814 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(112, 201, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 201, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 86%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, transparent 0%, rgba(6, 182, 212, 0.08) 46%, transparent 48%),
    linear-gradient(60deg, transparent 0%, rgba(37, 99, 235, 0.08) 58%, transparent 60%);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(112, 201, 255, 0.16);
  background: rgba(4, 9, 21, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  width: min(250px, 52vw);
}

.brand img {
  width: 100%;
  height: auto;
  max-height: 62px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  transition: color 180ms ease, text-shadow 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
  text-shadow: 0 0 18px rgba(6, 182, 212, 0.9);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  min-height: calc(100vh - 82px);
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 78px);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 11% 4% auto auto;
  width: min(600px, 70vw);
  aspect-ratio: 1;
  opacity: 0.44;
  background:
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(6, 182, 212, 0.26) 29px),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(37, 99, 235, 0.26) 29px);
  clip-path: polygon(22% 0, 100% 8%, 86% 80%, 7% 100%, 0 24%);
  transform: perspective(700px) rotateX(58deg) rotateZ(-14deg);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(45, 212, 191, 0.26);
  border-radius: 50%;
  box-shadow: inset 0 0 34px rgba(6, 182, 212, 0.16), 0 0 44px rgba(37, 99, 235, 0.12);
}

.hero-orbit-one {
  right: -120px;
  top: 120px;
  width: 360px;
  height: 360px;
}

.hero-orbit-two {
  right: 20%;
  bottom: 6%;
  width: 180px;
  height: 180px;
}

.hero-content,
.hero-panel,
.section {
  position: relative;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 970px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 4.7rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.28rem;
}

.hero-copy {
  max-width: 720px;
  color: var(--white-soft);
  font-size: clamp(1.04rem, 1.6vw, 1.34rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.72);
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.32);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.05);
}

.hero-panel {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(9, 24, 45, 0.86), rgba(3, 10, 22, 0.78));
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.signal-card,
.metrics,
.system-board div,
.process-step,
.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.signal-card {
  padding: 22px;
}

.signal-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.signal-card strong {
  display: block;
  font-size: clamp(1.36rem, 2.4vw, 2.2rem);
  line-height: 1.08;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.metrics div {
  min-width: 0;
  padding: 18px 12px;
  text-align: center;
}

.metrics div + div {
  border-left: 1px solid var(--line);
}

.metrics strong {
  display: block;
  color: var(--green);
  font-size: 1rem;
}

.metrics span {
  color: var(--muted);
  font-size: 0.78rem;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 78px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  border-top: 1px solid rgba(112, 201, 255, 0.14);
  border-bottom: 1px solid rgba(112, 201, 255, 0.14);
  background: rgba(255, 255, 255, 0.025);
}

.intro p:last-child,
.systems-copy p,
.cta p {
  color: var(--white-soft);
  font-size: clamp(1.03rem, 1.45vw, 1.2rem);
  line-height: 1.8;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 290px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    var(--panel);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.62);
  background:
    linear-gradient(180deg, rgba(6, 182, 212, 0.13), transparent),
    var(--panel-strong);
}

.card-index {
  display: block;
  margin-bottom: 54px;
  color: var(--cyan);
  font-weight: 900;
}

.service-card p,
.process-step p {
  color: var(--muted);
  line-height: 1.65;
}

.process {
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.018);
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-step {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
}

.process-step span {
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 900;
}

.process-step p {
  margin-bottom: 0;
}

.systems {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.system-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.system-board div {
  min-height: 112px;
  display: flex;
  align-items: end;
  padding: 18px;
  color: var(--text);
  font-weight: 800;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.22), transparent 54%),
    var(--panel);
}

.cta {
  margin: 0 clamp(18px, 5vw, 78px) clamp(48px, 7vw, 86px);
  padding: clamp(42px, 6vw, 72px);
  border: 1px solid rgba(6, 182, 212, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(6, 182, 212, 0.08)),
    rgba(7, 20, 38, 0.84);
  box-shadow: var(--shadow);
}

.cta h2 {
  max-width: 980px;
}

.cta p {
  max-width: 760px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 5vw, 78px);
  border-top: 1px solid rgba(112, 201, 255, 0.16);
  color: var(--muted);
}

.site-footer span:first-child {
  color: var(--text);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .hero,
  .systems,
  .intro {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 620px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    width: min(238px, 72vw);
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 0.84rem;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.2rem);
  }

  .service-grid,
  .system-board,
  .metrics {
    grid-template-columns: 1fr;
  }

  .metrics div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .cta {
    margin-inline: 18px;
  }
}
