:root {
  color-scheme: dark;
  --bg: #050408;
  --text: #ffffff;
  --muted: #aaa3b3;
  --purple: #9f16ef;
  --purple-bright: #c159ff;
  --line: rgba(255, 255, 255, 0.13);
  --glass: rgba(13, 10, 19, 0.66);
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.landing {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.cinematic-hero {
  --parallax-x: 0px;
  --parallax-y: 0px;
  position: relative;
  width: 100%;
  min-height: min(calc(100svh - 112px), 56.28vw);
  flex: 1 1 auto;
  aspect-ratio: auto;
  overflow: hidden;
  isolation: isolate;
  background: #050408;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  will-change: transform;
  transition: transform 550ms cubic-bezier(.2, .8, .2, 1);
}

.hero-art {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transform: none;
  user-select: none;
  -webkit-user-drag: none;
}

.motion-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.scan-line {
  position: absolute;
  top: 8%;
  left: 48%;
  width: 44%;
  height: 1px;
  opacity: 0;
  background: rgba(192, 83, 255, 0.45);
  box-shadow: 0 0 22px rgba(174, 38, 255, 0.7);
  animation: scan-sweep 8s ease-in-out infinite 1.4s;
}

.pulse-node {
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: var(--purple-bright);
  box-shadow: 0 0 6px var(--purple-bright), 0 0 26px rgba(176, 40, 255, 0.88);
  animation: node-pulse 3.2s ease-in-out infinite;
}

.node-one { left: 14.1%; top: 87.6%; animation-delay: 0s; }
.node-two { left: 71.4%; top: 87%; animation-delay: .9s; }
.node-three { left: 89.7%; top: 13.7%; animation-delay: 1.8s; }

.hero-cta {
  position: absolute;
  z-index: 3;
  left: 52.2%;
  top: 62.3%;
}

.mobile-lockup { display: none; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(9px, .8vw, 14px);
}

.button {
  position: relative;
  min-height: clamp(46px, 3.4vw, 58px);
  padding: 0 clamp(17px, 1.55vw, 27px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.2vw, 40px);
  overflow: hidden;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  font-size: clamp(.78rem, .82vw, .96rem);
  font-weight: 760;
  letter-spacing: .015em;
  transform: translateZ(0);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -30%;
  width: 14px;
  height: 160%;
  opacity: .32;
  background: #ffffff;
  transform: rotate(18deg) translateX(-150px);
  transition: transform 600ms cubic-bezier(.2, .8, .2, 1);
}

.button:hover { transform: translateY(-3px); }
.button:hover::before { transform: rotate(18deg) translateX(390px); }

.button:focus-visible {
  outline: 3px solid rgba(198, 91, 255, .5);
  outline-offset: 4px;
}

.button span,
.button b { position: relative; z-index: 1; }
.button b { font-size: 1rem; font-weight: 500; }

.button-primary {
  color: #ffffff;
  border-color: #b730ff;
  background: var(--purple);
  box-shadow: 0 14px 44px rgba(141, 15, 224, .34), inset 0 1px rgba(255, 255, 255, .19);
}

.button-primary:hover {
  background: #b02af4;
  box-shadow: 0 18px 50px rgba(157, 22, 239, .45), inset 0 1px rgba(255, 255, 255, .22);
}

.button-secondary {
  color: #f7f2fa;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(12, 10, 17, .56);
  box-shadow: inset 0 1px rgba(255, 255, 255, .08), 0 14px 34px rgba(0, 0, 0, .24);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.button-secondary:hover {
  border-color: rgba(190, 77, 255, .62);
  background: rgba(36, 18, 48, .72);
}

.live-tracker {
  width: max-content;
  min-height: 38px;
  margin-top: 14px;
  padding: 5px 10px 5px 6px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 999px;
  background: rgba(10, 8, 14, .5);
  box-shadow: inset 0 1px rgba(255, 255, 255, .05), 0 10px 28px rgba(0, 0, 0, .2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.tracker-symbol {
  position: relative;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(196, 90, 255, .42);
  border-radius: 50%;
  background: rgba(165, 27, 232, .09);
}

.tracker-symbol > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 9px #ffffff, 0 0 16px rgba(190, 73, 255, .9);
  animation: tracker-core 1.8s ease-in-out infinite;
}

.tracker-symbol > b {
  position: absolute;
  inset: 3px;
  border: 1px solid transparent;
  border-top-color: var(--purple-bright);
  border-radius: 50%;
  animation: tracker-orbit 1.9s linear infinite;
}

.tracker-symbol > b::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, .9);
  transform: translateX(-50%);
}

.tracker-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.tracker-copy strong {
  color: rgba(255, 255, 255, .9);
  font-size: .66rem;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tracker-copy small {
  color: #5befb0;
  font-size: .57rem;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tracker-signal {
  position: relative;
  width: 46px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .14);
}

.tracker-signal > i {
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-bright);
  box-shadow: 0 0 9px rgba(194, 89, 255, .9);
  animation: tracker-signal 2.3s ease-in-out infinite;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 3.2vw;
  bottom: 3.3vw;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, .48);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  width: 42px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .22);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--purple-bright);
  transform: translateX(-100%);
  animation: cue-line 2.4s ease-in-out infinite;
}

.feature-rail {
  position: relative;
  z-index: 4;
  min-height: 112px;
  flex: 0 0 112px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-top: 1px solid rgba(185, 69, 255, .32);
  background: rgba(10, 8, 14, .84);
  box-shadow: 0 -24px 70px rgba(91, 13, 135, .19), inset 0 1px rgba(255, 255, 255, .045);
  backdrop-filter: blur(30px) saturate(125%);
  -webkit-backdrop-filter: blur(30px) saturate(125%);
}

.rail-edge {
  position: absolute;
  z-index: 5;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
  pointer-events: none;
}

.rail-edge::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(220px, 22vw);
  height: 1px;
  background: var(--purple-bright);
  box-shadow: 0 0 18px rgba(190, 72, 255, .95);
  transform: translateX(-120%);
  animation: edge-travel 7s ease-in-out infinite;
}

.rail-window {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.rail-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: marquee 46s linear infinite;
  will-change: transform;
}

.rail-group {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 5px;
}

.feature-item {
  min-width: 154px;
  height: 64px;
  padding: 0 16px 0 10px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: 12px;
  background: rgba(255, 255, 255, .032);
  box-shadow: inset 0 1px rgba(255, 255, 255, .045), 0 10px 28px rgba(0, 0, 0, .14);
}

.feature-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(190, 78, 255, .22);
  border-radius: 10px;
  background: rgba(168, 27, 235, .09);
  box-shadow: inset 0 1px rgba(255, 255, 255, .05);
}

.feature-icon img {
  width: 25px;
  height: 25px;
  display: block;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, .22));
  opacity: .94;
}

.feature-item > span:last-child {
  color: rgba(255, 255, 255, .9);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .025em;
  white-space: nowrap;
}

@keyframes cinematic-drift {
  0%, 100% { transform: scale(1.02) translate3d(0, 0, 0); }
  50% { transform: scale(1.055) translate3d(-.35%, -.45%, 0); }
}

@keyframes scan-sweep {
  0% { opacity: 0; transform: translate3d(-45%, -10vh, 0) rotate(-7deg); }
  18% { opacity: .7; }
  72% { opacity: .2; }
  100% { opacity: 0; transform: translate3d(35%, 75vh, 0) rotate(-7deg); }
}

@keyframes node-pulse {
  0%, 100% { opacity: .35; transform: scale(.75); }
  50% { opacity: 1; transform: scale(1.35); }
}

@keyframes cue-line {
  0%, 15% { transform: translateX(-100%); }
  70%, 100% { transform: translateX(100%); }
}

@keyframes tracker-orbit {
  to { transform: rotate(360deg); }
}

@keyframes tracker-core {
  0%, 100% { opacity: .55; transform: scale(.75); }
  50% { opacity: 1; transform: scale(1.25); }
}

@keyframes tracker-signal {
  0%, 10% { transform: translateX(-7px); opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  90%, 100% { transform: translateX(49px); opacity: 0; }
}

@keyframes edge-travel {
  0%, 8% { transform: translateX(-120%); opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  92%, 100% { transform: translateX(760%); opacity: 0; }
}

@keyframes marquee {
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 800px) {
  .cinematic-hero {
    min-height: auto;
    flex: 0 0 auto;
    aspect-ratio: auto;
    overflow: hidden;
    padding-bottom: 34px;
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 1672 / 941;
    transform: none !important;
  }

  .hero-art {
    object-fit: contain;
    transform: none;
    animation: none;
  }

  .motion-layer { height: 56.28vw; }
  .scan-line { display: none; }
  .pulse-node { width: 4px; height: 4px; }

  .hero-cta {
    position: relative;
    left: auto;
    top: auto;
    width: min(100% - 36px, 520px);
    margin: 8px auto 0;
    text-align: center;
  }

  .mobile-lockup {
    display: block;
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 7vw, 2.35rem);
    letter-spacing: -.04em;
  }

  .mobile-lockup span { color: var(--purple-bright); }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .button {
    min-height: 53px;
    padding: 0 16px;
    gap: 14px;
    font-size: .86rem;
  }

  .scroll-cue { display: none; }
  .live-tracker { margin-right: auto; margin-left: auto; }

  .feature-rail {
    min-height: 104px;
    flex-basis: 104px;
    margin-top: auto;
  }

  .feature-item {
    min-width: 136px;
    height: 58px;
    padding-right: 13px;
    gap: 9px;
  }

  .feature-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .feature-icon img { width: 23px; height: 23px; }
  .feature-item > span:last-child { font-size: .72rem; }
}

@keyframes mobile-drift {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.018); }
}

@media (max-width: 430px) {
  .hero-actions { grid-template-columns: 1fr; }
  .button { width: 100%; }
}

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


.site-footer {
  min-height: 58px;
  padding: 14px clamp(18px, 3vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #07050a;
  color: rgba(255,255,255,.42);
  font-size: .68rem;
}
.site-footer nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer a, .site-footer button { color: rgba(255,255,255,.58); text-decoration: none; }
.site-footer button { padding: 0; border: 0; background: transparent; font: inherit; cursor: pointer; }
.site-footer a:hover, .site-footer button:hover { color: white; }
@media (max-width: 650px) {
  .site-footer { align-items: flex-start; flex-direction: column; }
}
