:root {
  color-scheme: dark;
  --bg: #030405;
  --surface: #0c0d10;
  --surface-2: #131519;
  --line: #262a30;
  --text: #f4f5f6;
  --muted: #8b9098;
  --mint: #5fd7c0;
  --ice: #c9edff;
  --amber: #d5bd79;
  --sans: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

#signal-canvas {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 28px;
  left: 50%;
  width: min(1400px, calc(100% - 48px));
  height: 76px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 11, 14, 0.9);
  backdrop-filter: blur(18px);
}
.site-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 750; }
.site-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #343840;
  border-radius: 7px;
  background: #15171b;
  font-size: 12px;
  font-weight: 800;
}
.site-nav { display: flex; align-items: center; gap: 38px; color: var(--muted); font-size: 14px; }
.site-nav a, .header-action { transition: color 160ms ease, border-color 160ms ease, background 160ms ease; }
.site-nav a:hover { color: var(--text); }
.header-action {
  justify-self: end;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid #b4d8ea;
  border-radius: 7px;
  background: var(--ice);
  color: #071014;
  font-size: 14px;
  font-weight: 750;
}
.header-action:hover, .primary-action:hover { background: #e2f5ff; border-color: #e2f5ff; }

main, footer { position: relative; z-index: 1; }
.site-hero {
  min-height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 148px 24px 86px;
  text-align: center;
}
.hero-mark {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border: 1px solid #30343b;
  border-radius: 8px;
  background: #111317;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
  font-size: 48px;
  font-weight: 850;
}
.site-hero h1 { margin: 0; font-size: 104px; line-height: 1; font-weight: 820; }
.site-hero h1 span { color: #f5f6f7; }
.site-hero h1 b { color: #d8d6c2; font-weight: inherit; }
.hero-kicker { display: flex; align-items: center; gap: 20px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.hero-kicker i { width: 58px; height: 1px; background: #363a40; }
.site-hero > p { max-width: 700px; margin: 28px auto 0; color: #a3a8b0; font-size: 19px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 40px; }
.primary-action, .secondary-action {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 760;
}
.primary-action { border: 1px solid var(--ice); background: var(--ice); color: #061015; }
.secondary-action { border: 1px solid #2f3339; background: rgba(10, 11, 13, 0.72); color: #e5e7e9; }
.secondary-action:hover { border-color: #626871; background: #111318; }
.hero-meta { margin-top: 22px; color: #626871; font-size: 12px; }

.feature-band, .demo-band, .access-band {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.versions-band {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0;
  border-top: 1px solid var(--line);
}
.feature-band, .demo-band { padding: 104px 0; }
.section-heading { display: grid; grid-template-columns: 220px 1fr; align-items: end; gap: 28px; }
.section-heading span, .access-band > div > span { color: var(--mint); font-size: 11px; font-weight: 760; }
.section-heading h2, .access-band h2 { margin: 0; font-size: 42px; line-height: 1.15; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 70px; border-top: 1px solid var(--line); }
.feature-grid article { min-height: 190px; padding: 30px 34px 30px 0; border-bottom: 1px solid var(--line); }
.feature-grid article + article { padding-left: 34px; border-left: 1px solid var(--line); }
.feature-grid b { font-size: 18px; }
.feature-grid p { max-width: 310px; margin: 20px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.player-preview { margin-top: 58px; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #31353c; border-radius: 8px; background: #000; }
.player-preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.text-action { display: inline-flex; gap: 10px; margin-top: 22px; color: var(--ice); font-size: 14px; }
.text-action span { color: var(--amber); }
.edition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.edition-row {
  position: relative;
  min-width: 0;
  padding: 34px 38px 32px 0;
  transition: background 220ms ease, border-color 220ms ease;
}
.edition-row + .edition-row { padding-left: 38px; border-left: 1px solid var(--line); }
.edition-row::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms ease;
}
.edition-row:hover { background: rgba(95, 215, 192, 0.025); }
.edition-row:hover::after { transform: scaleX(1); }
.edition-head > span { color: var(--mint); font-size: 10px; font-weight: 800; }
.desktop-edition .edition-head > span { color: var(--amber); }
.edition-head h3 { margin: 12px 0 0; font-size: 26px; line-height: 1.2; }
.edition-head p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.edition-row ul { margin: 28px 0 0; padding: 0; list-style: none; }
.edition-row li {
  position: relative;
  min-height: 38px;
  padding: 9px 0 9px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  color: #c8ccd1;
  font-size: 13px;
  line-height: 1.55;
}
.edition-row li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 2px;
  width: 7px;
  height: 4px;
  border-bottom: 1px solid var(--mint);
  border-left: 1px solid var(--mint);
  transform: rotate(-45deg);
}
.edition-row li.edition-limit { color: #777d85; }
.edition-row li.edition-limit::before { width: 8px; height: 1px; border: 0; background: #60656d; transform: none; }
.edition-action, .edition-note, .edition-download {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  color: var(--ice);
  font-size: 12px;
  font-weight: 750;
}
.edition-action span { color: var(--amber); transition: transform 180ms ease; }
.edition-action:hover span { transform: translateX(6px); }
.edition-note { color: #6d737b; font-weight: 650; }
.edition-download {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(213, 189, 121, 0.48);
  border-radius: 6px;
  color: #f1dfa8;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.edition-download span { color: var(--mint); transition: transform 180ms ease; }
.edition-download:hover {
  color: #fff3c9;
  border-color: rgba(213, 189, 121, 0.78);
  background: rgba(213, 189, 121, 0.075);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}
.edition-download:hover span { transform: translateY(3px); }
.edition-signing-note {
  display: block;
  margin-top: 10px;
  color: #6d737b;
  font-size: 10px;
  line-height: 1.45;
}
.access-band { min-height: 300px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 70px 0; }
.access-band h2 { margin-top: 14px; }
footer {
  width: min(1280px, calc(100% - 48px));
  min-height: 100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #686d75;
  font-size: 12px;
}
footer span:first-child { color: #cfd2d5; font-weight: 750; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .site-hero h1 { font-size: 72px; }
  .section-heading { grid-template-columns: 1fr; align-items: start; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article + article { padding-left: 0; border-left: 0; }
  .feature-grid article { min-height: 0; }
}

@media (max-width: 560px) {
  .site-header { top: 12px; width: calc(100% - 24px); height: 62px; padding: 0 12px; }
  .site-brand { font-size: 15px; }
  .site-mark { width: 34px; height: 34px; }
  .header-action { min-height: 38px; padding: 0 12px; font-size: 12px; }
  .site-hero { min-height: calc(100svh - 36px); padding: 112px 20px 52px; }
  .hero-mark { width: 82px; height: 82px; margin-bottom: 24px; font-size: 36px; }
  .site-hero h1 { font-size: 48px; }
  .hero-kicker { gap: 10px; margin-top: 24px; font-size: 10px; }
  .hero-kicker i { width: 26px; }
  .site-hero > p { margin-top: 22px; font-size: 15px; line-height: 1.7; }
  .hero-actions { width: 100%; flex-direction: column; margin-top: 30px; }
  .primary-action, .secondary-action { width: 100%; }
  .feature-band, .demo-band, .versions-band, .access-band, footer { width: calc(100% - 32px); }
  .feature-band, .demo-band, .versions-band { padding: 72px 0; }
  .section-heading h2, .access-band h2 { font-size: 30px; }
  .feature-grid { margin-top: 44px; }
  .player-preview { margin-top: 40px; aspect-ratio: 9 / 14; }
  .edition-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .edition-row, .edition-row + .edition-row { padding: 28px 0; border-left: 0; }
  .edition-row + .edition-row { border-top: 1px solid var(--line); }
  .edition-head h3 { font-size: 22px; }
  .access-band { min-height: 330px; flex-direction: column; align-items: flex-start; justify-content: center; }
  footer { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

/* Interactive signal layer */
:root {
  --pointer-x: 50vw;
  --pointer-y: 50vh;
  --hero-echo-x: 0px;
  --hero-echo-y: 0px;
  --hero-music-x: 0px;
  --hero-music-y: 0px;
}
body { overflow-x: hidden; }
.scroll-progress {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}
.scroll-progress i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--mint), var(--ice), var(--amber));
  box-shadow: 0 0 14px rgba(95, 215, 192, 0.44);
}
#signal-canvas { opacity: 0.78; transition: opacity 240ms ease; }

.site-header {
  transition: top 220ms ease, width 220ms ease, height 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.site-header.is-scrolled {
  top: 12px;
  width: min(1180px, calc(100% - 32px));
  height: 64px;
  border-color: #343941;
  background: rgba(8, 9, 11, 0.96);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
}
.site-mark {
  position: relative;
  transition: color 180ms ease, border-color 180ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.site-mark::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(95, 215, 192, 0.28);
  border-radius: 10px;
  opacity: 0;
  transform: scale(0.82);
}
.site-brand:hover .site-mark {
  color: var(--mint);
  border-color: rgba(95, 215, 192, 0.6);
  transform: rotate(-4deg) scale(1.04);
  box-shadow: 0 0 24px rgba(95, 215, 192, 0.12);
}
.site-brand:hover .site-mark::after { animation: mark-echo 760ms ease-out; }
@keyframes mark-echo {
  0% { opacity: 0.8; transform: scale(0.82); }
  100% { opacity: 0; transform: scale(1.35); }
}
.site-nav a { position: relative; padding: 10px 0; }
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 220ms ease;
}
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); transform-origin: left center; }
.site-nav a.is-active { color: var(--text); }
.header-action, .primary-action, .secondary-action {
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.header-action:hover, .primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(201, 237, 255, 0.13);
}
.secondary-action:hover { transform: translateY(-2px); }

.site-hero { position: relative; isolation: isolate; }
.site-hero { min-height: min(760px, calc(100svh - 64px)); }
.feature-band, .demo-band, .versions-band, .access-band { scroll-margin-top: 104px; }
.site-hero::before, .site-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 26%;
  width: min(26vw, 360px);
  height: 34%;
  border-top: 1px solid rgba(95, 215, 192, 0.12);
  border-bottom: 1px solid rgba(201, 237, 255, 0.08);
  opacity: 0.65;
  transform: skewY(-7deg);
  transform-origin: left center;
  animation: signal-rail 6s ease-in-out infinite;
}
.site-hero::before { left: 0; }
.site-hero::after { right: 0; transform: skewY(7deg); transform-origin: right center; animation-delay: -3s; }
@keyframes signal-rail {
  0%, 100% { opacity: 0.32; scale: 0.92 1; }
  50% { opacity: 0.76; scale: 1 1; }
}
.hero-mark {
  position: relative;
  transition: border-color 240ms ease, color 240ms ease, transform 260ms ease, box-shadow 260ms ease;
  animation: hero-mark-float 5s ease-in-out infinite;
}
.hero-mark::before, .hero-mark::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(95, 215, 192, 0.2);
  border-radius: 12px;
  opacity: 0;
  animation: hero-mark-pulse 3.2s ease-out infinite;
}
.hero-mark::after { animation-delay: 1.6s; }
.hero-mark:hover {
  color: var(--mint);
  border-color: rgba(95, 215, 192, 0.7);
  transform: translateY(-4px) rotate(2deg);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.5), 0 0 38px rgba(95, 215, 192, 0.12);
}
@keyframes hero-mark-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes hero-mark-pulse {
  0% { opacity: 0; transform: scale(0.88); }
  18% { opacity: 0.55; }
  100% { opacity: 0; transform: scale(1.34); }
}
.site-hero h1 span, .site-hero h1 b {
  display: inline-block;
  transition: transform 180ms ease-out, color 220ms ease;
}
.site-hero h1 span { transform: translate3d(var(--hero-echo-x), var(--hero-echo-y), 0); }
.site-hero h1 b { transform: translate3d(var(--hero-music-x), var(--hero-music-y), 0); }
.site-hero h1:hover span { color: var(--ice); }
.site-hero h1:hover b { color: var(--amber); }
.hero-kicker i:first-child { transform-origin: right center; animation: kicker-signal 2.8s ease-in-out infinite; }
.hero-kicker i:last-child { transform-origin: left center; animation: kicker-signal 2.8s 1.4s ease-in-out infinite; }
@keyframes kicker-signal {
  0%, 100% { transform: scaleX(0.42); background: #363a40; }
  50% { transform: scaleX(1); background: var(--mint); }
}

.feature-grid article {
  position: relative;
  transition: background 240ms ease, transform 240ms ease, border-color 240ms ease;
}
.feature-grid article::before {
  display: block;
  margin-bottom: 18px;
  color: #555b63;
  font: 700 10px/1 var(--sans);
  transition: color 220ms ease, transform 220ms ease;
}
.feature-grid article:nth-child(1)::before { content: "01 — LIVE"; }
.feature-grid article:nth-child(2)::before { content: "02 — SOURCE"; }
.feature-grid article:nth-child(3)::before { content: "03 — CONTROL"; }
.feature-grid article::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 300ms ease;
}
.feature-grid article:hover { background: rgba(95, 215, 192, 0.025); transform: translateY(-5px); border-color: #3b4149; }
.feature-grid article:hover::before { color: var(--mint); transform: translateX(6px); }
.feature-grid article:hover::after { transform: scaleX(1); }
.feature-grid b { transition: color 220ms ease; }
.feature-grid article:hover b { color: var(--ice); }

.player-preview {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glare-x: 50%;
  --glare-y: 50%;
  position: relative;
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 420ms cubic-bezier(.16,1,.3,1), border-color 220ms ease, box-shadow 220ms ease;
}
.player-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--glare-x) var(--glare-y), rgba(201,237,255,.14), transparent 34%);
  opacity: 0;
  transition: opacity 220ms ease;
}
.player-preview.is-tilting {
  transition-duration: 80ms;
  border-color: rgba(95, 215, 192, 0.42);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}
.player-preview.is-tilting::after { opacity: 1; }
.player-preview img {
  transform: scale(1.012);
  transition: transform 600ms cubic-bezier(.16,1,.3,1), filter 300ms ease;
}
.player-preview:hover img { transform: scale(1.035); filter: saturate(1.08) contrast(1.03); }
.text-action span { transition: transform 180ms ease; }
.text-action:hover span { transform: translateX(6px); }

.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(7px);
  transition: opacity 700ms ease var(--reveal-delay, 0ms), transform 700ms cubic-bezier(.16,1,.3,1) var(--reveal-delay, 0ms), filter 700ms ease var(--reveal-delay, 0ms);
}
.reveal-ready.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }

@media (max-width: 900px) {
  .site-hero::before, .site-hero::after { width: 18vw; }
  .feature-grid article:hover { transform: translateX(5px); }
}

@media (max-width: 560px) {
  .site-header.is-scrolled { top: 8px; width: calc(100% - 16px); height: 58px; }
  .site-hero::before, .site-hero::after { display: none; }
  .site-hero { min-height: min(760px, calc(100svh - 36px)); }
  .feature-band, .demo-band, .versions-band, .access-band { scroll-margin-top: 78px; }
  .hero-mark::before, .hero-mark::after { inset: -6px; }
  .player-preview { transform: none !important; }
}

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