:root {
  color-scheme: dark;
  --bg: #09090a;
  --bg-2: #111113;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-2: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f6f2eb;
  --muted: rgba(246, 242, 235, 0.68);
  --dim: rgba(246, 242, 235, 0.44);
  --red: #e31b23;
  --red-soft: #ff3844;
  --gold: #ffcc00;
  --green: #1db954;
  --shadow: rgba(0, 0, 0, 0.58);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(227, 27, 35, 0.20), transparent 32rem),
    radial-gradient(circle at 82% 16%, rgba(255, 204, 0, 0.12), transparent 28rem),
    linear-gradient(180deg, #050506 0%, #111113 44%, #070708 100%);
  color: var(--text);
  font-family: ui-sans-serif, "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 76%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: radial-gradient(circle, rgba(255,255,255,0.8) 0.6px, transparent 0.7px);
  background-size: 5px 5px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 30;
  width: min(var(--max), calc(100% - 36px));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 8, 9, 0.72);
  box-shadow: 0 20px 70px var(--shadow);
  backdrop-filter: blur(20px);
}

.brand, .nav-links, .trust-row, .hero-actions, .site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 0 32px rgba(227, 27, 35, 0.35);
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a, .nav-cta, .primary-button, .secondary-button {
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover { color: var(--text); }

.nav-cta, .primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}

.nav-cta {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(255, 204, 0, 0.32);
  background: rgba(255, 204, 0, 0.10);
  color: #fff5bd;
  font-size: 13px;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0;
}

.hero {
  position: relative;
  min-height: calc(100svh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 64px;
  padding-top: 92px;
}

.aurora {
  position: absolute;
  inset: -120px calc(50% - 50vw) 0;
  z-index: -2;
  overflow: hidden;
}

.orb, .wave {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}

.orb {
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.78;
}

.orb-red {
  left: -8%;
  top: 18%;
  background: radial-gradient(circle, rgba(227,27,35,0.42), rgba(120,0,18,0.12) 48%, transparent 72%);
  animation: float 9s ease-in-out infinite alternate;
}

.orb-gold {
  right: -6%;
  top: 3%;
  background: radial-gradient(circle, rgba(255,204,0,0.26), rgba(227,27,35,0.12) 48%, transparent 72%);
  animation: float 11s ease-in-out infinite alternate-reverse;
}

.wave {
  left: 8%;
  right: 8%;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 0;
  border-left: 0;
  border-radius: 50%;
  transform: rotate(-9deg);
}

.wave-one { top: 36%; box-shadow: 0 0 80px rgba(227,27,35,0.16); }
.wave-two { top: 48%; opacity: 0.5; transform: rotate(8deg); }

.hero-copy { max-width: 680px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 24px rgba(227, 27, 35, 0.8);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 10em;
  margin-bottom: 28px;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.075em;
}
h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}
h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.hero-text, .section-copy p, .showcase-copy p, .download-card p, .legal-hero p, .legal-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.hero-actions { flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.primary-button, .secondary-button {
  min-height: 54px;
  padding: 0 24px;
  font-size: 15px;
}

.primary-button {
  border: 1px solid rgba(255, 204, 0, 0.36);
  background: linear-gradient(135deg, var(--red), #7c0610 58%, #1b1b1b);
  box-shadow: 0 24px 64px rgba(227, 27, 35, 0.25);
}

.secondary-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.primary-button:hover, .secondary-button:hover, .nav-cta:hover { transform: translateY(-2px); }

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span, .ticker span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.055);
  color: var(--muted);
  font-weight: 800;
}

.trust-row span { padding: 9px 13px; font-size: 13px; }

.hero-device {
  perspective: 1100px;
  transform-style: preserve-3d;
}

.phone {
  position: relative;
  width: min(100%, 390px);
  margin-left: auto;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 220ms ease;
}

.phone::before {
  position: absolute;
  inset: -22px;
  content: "";
  border-radius: 58px;
  background: conic-gradient(from 190deg, transparent, rgba(227,27,35,0.55), rgba(255,204,0,0.28), transparent);
  filter: blur(34px);
  opacity: 0.9;
  animation: glow 4s ease-in-out infinite;
}

.phone-screen {
  position: relative;
  min-height: 690px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 48px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(227,27,35,0.34), transparent 42%),
    linear-gradient(180deg, #171719, #080809);
  box-shadow: inset 0 0 0 10px #050506, 0 40px 130px rgba(0,0,0,0.78);
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 8px 42px;
  font-weight: 900;
}

.screen-top i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 18px var(--red);
}

.disc {
  width: 188px;
  height: 188px;
  margin: 0 auto 34px;
  border-radius: 50%;
  padding: 18px;
  background: radial-gradient(circle, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  animation: spin 12s linear infinite;
}

.disc img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.station-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
}

.station-card small {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-weight: 950;
  letter-spacing: 0.12em;
}

.station-card strong, .station-card span { display: block; }
.station-card strong { font-size: 24px; line-height: 1.1; }
.station-card span { margin-top: 8px; color: var(--muted); }

.equalizer {
  height: 72px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 10px;
  margin: 30px 0;
}

.equalizer i {
  width: 8px;
  height: calc(18px + var(--i) * 7px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--red));
  animation: bars 920ms ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -70ms);
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.player-controls span, .player-controls b {
  display: block;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.player-controls span { width: 54px; height: 54px; }
.player-controls b {
  width: 88px;
  height: 88px;
  background: #f8f4ec;
  box-shadow: 0 0 0 10px rgba(255,255,255,0.08);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 18px 0;
  animation: marquee 24s linear infinite;
}

.ticker span {
  padding: 10px 16px;
  white-space: nowrap;
}

.split, .showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.motion-stack {
  display: grid;
  gap: 16px;
}

.motion-card, .feature-card, .download-card, .legal-card {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035));
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
}

.motion-card {
  padding: 24px;
  border-radius: 30px;
  transition: transform 220ms ease, border-color 220ms ease;
}

.motion-card:hover, .feature-card:hover { transform: translateY(-6px); border-color: rgba(255,204,0,0.32); }
.motion-card b { color: var(--gold); }

.features { padding-top: 80px; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 230px;
  padding: 24px;
  border-radius: 30px;
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(227,27,35,0.35), rgba(255,204,0,0.12));
  color: #fff;
  font-weight: 950;
}

.feature-card p, .motion-card p, .showcase-copy li {
  color: var(--muted);
  line-height: 1.6;
}

.showcase-art img {
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: 0 32px 110px rgba(0,0,0,0.62);
}

.showcase-copy ul {
  padding-left: 20px;
  margin: 24px 0 0;
}

.download-card {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 34px;
}

.download-card img {
  width: 96px;
  height: 96px;
  border-radius: 24px;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong { color: var(--text); }
.site-footer nav { flex-wrap: wrap; gap: 18px; font-weight: 800; }
.site-footer a:hover { color: var(--text); }

.legal-shell .topbar { position: relative; }
.legal-page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 110px;
}
.legal-hero h1 { font-size: clamp(42px, 7vw, 82px); }
.legal-date { color: var(--gold); font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; }
.legal-card {
  margin-top: 32px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 32px;
}
.legal-card h2 { margin-top: 30px; font-size: 24px; letter-spacing: -0.02em; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card a { color: #ffe079; text-decoration: underline; text-underline-offset: 4px; }

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  filter: blur(10px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(.2,.8,.2,1), filter 760ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes float {
  from { transform: translate3d(0, -14px, 0) scale(1); }
  to { transform: translate3d(26px, 22px, 0) scale(1.06); }
}
@keyframes glow {
  0%, 100% { opacity: 0.72; transform: scale(0.98) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.02) rotate(4deg); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bars { to { transform: scaleY(0.36); opacity: 0.58; } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .hero, .split, .showcase, .download-card { grid-template-columns: 1fr; }
  .hero { gap: 40px; padding-top: 66px; }
  .phone { margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .download-card { text-align: center; justify-items: center; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 620px) {
  .topbar { width: min(100% - 24px, var(--max)); top: 10px; }
  .brand span { display: none; }
  .section { width: min(100% - 28px, var(--max)); padding: 78px 0; }
  h1 { font-size: clamp(48px, 18vw, 72px); }
  .feature-grid { grid-template-columns: 1fr; }
  .phone-screen { min-height: 610px; border-radius: 40px; }
  .disc { width: 156px; height: 156px; }
}

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