:root {
  --bg: #01040d;
  --bg-2: #030b24;
  --panel: rgba(5, 16, 39, 0.78);
  --panel-strong: rgba(2, 8, 24, 0.92);
  --blue: #0047ff;
  --blue-hot: #008cff;
  --blue-soft: #f2fbff;
  --white: #f8fbff;
  --muted: #abc8e9;
  --muted-2: #7395bd;
  --line: rgba(0, 140, 255, 0.32);
  --line-strong: rgba(0, 140, 255, 0.62);
  --glow: 0 0 18px rgba(242, 251, 255, 0.22), 0 0 36px rgba(0, 140, 255, 0.62), 0 0 92px rgba(0, 71, 255, 0.44);
  --radius: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 140, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 88% 0%, rgba(0, 71, 255, 0.34), transparent 34rem),
    linear-gradient(135deg, #000208 0%, var(--bg-2) 48%, #01030a 100%);
}

body::before {
  position: fixed;
  inset: -18% -12%;
  z-index: -2;
  background:
    radial-gradient(ellipse at 18% 18%, rgba(0, 140, 255, 0.28), transparent 28%),
    radial-gradient(ellipse at 72% 10%, rgba(0, 71, 255, 0.34), transparent 30%),
    radial-gradient(ellipse at 52% 84%, rgba(242, 251, 255, 0.08), transparent 34%);
  filter: blur(18px);
  transform: translate3d(0, 0, 0);
  animation: auroraShift 16s ease-in-out infinite alternate;
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    conic-gradient(from 224deg at 12% 82%, transparent 0 68deg, rgba(0, 140, 255, 0.32) 80deg, transparent 96deg 360deg),
    conic-gradient(from 32deg at 88% 22%, transparent 0 220deg, rgba(242, 251, 255, 0.18) 236deg, rgba(0, 71, 255, 0.3) 250deg, transparent 266deg 360deg);
  filter: blur(1px);
  opacity: 0.7;
  pointer-events: none;
  transform-origin: center;
  animation: orbitalSweep 22s linear infinite;
  content: "";
}

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

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

.noise,
.scanline,
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.noise {
  z-index: 30;
  opacity: 0.08;
  background-image: radial-gradient(circle at 20% 20%, white 0 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
}

.scanline {
  z-index: 29;
  opacity: 0.13;
  background: repeating-linear-gradient(to bottom, transparent 0 7px, rgba(255, 255, 255, 0.08) 8px);
  mix-blend-mode: screen;
}

.stars {
  z-index: -1;
  overflow: hidden;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.88) 1px, transparent 1px),
    radial-gradient(circle, rgba(0, 140, 255, 0.7) 1px, transparent 1px);
  background-position: 0 0, 44px 88px;
  background-size: 136px 136px, 196px 196px;
  animation: drift 28s linear infinite;
}

.stars::before,
.stars::after {
  position: absolute;
  inset: 0;
  content: "";
}

.stars::before {
  background:
    linear-gradient(116deg, transparent 8%, rgba(0, 140, 255, 0.44) 9%, rgba(242, 251, 255, 0.5) 10%, transparent 12%),
    linear-gradient(154deg, transparent 64%, rgba(0, 71, 255, 0.42) 65%, rgba(0, 140, 255, 0.62) 66%, transparent 68%);
  filter: blur(0.5px);
  opacity: 0.58;
  animation: lightSweep 9s ease-in-out infinite alternate;
}

.stars::after {
  background:
    radial-gradient(circle at 18% 34%, rgba(242, 251, 255, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 76% 18%, rgba(0, 140, 255, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 72%, rgba(242, 251, 255, 0.8) 0 1px, transparent 2px);
  filter: drop-shadow(0 0 10px rgba(0, 140, 255, 0.8));
  opacity: 0.78;
  animation: twinkle 4.8s ease-in-out infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1220px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(1, 5, 16, 0.78);
  box-shadow: var(--glow);
  backdrop-filter: blur(18px);
}

.header-ca {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 390px;
  padding: 8px 9px 8px 11px;
  border: 1px solid rgba(0, 140, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 0 18px rgba(0, 140, 255, 0.1);
}

.header-ca span {
  color: var(--blue-hot);
  font-family: "Orbitron", sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.header-ca code {
  min-width: 0;
  overflow: hidden;
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-copy {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #00101d;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue));
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  font-family: "Orbitron", sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-orb {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 58px;
  height: 58px;
}

.brand-orb img {
  width: 58px;
  height: 58px;
  border: 1px solid var(--blue-hot);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(242, 251, 255, 0.32), 0 0 34px rgba(0, 140, 255, 0.8), 0 0 66px rgba(0, 71, 255, 0.6);
  object-fit: cover;
  object-position: center;
  filter: saturate(1.28) contrast(1.08);
}

.brand-star {
  position: absolute;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  color: #f8feff;
  font-size: 1.55rem;
  line-height: 1;
  text-shadow:
    0 0 5px rgba(255, 255, 255, 0.95),
    0 0 14px rgba(0, 140, 255, 0.98),
    0 0 28px rgba(0, 71, 255, 0.96);
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

nav a {
  padding: 10px 12px;
  border-radius: 999px;
  transition: 180ms ease;
}

nav a:hover,
.nav-pill {
  color: var(--white);
  background: rgba(0, 140, 255, 0.14);
}

main {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
  align-items: center;
  gap: 44px;
  min-height: calc(100vh - 88px);
  padding: 82px 0 56px;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(0, 140, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
  content: "";
}

.hero::before {
  width: 640px;
  height: 640px;
  right: -280px;
  top: 80px;
  box-shadow: inset 0 0 80px rgba(0, 71, 255, 0.14), 0 0 90px rgba(0, 140, 255, 0.12);
  animation: slowSpin 26s linear infinite;
}

.hero::after {
  width: 420px;
  height: 420px;
  left: -240px;
  bottom: 40px;
  box-shadow: inset 0 0 70px rgba(0, 140, 255, 0.16), 0 0 90px rgba(242, 251, 255, 0.08);
  animation: slowSpin 20s linear infinite reverse;
}

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

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

h1,
h2,
h3 {
  font-family: "Orbitron", sans-serif;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3.3rem, 8.5vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(242, 251, 255, 0.4), 0 0 24px rgba(0, 140, 255, 0.95), 0 0 58px rgba(0, 71, 255, 0.82);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.hero-subtitle,
.section-heading p + h2 + p,
.lore-copy p,
.cta p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.58;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--blue-hot);
  box-shadow: var(--glow);
}

.button.primary {
  color: #00101d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue));
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
}

.mini-console {
  display: grid;
  gap: 9px;
  max-width: 470px;
  margin-top: 36px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 0 30px rgba(0, 140, 255, 0.12);
  font-family: "Orbitron", sans-serif;
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini-console span {
  color: var(--muted);
}

.mini-console span::before {
  color: var(--blue-hot);
  content: "> ";
}

.hero-visual {
  position: relative;
  min-height: 530px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(0, 140, 255, 0.26), rgba(0, 71, 255, 0.08)),
    rgba(0, 0, 0, 0.3);
  box-shadow: var(--glow);
}

.scanner-art {
  width: 100%;
  height: 530px;
  border-radius: 28px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.14) contrast(1.04);
}

.hero-logo-card,
.floating-chip {
  position: absolute;
  border: 1px solid var(--line-strong);
  background: rgba(2, 9, 26, 0.82);
  box-shadow: var(--glow);
  backdrop-filter: blur(14px);
}

.hero-logo-card {
  right: 26px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  color: var(--blue-soft);
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-logo-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.floating-chip {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--white);
  font-family: "Orbitron", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: float 4s ease-in-out infinite;
}

.chip-one {
  top: 34px;
  left: 24px;
}

.chip-two {
  right: 40px;
  top: 88px;
  animation-delay: 1.1s;
}

.section,
.lore-panel,
.cta {
  margin: 34px 0;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.34);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 28px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.scanner {
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 140, 255, 0.16), transparent 24rem),
    var(--panel);
}

.scanner-grid,
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.scanner-card,
.stat-card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(0, 140, 255, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  transition: opacity 560ms ease, transform 560ms ease, border-color 180ms ease, background 180ms ease;
}

.scanner-card:hover,
.stat-card:hover {
  border-color: var(--line-strong);
  background: rgba(0, 140, 255, 0.1);
}

.scanner-card span,
.stat-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue-hot);
  font-family: "Orbitron", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scanner-card p,
.stat-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.lore-panel {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 38px;
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 71, 255, 0.3), transparent 26rem),
    var(--panel-strong);
}

.lore-image img {
  width: 100%;
  min-height: 380px;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  box-shadow: var(--glow);
  object-fit: cover;
}

.quote-box {
  margin-top: 24px;
  padding: 20px;
  border-left: 3px solid var(--blue-hot);
  border-radius: 18px;
  color: var(--white);
  background: rgba(0, 140, 255, 0.1);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.45;
}

.cards {
  grid-template-columns: repeat(3, 1fr);
}

.stat-card strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-shadow: 0 0 12px rgba(242, 251, 255, 0.42), 0 0 24px rgba(0, 140, 255, 0.9), 0 0 46px rgba(0, 71, 255, 0.74);
}

.meme-tape {
  overflow: hidden;
  margin: 34px 0;
  border-block: 1px solid var(--line);
  color: var(--blue-soft);
  font-family: "Orbitron", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.meme-tape div {
  display: flex;
  gap: 44px;
  width: max-content;
  padding: 18px 0;
  animation: tape 18s linear infinite;
}

.meme-tape span {
  white-space: nowrap;
}

.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta::before {
  position: absolute;
  inset: auto -15% -70% -15%;
  height: 260px;
  border-radius: 50%;
  background: rgba(0, 140, 255, 0.24);
  filter: blur(70px);
  content: "";
}

.cta > * {
  position: relative;
}

.cta h2,
.cta p {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.ca-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  max-width: 900px;
  margin: 28px auto 0;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.36);
  box-shadow: inset 0 0 28px rgba(0, 140, 255, 0.12), var(--glow);
  text-align: left;
}

.ca-card span {
  color: var(--blue-hot);
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ca-card code {
  overflow: hidden;
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(0.78rem, 1.8vw, 1rem);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-ca {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #00101d;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue));
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.copy-ca:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.cta-links {
  justify-content: center;
}

.cta small {
  display: block;
  margin-top: 24px;
  color: rgba(248, 251, 255, 0.65);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 44px;
  color: var(--muted-2);
  font-family: "Orbitron", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  to {
    background-position: 136px 136px, 240px 224px;
  }
}

@keyframes auroraShift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  100% {
    transform: translate3d(2%, 3%, 0) scale(1.08);
  }
}

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

@keyframes lightSweep {
  0% {
    opacity: 0.24;
    transform: translateX(-4%) translateY(2%);
  }
  100% {
    opacity: 0.72;
    transform: translateX(5%) translateY(-3%);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.95;
  }
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes tape {
  to {
    transform: translateX(-50%);
  }
}

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

@media (max-width: 1020px) {
  .site-header {
    display: grid;
    grid-template-columns: auto 1fr;
  }

  .header-ca {
    grid-column: 1 / -1;
    justify-self: stretch;
    max-width: none;
  }

  .hero,
  .lore-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    border-radius: 24px;
  }

  .brand-name {
    display: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 380px;
  }

  .scanner-art {
    height: 380px;
  }
}

@media (max-width: 560px) {
  main,
  .site-header,
  footer {
    width: min(100% - 22px, 1220px);
  }

  .site-header {
    position: relative;
    display: block;
    text-align: center;
  }

  .brand {
    justify-content: center;
  }

  nav {
    justify-content: center;
    margin-top: 12px;
    font-size: 0.8rem;
  }

  .header-ca {
    margin-top: 12px;
  }

  .header-ca code {
    font-size: 0.72rem;
  }

  h1 {
    font-size: 3.15rem;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-actions,
  .cta-links,
  .scanner-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .floating-chip {
    display: none;
  }

  .ca-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ca-card code {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
