:root {
  --ink: #f7f9ff;
  --muted: #9ca9c6;
  --blue: #1616f4;
  --electric: #3158ff;
  --cyan: #55d8ff;
  --night: #03050b;
  --panel: rgba(8, 13, 27, 0.72);
  --line: rgba(137, 164, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.landing-shell {
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0 clamp(24px, 5vw, 84px);
  background:
    radial-gradient(circle at 70% 45%, rgba(23, 32, 167, 0.18), transparent 30%),
    linear-gradient(120deg, #020309 0%, #050816 47%, #02030a 100%);
}

.landing-shell::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 49.92%, rgba(72, 101, 255, 0.08) 50%, transparent 50.08%),
    linear-gradient(0deg, transparent 0 49.92%, rgba(72, 101, 255, 0.05) 50%, transparent 50.08%);
  background-size: 160px 160px;
  mask-image: linear-gradient(to right, transparent 4%, black 38%, black 78%, transparent 100%);
}

.landing-shell::after {
  content: "";
  position: absolute;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.digital-grid {
  position: absolute;
  z-index: -2;
  right: -8vw;
  top: -18vh;
  width: min(74vw, 1120px);
  aspect-ratio: 1;
  opacity: 0.32;
  transform: perspective(800px) rotateX(66deg) rotateZ(-20deg);
  background-image:
    linear-gradient(rgba(60, 89, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 89, 255, 0.22) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 68%);
}

.ambient {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(100px);
  pointer-events: none;
}

.ambient-one {
  width: 440px;
  height: 440px;
  right: 4%;
  top: 19%;
  background: rgba(20, 20, 244, 0.18);
  animation: ambient-float 9s ease-in-out infinite;
}

.ambient-two {
  width: 260px;
  height: 260px;
  left: -10%;
  bottom: -5%;
  background: rgba(0, 153, 255, 0.11);
  animation: ambient-float 12s ease-in-out infinite reverse;
}

.scan-line {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  height: 1px;
  top: -2px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(79, 125, 255, 0.7), transparent);
  box-shadow: 0 0 18px rgba(67, 112, 255, 0.42);
  animation: scan 8s linear 1.2s infinite;
}

.topbar {
  width: min(100%, 1560px);
  margin: 0 auto;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

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

.brand img {
  display: block;
  width: clamp(168px, 14vw, 235px);
  height: auto;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  color: #c9d3eb;
  border: 1px solid rgba(114, 147, 255, 0.2);
  border-radius: 999px;
  background: rgba(8, 13, 27, 0.52);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5cffb1;
  box-shadow: 0 0 14px rgba(92, 255, 177, 0.9);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(92, 255, 177, 0.52);
  border-radius: inherit;
  animation: status-pulse 2s ease-out infinite;
}

.hero {
  width: min(100%, 1560px);
  min-height: 610px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 110px);
  padding: clamp(70px, 8vh, 112px) 0 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #aeb9d3;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(10px, 0.72vw, 12px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--electric), var(--cyan));
  box-shadow: 0 0 10px rgba(49, 88, 255, 0.8);
}

.eyebrow-code {
  padding: 6px 8px;
  color: #dce3ff;
  border: 1px solid rgba(104, 137, 255, 0.27);
  background: rgba(35, 49, 121, 0.18);
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(56px, 6.15vw, 106px);
  font-weight: 590;
  line-height: 0.93;
  letter-spacing: -0.068em;
  text-wrap: balance;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(95deg, #a9bcff 0%, #4164ff 45%, #1616f4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 0 30px rgba(34, 58, 243, 0.2));
}

.lead {
  max-width: 680px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.75;
}

.actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.primary-action {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 0 10px 0 25px;
  border: 1px solid rgba(108, 135, 255, 0.58);
  background: linear-gradient(120deg, rgba(21, 24, 90, 0.86), rgba(11, 17, 43, 0.74));
  box-shadow: inset 0 0 24px rgba(64, 90, 255, 0.09), 0 18px 50px rgba(0, 0, 0, 0.25);
  font-size: 14px;
  font-weight: 620;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.primary-action::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  transform: translateX(-105%);
  background: linear-gradient(105deg, rgba(26, 26, 244, 0.82), rgba(49, 88, 255, 0.54));
  transition: transform 280ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(113, 149, 255, 0.95);
  box-shadow: 0 18px 50px rgba(18, 38, 167, 0.3);
}

.primary-action:hover::before,
.primary-action:focus-visible::before {
  transform: translateX(0);
}

.action-arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(151, 170, 255, 0.25);
  color: #cdd8ff;
  font-size: 19px;
}

.capabilities {
  max-width: 740px;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.capability {
  min-height: 76px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px 0 0;
  color: #8793ae;
  font-size: 12px;
  line-height: 1.45;
}

.capability + .capability {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.capability-index {
  flex: 0 0 auto;
  color: #4264ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.cyber-visual {
  position: relative;
  justify-self: center;
  width: min(41vw, 610px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.cyber-visual::before,
.cyber-visual::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(75, 105, 255, 0.1);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(19, 29, 125, 0.12);
}

.cyber-visual::after {
  inset: 28%;
  border-color: rgba(107, 132, 255, 0.2);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(87, 113, 255, 0.22);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(110, 139, 255, 0.13);
}

.orbit::before {
  inset: 12px;
}

.orbit::after {
  inset: -7px;
  border-style: dashed;
}

.orbit-outer {
  inset: 3%;
  border-top-color: rgba(75, 115, 255, 0.8);
  border-right-color: rgba(75, 115, 255, 0.05);
  animation: orbit-spin 25s linear infinite;
}

.orbit-middle {
  inset: 16%;
  border-bottom-color: rgba(75, 115, 255, 0.72);
  border-left-color: rgba(75, 115, 255, 0.03);
  animation: orbit-spin-reverse 18s linear infinite;
}

.orbit-inner {
  inset: 30%;
  border-right-color: rgba(85, 216, 255, 0.5);
  animation: orbit-spin 13s linear infinite;
}

.orbit-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border: 2px solid #a7b8ff;
  border-radius: 50%;
  background: #1629d9;
  box-shadow: 0 0 17px rgba(73, 104, 255, 0.9);
}

.orbit-node-one {
  top: 10%;
  right: 21%;
}

.orbit-node-two {
  left: 2%;
  bottom: 33%;
}

.orbit-node-three {
  right: -4px;
  top: 48%;
}

.core {
  position: relative;
  z-index: 2;
  width: 41%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(100, 132, 255, 0.25);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(43, 65, 231, 0.22), rgba(3, 5, 14, 0.9) 67%),
    #050816;
  box-shadow:
    0 0 0 16px rgba(23, 28, 82, 0.12),
    0 0 90px rgba(31, 49, 217, 0.34),
    inset 0 0 36px rgba(72, 103, 255, 0.12);
  animation: core-breathe 4.5s ease-in-out infinite;
}

.core::before {
  content: "";
  position: absolute;
  inset: -14%;
  border: 1px solid rgba(70, 102, 255, 0.22);
  border-radius: 50%;
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: orbit-spin-reverse 9s linear infinite;
}

.core-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: rgba(34, 48, 222, 0.35);
  filter: blur(36px);
}

.core img {
  position: relative;
  width: 49%;
  height: auto;
  filter: brightness(2.4) saturate(0.65) drop-shadow(0 0 13px rgba(85, 121, 255, 0.72));
}

.visual-label {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(157, 174, 219, 0.7);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.18em;
}

.visual-label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3258ff;
  box-shadow: 0 0 8px rgba(50, 88, 255, 0.9);
}

.visual-label-top {
  top: 5%;
  left: 16%;
}

.visual-label-bottom {
  right: 8%;
  bottom: 12%;
}

.coordinate {
  position: absolute;
  color: rgba(106, 124, 170, 0.5);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.15em;
}

.coordinate-one {
  right: -2%;
  top: 32%;
  transform: rotate(90deg);
}

.coordinate-two {
  left: 2%;
  bottom: 26%;
  transform: rotate(-90deg);
}

.footer {
  width: min(100%, 1560px);
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: #68738d;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-copy,
.system-state {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-divider {
  width: 22px;
  height: 1px;
  background: rgba(100, 120, 169, 0.38);
}

.system-state strong {
  color: #6bf0b1;
  font-size: inherit;
  font-weight: 650;
}

.state-bars {
  height: 12px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.state-bars i {
  width: 2px;
  background: #3c5cff;
  animation: bars 1.25s ease-in-out infinite alternate;
}

.state-bars i:nth-child(1) {
  height: 4px;
}

.state-bars i:nth-child(2) {
  height: 7px;
  animation-delay: 150ms;
}

.state-bars i:nth-child(3) {
  height: 11px;
  animation-delay: 300ms;
}

.state-bars i:nth-child(4) {
  height: 8px;
  animation-delay: 450ms;
}

.state-bars i:nth-child(5) {
  height: 5px;
  animation-delay: 600ms;
}

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

@keyframes orbit-spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes core-breathe {
  0%,
  100% {
    transform: scale(0.98);
    box-shadow:
      0 0 0 16px rgba(23, 28, 82, 0.12),
      0 0 70px rgba(31, 49, 217, 0.27),
      inset 0 0 36px rgba(72, 103, 255, 0.12);
  }
  50% {
    transform: scale(1.02);
    box-shadow:
      0 0 0 20px rgba(23, 28, 82, 0.09),
      0 0 115px rgba(31, 49, 217, 0.46),
      inset 0 0 44px rgba(72, 103, 255, 0.18);
  }
}

@keyframes ambient-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(22px, -24px, 0);
  }
}

@keyframes status-pulse {
  from {
    opacity: 0.85;
    transform: scale(0.4);
  }
  to {
    opacity: 0;
    transform: scale(1.4);
  }
}

@keyframes scan {
  0% {
    top: 0;
    opacity: 0;
  }
  4%,
  96% {
    opacity: 0.45;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes bars {
  to {
    opacity: 0.35;
    transform: scaleY(0.55);
  }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.68fr);
    gap: 22px;
  }

  .cyber-visual {
    width: min(46vw, 500px);
    transform: translateX(8%);
  }

  .capabilities {
    margin-top: 52px;
  }
}

@media (max-width: 820px) {
  .landing-shell {
    padding: 0 24px;
  }

  .topbar {
    min-height: 92px;
  }

  .live-status {
    padding: 9px 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 58px 0 54px;
  }

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

  .cyber-visual {
    grid-row: 1;
    width: min(72vw, 480px);
    margin-top: -12px;
    transform: none;
  }

  .hero-copy {
    grid-row: 2;
  }

  .eyebrow {
    margin-bottom: 22px;
  }

  h1 {
    font-size: clamp(54px, 12vw, 82px);
  }

  .lead {
    margin-top: 28px;
  }

  .footer {
    min-height: 76px;
  }
}

@media (max-width: 560px) {
  .landing-shell {
    padding: 0 20px;
  }

  .brand img {
    width: 158px;
  }

  .live-status span:last-child {
    display: none;
  }

  .live-status {
    width: 34px;
    height: 34px;
    justify-content: center;
    padding: 0;
  }

  .hero {
    padding-top: 38px;
  }

  .cyber-visual {
    width: min(88vw, 390px);
  }

  .visual-label,
  .coordinate {
    display: none;
  }

  .eyebrow {
    align-items: flex-start;
    line-height: 1.55;
  }

  .eyebrow::before {
    width: 20px;
    margin-top: 8px;
  }

  .eyebrow-code {
    display: none;
  }

  h1 {
    font-size: clamp(48px, 15.6vw, 72px);
    line-height: 0.95;
  }

  .lead {
    font-size: 16px;
    line-height: 1.68;
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .primary-action {
    width: 100%;
    justify-content: space-between;
  }

  .capabilities {
    grid-template-columns: 1fr;
    margin-top: 54px;
  }

  .capability {
    min-height: 59px;
    padding: 15px 0;
  }

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

  .footer {
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-copy {
    flex-wrap: wrap;
  }
}

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