:root {
  --bg: #121218;
  --bg-soft: #1e1e2a;
  --panel: rgba(30, 30, 42, 0.82);
  --line: rgba(184, 178, 242, 0.2);
  --text: #ecf0ff;
  --muted: #c8c2e2;
  --primary: #7f77dd;
  --accent: #534ab7;
  --danger: #ff6d9a;
  --shadow: 0 28px 60px rgba(8, 8, 14, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: radial-gradient(circle at 20% 20%, #24203c 0%, var(--bg) 42%, #0f0f16 100%);
  color: var(--text);
  font-family: Outfit, system-ui, sans-serif;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: radial-gradient(#fff 0.7px, transparent 0.7px);
  background-size: 3px 3px;
  z-index: 1;
}

.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 119, 221, 0.26) 0%, rgba(127, 119, 221, 0) 68%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 2;
  filter: blur(1px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(16px, 3vw, 46px);
  backdrop-filter: blur(10px);
  background: rgba(18, 18, 24, 0.82);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: Syne, sans-serif;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-gif {
  width: 20px;
  height: 16px;
  display: inline-flex;
  align-items: end;
  gap: 2px;
  padding: 1px;
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(127, 119, 221, 0.28), rgba(83, 74, 183, 0.45));
  box-shadow: 0 0 20px rgba(127, 119, 221, 0.38);
}

.logo-gif i {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #cfc9ff 0%, #7f77dd 100%);
  animation: logoBars 0.9s ease-in-out infinite alternate;
}

.logo-gif i:nth-child(1) { height: 30%; animation-delay: 0s; }
.logo-gif i:nth-child(2) { height: 85%; animation-delay: 0.15s; }
.logo-gif i:nth-child(3) { height: 55%; animation-delay: 0.3s; }
.logo-gif i:nth-child(4) { height: 75%; animation-delay: 0.45s; }

@keyframes logoBars {
  from { transform: scaleY(0.45); opacity: 0.75; }
  to { transform: scaleY(1.05); opacity: 1; }
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

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

.section {
  position: relative;
  z-index: 3;
  max-width: 1140px;
  margin: 0 auto;
  padding: 96px clamp(16px, 3vw, 40px);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: calc(100vh - 80px);
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1.8px;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  font-family: Syne, sans-serif;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

p {
  margin: 0;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 56ch;
}

.gradient-text {
  background: linear-gradient(90deg, #b8b2f2 0%, #7f77dd 40%, #534ab7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  box-shadow: 0 12px 32px rgba(83, 74, 183, 0.35);
}

.btn-secondary {
  color: var(--text);
  background: rgba(127, 119, 221, 0.18);
  border-color: rgba(127, 119, 221, 0.45);
}

.btn-ghost {
  color: var(--text);
  background: rgba(83, 74, 183, 0.18);
  border-color: rgba(127, 119, 221, 0.4);
}

.hero-stats {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-stats div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 12px;
  background: rgba(12, 17, 33, 0.62);
}

.hero-stats strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.orb-a {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(72, 113, 255, 0.55), transparent 65%);
  top: -22px;
  left: -28px;
}

.orb-b {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 83, 170, 0.4), transparent 68%);
  right: -18px;
  bottom: -22px;
}

.player-card {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  border: 1px solid rgba(150, 167, 255, 0.25);
  background: linear-gradient(165deg, rgba(20, 27, 55, 0.95), rgba(13, 18, 36, 0.84));
  box-shadow: var(--shadow);
  padding: 18px;
}

.player-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 rgba(255, 109, 154, 0.65);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 109, 154, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(255, 109, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 109, 154, 0); }
}

.bars {
  display: grid;
  grid-template-columns: repeat(28, minmax(0, 1fr));
  gap: 4px;
  height: 120px;
  align-items: end;
  margin-top: 14px;
}

.bars i {
  border-radius: 999px;
  background: linear-gradient(180deg, #b8b2f2 0%, #7f77dd 56%, #534ab7 100%);
  opacity: 0.86;
}

.progress-wrap {
  margin-top: 14px;
  height: 8px;
  border-radius: 999px;
  background: rgba(167, 182, 255, 0.18);
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--primary), #ff89d4);
}

.stem-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.stem-tags span {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 0.78rem;
  color: #dce4ff;
}

.section-title {
  max-width: 700px;
}

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

.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  transition: transform 0.18s ease, border-color 0.2s ease;
}

.feature-card p {
  color: var(--muted);
}

.demo {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
}

.mixer {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(11, 15, 30, 0.88);
  padding: 18px;
  box-shadow: var(--shadow);
}

.row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.row label {
  color: #d3dcff;
  font-weight: 600;
}

.stem-slider {
  width: 100%;
  accent-color: #7e90ff;
}

#mixerViz {
  margin-top: 8px;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(152, 173, 255, 0.25);
  background: linear-gradient(180deg, rgba(11, 17, 38, 0.8), rgba(8, 12, 25, 0.9));
}

.pricing {
  display: grid;
  place-items: center;
}

.pricing-card {
  max-width: 540px;
  width: 100%;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(18, 25, 50, 0.94), rgba(9, 12, 25, 0.94));
  border-radius: 26px;
  padding: 26px;
  text-align: center;
}

.price {
  margin: 12px 0;
  font-family: Syne, sans-serif;
  font-size: 3.2rem;
  color: #c7fff7;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
}

.pricing-card ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
  color: #d4ddff;
}

.download {
  padding-top: 28px;
}

.download-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(30, 30, 42, 0.92), rgba(18, 18, 24, 0.95));
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow);
}

.download-card p {
  color: var(--muted);
  max-width: 56ch;
}

.store-actions {
  flex-shrink: 0;
}

.btn-store {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: var(--text);
  min-width: 190px;
  border-color: rgba(184, 178, 242, 0.55);
  background: linear-gradient(130deg, rgba(127, 119, 221, 0.4), rgba(83, 74, 183, 0.32));
}

.store-small {
  font-size: 0.66rem;
  letter-spacing: 1.4px;
  color: #d3dcff;
}

.store-name {
  font-size: 1.15rem;
  font-family: Syne, sans-serif;
}

.site-footer {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  padding: 18px clamp(16px, 3vw, 46px) 30px;
  color: var(--muted);
  position: relative;
  z-index: 3;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-brand a {
  width: fit-content;
}

.footer-links {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.site-footer a {
  text-decoration: none;
  color: #dce6ff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.float {
  animation: float 4s ease-in-out infinite;
}

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

@media (max-width: 980px) {
  .hero,
  .demo,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

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

  .download-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
