:root {
  --bg: #07020f;
  --bg-alt: #110222;
  --panel: rgba(17, 10, 33, 0.74);
  --panel-strong: rgba(18, 8, 31, 0.92);
  --line: rgba(202, 255, 0, 0.18);
  --white: #f7f6fb;
  --muted: #b4abcf;
  --lime: #d8ff10;
  --magenta: #f405a2;
  --violet: #8c2cff;
  --cyan: #4ae7ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --radius-sm: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background:
    radial-gradient(circle at top, rgba(244, 5, 162, 0.16), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(74, 231, 255, 0.12), transparent 25%),
    linear-gradient(180deg, #140222 0%, #09030f 48%, #07020f 100%);
  font-family: "Space Grotesk", sans-serif;
  overflow-x: hidden;
}

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

.page-shell {
  position: relative;
  isolation: isolate;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  inset: auto auto 0 0;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(216, 255, 16, 0.16), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  margin: 0 auto;
  max-width: 1280px;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(9, 3, 15, 0.84), rgba(9, 3, 15, 0.38));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 14px;
  color: #0c0712;
  background: linear-gradient(135deg, var(--lime), #f3ff9c);
  box-shadow: 0 0 24px rgba(216, 255, 16, 0.28);
}

.brand-mark-image {
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 22px rgba(74, 231, 255, 0.18);
}

.brand-mark-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  font-size: 1rem;
}

.site-nav {
  display: inline-flex;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta,
.button-primary {
  color: #080510;
  background: linear-gradient(135deg, var(--lime), #f3ff9c);
  box-shadow: 0 14px 34px rgba(216, 255, 16, 0.22);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.header-cta:hover,
.button:hover,
.social-link:hover {
  transform: translateY(-2px);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.26);
}

.hero,
.metrics,
.section {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 2rem;
  min-height: calc(100vh - 88px);
  padding: 2rem 0 4rem;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -6% -10% -6%;
  height: 58%;
  z-index: -1;
  background-image:
    linear-gradient(rgba(216, 255, 16, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 255, 16, 0.14) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(920px) rotateX(76deg) scale(1.22);
  transform-origin: center bottom;
  opacity: 0.42;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.92) 24%);
  animation: gridDrift 18s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 8% 18% auto auto;
  width: 18rem;
  height: 18rem;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(244, 5, 162, 0.14), transparent 66%);
  filter: blur(14px);
}

.hero-copy {
  max-width: 38rem;
}

.section-text {
  max-width: 54rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.eyebrow,
.section-kicker,
.info-label,
.quote-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 1.25rem;
  color: rgba(247, 246, 251, 0.76);
}

.eyebrow-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(216, 255, 16, 0.65);
}

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

h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

h1 span {
  display: block;
  color: var(--lime);
  text-shadow: 0 0 32px rgba(216, 255, 16, 0.24);
}

.hero-text,
.timeline-card p,
.narrative-copy p,
.proof-copy p,
.proof-card p,
.cta-panel p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.hero-text {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  text-wrap: pretty;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.powered-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #eef1ff;
  font-size: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.powered-pulse {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(74, 231, 255, 0.6);
  animation: pulse 2.6s infinite;
}

.hero-stage {
  position: relative;
  min-height: 680px;
  overflow: visible;
}

.stage-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.stage-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
}

.stage-orb-left {
  top: 12%;
  left: 10%;
  width: 12rem;
  height: 12rem;
  background: rgba(244, 5, 162, 0.24);
}

.stage-orb-right {
  top: 18%;
  right: 8%;
  width: 14rem;
  height: 14rem;
  background: rgba(74, 231, 255, 0.18);
}

.hero-video-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(82%, 490px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 34px;
  overflow: hidden;
  border: none;
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 26px 60px rgba(0, 0, 0, 0.32),
    0 0 46px rgba(244, 5, 162, 0.14);
  transition: transform 180ms ease-out;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  object-fit: cover;
  display: block;
  filter: saturate(1.06) contrast(1.02);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 22px 48px rgba(0, 0, 0, 0.26);
}

.video-sheen {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 24%, transparent 72%, rgba(216, 255, 16, 0.06)),
    radial-gradient(circle at 50% 14%, rgba(244, 5, 162, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(6, 5, 15, 0.02), rgba(6, 5, 15, 0.1));
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-video-frame::after {
  content: "";
  position: absolute;
  inset: auto 14% 5% 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  z-index: 1;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -0.5rem;
}

.metrics article,
.timeline-card,
.quote-card,
.proof-card,
.cta-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.metrics article {
  display: grid;
  gap: 0.45rem;
  padding: 1.2rem 1.25rem;
}

.metric-value {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--lime);
}

.metric-label {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.section {
  padding: 8rem 0 0;
}

.section-head {
  max-width: 52rem;
}

.section h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-top: 2rem;
}

.timeline-card,
.quote-card,
.proof-card,
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}

.timeline-card::before,
.proof-card::before,
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: 0.6;
}

.timeline-index {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--lime);
  font-family: "Orbitron", sans-serif;
  font-size: 0.92rem;
}

.timeline-card h3,
.proof-card h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
}

.section-narrative .narrative-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(145deg, rgba(244, 5, 162, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.narrative-quotes {
  display: grid;
  gap: 1rem;
}

.quote-card p {
  margin: 0.9rem 0 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 1rem;
  margin-top: 2rem;
}

.proof-card-code {
  padding: 0;
}

.proof-terminal-top {
  display: flex;
  gap: 0.5rem;
  padding: 0.9rem 1rem 0;
}

.proof-terminal-top span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.proof-card pre {
  margin: 0;
  padding: 1rem 1.2rem 1.4rem;
  color: #d8ff10;
  font-size: 0.9rem;
  line-height: 1.7;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.section-cta {
  padding-bottom: 5rem;
}

.cta-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 5vw, 2.2rem);
  background:
    radial-gradient(circle at 85% 25%, rgba(216, 255, 16, 0.15), transparent 20%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 231, 255, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(74, 231, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 231, 255, 0);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 64px, 64px 0;
  }
}

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 1rem;
  }

  .hero-stage {
    min-height: 560px;
  }

  .metrics,
  .timeline,
  .proof-grid,
  .section-narrative .narrative-panel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0.9rem 1rem;
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    gap: 0;
  }

  .hero,
  .metrics,
  .section {
    width: min(100% - 1.1rem, 1280px);
  }

  .hero {
    min-height: auto;
    padding-bottom: 2rem;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .hero-text,
  .timeline-card p,
  .narrative-copy p,
  .proof-copy p,
  .proof-card p,
  .cta-panel p {
    font-size: 0.98rem;
  }

  .hero-stage {
    min-height: 440px;
  }

  .hero-video-frame {
    width: min(88%, 360px);
  }

  .metrics,
  .timeline,
  .proof-grid,
  .section-narrative .narrative-panel {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
