@font-face {
  font-family: neon;
  src:
    url('assets/fonts/neon-webfont.woff2') format('woff2'),
    url('assets/fonts/neon-webfont.woff') format('woff'),
    url('assets/fonts/neon-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --bg: #020305;
  --panel: rgba(8, 12, 24, .74);
  --line: rgba(80, 255, 80, .22);
  --green: #39ff14;
  --purple: #c414ff;
  --blue: #28d7fe;
  --orange: #fed128;
  --pink: #fb4264;
  --text: #e9f7ff;
  --muted: #9aa8b6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at 50% 10%, #071225 0, #020305 50%, #000 100%);
  color: var(--text);
  font-family: Inter, system-ui, Segoe UI, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background sky */
.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(#fff 1px, transparent 1px),
    radial-gradient(#39ff14 1px, transparent 1px),
    radial-gradient(#c414ff 1px, transparent 1px);
  background-size: 90px 90px, 130px 130px, 170px 170px;
  opacity: .25;
  animation: twinkle 8s infinite alternate;
  z-index: -2;
}

.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(53, 255, 20, .08), transparent 35%),
    radial-gradient(ellipse at 75% 45%, rgba(196, 20, 255, .1), transparent 40%),
    radial-gradient(ellipse at 45% 75%, rgba(40, 215, 254, .08), transparent 44%);
  filter: blur(12px);
}

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 18px;
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--green);
  text-shadow: 0 0 10px rgba(57, 255, 20, .7);
}

.brand-mini {
  font-family: neon, monospace;
  color: var(--green) !important;
  text-shadow: 0 0 14px var(--green);
  font-size: 28px;
  margin-left: 0 !important;
}

/* Layout */
main {
  max-width: 1180px;
  margin: auto;
  padding: 44px 18px 96px;
}

.panel,
.card,
.callout {
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, rgba(8, 12, 24, .84), rgba(3, 5, 12, .72));
  box-shadow:
    0 0 55px rgba(57, 255, 20, .07),
    0 0 70px rgba(196, 20, 255, .05);
  border-radius: 28px;
}

.section {
  margin-top: 72px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 22px;
}

.card,
.callout {
  padding: 28px;
}

/* Hero */
.hero {
  text-align: center;
  padding: clamp(60px, 9vw, 120px) 22px;
  margin-top: 28px;
}

h1 {
  margin: 0;
}

.neon,
.flux,
.lights,
.lux {
  font-family: neon, monospace;
  display: block;
  letter-spacing: .04em;
}

.neon {
  font-size: clamp(64px, 13vw, 168px);
  line-height: .82;
  color: var(--green);
  text-shadow: 0 0 1vw var(--green);
  animation: neon 1.8s ease-in-out infinite;
}

.flux {
  font-size: clamp(64px, 13vw, 168px);
  line-height: .82;
  color: var(--purple);
  text-shadow: 0 0 1vw var(--purple);
  animation: flux 2.4s linear infinite;
}

.lights {
  color: var(--blue);
  text-shadow: 0 0 18px var(--blue);
}

.lux {
  color: var(--blue);
  text-shadow: 0 0 12px var(--blue);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #ff7a45;
  font-size: 12px;
}

.tagline {
  max-width: 760px;
  margin: 24px auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

/* Section headers */
.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 26px;
}

.card h2,
.section h2,
.callout h2 {
  font-size: clamp(28px, 4vw, 52px);
  margin: 0 0 12px;
}

.card p,
.section-head p,
.media-card p,
.callout p {
  color: var(--muted);
  line-height: 1.65;
}

/* Buttons */
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.center-actions {
  justify-content: center;
}

.btn {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  font: inherit;
}

.btn.primary {
  background: linear-gradient(90deg, var(--green), #80ff65);
  color: #031004;
  font-weight: 800;
}

.btn.ghost:hover,
.btn.small:hover {
  border-color: var(--green);
  box-shadow: 0 0 18px rgba(57, 255, 20, .35);
}

.btn.small {
  display: inline-block;
  padding: 9px 13px;
  font-size: 14px;
}

.btn[aria-disabled="true"] {
  opacity: .72;
  cursor: not-allowed;
}

.is-hidden {
  display: none !important;
}

/* Latest signal */
.media-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
}

.media-card {
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 22px;
  padding: 18px;
}

.feature-card {
  box-shadow: 0 0 36px rgba(40, 215, 254, .08);
}

.video-shell {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
}

.video-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.placeholder-video {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(40, 215, 254, .15), rgba(196, 20, 255, .18)),
    radial-gradient(circle at 50% 50%, rgba(57, 255, 20, .12), transparent 50%);
}

.card-neon-title {
  font-family: neon, monospace;
  color: var(--blue);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  margin: 18px 0 8px;
  text-shadow: 0 0 18px var(--blue);
  font-weight: 400;
}

.placeholder-wave {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(57, 255, 20, .15) 0 8px,
      transparent 8px 18px
    ),
    linear-gradient(135deg, rgba(196, 20, 255, .16), rgba(40, 215, 254, .1));
  font-family: neon, monospace;
  color: var(--orange);
  font-size: clamp(28px, 5vw, 58px);
  text-shadow: 0 0 18px var(--orange);
}

/* Tool / product */
.tool-single {
  display: flex;
  justify-content: center;
}

.tool-single .product-card {
  width: min(960px, 100%);
}

.tool-embed {
  margin-top: 1.5rem;
  border: 1px solid #3a1f2a;
  border-radius: 12px;
  overflow: hidden;
  background: #0b090a;
}

.tool-embed iframe {
  display: block;
  width: 100%;
  min-height: 900px;
  border: 0;
  background: #0b090a;
}

/* Signal tiles */
.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.signal-tile {
  min-height: 150px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8, 12, 24, .62), rgba(0, 0, 0, .46));
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
}

.signal-tile span {
  font-family: neon, monospace;
  color: var(--green);
  font-size: clamp(24px, 3vw, 42px);
  text-shadow: 0 0 16px var(--green);
}

.signal-tile small {
  color: var(--muted);
  line-height: 1.5;
}

/* Archive grid */
.view-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.view-slot img,
.tile-text {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
}

.tile-text {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .76);
  display: none;
  place-items: center;
  padding: 18px;
  z-index: 50;
}

.modal.open {
  display: grid;
}

.modal-panel {
  position: relative;
  max-width: 760px;
  max-height: 86vh;
  overflow: auto;
  background: #f6f6f6;
  color: #111;
  border-radius: 22px;
  padding: 28px;
}

.dark-modal {
  background: linear-gradient(180deg, #06101f, #05050b);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 0 70px rgba(196, 20, 255, .18);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  margin: 18px 0;
}

.tab {
  padding: 10px 12px;
  border: 0;
  background: rgba(255, 255, 255, .1);
  color: var(--text);
  cursor: pointer;
  border-radius: 10px 10px 0 0;
}

.tab.active {
  background: var(--green);
  color: #031004;
  font-weight: 800;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Contact */
.contact-form {
  display: grid;
  gap: 14px;
  max-width: 680px;
  margin: 28px auto 0;
  text-align: left;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
}

.static-contact-card {
  max-width: 720px;
  margin: 26px auto 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: rgba(0, 0, 0, .28);
}

/* Animation */
@keyframes twinkle {
  from {
    opacity: .18;
  }

  to {
    opacity: .34;
  }
}

@keyframes neon {
  50% {
    filter: brightness(.7);
  }
}

@keyframes flux {
  50% {
    filter: brightness(.72);
  }
}

/* Mobile */
@media (max-width: 840px) {
  .grid-2,
  .media-grid,
  .signal-strip {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    align-items: flex-start;
  }

  .site-nav nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
  }

  .site-nav a {
    margin-left: 0;
  }

  .hero {
    padding-top: 72px;
  }
}