:root {
  --midnight: #0B1220;
  --slate: #1E293B;
  --teal: #0F766E;
  --bright: #14B8A6;
  --gold: #C69214;
  --cloud: #F8FAFC;
  --steel: #94A3B8;
  --muted: #64748B;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--midnight);
  color: var(--cloud);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-rail {
  position: fixed;
  left: 34px;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(180deg, var(--bright), var(--teal));
  z-index: 20;
  opacity: .9;
}

.hero {
  min-height: 720px;
  position: relative;
  padding: 30px 56px 80px;
  background: radial-gradient(circle at 72% 28%, rgba(15,118,110,.25), transparent 34%), linear-gradient(90deg, #07101d 0%, #0b1220 55%, #07101d 100%);
  overflow: hidden;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(148,163,184,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent 0%, black 35%, black 100%);
  opacity: .32;
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 5;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--cloud);
}

.mark {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
}
.mark span { color: var(--bright); }
.brand small {
  display: block;
  font-family: monospace;
  font-size: 15px;
  letter-spacing: 3px;
  line-height: 1.25;
  color: var(--cloud);
}

.links { display: flex; gap: 42px; align-items: center; flex-wrap: wrap; }
.links a {
  font-family: monospace;
  color: var(--cloud);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 14px;
  opacity: .9;
}
.links a:hover { color: var(--bright); }
.nav-cta {
  border: 1px solid var(--bright);
  border-radius: 6px;
  padding: 12px 16px !important;
  color: var(--cloud) !important;
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 78px auto 0;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}

.hero-copy { position: relative; z-index: 4; }
.hero h1 {
  font-size: 76px;
  line-height: .95;
  margin: 0 0 26px;
  text-transform: uppercase;
  letter-spacing: -3px;
}
.hero h1 span { display: block; color: var(--bright); }
.accent-line { width: 80px; height: 3px; background: var(--bright); margin: 0 0 28px; }
.pill-row { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.mini-pill { display: flex; align-items: center; gap: 10px; color: var(--cloud); font-size: 14px; }
.mini-icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--bright);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--bright);
  font-weight: 900;
}
.hero p { font-size: 23px; max-width: 650px; color: var(--cloud); margin: 0 0 36px; }
.actions { display: flex; gap: 20px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 34px;
  background: linear-gradient(135deg, var(--bright), var(--teal));
  color: white;
  text-decoration: none;
  font-weight: 900;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.button.secondary { background: transparent; border: 1px solid rgba(248,250,252,.55); }

.visual { position: relative; min-height: 520px; isolation: isolate; }
.player-scene {
  position: absolute;
  left: -9%;
  top: -13%;
  width: 94%;
  height: 132%;
  z-index: 1;
  background: linear-gradient(90deg, #0b1220 0%, rgba(11,18,32,.68) 8%, rgba(11,18,32,0) 25%, rgba(11,18,32,0) 70%, #0b1220 100%), linear-gradient(180deg, #0b1220 0%, rgba(11,18,32,0) 16%, rgba(11,18,32,0) 72%, #0b1220 100%), url('/assets/player-hero.svg') center/cover no-repeat;
  background-blend-mode: normal, normal, screen;
  filter: contrast(1.08) saturate(.9) brightness(.94);
  opacity: .95;
  mask-image: radial-gradient(ellipse at 50% 47%, #000 0%, #000 52%, rgba(0,0,0,.72) 66%, rgba(0,0,0,.25) 78%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 47%, #000 0%, #000 52%, rgba(0,0,0,.72) 66%, rgba(0,0,0,.25) 78%, transparent 92%);
  animation: player-float 14s ease-in-out infinite;
}
.visual:after {
  content: "";
  position: absolute;
  inset: -12% -2% -8% -14%;
  z-index: 2;
  background: radial-gradient(ellipse at 43% 45%, transparent 0%, transparent 42%, rgba(11,18,32,.4) 67%, #0b1220 94%), linear-gradient(90deg, #0b1220 0%, transparent 24%, transparent 78%, #0b1220 100%);
  pointer-events: none;
}
.visual:before {
  content: "";
  position: absolute;
  left: -34%;
  top: 3%;
  width: 34%;
  height: 88%;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(248,250,252,0) 40%, rgba(248,250,252,.06) 50%, rgba(20,184,166,.05) 54%, rgba(248,250,252,0) 66%, transparent 100%);
  filter: blur(12px);
  mix-blend-mode: screen;
  opacity: 0;
  transform: skewX(-14deg);
  animation: player-flare 24s ease-in-out infinite;
}
.radar {
  position: absolute;
  right: 19%;
  top: 27%;
  width: 285px;
  height: 285px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(148,163,184,.20) 0 1px, transparent 1px 45px);
  border: 1px solid rgba(20,184,166,.26);
  z-index: 3;
  opacity: .9;
  animation: radar-float 16s ease-in-out infinite;
}
.radar:before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: rgba(20,184,166,.28); transform: translateX(-50%); }
.radar:after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: rgba(20,184,166,.28); transform: translateY(-50%); }
.sweep { position: absolute; right: calc(19% + 142.5px); top: calc(27% + 142.5px); width: 138px; height: 2px; background: linear-gradient(90deg, rgba(198,146,20,0), rgba(198,146,20,.28) 45%, var(--gold)); transform-origin: 100% 50%; transform: rotate(52deg); z-index: 4; animation: radar-sweep 24s linear infinite; }
.dot { position: absolute; width: 11px; height: 11px; background: var(--bright); border-radius: 50%; z-index: 5; box-shadow: 0 0 14px rgba(20,184,166,.22); }
.dot.one { left: 55%; top: 47%; }
.dot.two { left: 63%; top: 63%; }
.dot.three { left: 74%; top: 37%; background: var(--gold); box-shadow: 0 0 14px rgba(198,146,20,.20); }
.metrics { position: absolute; right: 0; top: 7%; display: grid; gap: 28px; z-index: 5; }
.metric { min-width: 170px; }
.metric label { display: block; color: var(--cloud); font-family: monospace; text-transform: uppercase; font-size: 14px; opacity: .85; }
.metric strong { font-size: 38px; color: var(--bright); font-weight: 500; }
.metric i { display: block; width: 34px; height: 3px; background: var(--gold); margin-top: 8px; }
.bars { position: absolute; right: 0; bottom: 8%; display: flex; gap: 10px; align-items: end; height: 95px; z-index: 5; }
.bars span { width: 16px; background: #334155; transform-origin: bottom; }
.bars span:nth-child(3), .bars span:nth-child(8) { background: var(--gold); }
.bars span:nth-child(1) { height: 18px; }
.bars span:nth-child(2) { height: 28px; }
.bars span:nth-child(3) { height: 42px; }
.bars span:nth-child(4) { height: 62px; }
.bars span:nth-child(5) { height: 46px; }
.bars span:nth-child(6) { height: 74px; }
.bars span:nth-child(7) { height: 60px; }
.bars span:nth-child(8) { height: 90px; }

.section-dark { background: linear-gradient(180deg, #07101d, #0b1220); padding: 64px 56px; }
.section-light { background: #f8fafc; color: #0f172a; padding: 56px 56px 42px; }
.section-inner { max-width: 1440px; margin: 0 auto; }
.section-head { max-width: 820px; margin-bottom: 30px; }
.kicker { color: var(--bright); font-family: monospace; text-transform: uppercase; letter-spacing: 2px; font-weight: 900; margin: 0 0 10px; }
.section-head h2 { font-size: 42px; line-height: 1.1; margin: 0 0 12px; }
.section-head p { color: var(--steel); font-size: 18px; margin: 0; }
.section-light .section-head p { color: #475569; }

.cards { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.card { background: white; border: 1px solid #e2e8f0; border-radius: 10px; padding: 32px; box-shadow: 0 18px 60px rgba(15,23,42,.08); }
.card.dark { background: rgba(30,41,59,.82); color: white; border-color: rgba(148,163,184,.18); }
.icon { width: 62px; height: 62px; background: #081220; border: 1px solid rgba(15,118,110,.4); border-radius: 50%; display: grid; place-items: center; color: var(--bright); font-size: 30px; margin-bottom: 22px; }
.card h3 { font-size: 25px; line-height: 1.1; margin: 0 0 20px; text-transform: uppercase; }
.card p, .card li { color: #334155; }
.card.dark p, .card.dark li { color: var(--steel); }
.card ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.card li { margin: 10px 0; }
.card li:before { content: '›'; margin-right: 14px; color: var(--teal); font-weight: 900; }
.learn { color: var(--bright); font-weight: 900; text-transform: uppercase; text-decoration: none; font-size: 14px; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { border: 1px solid rgba(148,163,184,.18); border-radius: 12px; padding: 28px; background: rgba(30,41,59,.58); }
.why-card h3 { margin: 0 0 10px; font-size: 24px; }
.why-card p { color: var(--steel); margin: 0; }

.roadmap { display: grid; gap: 12px; max-width: 900px; }
.roadmap-item { display: flex; justify-content: space-between; gap: 18px; padding: 16px 18px; border: 1px solid rgba(148,163,184,.16); border-radius: 12px; background: rgba(30,41,59,.55); }
.roadmap-item span { color: var(--steel); }

.footer { max-width: 1440px; margin: 0 auto; padding: 38px 56px; color: var(--muted); border-top: 1px solid rgba(148,163,184,.18); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: #0b1220; }

@keyframes radar-sweep {
  0% { transform: rotate(52deg); opacity: .62; }
  50% { opacity: .86; }
  100% { transform: rotate(412deg); opacity: .62; }
}

@keyframes radar-float {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .86; }
  50% { transform: translate3d(2px, -2px, 0); opacity: .94; }
}

@keyframes player-flare {
  0%, 72%, 100% { left: -34%; opacity: 0; }
  78% { opacity: .26; }
  86% { left: 58%; opacity: 0; }
}

@keyframes player-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); filter: contrast(1.08) saturate(.9) brightness(.94); }
  50% { transform: translate3d(0, -3px, 0) scale(1.004); filter: contrast(1.09) saturate(.91) brightness(.96); }
}

@media (prefers-reduced-motion: reduce) {
  .player-scene, .visual:before, .radar, .sweep { animation: none !important; }
}

@media (max-width: 980px) {
  .page-rail { left: 0; width: 5px; }
  .hero { padding: 24px; }
  .links { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .hero h1 { font-size: 54px; }
  .visual { min-height: 420px; }
  .player-scene { left: -12%; width: 105%; height: 115%; }
  .radar { right: 13%; top: 25%; width: 245px; height: 245px; }
  .sweep { right: calc(13% + 122.5px); top: calc(25% + 122.5px); width: 118px; }
  .cards, .why-grid { grid-template-columns: 1fr; }
  .metrics { display: none; }
  .section-light, .section-dark { padding: 36px 24px; }
}
