/*
  NEO TOKYO 204X — Cyberpunk Landing Page
  Single-page demo (HTML/CSS/JS only)
*/

:root {
  --bg0: #0a0a0a;
  --bg1: #001f3f;
  --bg2: #2a0a2a;
  --ink: #d6f6ff;
  --muted: rgba(214, 246, 255, 0.72);
  --muted2: rgba(214, 246, 255, 0.55);
  --line: rgba(0, 255, 255, 0.14);
  --line2: rgba(255, 0, 255, 0.14);
  --card: rgba(255, 255, 255, 0.03);
  --card2: rgba(0, 0, 0, 0.28);

  /* Neon palette */
  --cyan: #00ffff;
  --pink: #ff00ff;
  --lime: #39ff14;
  --yellow: #ffff00;

  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;

  --shadow-cyan: 0 0 22px rgba(0, 255, 255, 0.22);
  --shadow-pink: 0 0 22px rgba(255, 0, 255, 0.18);
  --shadow-lime: 0 0 18px rgba(57, 255, 20, 0.16);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 800px at 15% 0%, rgba(0, 255, 255, 0.14), transparent 55%),
    radial-gradient(900px 600px at 85% 10%, rgba(255, 0, 255, 0.12), transparent 50%),
    linear-gradient(180deg, #001f3f 0%, #0a0a0a 42%, #2a0a2a 100%);
  font-family: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* Accessibility */
:focus-visible {
  outline: 2px solid rgba(0, 255, 255, 0.75);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 10px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(0, 255, 255, 0.35);
  border-radius: 12px;
  z-index: 999;
  transform: translateY(-140%);
  transition: transform 200ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Background layers */
canvas.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035) 0px,
    rgba(255, 255, 255, 0.035) 1px,
    rgba(0, 0, 0, 0) 3px,
    rgba(0, 0, 0, 0) 6px
  );
  opacity: 0.16;
  mix-blend-mode: overlay;
  animation: scanDrift 9s linear infinite;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='240'%20height='240'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='.8'%20numOctaves='4'%20stitchTiles='stitch'/%3E%3C/filter%3E%3Crect%20width='240'%20height='240'%20filter='url(%23n)'%20opacity='.55'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  animation: noiseShift 1.4s steps(3) infinite;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 20%, rgba(0, 255, 255, 0.08), transparent 60%),
    radial-gradient(90% 70% at 50% 60%, transparent 42%, rgba(0, 0, 0, 0.6) 100%);
}

@keyframes scanDrift {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(80px);
  }
}

@keyframes noiseShift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  25% {
    transform: translate3d(-3%, 2%, 0);
  }
  50% {
    transform: translate3d(2%, -3%, 0);
  }
  75% {
    transform: translate3d(-2%, -2%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* Layout */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

body {
  padding-top: 78px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.34));
  border-bottom: 1px solid rgba(0, 255, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 0 rgba(0, 255, 255, 0);
}

.brand:where(:hover) {
  box-shadow: var(--shadow-cyan);
  border-color: rgba(0, 255, 255, 0.35);
}

.brand-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}

.brand-text {
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 14px;
  text-transform: uppercase;
}

.brand-sub {
  display: none;
}

.desktop-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(214, 246, 255, 0.78);
  text-transform: uppercase;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  transition: width 240ms var(--ease-out);
}

.nav-link:hover {
  color: rgba(214, 246, 255, 0.98);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sfx-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  cursor: pointer;
}

.sfx-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sfx-ui {
  width: 42px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.25);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.sfx-ui::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(0, 255, 255, 0.85);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.45);
  transition: left 200ms var(--ease-out), background 200ms var(--ease-out);
}

.sfx-toggle input:checked + .sfx-ui::after {
  left: 22px;
  background: rgba(57, 255, 20, 0.9);
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.45);
}

.sfx-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(214, 246, 255, 0.8);
}

.burger {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  position: relative;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(214, 246, 255, 0.88);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.25);
}

/* Mobile nav */
.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(12px);
  border: none;
}

.nav-panel-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 84px;
  gap: 22px;
}

.nav-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-panel-title {
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.12em;
}

.nav-close {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 0, 255, 0.08);
  border: 1px solid rgba(255, 0, 255, 0.26);
  color: rgba(255, 255, 255, 0.9);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.nav-panel-grid {
  display: grid;
  gap: 12px;
}

.nav-panel-link {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.24);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
}

.nav-panel-link-cta {
  border-color: rgba(255, 0, 255, 0.25);
}

.nav-panel-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* Glitch */
.glitch-text {
  position: relative;
  display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-glitch-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.8;
}

.glitch-text::before {
  color: rgba(255, 0, 255, 0.85);
  transform: translate(2px, -1px);
  clip-path: polygon(0 44%, 100% 44%, 100% 60%, 0 60%);
  animation: glitchA 2.6s infinite linear alternate-reverse;
}

.glitch-text::after {
  color: rgba(0, 255, 255, 0.85);
  transform: translate(-2px, 1px);
  clip-path: polygon(0 0, 100% 0, 100% 26%, 0 26%);
  animation: glitchB 2.3s infinite linear alternate-reverse;
}

@keyframes glitchA {
  0% {
    clip-path: polygon(0 60%, 100% 60%, 100% 72%, 0 72%);
    transform: translate(2px, -1px);
  }
  30% {
    clip-path: polygon(0 35%, 100% 35%, 100% 50%, 0 50%);
    transform: translate(3px, -2px);
  }
  60% {
    clip-path: polygon(0 48%, 100% 48%, 100% 63%, 0 63%);
    transform: translate(1px, -1px);
  }
  100% {
    clip-path: polygon(0 40%, 100% 40%, 100% 58%, 0 58%);
    transform: translate(2px, -2px);
  }
}

@keyframes glitchB {
  0% {
    clip-path: polygon(0 10%, 100% 10%, 100% 22%, 0 22%);
    transform: translate(-2px, 1px);
  }
  40% {
    clip-path: polygon(0 20%, 100% 20%, 100% 34%, 0 34%);
    transform: translate(-4px, 2px);
  }
  75% {
    clip-path: polygon(0 0, 100% 0, 100% 18%, 0 18%);
    transform: translate(-2px, 1px);
  }
  100% {
    clip-path: polygon(0 14%, 100% 14%, 100% 28%, 0 28%);
    transform: translate(-3px, 1px);
  }
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 0 rgba(0, 255, 255, 0);
  cursor: pointer;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), border-color 180ms var(--ease-out), background 180ms var(
      --ease-out
    );
}

.btn .btn-label {
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}

.btn .btn-sub {
  font-size: 12px;
  color: var(--muted);
}

.btn-primary {
  background:
    linear-gradient(180deg, rgba(0, 255, 255, 0.22), rgba(0, 0, 0, 0.22)),
    radial-gradient(120px 80px at 20% 20%, rgba(0, 255, 255, 0.25), transparent 60%),
    rgba(0, 0, 0, 0.22);
  border-color: rgba(0, 255, 255, 0.35);
}

.btn-secondary {
  border-color: rgba(255, 0, 255, 0.22);
  background: rgba(0, 0, 0, 0.18);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  box-shadow: var(--shadow-cyan), 0 0 0 1px rgba(0, 255, 255, 0.18) inset;
  border-color: rgba(0, 255, 255, 0.55);
}

.btn-secondary:hover {
  box-shadow: var(--shadow-pink);
  border-color: rgba(255, 0, 255, 0.45);
}

.btn:active {
  transform: translateY(-1px) scale(0.99);
}

/* Glitch-on-button (CSS only, JS can also trigger) */
.btn[data-glitch]::after {
  content: attr(data-btn-text);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  opacity: 0;
  color: rgba(255, 255, 255, 0.95);
  mix-blend-mode: screen;
  pointer-events: none;
}

.btn[data-glitch]:hover::after,
.btn[data-glitch]:focus-visible::after {
  opacity: 0.7;
  animation: btnGlitch 420ms steps(2) infinite;
}

@keyframes btnGlitch {
  0% {
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%);
    transform: translate(-2px, -1px);
    text-shadow: 2px -2px rgba(255, 0, 255, 0.85), -2px 2px rgba(0, 255, 255, 0.85);
  }
  40% {
    clip-path: polygon(0 55%, 100% 55%, 100% 80%, 0 80%);
    transform: translate(3px, 1px);
  }
  70% {
    clip-path: polygon(0 10%, 100% 10%, 100% 25%, 0 25%);
    transform: translate(-1px, 2px);
  }
  100% {
    clip-path: polygon(0 30%, 100% 30%, 100% 55%, 0 55%);
    transform: translate(2px, -1px);
  }
}

/* Hero */
main {
  position: relative;
  z-index: 4;
}

.hero {
  padding: 38px 0 60px;
  min-height: calc(100vh - 78px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.mouse-light {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 580px;
  height: 580px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(0, 255, 255, 0.18), transparent 60%);
  filter: blur(26px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.9;
}

.hero-copy {
  position: relative;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 1;
  transform: none;
  filter: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(9px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out), filter 900ms var(--ease-out);
}

.js .reveal-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.22);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.status-pill-2 {
  border-color: rgba(255, 0, 255, 0.18);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(57, 255, 20, 0.95);
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.55);
}

.hero-title {
  margin: 0;
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1.05;
}

.hero-title .hero-system {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(214, 246, 255, 0.8);
}

.accent {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0, 255, 255, 0.35);
}

.hero-lead {
  margin-top: 16px;
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.badge {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge-cyan {
  border-color: rgba(0, 255, 255, 0.35);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.2);
}

.badge-pink {
  border-color: rgba(255, 0, 255, 0.35);
  box-shadow: 0 0 18px rgba(255, 0, 255, 0.18);
}

.badge-lime {
  border-color: rgba(57, 255, 20, 0.35);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.14);
}

.terminal {
  margin-top: 10px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 0 20px rgba(0, 255, 255, 0.08);
}

.terminal-pre {
  margin: 0;
  padding: 14px 16px;
  max-height: 140px;
  overflow: auto;
  font-size: 12.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.terminal-pre::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

.terminal-pre::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 255, 0.2);
  border-radius: 10px;
}

/* Hero visual (HUD frame) */
.hero-visual-wrap {
  position: relative;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(0, 255, 255, 0.06), rgba(0, 0, 0, 0.26));
  overflow: hidden;
  padding: 16px;
  min-height: 420px;
  box-shadow: 0 0 0 1px rgba(255, 0, 255, 0.04) inset, 0 0 40px rgba(0, 255, 255, 0.07);
  transform: translateY(calc(var(--scrollY, 0px) * -0.02));
}

.portal {
  position: absolute;
  inset: -8px;
  background:
    radial-gradient(420px 260px at 35% 35%, rgba(0, 255, 255, 0.26), transparent 60%),
    radial-gradient(300px 220px at 65% 55%, rgba(255, 0, 255, 0.18), transparent 58%),
    radial-gradient(260px 160px at 60% 20%, rgba(57, 255, 20, 0.12), transparent 60%);
  opacity: 0.9;
  filter: blur(0px);
}

.portal::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(120deg, transparent 30%, rgba(0, 255, 255, 0.22) 48%, rgba(255, 0, 255, 0.18) 62%, transparent 76%);
  transform: translateX(-60%) rotate(18deg);
  opacity: 0.7;
  animation: portalSweep 3.8s var(--ease-out) infinite;
}

@keyframes portalSweep {
  0% {
    transform: translateX(-60%) rotate(18deg);
  }
  50% {
    transform: translateX(20%) rotate(18deg);
  }
  100% {
    transform: translateX(80%) rotate(18deg);
  }
}

.hero-visual .hud-frame {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 18px rgba(0, 255, 255, 0.12));
  opacity: 0.95;
}

.holo {
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  border: 1px solid rgba(0, 255, 255, 0.18);
  background:
    radial-gradient(340px 200px at 50% 22%, rgba(0, 255, 255, 0.12), transparent 60%),
    rgba(0, 0, 0, 0.22);
  z-index: 3;
  overflow: hidden;
}

.holo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 255, 255, 0.00) 0%,
    rgba(0, 255, 255, 0.14) 40%,
    rgba(255, 0, 255, 0.10) 60%,
    rgba(0, 255, 255, 0.00) 100%
  );
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: holoFlicker 4s steps(2) infinite;
}

@keyframes holoFlicker {
  0% {
    transform: translateY(-6%);
    opacity: 0.35;
  }
  40% {
    transform: translateY(2%);
    opacity: 0.65;
  }
  70% {
    transform: translateY(-1%);
    opacity: 0.45;
  }
  100% {
    transform: translateY(0%);
    opacity: 0.55;
  }
}

.holo-title {
  position: relative;
  z-index: 5;
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 18px rgba(0, 255, 255, 0.35), 0 0 18px rgba(255, 0, 255, 0.18);
}

.holo-lines {
  position: relative;
  z-index: 5;
  height: 78%;
  margin-top: 18px;
}

.holo-line {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.55), transparent);
  opacity: 0.55;
  filter: blur(0.2px);
  animation: holoLine 2.4s steps(2) infinite;
}

@keyframes holoLine {
  0% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    opacity: 0.72;
  }
  100% {
    transform: translateY(0);
    opacity: 0.42;
  }
}

.hud-corners {
  position: absolute;
  inset: 10px;
  z-index: 6;
  pointer-events: none;
}

.hud-corners span {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 255, 255, 0.35);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.18);
}

.hud-corners span:nth-child(1) {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.hud-corners span:nth-child(2) {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
  border-color: rgba(255, 0, 255, 0.35);
}

.hud-corners span:nth-child(3) {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
  border-color: rgba(57, 255, 20, 0.35);
}

.hud-corners span:nth-child(4) {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.hero-stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(0, 255, 255, 0.14);
  padding: 14px 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.stat-value {
  font-family: "Orbitron", system-ui, sans-serif;
  font-size: 20px;
  letter-spacing: 0.1em;
}

.stat-label {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted2);
  text-transform: uppercase;
}

.hero-scroll {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(214, 246, 255, 0.7);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
}

.scroll-mouse {
  width: 28px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.25);
  position: relative;
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.12);
}

.scroll-mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 6px;
  height: 10px;
  border-radius: 10px;
  transform: translateX(-50%);
  background: rgba(0, 255, 255, 0.85);
  animation: wheel 1.25s var(--ease-out) infinite;
}

@keyframes wheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 0.25;
  }
  50% {
    transform: translate(-50%, 12px);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 0);
    opacity: 0.25;
  }
}

/* Sections */
.section {
  padding: 78px 0;
}

.section-inner {
  position: relative;
}

.section-head {
  margin-bottom: 26px;
}

.section-title {
  margin: 0;
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-title-main {
  display: block;
  font-size: 26px;
}

.section-title-sub {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: none;
  color: rgba(214, 246, 255, 0.74);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--col-gap, 18px);
  align-items: start;
}

.card {
  background: rgba(0, 0, 0, 0.22);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 255, 255, 0.14);
  padding: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.card-title {
  margin: 0 0 12px;
}

.card-title,
.card-text {
  margin: 0;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.card-text {
  color: var(--muted);
  line-height: 1.8;
  margin-top: 12px;
  font-size: 14.5px;
}

.list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.list-ic {
  margin-right: 10px;
  color: rgba(0, 255, 255, 0.9);
  text-shadow: 0 0 14px rgba(0, 255, 255, 0.22);
}

/* Panel viz card */
.panel-viz {
  position: relative;
  overflow: hidden;
}

.panel-viz::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto -30%;
  height: 220px;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.18), transparent 60%);
  transform: rotate(-12deg);
}

.panel-viz > * {
  position: relative;
  z-index: 2;
}

.viz-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.viz-title {
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 14px;
}

.viz-sub {
  color: var(--muted2);
  font-size: 12px;
}

.viz-bars {
  height: 156px;
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.viz-bars span {
  flex: 1;
  height: calc(var(--h, 50%) * 1%);
  min-height: 18px;
  background: linear-gradient(180deg, rgba(0, 255, 255, 0.65), rgba(255, 0, 255, 0.15));
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.12);
  animation: barPulse 1.6s var(--ease-out) infinite;
  animation-delay: calc(var(--d, 0) * 1ms);
}

.viz-bars span:nth-child(2) {
  background: linear-gradient(180deg, rgba(255, 0, 255, 0.55), rgba(0, 255, 255, 0.12));
}

.viz-bars span:nth-child(4) {
  background: linear-gradient(180deg, rgba(57, 255, 20, 0.55), rgba(255, 0, 255, 0.12));
}

.viz-bars span:nth-child(6) {
  background: linear-gradient(180deg, rgba(255, 255, 0, 0.55), rgba(0, 255, 255, 0.12));
}

@keyframes barPulse {
  0% {
    transform: translateY(0);
    filter: saturate(1);
  }
  50% {
    transform: translateY(2px);
    filter: saturate(1.2);
  }
  100% {
    transform: translateY(0);
    filter: saturate(1);
  }
}

.viz-foot {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.mono {
  color: rgba(214, 246, 255, 0.8);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scan-graph {
  margin-top: 14px;
  position: relative;
  height: 72px;
  border-radius: 18px;
  border: 1px solid rgba(0, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.scan-graph .scan-grid {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(0, 255, 255, 0.18), rgba(0, 0, 255, 0.18) 1px, transparent 1px, transparent 14px),
    repeating-linear-gradient(180deg, rgba(255, 0, 255, 0.11), rgba(255, 0, 255, 0.11) 1px, transparent 1px, transparent 12px);
  opacity: 0.35;
}

.scan-graph .scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.9), rgba(255, 0, 255, 0.7), transparent);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.25);
  animation: scanLineMove 2.7s var(--ease-out) infinite;
}

@keyframes scanLineMove {
  0% {
    transform: translateY(-10px);
    opacity: 0.4;
  }
  45% {
    opacity: 1;
  }
  100% {
    transform: translateY(86px);
    opacity: 0.4;
  }
}

/* Solution section */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 24px;
  align-items: start;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.20);
  padding: 18px 18px;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  inset: -60% -20% auto -20%;
  height: 170px;
  background: radial-gradient(circle at 50% 40%, rgba(0, 255, 255, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 26px rgba(0, 255, 255, 0.12);
}

.feature:hover::before {
  opacity: 1;
}

.feature[aria-pressed="true"] {
  border-color: rgba(255, 0, 255, 0.28);
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.12);
}

.feature-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.feature-text {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13.5px;
}

.feature-ic svg {
  display: block;
}

.ui-mock {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
  padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  position: relative;
}

.ui-mock::before {
  content: "";
  position: absolute;
  inset: -30% -30% auto -30%;
  height: 260px;
  background: radial-gradient(circle at 40% 30%, rgba(0, 255, 255, 0.17), transparent 60%);
  opacity: 0.9;
}

.ui-mock > * {
  position: relative;
  z-index: 2;
}

.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mock-dots {
  display: flex;
  gap: 8px;
}

.mock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
}

.mock-dots span:nth-child(1) {
  border-color: rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.16);
}

.mock-dots span:nth-child(2) {
  border-color: rgba(255, 0, 255, 0.3);
  box-shadow: 0 0 16px rgba(255, 0, 255, 0.14);
}

.mock-dots span:nth-child(3) {
  border-color: rgba(57, 255, 20, 0.3);
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.12);
}

.mock-title {
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  color: rgba(214, 246, 255, 0.82);
}

.mock-body {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.mock-panel {
  border-radius: 18px;
  border: 1px solid rgba(0, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.20);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.mock-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.10), transparent 40%, rgba(255, 0, 255, 0.08));
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
}

.ui-mock[data-feature="core"] .mock-panel::after {
  opacity: 0.55;
}

.ui-mock[data-feature="adaptive"] .mock-panel::after {
  opacity: 0.45;
  background: linear-gradient(90deg, rgba(255, 0, 255, 0.10), transparent 40%, rgba(0, 255, 255, 0.08));
}

.ui-mock[data-feature="fortress"] .mock-panel::after {
  opacity: 0.55;
  background: linear-gradient(90deg, rgba(57, 255, 20, 0.10), transparent 40%, rgba(255, 0, 255, 0.08));
}

.ui-mock[data-feature="hud"] .mock-panel::after {
  opacity: 0.55;
  background: linear-gradient(90deg, rgba(0, 255, 255, 0.12), transparent 40%, rgba(255, 255, 0, 0.08));
}

.mock-gloss {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mock-kv {
  display: grid;
  gap: 10px;
}

.kv-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(0, 255, 255, 0.14);
}

.kv-k {
  color: rgba(214, 246, 255, 0.65);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
}

.kv-v {
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12.5px;
  color: rgba(214, 246, 255, 0.92);
}

.mock-code {
  margin-top: 14px;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.85;
  color: rgba(214, 246, 255, 0.72);
}

.code-line {
  position: relative;
  padding-left: 14px;
}

.code-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(0, 255, 255, 0.75);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.25);
  opacity: 0.6;
}

.ui-mock .mock-scan {
  border-radius: 18px;
  border: 1px solid rgba(0, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  position: relative;
  height: 64px;
  overflow: hidden;
}

.mock-scan-grid {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(0, 255, 255, 0.18), rgba(0, 255, 255, 0.18) 1px, transparent 1px, transparent 16px),
    repeating-linear-gradient(180deg, rgba(255, 0, 255, 0.12), rgba(255, 0, 255, 0.12) 1px, transparent 1px, transparent 14px);
  opacity: 0.35;
}

.mock-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  top: -8px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.95), rgba(255, 0, 255, 0.6), transparent);
  animation: mockScan 2.4s var(--ease-out) infinite;
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.25);
}

@keyframes mockScan {
  0% {
    transform: translateY(0);
    opacity: 0.3;
  }
  45% {
    opacity: 1;
  }
  100% {
    transform: translateY(86px);
    opacity: 0.3;
  }
}

.mock-foot {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* Accordion & diagram */
.arch-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 24px;
  align-items: start;
}

.accordion {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  padding: 18px;
}

.acc-title {
  margin: 0 0 14px;
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 14px;
}

.acc-btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  margin-bottom: 12px;
  color: rgba(214, 246, 255, 0.92);
  transition: transform 160ms var(--ease-out), border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}

.acc-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 255, 0.22);
  box-shadow: 0 0 22px rgba(255, 0, 255, 0.10);
}

.acc-btn[aria-expanded="true"] {
  border-color: rgba(0, 255, 255, 0.26);
  box-shadow: 0 0 26px rgba(0, 255, 255, 0.10);
}

.acc-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.acc-tag {
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.18);
  background: rgba(0, 255, 255, 0.06);
  color: rgba(214, 246, 255, 0.9);
  font-size: 12px;
}

.acc-panel {
  margin: -6px 0 14px;
  padding: 0 14px 6px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 13.5px;
}

.diagram-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  padding: 18px;
  overflow: hidden;
}

.diagram-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}

.diagram-title {
  font-family: "Orbitron", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 14px;
}

.diagram-sub {
  color: var(--muted2);
  font-size: 12px;
  margin-top: 6px;
}

.diagram-legend {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.lg {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.2);
}

.lg-cyan {
  background: rgba(0, 255, 255, 0.85);
}

.lg-pink {
  background: rgba(255, 0, 255, 0.85);
}

.lg-lime {
  background: rgba(57, 255, 20, 0.85);
}

svg.diagram {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 14px;
}

.diagram .edge {
  fill: none;
  stroke: rgba(0, 255, 255, 0.35);
  stroke-width: 2;
  stroke-dasharray: 7 6;
  opacity: 0.85;
}

.diagram .node circle[r="18"] {
  fill: rgba(0, 255, 255, 0.07);
  stroke: rgba(0, 255, 255, 0.45);
  stroke-width: 1;
}

.diagram .node circle[r="3"] {
  fill: rgba(214, 246, 255, 0.92);
}

.diagram .node text {
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: rgba(214, 246, 255, 0.85);
  font-size: 12px;
}

.diagram .node[data-node="hud"] circle[r="3"] {
  fill: rgba(0, 255, 255, 0.95);
}

.diagram .node[data-node="ai"] circle[r="3"] {
  fill: rgba(255, 0, 255, 0.95);
}

.diagram .node[data-node="gate"] circle[r="3"] {
  fill: rgba(57, 255, 20, 0.95);
}

.diagram .node[data-node="stream"] circle[r="3"] {
  fill: rgba(255, 255, 0, 0.95);
}

.diagram .node.is-active circle[r="18"] {
  stroke-width: 2;
  filter: drop-shadow(0 0 22px rgba(0, 255, 255, 0.24));
}

.diagram .node:focus-visible circle[r="3"] {
  outline: none;
}

.diagram-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Timeline */
.road-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 24px;
  align-items: start;
}

.timeline {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  padding: 18px;
}

.timeline-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.timeline-title {
  font-family: "Orbitron", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 14px;
  color: rgba(214, 246, 255, 0.92);
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.tl-btn {
  width: 100%;
  border-radius: 18px;
  padding: 14px 14px;
  border: 1px solid rgba(0, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: center;
  transition: transform 160ms var(--ease-out), border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
  text-align: left;
}

.tl-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 255, 0.22);
  box-shadow: 0 0 24px rgba(255, 0, 255, 0.10);
}

.tl-btn[aria-pressed="true"] {
  border-color: rgba(0, 255, 255, 0.28);
  box-shadow: 0 0 26px rgba(0, 255, 255, 0.12);
}

.tl-num {
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.18em;
  color: rgba(214, 246, 255, 0.92);
}

.tl-label {
  font-weight: 900;
}

.tl-date {
  color: var(--muted2);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.timeline-panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  padding: 18px;
}

.panel-top {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
}

.panel-title {
  font-family: "Orbitron", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
}

.panel-body {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 14px;
}

.panel-cards {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pcard {
  border-radius: 18px;
  border: 1px solid rgba(0, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  padding: 14px;
}

.pcard-ic {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 255, 255, 0.16);
  color: rgba(0, 255, 255, 0.9);
  margin-bottom: 10px;
}

.pcard-title {
  font-weight: 900;
  letter-spacing: 0.02em;
}

.pcard-text {
  margin-top: 6px;
  color: var(--muted2);
  font-size: 13px;
}

/* CTA section */
.cta {
  padding-top: 88px;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 22px;
  align-items: start;
}

.cta-title {
  text-align: left;
}

.cta-title-sub {
  font-size: 13px;
  letter-spacing: 0.12em;
}

.cta-lead {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.cta-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  padding: 18px;
}

.cta-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.cta-badge {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  padding: 9px 12px;
  letter-spacing: 0.12em;
  font-size: 12px;
  text-transform: uppercase;
}

.cta-badge-cyan {
  border-color: rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.12);
}

.form {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: grid;
  gap: 8px;
}

.field-label {
  color: rgba(214, 246, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form input[type="text"],
.form input[type="email"],
.form select {
  width: 100%;
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.18);
  color: rgba(214, 246, 255, 0.94);
  outline: none;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
  font-size: 14px;
}

.form input::placeholder {
  color: rgba(214, 246, 255, 0.45);
}

.form input:focus,
.form select:focus {
  border-color: rgba(0, 255, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.08);
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.check input {
  margin-top: 4px;
}

.check span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 13.5px;
}

.btn-submit {
  width: 100%;
  justify-content: space-between;
  padding: 16px 16px;
}

.form-note {
  color: rgba(214, 246, 255, 0.75);
  line-height: 1.7;
  margin-top: 4px;
  font-size: 12.5px;
}

.link-glitch {
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1px dashed rgba(0, 255, 255, 0.35);
}

.link-glitch::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms var(--ease-out);
}

.link-glitch:hover::after {
  transform: scaleX(1);
}

.cta-aside {
  display: grid;
  gap: 12px;
}

.aside-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  padding: 18px;
}

.aside-card-alt {
  border-color: rgba(255, 0, 255, 0.14);
}

.aside-title {
  margin: 0;
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 14px;
}

.aside-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13.5px;
}

.tick {
  color: rgba(57, 255, 20, 0.95);
  text-shadow: 0 0 14px rgba(57, 255, 20, 0.22);
  margin-right: 10px;
}

.aside-text {
  color: var(--muted);
  line-height: 1.8;
  margin: 12px 0 0;
  font-size: 13.5px;
}

.aside-mini {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  padding: 18px;
}

.aside-mini-text {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 13.5px;
}

/* Footer */
.footer {
  padding: 46px 0 70px;
  position: relative;
  z-index: 4;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 0.65fr;
  gap: 18px;
  align-items: center;
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-logo {
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-copy {
  color: var(--muted);
  line-height: 1.7;
  font-size: 12.5px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: rgba(214, 246, 255, 0.8);
  border-bottom: 1px dashed rgba(0, 255, 255, 0.25);
  padding-bottom: 2px;
  transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}

.footer-link:hover {
  color: rgba(214, 246, 255, 0.98);
  border-color: rgba(255, 0, 255, 0.35);
}

.footer-social {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.social-ic {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.20);
  display: grid;
  place-items: center;
  color: rgba(214, 246, 255, 0.9);
  transition: transform 160ms var(--ease-out), border-color 160ms var(--ease-out), box-shadow 160ms var(
      --ease-out
    );
}

.social-ic:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 255, 0.25);
  box-shadow: 0 0 24px rgba(255, 0, 255, 0.12);
}

/* Toast */
.toast-container {
  position: fixed;
  top: 86px;
  right: 14px;
  z-index: 100;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 380px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(0, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 32px rgba(0, 255, 255, 0.12);
  color: rgba(214, 246, 255, 0.92);
  font-size: 13.5px;
  line-height: 1.6;
  transform: translateY(-6px);
  opacity: 0;
  animation: toastIn 260ms var(--ease-out) forwards;
}

.toast--success {
  border-color: rgba(57, 255, 20, 0.24);
  box-shadow: 0 0 32px rgba(57, 255, 20, 0.12);
}

.toast--warning {
  border-color: rgba(255, 255, 0, 0.26);
  box-shadow: 0 0 32px rgba(255, 255, 0, 0.10);
}

.toast--danger {
  border-color: rgba(255, 0, 255, 0.26);
  box-shadow: 0 0 32px rgba(255, 0, 255, 0.10);
}

@keyframes toastIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Back to top */
.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  color: rgba(214, 246, 255, 0.9);
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(0, 255, 255, 0.10);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), border-color 160ms var(--ease-out);
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  border-color: rgba(255, 0, 255, 0.25);
}

/* Responsive */
@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  .brand-sub {
    display: inline;
    color: rgba(214, 246, 255, 0.7);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  body {
    padding-top: 72px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-visual {
    min-height: 380px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .solution-grid {
    grid-template-columns: 1fr;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .arch-grid {
    grid-template-columns: 1fr;
  }
  .road-grid {
    grid-template-columns: 1fr;
  }
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }
  .panel-cards {
    grid-template-columns: 1fr;
  }
  .footer-links {
    justify-content: flex-start;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  canvas.bg-canvas {
    display: none;
  }
}
