:root {
  color-scheme: dark;
  --ink: #f7f4ec;
  --paper: #f0eadf;
  --muted: #a8b0b4;
  --soft: #d8d2c7;
  --bg: #090b0c;
  --bg-elevated: #101416;
  --panel: rgba(18, 23, 25, 0.82);
  --panel-solid: #151b1d;
  --line: rgba(240, 234, 223, 0.14);
  --line-strong: rgba(240, 234, 223, 0.24);
  --green: #20d6a3;
  --green-soft: rgba(32, 214, 163, 0.2);
  --blue: #7fc8ff;
  --coral: #ff8a70;
  --amber: #ffc66d;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 138, 112, 0.06), rgba(9, 11, 12, 0) 18rem),
    radial-gradient(circle at 15% 0%, rgba(32, 214, 163, 0.12), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.19;
  background-image:
    linear-gradient(rgba(240, 234, 223, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 234, 223, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

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

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px max(24px, calc((100vw - 1220px) / 2));
  border-bottom: 1px solid rgba(240, 234, 223, 0.1);
  background: rgba(9, 11, 12, 0.78);
  backdrop-filter: blur(22px);
}

.brand,
nav,
.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  width: fit-content;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(32, 214, 163, 0.48);
  border-radius: 8px;
  color: #031612;
  background: linear-gradient(135deg, var(--green), #a1ffd9);
  box-shadow: 0 0 34px rgba(32, 214, 163, 0.24);
}

nav {
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(240, 234, 223, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

nav a,
.header-actions a:not(.button) {
  color: rgba(247, 244, 236, 0.72);
  font-size: 13px;
  font-weight: 700;
}

nav a {
  padding: 8px 10px;
  border-radius: 7px;
  transition: color 180ms ease, background 180ms ease;
}

nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.header-actions {
  justify-content: flex-end;
  gap: 14px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border: 1px solid rgba(32, 214, 163, 0.65);
  color: #031612;
  background: linear-gradient(135deg, var(--green), #93ffd1);
  box-shadow: 0 14px 34px rgba(32, 214, 163, 0.22);
}

.button-primary::after {
  position: absolute;
  inset: 0;
  content: "";
  transform: translateX(-120%);
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: buttonSheen 5.8s ease-in-out infinite;
}

.button-secondary {
  border: 1px solid rgba(240, 234, 223, 0.18);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
}

main {
  width: 100%;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 120px);
  padding: 84px max(24px, calc((100vw - 1220px) / 2)) 72px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(240, 234, 223, 0.3), transparent);
}

.hero-scene {
  position: absolute;
  inset: 38px max(18px, calc((100vw - 1340px) / 2)) 18px auto;
  width: min(820px, 58vw);
  pointer-events: none;
}

.broadcast-frame {
  position: relative;
  height: 100%;
  min-height: 560px;
  animation: floatFrame 7.5s ease-in-out infinite;
}

.stream-window,
.control-panel,
.chat-rail {
  border: 1px solid rgba(240, 234, 223, 0.15);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.stream-window {
  position: absolute;
  inset: 84px 88px auto 0;
  height: 430px;
  overflow: hidden;
}

.stream-window::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: translateY(-100%);
  animation: scanPass 5.2s linear infinite;
}

.stream-topbar,
.stream-footer {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(9, 11, 12, 0.72);
}

.stream-topbar {
  top: 0;
  border-bottom: 1px solid rgba(240, 234, 223, 0.1);
}

.stream-topbar span {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(247, 244, 236, 0.32);
}

.stream-topbar span:first-child {
  background: var(--coral);
}

.stream-footer {
  bottom: 0;
  justify-content: space-between;
  border-top: 1px solid rgba(240, 234, 223, 0.1);
  color: rgba(247, 244, 236, 0.78);
  font-size: 12px;
}

.stream-footer span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--coral);
  font-weight: 900;
}

.stream-footer span::before {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  content: "";
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255, 138, 112, 0.6);
  animation: livePulse 1.8s ease-out infinite;
}

.stream-footer small {
  color: rgba(247, 244, 236, 0.52);
}

.game-view {
  position: absolute;
  inset: 40px 0 42px;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(127, 200, 255, 0.26), transparent 34%),
    linear-gradient(180deg, #162126 0%, #0f1415 42%, #11140f 100%);
}

.game-view::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.32;
  background-image:
    linear-gradient(90deg, transparent 0 84%, rgba(255, 255, 255, 0.08) 85% 86%, transparent 87%),
    linear-gradient(0deg, transparent 0 86%, rgba(255, 255, 255, 0.06) 87% 88%, transparent 89%);
  background-size: 92px 68px;
  animation: gridDrift 12s linear infinite;
}

.terrain {
  position: absolute;
  right: -8%;
  bottom: 0;
  left: -8%;
  height: 42%;
  background: linear-gradient(135deg, rgba(32, 214, 163, 0.28), rgba(255, 198, 109, 0.13));
  clip-path: polygon(0 46%, 13% 34%, 25% 52%, 40% 20%, 58% 48%, 72% 30%, 100% 54%, 100% 100%, 0 100%);
}

.terrain-two {
  height: 30%;
  opacity: 0.62;
  transform: translateY(20px);
  background: linear-gradient(135deg, rgba(32, 214, 163, 0.34), rgba(15, 18, 15, 0.78));
  animation: terrainShift 8s ease-in-out infinite;
}

.reticle {
  position: absolute;
  top: 45%;
  left: 52%;
  z-index: 1;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(247, 244, 236, 0.62);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: reticleLock 3.4s ease-in-out infinite;
}

.reticle::before,
.reticle::after {
  position: absolute;
  background: rgba(247, 244, 236, 0.6);
  content: "";
}

.reticle::before {
  top: 50%;
  left: -14px;
  width: 82px;
  height: 1px;
}

.reticle::after {
  top: -14px;
  left: 50%;
  width: 1px;
  height: 82px;
}

.character-shadow {
  position: absolute;
  right: 28%;
  bottom: 28%;
  width: 72px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  filter: blur(6px);
  animation: jumpShadow 2.6s ease-in-out infinite;
}

.control-stack {
  position: absolute;
  top: 0;
  right: 0;
  width: 318px;
}

.control-panel {
  padding: 14px;
}

.panel-command {
  animation: panelLift 6.8s ease-in-out infinite;
}

.panel-regions {
  width: 244px;
  margin: 14px 0 0 auto;
  animation: panelLift 7.5s ease-in-out 800ms infinite;
}

.panel-heading,
.event-row,
.region-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.panel-heading {
  margin-bottom: 12px;
  color: rgba(247, 244, 236, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.panel-heading strong {
  color: var(--green);
}

.event-row,
.region-line {
  min-height: 42px;
  border-top: 1px solid rgba(240, 234, 223, 0.09);
  color: rgba(247, 244, 236, 0.7);
  font-size: 13px;
}

.event-row.active {
  color: var(--ink);
}

.event-row.active strong {
  color: var(--green);
}

.event-row small,
.region-line strong {
  color: rgba(247, 244, 236, 0.52);
}

.chat-rail {
  position: absolute;
  right: 38px;
  bottom: 48px;
  display: grid;
  width: 250px;
  gap: 10px;
  padding: 12px;
  animation: chatRise 7s ease-in-out infinite;
}

.chat-rail div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(247, 244, 236, 0.66);
  font-size: 12px;
}

.chat-rail strong {
  color: var(--ink);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(690px, 100%);
  align-self: center;
  padding-top: 26px;
}

.eyebrow,
.section-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 14px;
}

h1 {
  max-width: 760px;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.12;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-lede {
  width: min(640px, 100%);
  margin-top: 22px;
  color: rgba(247, 244, 236, 0.72);
  font-size: 18px;
}

.hero-actions {
  gap: 12px;
  margin-top: 30px;
}

.hero-metrics {
  display: grid;
  width: min(620px, 100%);
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 44px;
}

.hero-metrics div {
  padding: 14px 0;
  border-top: 1px solid rgba(240, 234, 223, 0.16);
}

.hero-metrics dt {
  color: var(--paper);
  font-size: 28px;
  font-weight: 900;
}

.hero-metrics dd {
  color: rgba(247, 244, 236, 0.56);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 92px max(24px, calc((100vw - 1220px) / 2));
}

.product-section {
  border-top: 1px solid rgba(240, 234, 223, 0.1);
  background: #0d1011;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.52fr);
  gap: 48px;
  align-items: end;
  margin-top: 12px;
}

.section-heading > p,
.workflow-copy p,
.region-section p {
  font-size: 17px;
}

.feature-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.feature-grid article,
.plan-grid article,
.timeline div {
  border: 1px solid rgba(240, 234, 223, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-grid article:hover,
.plan-grid article:hover,
.timeline div:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 234, 223, 0.24);
  background: rgba(255, 255, 255, 0.055);
}

.feature-grid article {
  min-height: 300px;
  padding: 22px;
}

.feature-index {
  display: inline-flex;
  margin-bottom: 86px;
  color: rgba(247, 244, 236, 0.36);
  font-size: 13px;
  font-weight: 900;
}

.feature-grid p {
  margin-top: 14px;
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  background:
    linear-gradient(180deg, rgba(32, 214, 163, 0.04), transparent 42%),
    #090b0c;
}

.workflow-copy {
  position: sticky;
  top: 104px;
}

.workflow-copy h2 {
  margin-top: 12px;
}

.workflow-copy p {
  margin-top: 18px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  display: grid;
  grid-template-columns: 58px 140px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
}

.timeline span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(32, 214, 163, 0.32);
  border-radius: 8px;
  color: var(--green);
  background: rgba(32, 214, 163, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.timeline strong {
  font-size: 19px;
}

.pricing-section {
  background: #101213;
}

.plan-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.plan-grid article {
  position: relative;
  min-height: 360px;
  padding: 20px;
}

.featured-plan {
  border-color: rgba(32, 214, 163, 0.42) !important;
  background:
    linear-gradient(180deg, rgba(32, 214, 163, 0.12), rgba(255, 255, 255, 0.035)) !important;
  box-shadow: 0 24px 80px rgba(32, 214, 163, 0.12);
}

.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 8px;
  border-radius: 7px;
  color: #04130f;
  background: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.plan-name {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.plan-name strong {
  font-size: 20px;
}

.plan-name span {
  color: var(--paper);
  font-size: 42px;
  font-weight: 900;
}

.plan-name span::after {
  content: "/mo";
  color: rgba(247, 244, 236, 0.48);
  font-size: 14px;
  font-weight: 800;
}

.plan-grid ul {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  color: rgba(247, 244, 236, 0.74);
  font-size: 14px;
  list-style: none;
}

.plan-grid li {
  display: flex;
  gap: 8px;
}

.plan-grid li::before {
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 99px;
  flex: 0 0 auto;
  content: "";
  background: var(--green);
}

.region-section {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(360px, 0.7fr);
  gap: 54px;
  align-items: center;
  background: #0b0d0e;
}

.region-section h2 {
  margin-top: 12px;
}

.region-section p {
  width: min(620px, 100%);
  margin-top: 18px;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.region-grid span {
  position: relative;
  min-height: 68px;
  overflow: hidden;
  border: 1px solid rgba(240, 234, 223, 0.13);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 850;
}

.region-grid span::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  content: "";
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(32, 214, 163, 0.5);
  animation: livePulse 2.4s ease-out infinite;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 78px max(24px, calc((100vw - 1220px) / 2));
  border-top: 1px solid rgba(240, 234, 223, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 138, 112, 0.12), transparent 42%),
    #111414;
}

.final-cta h2 {
  max-width: 900px;
  margin-top: 12px;
}

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

@keyframes panelLift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

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

@keyframes scanPass {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@keyframes gridDrift {
  to {
    background-position: 92px 68px;
  }
}

@keyframes terrainShift {
  0%,
  100% {
    transform: translateY(20px) translateX(0);
  }
  50% {
    transform: translateY(14px) translateX(18px);
  }
}

@keyframes reticleLock {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) scale(0.86);
    opacity: 1;
  }
}

@keyframes jumpShadow {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 0.42;
  }
  50% {
    transform: scaleX(0.62);
    opacity: 0.22;
  }
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(32, 214, 163, 0.45);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(32, 214, 163, 0);
  }
}

@keyframes buttonSheen {
  0%,
  55% {
    transform: translateX(-120%);
  }
  75%,
  100% {
    transform: translateX(120%);
  }
}

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

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

  nav,
  .header-actions {
    justify-content: flex-start;
  }

  .hero-scene {
    inset: auto 24px 24px;
    width: min(780px, calc(100vw - 48px));
    opacity: 0.58;
  }

  .hero-content {
    padding-bottom: 420px;
  }

  .section-heading,
  .workflow-section,
  .region-section {
    grid-template-columns: 1fr;
  }

  .workflow-copy {
    position: static;
  }

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

@media (max-width: 760px) {
  .site-header {
    position: static;
    padding: 14px 18px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .button {
    flex: 1;
  }

  .hero {
    min-height: auto;
    padding: 52px 18px 42px;
  }

  .hero-scene {
    position: relative;
    inset: auto;
    width: 100%;
    order: 2;
    margin-top: 42px;
    opacity: 1;
  }

  .hero-content {
    padding: 0;
  }

  .broadcast-frame {
    min-height: 540px;
  }

  .stream-window {
    inset: 98px 0 auto;
  }

  .control-stack {
    width: min(300px, 92%);
  }

  .chat-rail {
    right: 0;
    bottom: 0;
  }

  h1 {
    font-size: 52px;
  }

  .hero-actions,
  .final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-metrics,
  .feature-grid,
  .plan-grid,
  .region-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .final-cta {
    padding: 64px 18px;
  }

  .timeline div {
    grid-template-columns: 46px 1fr;
  }

  .timeline p {
    grid-column: 2;
  }
}
