:root {
  --bg: #070b10;
  --bg-deep: #05080d;
  --panel: rgba(15, 23, 34, 0.84);
  --panel-strong: rgba(19, 30, 44, 0.96);
  --line: rgba(156, 173, 195, 0.2);
  --line-strong: rgba(133, 213, 255, 0.46);
  --text: #f7fbff;
  --muted: #9aa9bb;
  --soft: #c9d4df;
  --red: #ff4058;
  --red-dark: #d72c43;
  --cyan: #4bd3ff;
  --green: #7ee0a5;
  --amber: #f8c96a;
  --radius: 8px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow-red: 0 0 44px rgba(255, 64, 88, 0.24);
  --shadow-cyan: 0 0 44px rgba(75, 211, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 64, 88, 0.2), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(75, 211, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #070b10 0%, #0b1119 54%, #05080d 100%);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.26;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035) 0,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 8px
  );
  opacity: 0.05;
}

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

button,
input {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(260px, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 16, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 12px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .92), rgba(255, 255, 255, .48) 36%, rgba(255, 64, 88, .24) 72%),
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(211, 232, 255, .76));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .08), 0 14px 32px rgba(255, 64, 88, .34);
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 20px;
  line-height: 1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links,
.account-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  justify-content: center;
  color: var(--soft);
  font-size: 14px;
}

.account-links {
  justify-content: flex-end;
  gap: 10px;
}

.nav-links a,
.ghost-link {
  transition: color .2s var(--ease);
}

.nav-links a:hover,
.ghost-link:hover {
  color: var(--cyan);
}

.nav-download,
.primary-cta,
.secondary-cta,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease);
}

.nav-download,
.primary-cta {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: var(--shadow-red);
  color: #fff;
}

.secondary-cta,
.ghost-link {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.ghost-link {
  min-height: 38px;
  padding: 0 12px;
  font-size: 14px;
}

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

section {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 4vw, 58px);
}

.hero-section {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
}

.hero-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.hero-copy,
.demo-left,
.demo-right,
.console-display,
.feature-grid article,
.plan-card {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 22px;
  max-width: 780px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.04;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.1;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-lede,
.section-heading p,
.download-section p,
.support-note,
.faq-list p,
.feature-grid p,
.workflow-grid p,
.plan-desc {
  color: var(--soft);
  line-height: 1.75;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: 18px;
}

.hero-actions,
.demo-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.support-note {
  margin: 18px 0 0;
  font-size: 14px;
}

.hero-console {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 24, 36, .95), rgba(8, 13, 21, .95));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .44), var(--shadow-cyan);
}

.console-top {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.console-top span:nth-child(2) {
  background: var(--amber);
}

.console-top span:nth-child(3) {
  background: var(--green);
}

.console-display {
  position: relative;
  min-height: 450px;
  padding: 24px;
  display: grid;
  align-content: space-between;
  background:
    linear-gradient(rgba(75, 211, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 211, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 50% 38%, rgba(255, 64, 88, 0.2), transparent 32%);
  background-size: 26px 26px, 26px 26px, 100% 100%;
}

.hud-frame {
  position: relative;
  min-height: 280px;
  border: 1px solid rgba(75, 211, 255, .36);
  background: rgba(2, 7, 13, .38);
}

.corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--cyan);
}

.corner-a {
  top: 12px;
  left: 12px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.corner-b {
  top: 12px;
  right: 12px;
  border-top: 2px solid;
  border-right: 2px solid;
}

.corner-c {
  bottom: 12px;
  left: 12px;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.corner-d {
  right: 12px;
  bottom: 12px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.crosshair {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  background: var(--red);
}

.crosshair::before {
  left: 50%;
  top: -24px;
  width: 2px;
  height: 124px;
}

.crosshair::after {
  left: -24px;
  top: 50%;
  width: 124px;
  height: 2px;
}

.pulse-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.mini-playlists {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.mini-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
  color: var(--soft);
}

.mini-card.active {
  border-color: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.section-heading {
  width: min(860px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.compact {
  margin-left: auto;
  margin-right: auto;
}

.feature-grid,
.workflow-grid,
.plan-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

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

.feature-grid article,
.workflow-grid article,
.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}

.feature-grid article {
  padding: 24px;
}

.feature-grid article span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--red);
  font-weight: 900;
}

.fps-section {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .02), transparent);
}

.demo-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(6, 12, 20, .72);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .34);
}

.demo-left,
.demo-right {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  padding: 20px;
}

.demo-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.demo-flow span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--soft);
  font-size: 13px;
  text-align: center;
}

.keypad {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.keycap {
  min-height: 98px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a121d;
  color: var(--text);
  cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.keycap strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.keycap span {
  display: block;
  color: var(--soft);
  font-size: 13px;
}

.keycap:hover,
.keycap.active {
  transform: translateY(-3px);
  border-color: var(--red);
  background: linear-gradient(180deg, rgba(255, 64, 88, .18), rgba(10, 18, 29, .96));
}

.scene-tag {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.scene-tag span,
.sound-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.scene-tag strong {
  color: var(--cyan);
}

.playlist-stack {
  display: grid;
  gap: 10px;
}

.playlist-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .035);
}

.playlist-card.active {
  border-color: var(--red);
  background: rgba(255, 64, 88, .12);
}

.playlist-index {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(75, 211, 255, .12);
  color: var(--cyan);
  font-weight: 900;
}

.playlist-card h3 {
  margin-bottom: 4px;
  font-size: 17px;
}

.playlist-card p {
  margin: 0;
  color: var(--soft);
  line-height: 1.5;
}

.sound-strip {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(75, 211, 255, .08);
}

.waveform {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 92px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .26);
  overflow: hidden;
}

.waveform span {
  flex: 1;
  min-width: 3px;
  height: 28%;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--cyan), var(--red));
  animation: wave 1.1s ease-in-out infinite alternate;
}

.waveform span:nth-child(3n) {
  height: 72%;
}

.waveform span:nth-child(4n) {
  height: 48%;
}

.waveform span:nth-child(5n) {
  height: 90%;
}

@keyframes wave {
  from {
    transform: scaleY(.44);
    opacity: .55;
  }

  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

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

.workflow-grid article {
  padding: 26px;
}

.workflow-grid strong {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(255, 64, 88, .14);
  color: var(--red);
}

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

.plan-card {
  display: grid;
  gap: 22px;
  padding: 30px;
}

.plan-card.featured {
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}

.plan-label {
  margin-bottom: 8px;
  color: var(--cyan);
  font-weight: 900;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 22px;
  color: var(--soft);
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.download-section {
  width: min(1180px, calc(100% - 36px));
  margin: clamp(40px, 7vw, 82px) auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 64, 88, .16), transparent 42%),
    linear-gradient(225deg, rgba(75, 211, 255, .14), transparent 40%),
    var(--panel-strong);
}

.download-section p {
  margin-bottom: 0;
}

.faq-list {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 28px clamp(18px, 4vw, 58px);
  border-top: 1px solid var(--line);
  color: var(--soft);
  background: rgba(0, 0, 0, .24);
}

.site-footer div,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer a:hover {
  color: var(--cyan);
}

@media (max-width: 1060px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nav-links,
  .account-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-grid,
  .demo-panel,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero-console {
    max-width: 680px;
  }
}

@media (max-width: 820px) {
  section {
    padding: 58px 18px;
  }

  h1 {
    font-size: clamp(34px, 10.5vw, 52px);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(28px, 9vw, 42px);
  }

  .feature-grid,
  .workflow-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

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

  .demo-flow span:last-child,
  .keycap:last-child {
    grid-column: 1 / -1;
  }

  .console-display {
    min-height: 380px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .topbar {
    min-height: 0;
    padding: 12px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-copy small {
    display: none;
  }

  .nav-links,
  .account-links {
    gap: 8px;
  }

  .nav-links a,
  .ghost-link,
  .nav-download {
    font-size: 13px;
  }

  .ghost-link,
  .nav-download,
  .primary-cta,
  .secondary-cta {
    min-height: 40px;
    padding-inline: 12px;
  }

  .hero-actions,
  .demo-actions,
  .download-actions {
    align-items: stretch;
  }

  .hero-actions a,
  .demo-actions a,
  .download-actions a {
    width: 100%;
  }

  .hero-console,
  .demo-panel {
    border-radius: 12px;
  }

  .console-display,
  .demo-left,
  .demo-right,
  .feature-grid article,
  .workflow-grid article,
  .plan-card {
    padding: 16px;
  }

  .hud-frame {
    min-height: 230px;
  }

  .playlist-card,
  .sound-strip {
    grid-template-columns: 1fr;
  }

  .sound-strip {
    display: grid;
  }
}
