:root {
  --bg: #040817;
  --bg-2: #081127;
  --panel: rgba(9, 18, 39, 0.54);
  --panel-strong: rgba(11, 23, 49, 0.78);
  --line: rgba(118, 221, 255, 0.22);
  --text: #eff7ff;
  --muted: #9ab0d0;
  --cyan: #69efff;
  --blue: #4a7dff;
  --violet: #8f66ff;
  --mint: #6fffd2;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(111, 255, 210, 0.1), transparent 18%),
    radial-gradient(circle at 80% 0%, rgba(143, 102, 255, 0.18), transparent 22%),
    radial-gradient(circle at 50% 60%, rgba(74, 125, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #040817 0%, #050b1d 48%, #02050f 100%);
  overflow-x: hidden;
}

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

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  letter-spacing: -0.01em;
}

.cosmos,
.grid-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.cosmos {
  background:
    radial-gradient(circle at 15% 20%, rgba(105, 239, 255, 0.14), transparent 12%),
    radial-gradient(circle at 78% 16%, rgba(143, 102, 255, 0.2), transparent 14%),
    radial-gradient(circle at 66% 80%, rgba(105, 239, 255, 0.12), transparent 16%);
  filter: blur(24px);
}

.grid-lines {
  background-image:
    linear-gradient(rgba(118, 221, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 221, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.48), transparent 92%);
}

.page-frame {
  position: relative;
  width: min(calc(100% - 28px), 1380px);
  margin: 16px auto;
  padding: 22px;
  border: 1px solid rgba(105, 239, 255, 0.16);
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(7, 13, 30, 0.82), rgba(5, 10, 24, 0.9)),
    rgba(5, 10, 24, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 0 1px rgba(74, 125, 255, 0.08),
    0 40px 120px rgba(0, 0, 0, 0.44);
  overflow: hidden;
}

.page-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 40%, rgba(105, 239, 255, 0.16), transparent 18%),
    radial-gradient(circle at 100% 10%, rgba(74, 125, 255, 0.2), transparent 18%);
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
  border: 1px solid rgba(133, 168, 226, 0.24);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 245, 255, 0.9));
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.55),
    0 18px 44px rgba(0, 0, 0, 0.18);
}

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

.brand-logo {
  width: 188px;
  height: 92px;
  background: url("logo.png") center / contain no-repeat;
  filter: drop-shadow(0 8px 14px rgba(74, 125, 255, 0.18));
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.site-nav a {
  position: relative;
  color: #162846;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  transition: transform 0.22s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #264679;
  transform: translateY(-1px);
}

.nav-cta,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(105, 239, 255, 0.22);
  font-family: "Exo 2", sans-serif;
  font-size: 0.86rem;
  color: #f6fbff;
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.nav-cta,
.button-primary {
  background:
    linear-gradient(135deg, rgba(105, 239, 255, 0.18), rgba(74, 125, 255, 0.3) 48%, rgba(143, 102, 255, 0.22)),
    rgba(12, 24, 52, 0.82);
  box-shadow:
    inset 0 0 24px rgba(105, 239, 255, 0.14),
    0 0 22px rgba(74, 125, 255, 0.18);
}

.button-secondary {
  background: rgba(12, 24, 52, 0.4);
  box-shadow: inset 0 0 18px rgba(105, 239, 255, 0.08);
}

.nav-cta::before,
.button::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -120%;
  width: 72%;
  height: 160%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.34) 50%, transparent 100%);
  transform: rotate(12deg);
  transition: left 0.42s ease;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(105, 239, 255, 0.38);
}

.nav-cta:hover::before,
.button:hover::before {
  left: 150%;
}

.nav-cta:hover,
.button-primary:hover {
  box-shadow:
    inset 0 0 28px rgba(105, 239, 255, 0.18),
    0 0 30px rgba(74, 125, 255, 0.22),
    0 18px 34px rgba(0, 0, 0, 0.22);
}

.button-secondary:hover {
  background: rgba(20, 35, 72, 0.7);
  box-shadow:
    inset 0 0 22px rgba(105, 239, 255, 0.12),
    0 0 26px rgba(105, 239, 255, 0.1);
}

.nav-cta:active,
.button:active {
  transform: translateY(-1px) scale(0.99);
}

.button-wide {
  width: 100%;
}

.glass-panel {
  position: relative;
  border: 1px solid rgba(105, 239, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    var(--panel);
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 0 40px rgba(105, 239, 255, 0.04),
    var(--shadow);
}

.eyebrow {
  margin-bottom: 18px;
  font-family: "Exo 2", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 24px;
  padding: 26px 0 10px;
}

.hero-copy,
.hero-visual {
  min-height: 640px;
  padding: 34px;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  line-height: 1.02;
  color: #ffffff;
  text-shadow: 0 0 28px rgba(105, 239, 255, 0.08);
}

.hero-lead {
  max-width: 38ch;
  margin-top: 18px;
  font-size: 1rem;
}

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

.hero-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.hero-service-item {
  padding: 16px 16px;
  border: 1px solid rgba(105, 239, 255, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(74, 125, 255, 0.08)),
    rgba(7, 16, 35, 0.48);
  box-shadow: inset 0 0 24px rgba(105, 239, 255, 0.04);
}

.hero-service-item strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Exo 2", sans-serif;
  font-size: 1rem;
  color: #ffffff;
}

.hero-service-item span {
  color: var(--muted);
}

.hero-visual {
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.orb-a {
  top: 60px;
  left: 40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(105, 239, 255, 0.3), transparent 72%);
}

.orb-b {
  right: 70px;
  top: 90px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(143, 102, 255, 0.28), transparent 72%);
}

.orb-c {
  left: 120px;
  bottom: 80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(74, 125, 255, 0.2), transparent 74%);
}

.shield-core {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(105, 239, 255, 0.05) 34%, transparent 62%);
}

.shield-ring {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px solid rgba(105, 239, 255, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.shield-ring-1 {
  width: 320px;
  height: 320px;
}

.shield-ring-2 {
  width: 250px;
  height: 250px;
}

.shield-ring-3 {
  width: 180px;
  height: 180px;
}

.shield-pulse {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.94) 0%, rgba(105, 239, 255, 0.84) 32%, rgba(74, 125, 255, 0.34) 58%, transparent 78%);
  box-shadow:
    0 0 24px rgba(105, 239, 255, 0.82),
    0 0 54px rgba(74, 125, 255, 0.42);
}

.data-card {
  position: absolute;
  min-width: 170px;
  padding: 16px 18px;
  border: 1px solid rgba(105, 239, 255, 0.18);
  border-radius: 20px;
  background: rgba(8, 19, 43, 0.62);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 22px rgba(105, 239, 255, 0.05);
}

.data-card span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.data-card strong {
  font-family: "Exo 2", sans-serif;
  color: #ffffff;
}

.data-card-top {
  top: 68px;
  left: 32px;
}

.data-card-right {
  right: 28px;
  bottom: 80px;
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 54%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(105, 239, 255, 0.85), transparent);
  box-shadow: 0 0 26px rgba(105, 239, 255, 0.6);
}

.insight-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.insight-card,
.systems-copy,
.systems-board,
.contact-card,
.contact-form,
.service-panel {
  padding: 28px;
}

.insight-card h2,
.section-heading h2,
.systems-copy h2 {
  max-width: 16ch;
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  line-height: 1.08;
  color: #ffffff;
}

.section-block {
  position: relative;
  z-index: 1;
  margin-top: 24px;
}

.section-heading {
  margin-bottom: 22px;
}

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

.service-panel {
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.service-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(105, 239, 255, 0.16), transparent 28%),
    linear-gradient(180deg, transparent, rgba(74, 125, 255, 0.06));
  pointer-events: none;
}

.service-panel:hover {
  transform: translateY(-8px);
  border-color: rgba(105, 239, 255, 0.3);
  box-shadow:
    inset 0 0 40px rgba(105, 239, 255, 0.05),
    0 24px 54px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(74, 125, 255, 0.12);
}

.service-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 18px;
  border: 1px solid rgba(105, 239, 255, 0.22);
  font-family: "Exo 2", sans-serif;
  color: var(--cyan);
  box-shadow: inset 0 0 22px rgba(105, 239, 255, 0.08);
}

.service-panel h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  color: #ffffff;
}

.systems-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 20px;
}

.systems-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.systems-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  color: #dfeeff;
}

.systems-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 12px rgba(105, 239, 255, 0.5);
}

.systems-board {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.board-node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 64px;
  padding: 0 18px;
  border: 1px solid rgba(105, 239, 255, 0.22);
  border-radius: 999px;
  background: rgba(10, 23, 48, 0.76);
  box-shadow:
    inset 0 0 22px rgba(105, 239, 255, 0.08),
    0 0 30px rgba(74, 125, 255, 0.12);
}

.board-node span {
  font-family: "Exo 2", sans-serif;
  font-size: 0.82rem;
  color: #ffffff;
}

.node-primary {
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
}

.node-secondary {
  left: 48px;
  top: 190px;
}

.node-tertiary {
  right: 48px;
  top: 190px;
}

.node-quaternary {
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
}

.board-line {
  position: absolute;
  background: linear-gradient(180deg, rgba(105, 239, 255, 0.5), rgba(74, 125, 255, 0.1));
  box-shadow: 0 0 14px rgba(105, 239, 255, 0.25);
}

.line-one {
  top: 116px;
  left: 50%;
  width: 2px;
  height: 90px;
  transform: translateX(-50%);
}

.line-two {
  top: 220px;
  left: 180px;
  width: calc(100% - 360px);
  height: 2px;
  background: linear-gradient(90deg, rgba(105, 239, 255, 0.22), rgba(105, 239, 255, 0.52), rgba(105, 239, 255, 0.22));
}

.line-three {
  left: 50%;
  bottom: 116px;
  width: 2px;
  height: 90px;
  transform: translateX(-50%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 20px;
}

.contact-card h3,
.contact-form h3 {
  margin-bottom: 18px;
  font-size: 1.4rem;
  color: #ffffff;
}

.contact-row + .contact-row {
  margin-top: 22px;
}

.contact-label {
  display: inline-block;
  margin-bottom: 10px;
  font-family: "Exo 2", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

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

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

.contact-form span {
  font-size: 0.94rem;
  color: #dce9fb;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(105, 239, 255, 0.18);
  border-radius: 20px;
  background: rgba(8, 18, 39, 0.72);
  font: inherit;
  color: var(--text);
  box-shadow: inset 0 0 20px rgba(105, 239, 255, 0.04);
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 24px 10px 8px;
  text-align: center;
}

.site-footer p {
  color: rgba(239, 247, 255, 0.62);
}

@media (max-width: 1180px) {
  .hero,
  .systems-layout,
  .contact-layout,
  .insight-strip {
    grid-template-columns: 1fr;
  }

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

  .hero-copy,
  .hero-visual {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .page-frame {
    width: min(calc(100% - 12px), 1380px);
    margin: 6px auto;
    padding: 12px;
    border-radius: 26px;
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
    border-radius: 26px;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 18px;
  }

  .nav-cta,
  .button,
  .button-wide {
    width: 100%;
  }

  .hero-copy,
  .hero-visual,
  .insight-card,
  .systems-copy,
  .systems-board,
  .contact-card,
  .contact-form,
  .service-panel {
    padding: 22px;
  }

  .hero-service-list,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 158px;
    height: 78px;
  }

  .shield-core {
    width: 240px;
    height: 240px;
  }

  .shield-ring-1 {
    width: 240px;
    height: 240px;
  }

  .shield-ring-2 {
    width: 190px;
    height: 190px;
  }

  .shield-ring-3 {
    width: 140px;
    height: 140px;
  }

  .shield-pulse {
    width: 110px;
    height: 110px;
  }

  .data-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 18px;
  }

  .scan-line,
  .board-line {
    display: none;
  }

  .systems-board {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .board-node {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
  }
}
