:root {
  --bg: #050510;
  --bg-deep: #020208;
  --bg-panel: rgba(9, 12, 32, 0.72);
  --cyan: #00ffff;
  --cyan-soft: rgba(0, 255, 255, 0.34);
  --pink: #ff00ff;
  --pink-soft: rgba(255, 0, 255, 0.32);
  --green: #39ff14;
  --yellow: #ffff00;
  --purple: #2a0a4a;
  --blue: #001f3f;
  --white: #f6fbff;
  --muted: #aab7c8;
  --gray: #7d8596;
  --danger: #ff245f;

  --font-display: "Orbitron", system-ui, sans-serif;
  --font-ui: "Rajdhani", system-ui, sans-serif;
  --font-mono: "Share Tech Mono", "Roboto Mono", monospace;

  --max: 1180px;
  --header-height: 76px;
  --ease: cubic-bezier(0.2, 0.9, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 0, 255, 0.18), transparent 32%),
    radial-gradient(circle at 82% 8%, rgba(0, 255, 255, 0.15), transparent 30%),
    radial-gradient(circle at 52% 84%, rgba(57, 255, 20, 0.08), transparent 35%),
    linear-gradient(135deg, var(--bg-deep), var(--bg) 42%, #09001b);
  font-family: var(--font-ui);
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: #000;
  background: var(--cyan);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  color: #001014;
  background: var(--cyan);
  transform: translateY(-140%);
  transition: transform 0.25s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
}

.global-noise,
.scanline {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

.global-noise {
  opacity: 0.08;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 255, 0.08), rgba(0, 255, 255, 0.08));
  background-size: 3px 3px, 100% 100%;
  animation: noiseShift 0.35s steps(2) infinite;
}

.scanline {
  opacity: 0.2;
  background:
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 255, 255, 0.08) 50%,
      transparent 100%
    );
  background-size: 100% 6px;
}

.cursor-orb {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 998;
  width: 240px;
  height: 240px;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.55;
  background:
    radial-gradient(circle, rgba(0, 255, 255, 0.15), transparent 62%),
    radial-gradient(circle, rgba(255, 0, 255, 0.1), transparent 72%);
  filter: blur(4px);
  transform: translate3d(-50%, -50%, 0);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(0, 255, 255, 0.08), transparent 34%),
    #020208;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.loader__frame {
  width: min(420px, calc(100vw - 36px));
  padding: 34px;
  border: 1px solid var(--cyan-soft);
  background: rgba(0, 0, 0, 0.72);
  box-shadow:
    0 0 35px rgba(0, 255, 255, 0.18),
    inset 0 0 45px rgba(255, 0, 255, 0.08);
  clip-path: polygon(0 12px, 12px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.loader__sigil {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  animation: rotate 3s linear infinite;
  box-shadow: 0 0 28px var(--cyan-soft);
}

.loader__sigil span {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--pink);
  background: rgba(255, 0, 255, 0.25);
  box-shadow: 0 0 16px var(--pink);
}

.loader__sigil span:nth-child(1) {
  top: -7px;
  left: calc(50% - 7px);
}

.loader__sigil span:nth-child(2) {
  right: -7px;
  top: calc(50% - 7px);
}

.loader__sigil span:nth-child(3) {
  bottom: -7px;
  left: calc(50% - 7px);
}

.loader__sigil span:nth-child(4) {
  left: -7px;
  top: calc(50% - 7px);
}

.loader__title,
.loader__status {
  margin: 0;
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.loader__title {
  color: var(--cyan);
}

.loader__status {
  color: var(--muted);
  font-size: 0.9rem;
}

.loader__bar {
  height: 10px;
  margin: 22px 0 16px;
  border: 1px solid var(--cyan-soft);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.loader__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--pink), var(--green));
  transform-origin: left;
  animation: loadingBar 1.65s var(--ease) forwards;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 1200;
  width: 100%;
  border-bottom: 1px solid rgba(0, 255, 255, 0.16);
  background: rgba(2, 2, 8, 0.6);
  backdrop-filter: blur(16px);
  transition: background 0.28s ease, box-shadow 0.28s ease;
}

.site-header.is-scrolled {
  background: rgba(2, 2, 8, 0.86);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  height: var(--header-height);
  margin: 0 auto;
  padding: 0 22px;
  gap: 22px;
}

.brand,
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #001014;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  box-shadow:
    0 0 22px var(--cyan-soft),
    0 0 38px var(--pink-soft);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}

.brand__text {
  font-size: 0.9rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.nav__links a {
  position: relative;
  color: var(--muted);
  transition: color 0.22s ease, text-shadow 0.22s ease;
}

.nav__links a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  transition: width 0.25s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--white);
  text-shadow: 0 0 12px var(--cyan);
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  width: 100%;
}

.nav__cta {
  color: var(--cyan) !important;
}

.sound-toggle,
.nav-toggle {
  color: var(--cyan);
  border: 1px solid rgba(0, 255, 255, 0.36);
  background: rgba(0, 255, 255, 0.06);
}

.sound-toggle {
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.sound-toggle:hover,
.sound-toggle:focus-visible {
  box-shadow: 0 0 16px var(--cyan-soft);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 22px;
}

.hero {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 90px);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -4;
}

.hero-grid {
  position: absolute;
  inset: auto -20% -18% -20%;
  height: 48%;
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 255, 0.16) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(620px) rotateX(62deg);
  transform-origin: bottom center;
  animation: gridMove 5s linear infinite;
  opacity: 0.72;
}

.city {
  position: absolute;
  bottom: 16%;
  left: 50%;
  width: 120%;
  height: 30%;
  transform: translateX(-50%);
  opacity: 0.42;
  background-repeat: repeat-x;
  background-position: bottom;
  filter: drop-shadow(0 0 14px rgba(0, 255, 255, 0.24));
}

.city--back {
  background-image:
    linear-gradient(to top, rgba(0, 255, 255, 0.12), transparent),
    repeating-linear-gradient(
      90deg,
      transparent 0 24px,
      rgba(0, 255, 255, 0.25) 24px 26px,
      transparent 26px 76px
    );
  clip-path: polygon(
    0 100%,
    0 46%,
    4% 46%,
    4% 20%,
    8% 20%,
    8% 62%,
    12% 62%,
    12% 35%,
    16% 35%,
    16% 100%,
    21% 100%,
    21% 18%,
    27% 18%,
    27% 54%,
    32% 54%,
    32% 29%,
    38% 29%,
    38% 100%,
    44% 100%,
    44% 12%,
    49% 12%,
    49% 64%,
    54% 64%,
    54% 28%,
    59% 28%,
    59% 100%,
    64% 100%,
    64% 34%,
    70% 34%,
    70% 58%,
    75% 58%,
    75% 22%,
    81% 22%,
    81% 100%,
    87% 100%,
    87% 40%,
    92% 40%,
    92% 16%,
    98% 16%,
    98% 100%
  );
}

.city--front {
  bottom: 8%;
  height: 22%;
  opacity: 0.7;
  background: linear-gradient(to top, rgba(255, 0, 255, 0.22), rgba(0, 255, 255, 0.08));
  clip-path: polygon(
    0 100%,
    0 68%,
    5% 68%,
    5% 25%,
    10% 25%,
    10% 100%,
    17% 100%,
    17% 44%,
    24% 44%,
    24% 100%,
    31% 100%,
    31% 14%,
    36% 14%,
    36% 100%,
    45% 100%,
    45% 55%,
    51% 55%,
    51% 100%,
    58% 100%,
    58% 34%,
    64% 34%,
    64% 100%,
    73% 100%,
    73% 50%,
    80% 50%,
    80% 100%,
    88% 100%,
    88% 20%,
    94% 20%,
    94% 100%,
    100% 100%
  );
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  letter-spacing: 0.14em;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.55);
}

.glitch-title,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.glitch-title {
  position: relative;
  font-size: clamp(3rem, 8vw, 7.3rem);
  text-shadow:
    0 0 16px rgba(0, 255, 255, 0.56),
    0 0 46px rgba(255, 0, 255, 0.26);
}

.glitch-title::before,
.glitch-title::after {
  position: absolute;
  inset: 0;
  content: attr(data-text);
  pointer-events: none;
  opacity: 0.72;
}

.glitch-title::before {
  color: var(--cyan);
  transform: translate(2px, -2px);
  clip-path: inset(0 0 45% 0);
  animation: glitchA 2.7s infinite linear alternate-reverse;
}

.glitch-title::after {
  color: var(--pink);
  transform: translate(-2px, 2px);
  clip-path: inset(50% 0 0 0);
  animation: glitchB 2.1s infinite linear alternate-reverse;
}

.glitch-title--small {
  font-size: clamp(2.25rem, 6vw, 5rem);
}

.hero__lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.38rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
}

.cyber-button {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  border: 1px solid rgba(0, 255, 255, 0.55);
  background: rgba(0, 255, 255, 0.06);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.cyber-button::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.45), rgba(255, 0, 255, 0.36), transparent);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.cyber-button::after {
  position: absolute;
  inset: 2px;
  z-index: -1;
  content: "";
  background:
    linear-gradient(135deg, rgba(0, 255, 255, 0.09), rgba(255, 0, 255, 0.08)),
    rgba(2, 2, 8, 0.86);
  clip-path: inherit;
}

.cyber-button:hover,
.cyber-button:focus-visible {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow:
    0 0 18px rgba(0, 255, 255, 0.45),
    0 0 36px rgba(255, 0, 255, 0.22);
}

.cyber-button:hover::before,
.cyber-button:focus-visible::before {
  transform: translateX(120%);
}

.cyber-button--primary {
  color: #001014;
  border-color: transparent;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  box-shadow:
    0 0 22px rgba(0, 255, 255, 0.36),
    0 0 48px rgba(255, 0, 255, 0.25);
}

.cyber-button--primary::after {
  background: linear-gradient(90deg, var(--cyan), var(--pink));
}

.cyber-button--ghost {
  color: var(--cyan);
}

.cyber-button--small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.78rem;
}

.hero__telemetry {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  max-width: 570px;
  gap: 12px;
  margin-top: 44px;
}

.hero__telemetry div {
  padding: 14px 14px 12px;
  border: 1px solid rgba(0, 255, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(0, 255, 255, 0.08), rgba(255, 0, 255, 0.05)),
    rgba(0, 0, 0, 0.24);
}

.hero__telemetry strong {
  display: block;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1;
  text-shadow: 0 0 14px rgba(0, 255, 255, 0.62);
}

.hero__telemetry span {
  display: block;
  margin-top: 8px;
  color: var(--gray);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.hero__visual {
  display: grid;
  place-items: center;
}

.holo-card {
  position: relative;
  width: min(440px, 100%);
  min-height: 560px;
  padding: 22px;
  border: 1px solid rgba(0, 255, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(0, 255, 255, 0.11), rgba(255, 0, 255, 0.08)),
    rgba(7, 9, 28, 0.58);
  box-shadow:
    0 0 44px rgba(0, 255, 255, 0.22),
    inset 0 0 60px rgba(255, 0, 255, 0.1);
  backdrop-filter: blur(12px);
  transform-style: preserve-3d;
  clip-path: polygon(0 22px, 22px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.holo-card::before {
  position: absolute;
  inset: 12px;
  content: "";
  border: 1px dashed rgba(0, 255, 255, 0.24);
  pointer-events: none;
}

.holo-card__header,
.holo-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.holo-card__header span:last-child {
  color: var(--green);
  animation: blink 1.1s steps(2) infinite;
}

.holo-card__footer {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  color: var(--muted);
}

.holo-orb {
  position: relative;
  display: grid;
  width: 320px;
  height: 320px;
  place-items: center;
  margin: 72px auto 34px;
  transform-style: preserve-3d;
}

.orb-ring,
.orb-core {
  position: absolute;
  border-radius: 50%;
}

.orb-ring {
  border: 1px solid rgba(0, 255, 255, 0.58);
  box-shadow: 0 0 22px rgba(0, 255, 255, 0.28);
}

.orb-ring--one {
  width: 88%;
  height: 88%;
  animation: rotate 7s linear infinite;
}

.orb-ring--two {
  width: 68%;
  height: 68%;
  border-color: rgba(255, 0, 255, 0.62);
  transform: rotateX(64deg);
  animation: rotateReverse 5.5s linear infinite;
}

.orb-ring--three {
  width: 48%;
  height: 48%;
  border-color: rgba(57, 255, 20, 0.56);
  transform: rotateY(62deg);
  animation: pulse 2.2s ease-in-out infinite;
}

.orb-core {
  width: 98px;
  height: 98px;
  background:
    radial-gradient(circle at 34% 28%, #fff, var(--cyan) 16%, var(--pink) 48%, transparent 72%);
  box-shadow:
    0 0 28px var(--cyan),
    0 0 58px var(--pink);
  animation: float 3.2s ease-in-out infinite;
}

.data-bars {
  display: flex;
  align-items: end;
  justify-content: center;
  height: 82px;
  gap: 10px;
}

.data-bars span {
  width: 18px;
  height: var(--h);
  background: linear-gradient(to top, var(--pink), var(--cyan));
  box-shadow: 0 0 12px var(--cyan-soft);
  animation: barPulse 1.3s ease-in-out infinite alternate;
}

.data-bars span:nth-child(even) {
  animation-delay: 0.28s;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}

.scroll-cue::after {
  width: 1px;
  height: 48px;
  margin-top: 12px;
  content: "";
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollLine 1.4s ease-in-out infinite;
}

.section__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.section-number {
  color: transparent;
  -webkit-text-stroke: 1px var(--cyan);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 1;
  opacity: 0.75;
}

.section-code {
  color: var(--pink);
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-shadow: 0 0 12px rgba(255, 0, 255, 0.44);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  text-shadow: 0 0 24px rgba(0, 255, 255, 0.24);
}

.section__heading {
  max-width: 780px;
  margin: 0 auto 54px;
  text-align: center;
}

.section__heading p:not(.eyebrow),
.split-section p,
.architecture__copy p,
.final-cta p {
  color: var(--muted);
  font-size: 1.08rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.48fr 1fr 0.82fr;
  gap: 34px;
  align-items: center;
}

.split-section__text {
  min-width: 0;
}

.terminal-panel {
  border: 1px solid rgba(57, 255, 20, 0.32);
  background:
    linear-gradient(135deg, rgba(57, 255, 20, 0.05), rgba(0, 255, 255, 0.07)),
    rgba(0, 0, 0, 0.54);
  box-shadow:
    0 0 32px rgba(57, 255, 20, 0.14),
    inset 0 0 32px rgba(0, 255, 255, 0.06);
  clip-path: polygon(0 16px, 16px 0, 100% 0, 100% 100%, 0 100%);
}

.terminal-panel__top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid rgba(57, 255, 20, 0.22);
  font-family: var(--font-mono);
}

.terminal-panel__top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-panel__top span:nth-child(1) {
  background: var(--danger);
}

.terminal-panel__top span:nth-child(2) {
  background: var(--yellow);
}

.terminal-panel__top span:nth-child(3) {
  background: var(--green);
}

.terminal-panel__top strong {
  margin-left: auto;
  color: var(--green);
  font-weight: 400;
}

.terminal-panel pre {
  margin: 0;
  padding: 24px;
  overflow: auto;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.96rem;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.34);
}

.solution {
  max-width: 1260px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 270px;
  padding: 28px 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, 0.24);
  background:
    linear-gradient(145deg, rgba(0, 255, 255, 0.08), rgba(255, 0, 255, 0.05)),
    rgba(9, 12, 32, 0.64);
  box-shadow: inset 0 0 38px rgba(255, 0, 255, 0.04);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
  clip-path: polygon(0 18px, 18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.feature-card::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.feature-card:hover,
.feature-card:focus-within {
  border-color: var(--cyan);
  box-shadow:
    0 0 28px rgba(0, 255, 255, 0.18),
    0 0 54px rgba(255, 0, 255, 0.1);
}

.feature-card__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--cyan);
  border: 1px solid rgba(0, 255, 255, 0.5);
  font-size: 2rem;
  text-shadow: 0 0 18px var(--cyan);
  box-shadow: 0 0 22px rgba(0, 255, 255, 0.18);
}

.feature-card h3,
.timeline h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.4;
}

.feature-card p,
.timeline p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
}

.architecture__layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 46px;
  align-items: center;
}

.expand-log {
  margin-top: 20px;
  padding: 18px;
  border-left: 2px solid var(--green);
  background: rgba(57, 255, 20, 0.06);
  font-family: var(--font-mono);
}

.circuit-map {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, 0.28);
  background:
    radial-gradient(circle at center, rgba(0, 255, 255, 0.15), transparent 34%),
    linear-gradient(135deg, rgba(255, 0, 255, 0.06), rgba(0, 255, 255, 0.05)),
    rgba(4, 8, 22, 0.68);
  box-shadow: inset 0 0 70px rgba(0, 255, 255, 0.08);
  clip-path: polygon(0 28px, 28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.circuit-map__grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 255, 0.16) 1px, transparent 1px);
  background-size: 42px 42px;
}

.node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(0, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(2, 4, 14, 0.84);
  font-family: var(--font-mono);
  text-shadow: 0 0 12px var(--cyan);
  box-shadow:
    0 0 24px rgba(0, 255, 255, 0.24),
    inset 0 0 20px rgba(0, 255, 255, 0.14);
}

.node--core {
  top: 50%;
  left: 50%;
  width: 118px;
  height: 118px;
  color: #001014;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  transform: translate(-50%, -50%);
}

.node--a {
  top: 14%;
  left: 16%;
}

.node--b {
  top: 15%;
  right: 16%;
}

.node--c {
  bottom: 15%;
  left: 18%;
}

.node--d {
  right: 16%;
  bottom: 14%;
}

.trace {
  position: absolute;
  z-index: 1;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--pink), transparent);
  box-shadow: 0 0 16px var(--cyan-soft);
  animation: tracePulse 2s ease-in-out infinite;
}

.trace--one {
  top: 29%;
  left: 27%;
  width: 32%;
  transform: rotate(32deg);
}

.trace--two {
  top: 31%;
  left: 52%;
  width: 31%;
  transform: rotate(148deg);
}

.trace--three {
  top: 66%;
  left: 28%;
  width: 30%;
  transform: rotate(-28deg);
}

.trace--four {
  top: 66%;
  left: 52%;
  width: 31%;
  transform: rotate(28deg);
}

.timeline {
  position: relative;
  display: grid;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 22px;
  width: 1px;
  content: "";
  background: linear-gradient(to bottom, var(--cyan), var(--pink), transparent);
  box-shadow: 0 0 16px var(--cyan-soft);
}

.timeline__item {
  position: relative;
  margin-left: 54px;
  padding: 24px;
  border: 1px solid rgba(255, 0, 255, 0.28);
  background: rgba(9, 12, 32, 0.58);
  clip-path: polygon(0 14px, 14px 0, 100% 0, 100% 100%, 0 100%);
}

.timeline__item::before {
  position: absolute;
  top: 28px;
  left: -44px;
  width: 18px;
  height: 18px;
  content: "";
  border: 2px solid var(--cyan);
  background: var(--bg);
  box-shadow: 0 0 18px var(--cyan);
  transform: rotate(45deg);
}

.timeline time {
  display: block;
  margin-bottom: 8px;
  color: var(--pink);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

.final-cta {
  max-width: 1080px;
  text-align: center;
}

.final-cta__frame {
  position: relative;
  padding: clamp(36px, 6vw, 74px);
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, 0.38);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 255, 255, 0.22), transparent 36%),
    radial-gradient(circle at 15% 100%, rgba(255, 0, 255, 0.18), transparent 36%),
    rgba(3, 5, 18, 0.78);
  box-shadow:
    0 0 54px rgba(0, 255, 255, 0.16),
    inset 0 0 84px rgba(255, 0, 255, 0.08);
  clip-path: polygon(0 30px, 30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.final-cta__frame::before {
  position: absolute;
  inset: 16px;
  content: "";
  border: 1px dashed rgba(0, 255, 255, 0.22);
  pointer-events: none;
}

.final-cta__frame > * {
  position: relative;
  z-index: 1;
}

.final-cta p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 680px;
  gap: 12px;
  margin: 38px auto;
}

.countdown div {
  padding: 18px 10px 14px;
  border: 1px solid rgba(0, 255, 255, 0.26);
  background: rgba(0, 0, 0, 0.32);
}

.countdown strong {
  display: block;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  text-shadow: 0 0 14px var(--cyan-soft);
}

.countdown span {
  color: var(--gray);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 720px;
  gap: 12px;
  margin: 0 auto;
}

.signup-form input {
  min-height: 56px;
  padding: 0 18px;
  color: var(--white);
  border: 1px solid rgba(0, 255, 255, 0.32);
  outline: none;
  background: rgba(0, 0, 0, 0.42);
  font-family: var(--font-mono);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.signup-form input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.18);
}

.form-message {
  min-height: 28px;
  margin-top: 18px !important;
  color: var(--green) !important;
  font-family: var(--font-mono);
}

.site-footer {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  padding: 42px 22px 54px;
  gap: 18px;
  color: var(--gray);
  border-top: 1px solid rgba(0, 255, 255, 0.18);
  font-family: var(--font-mono);
}

.footer__links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links a,
.social-links a {
  color: var(--muted);
  transition: color 0.22s ease, text-shadow 0.22s ease;
}

.footer__links a:hover,
.footer__links a:focus-visible,
.social-links a:hover,
.social-links a:focus-visible {
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan);
}

.social-links a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(0, 255, 255, 0.28);
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease),
    filter 0.75s var(--ease);
  filter: blur(8px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes loadingBar {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes noiseShift {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(3px, -2px);
  }
}

@keyframes gridMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 72px;
  }
}

@keyframes glitchA {
  0%,
  100% {
    clip-path: inset(0 0 62% 0);
  }

  18% {
    clip-path: inset(12% 0 48% 0);
    transform: translate(4px, -2px);
  }

  46% {
    clip-path: inset(42% 0 32% 0);
    transform: translate(-2px, 2px);
  }

  72% {
    clip-path: inset(7% 0 72% 0);
    transform: translate(2px, -4px);
  }
}

@keyframes glitchB {
  0%,
  100% {
    clip-path: inset(58% 0 0 0);
  }

  22% {
    clip-path: inset(62% 0 18% 0);
    transform: translate(-4px, 2px);
  }

  55% {
    clip-path: inset(28% 0 48% 0);
    transform: translate(3px, 3px);
  }

  80% {
    clip-path: inset(78% 0 5% 0);
    transform: translate(-2px, -3px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96) rotateY(62deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.08) rotateY(62deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(-8px);
  }

  50% {
    transform: translateY(10px);
  }
}

@keyframes barPulse {
  from {
    transform: scaleY(0.72);
    opacity: 0.65;
  }

  to {
    transform: scaleY(1.06);
    opacity: 1;
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  45% {
    transform: scaleY(1);
    transform-origin: top;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

@keyframes tracePulse {
  0%,
  100% {
    opacity: 0.25;
    filter: hue-rotate(0deg);
  }

  50% {
    opacity: 1;
    filter: hue-rotate(90deg);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero__visual {
    order: -1;
    margin-top: 24px;
  }

  .holo-card {
    min-height: 470px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .architecture__layout {
    grid-template-columns: 1fr;
  }

  .section__meta {
    margin-bottom: 12px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .sound-toggle {
    display: none;
  }

  .nav__links {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 18px 22px 26px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.22);
    background: rgba(2, 2, 8, 0.95);
    transform: translateY(-130%);
    transition: transform 0.28s var(--ease);
  }

  .nav__links.is-open {
    transform: translateY(0);
  }

  .nav__links a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  }

  .brand__text {
    font-size: 0.74rem;
  }

  .section {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 42px);
  }

  .hero__telemetry {
    grid-template-columns: 1fr;
  }

  .holo-orb {
    width: 250px;
    height: 250px;
  }

  .holo-card {
    min-height: 420px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .circuit-map {
    min-height: 410px;
  }

  .node {
    width: 68px;
    height: 68px;
    font-size: 0.78rem;
  }

  .node--core {
    width: 92px;
    height: 92px;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .signup-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav {
    padding: 0 14px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .brand__text {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero__actions {
    display: grid;
  }

  .cyber-button {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .glitch-title {
    font-size: clamp(2.45rem, 15vw, 4rem);
  }

  .section-number {
    font-size: 3rem;
  }

  .terminal-panel pre {
    font-size: 0.82rem;
  }

  .final-cta__frame {
    clip-path: polygon(0 18px, 18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .cursor-orb,
  .scanline,
  .global-noise {
    display: none;
  }
}
