:root {
  --bg: #02040b;
  --bg-soft: #070b16;
  --panel: rgba(9, 17, 33, 0.78);
  --panel-strong: rgba(13, 21, 39, 0.94);
  --text: #f5f7ff;
  --muted: #a7b2c8;
  --cyan: #16e6ff;
  --blue: #2c63ff;
  --violet: #af37ff;
  --line: rgba(99, 219, 255, 0.24);
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at 52% 18%, rgba(22, 230, 255, 0.18), transparent 28%),
    radial-gradient(circle at 80% 48%, rgba(175, 55, 255, 0.1), transparent 26%),
    linear-gradient(180deg, #02040b 0%, #050816 45%, #02040b 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(22, 230, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 230, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}

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

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

.site-shell {
  overflow: hidden;
}

.topbar {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(2, 4, 11, 0.78);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.topbar.visible,
.topbar[data-reveal] {
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 58px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(22, 230, 255, 0.58));
}

.brand span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(22, 230, 255, 0.09);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--cyan);
}

.hero {
  min-height: 100vh;
  padding: 124px 24px 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 48px;
  width: min(1180px, 100%);
  min-height: calc(100vh - 230px);
  margin: 0 auto;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-family: "Orbitron", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(3.1rem, 9vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 0 0 34px rgba(22, 230, 255, 0.45);
}

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

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.75;
}

.hero-actions,
.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #02040b;
  background: linear-gradient(90deg, var(--cyan), #65f4ff 48%, var(--violet));
  box-shadow: 0 0 28px rgba(22, 230, 255, 0.32);
}

.btn.ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.hero-mark img {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  filter: drop-shadow(0 0 38px rgba(22, 230, 255, 0.34));
}

.pulse-ring {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(22, 230, 255, 0.62);
  border-radius: 50%;
  opacity: 0.78;
  box-shadow:
    inset 0 0 42px rgba(175, 55, 255, 0.2),
    0 0 42px rgba(22, 230, 255, 0.24);
}

.pulse-ring::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(175, 55, 255, 0.42);
  border-radius: inherit;
  box-shadow: 0 0 28px rgba(175, 55, 255, 0.18);
}

.ring-one {
  width: 88%;
  aspect-ratio: 1;
  animation: rotate 16s linear infinite, pulseGlow 3.8s ease-in-out infinite;
}

.ring-two {
  width: 64%;
  aspect-ratio: 1;
  border-color: rgba(175, 55, 255, 0.58);
  animation: rotate 12s linear infinite reverse, pulseGlow 4.6s ease-in-out infinite reverse;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.signal-strip span {
  min-height: 54px;
  display: grid;
  place-items: center;
  background: rgba(7, 11, 22, 0.9);
  color: var(--muted);
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading.compact {
  max-width: 780px;
  display: block;
}

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

.service-card,
.solution-panel,
.metrics-grid,
.contact-section {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 21, 39, 0.86), rgba(6, 10, 20, 0.84));
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 250px;
  padding: 24px;
}

.service-card p,
.timeline-item span,
.solution-panel p,
.contact-section p,
.footer {
  color: var(--muted);
  line-height: 1.65;
}

.card-index {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--cyan);
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
}

.process-section {
  position: relative;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.timeline-item {
  position: relative;
  padding: 30px 24px 0 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px var(--cyan);
}

.timeline-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 16px;
  align-items: stretch;
}

.solution-panel {
  padding: 36px;
}

.solution-panel p {
  max-width: 760px;
  margin-top: 24px;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.metrics-grid div {
  display: grid;
  align-content: center;
  min-height: 150px;
  padding: 24px;
  background: var(--panel-strong);
}

.metrics-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
}

.metrics-grid span {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  width: min(1180px, calc(100% - 48px));
  margin: 72px auto 34px;
  padding: 34px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.26);
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(22, 230, 255, 0.12);
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--cyan);
  font-size: 0.92rem;
}

.footer {
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.44;
    scale: 0.98;
  }

  50% {
    opacity: 0.86;
    scale: 1.02;
  }
}

@media (max-width: 940px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(2, 4, 11, 0.96);
  }

  .nav-links.open {
    display: flex;
  }

  .hero-grid,
  .section-heading,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-mark {
    min-height: 420px;
  }

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

  .signal-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .topbar {
    width: calc(100% - 20px);
    min-height: 68px;
    padding: 10px;
  }

  .brand img {
    width: 50px;
    height: 40px;
  }

  .brand span {
    max-width: 165px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    padding: 104px 16px 32px;
  }

  .hero-actions .btn,
  .contact-form .btn {
    width: 100%;
  }

  .hero-mark {
    min-height: 310px;
  }

  .hero-mark img {
    width: min(360px, 100%);
  }

  .section,
  .contact-section,
  .footer {
    width: calc(100% - 32px);
  }

  .section {
    padding: 64px 0;
  }

  .service-grid,
  .timeline,
  .metrics-grid,
  .signal-strip {
    grid-template-columns: 1fr;
  }

  .timeline {
    border-top: 0;
    border-left: 1px solid var(--line);
    margin-left: 6px;
  }

  .timeline-item {
    padding: 0 0 28px 24px;
  }

  .timeline-item::before {
    top: 4px;
    left: -7px;
  }

  .contact-section {
    padding: 22px;
  }
}
