:root {
  --navy-950: #030918;
  --navy-925: #061022;
  --navy-900: #0a1628;
  --navy-850: #0f1f3d;
  --brand: #7f5af0;
  --brand-muted: #5f3bc4;
  --brand-cta: #8d6bff;
  --cyan: #b892ff;
  --white: #ffffff;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.06);
  --shadow-glow: 0 0 60px -12px rgba(99, 102, 241, 0.45);
  --font: Arial, "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --hero-lift: -100px;
}

@font-face {
  font-family: Inter;
  src: url("https://songremovevocals.com/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-padding-top: 5.5rem;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: clip;
  background: var(--navy-950);
  color: var(--slate-100);
  font-family: var(--font);
  font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input {
  font: inherit;
}

button,
input {
  color: inherit;
}

button {
  cursor: pointer;
}

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

main {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #0b0612 0%, #171023 28%, #261237 58%, #1b0d2a 100%);
}

main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 86% 28% at 50% 8%, rgba(196, 155, 255, 0.24), transparent 68%),
    radial-gradient(ellipse 72% 24% at 50% 40%, rgba(147, 111, 255, 0.14), transparent 70%),
    radial-gradient(ellipse 72% 28% at 50% 72%, rgba(128, 82, 212, 0.14), transparent 72%);
  pointer-events: none;
}

main > * {
  position: relative;
  z-index: 1;
}

p,
h1,
h2,
h3 {
  font-family: var(--font);
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

svg {
  display: block;
}

::selection {
  background: var(--brand);
  color: var(--white);
}

:focus {
  outline: none;
}

:focus-visible {
  box-shadow: 0 0 0 2px var(--navy-950), 0 0 0 4px var(--cyan);
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus-visible {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 0;
  background: #08040d;
  font-family: Arial, "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  transition: transform 0.28s ease, background 0.2s ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: none;
  min-height: 5.75rem;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4.7vw, 5.75rem);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  justify-self: start;
}

.brand-wave {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
}

.brand-wave i {
  display: block;
  width: 0.25rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #d8c2ff, #7f5af0);
  box-shadow: 0 0 16px rgba(127, 90, 240, 0.34);
}

.brand-wave i:nth-child(1),
.brand-wave i:nth-child(5) {
  height: 1.1rem;
}

.brand-wave i:nth-child(2),
.brand-wave i:nth-child(4) {
  height: 1.75rem;
}

.brand-wave i:nth-child(3) {
  height: 2.35rem;
}

.brand-name {
  color: var(--white);
  font-size: clamp(1.5rem, 1.85vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-name span {
  color: #b892ff;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(2rem, 3vw, 3.15rem);
}

.desktop-nav a,
.nav-button,
.mobile-menu a,
.mobile-menu .nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 0;
  background: transparent;
  color: #ddd6fe;
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  transition: color 0.15s ease, text-shadow 0.15s ease, background 0.15s ease;
}

.desktop-nav a:hover,
.nav-button:hover,
.mobile-menu a:hover {
  color: #f8fafc;
  text-shadow: 0 0 18px rgba(127, 90, 240, 0.42);
}

.desktop-nav .nav-contact,
.mobile-menu .nav-contact {
  min-height: 3.4rem;
  padding: 0 2.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #a57dff, #7448e8);
  color: #fff;
  box-shadow: 0 14px 32px -14px rgba(91, 60, 190, 0.82);
}

.desktop-nav .nav-contact:hover,
.mobile-menu .nav-contact:hover {
  background: linear-gradient(135deg, #b28cff, #8056f0);
  text-shadow: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  min-width: 10.5rem;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0 1rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #a57dff, #7448e8);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 24px -8px rgba(127, 90, 240, 0.58);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.header-cta:hover {
  background: linear-gradient(135deg, #b28cff, #8056f0);
  box-shadow: 0 0 28px -6px rgba(127, 90, 240, 0.68);
}

.header-cta:active,
.primary-cta:active,
.full-cta:active {
  transform: translateY(1px);
}

.mobile-actions {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.site-nav {
  position: relative;
}

.site-nav summary {
  list-style: none;
}

.site-nav summary::-webkit-details-marker {
  display: none;
}

.menu-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--navy-850);
  color: var(--slate-300);
}

.menu-button svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  display: none;
  flex-direction: column;
  gap: 0.125rem;
  width: 14rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--navy-900);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.site-nav[open] .mobile-menu {
  display: flex;
}

.mobile-menu a,
.mobile-menu .nav-button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  text-align: left;
}

.mobile-menu a:hover,
.mobile-menu .nav-button:hover {
  background: rgba(255, 255, 255, 0.05);
  text-shadow: none;
}

.header-cta--compact {
  min-height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.8125rem;
}

.header-cta--menu {
  width: 100%;
  min-height: 2.75rem;
  margin-top: 0.25rem;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  background: transparent;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow--violet {
  background: radial-gradient(ellipse 90% 70% at 50% -10%, rgba(196, 155, 255, 0.22), transparent 55%);
  animation: pulse-glow 8s ease-in-out infinite;
}

.hero-glow--cyan {
  background: radial-gradient(ellipse 50% 40% at 100% 50%, rgba(126, 96, 255, 0.12), transparent 50%);
}

.hero-wave {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  height: 10rem;
  width: 100%;
  opacity: 0.5;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent 92%);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent 92%);
  transform: translateY(var(--hero-lift));
}

.wave-bar {
  flex: 0 0 3px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(to top, #33216f, #7f5af0, #c8a7ff);
  animation: wave-height 1.1s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 0 auto;
  padding: 8rem 1rem 8.5rem;
  text-align: center;
  transform: translateY(var(--hero-lift));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.05);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
}

.eyebrow span {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--cyan);
  animation: dot-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero h1 {
  margin-top: 2rem;
  color: var(--white);
  font-size: clamp(1.75rem, 6vw, 3rem);
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 800;
  text-wrap: balance;
}

.hero h1 span {
  background: linear-gradient(90deg, #fbf7ff, #cdaaff, #8d6bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.primary-cta,
.full-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, var(--brand), #9c7cff, var(--brand-muted));
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  box-shadow: var(--shadow-glow);
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.primary-cta {
  min-width: 156px;
  margin-top: 2.5rem;
  padding: 0 2rem;
}

.primary-cta:hover,
.full-cta:hover {
  opacity: 0.95;
}

.hero-upload {
  width: min(100%, 40rem);
  height: 22.875rem;
  margin: 3.125rem auto 0;
}

.hero-drop-zone {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  isolation: isolate;
  overflow: hidden;
  border: 2px dashed rgba(184, 146, 255, 0.32);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 50% 18%, rgba(127, 90, 240, 0.2), transparent 18rem),
    linear-gradient(180deg, rgba(14, 21, 36, 0.96), rgba(7, 10, 20, 0.92)),
    #080b16;
  box-shadow:
    0 30px 90px -42px rgba(7, 4, 13, 0.96),
    0 0 0 1px rgba(216, 194, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.hero-drop-zone::before,
.audio-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 32%, rgba(184, 146, 255, 0.06)),
    radial-gradient(circle at 50% 0%, rgba(216, 194, 255, 0.1), transparent 38%);
  pointer-events: none;
}

.hero-drop-zone:hover,
.hero-drop-zone.drag-over {
  border-color: rgba(200, 167, 255, 0.7);
  background:
    radial-gradient(circle at 50% 18%, rgba(184, 146, 255, 0.26), transparent 18rem),
    linear-gradient(180deg, rgba(16, 20, 36, 0.98), rgba(8, 10, 20, 0.94)),
    #080b16;
  box-shadow:
    0 34px 96px -42px rgba(127, 90, 240, 0.72),
    0 0 0 1px rgba(216, 194, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-drop-zone.drag-over {
  transform: translateY(-2px);
}

.hero-drop-zone.has-file {
  border-style: solid;
  border-color: rgba(184, 146, 255, 0.48);
  background:
    radial-gradient(circle at 50% 18%, rgba(127, 90, 240, 0.2), transparent 18rem),
    linear-gradient(180deg, rgba(14, 21, 36, 0.96), rgba(7, 10, 20, 0.92)),
    #080b16;
}

.hero-upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(216, 194, 255, 0.18), rgba(127, 90, 240, 0.28)),
    rgba(127, 90, 240, 0.12);
  color: #c8a7ff;
  font-size: 1.65rem;
  font-weight: 900;
  box-shadow:
    0 18px 48px -22px rgba(127, 90, 240, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-drop-zone strong {
  font-family: var(--font);
  margin-top: 1rem;
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 800;
}

.hero-drop-zone small {
  font-family: var(--font);
  margin-top: 0.5rem;
  color: #8e819f;
  font-size: 0.875rem;
}

.engine-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
  margin-top: 1.15rem;
  padding: 0 0.8rem;
  border: 1px solid rgba(184, 146, 255, 0.22);
  border-radius: 999px;
  background: rgba(127, 90, 240, 0.09);
  color: #bfb0db;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
}

.audio-panel {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) 48px;
  gap: 0.9rem;
  padding: 1rem;
  isolation: isolate;
  border: 1px solid rgba(184, 146, 255, 0.36);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 16% 0%, rgba(127, 90, 240, 0.2), transparent 18rem),
    linear-gradient(180deg, rgba(14, 18, 32, 0.98), rgba(8, 7, 16, 0.94)),
    #080812;
  box-shadow:
    0 30px 88px -42px rgba(127, 90, 240, 0.72),
    0 0 0 1px rgba(216, 194, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  text-align: left;
}

.audio-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid rgba(216, 194, 255, 0.1);
}

.audio-panel__tracks {
  min-height: 0;
  display: grid;
  gap: 1rem;
}

.audio-panel__header p {
  max-width: 22rem;
  overflow: hidden;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audio-panel__header span {
  display: block;
  margin-top: 0.25rem;
  color: #9588a8;
  font-size: 0.78rem;
}

.audio-panel__header button {
  flex: 0 0 auto;
  min-height: 1.9rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(184, 146, 255, 0.34);
  border-radius: 0.625rem;
  background: rgba(127, 90, 240, 0.12);
  color: #c8a7ff;
  font-size: 0.75rem;
  font-weight: 800;
}

.audio-track {
  min-height: 0;
}

.audio-track__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.audio-track__label span {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
}

.audio-track__label small {
  color: #9588a8;
  font-size: 0.72rem;
}

.audio-track__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 0.75rem;
  align-items: stretch;
}

.track-waveform {
  --progress: 0%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  min-height: 58px;
  overflow: hidden;
  padding: 0 0.875rem;
  border: 1px solid rgba(216, 194, 255, 0.08);
  border-radius: 0.75rem;
  background:
    linear-gradient(180deg, rgba(13, 17, 31, 0.96), rgba(7, 8, 18, 0.92)),
    #070812;
}

.track-waveform::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--progress);
  background: linear-gradient(90deg, rgba(127, 90, 240, 0.18), rgba(200, 167, 255, 0.18));
  pointer-events: none;
  transition: width 0.25s ease;
}

.track-waveform.is-processing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(200, 167, 255, 0.26), transparent);
  animation: processing-sweep 1.2s linear infinite;
}

.track-waveform span {
  position: relative;
  z-index: 1;
  flex: 1 1 3px;
  max-width: 6px;
  min-width: 2px;
  height: var(--bar-h, 18px);
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.52);
}

.track-waveform--original span {
  background: linear-gradient(to top, rgba(92, 82, 118, 0.7), rgba(190, 181, 211, 0.88));
}

.track-waveform--result span {
  background: linear-gradient(to top, var(--brand), var(--cyan));
}

.track-waveform--empty span {
  height: 4px;
  background: rgba(149, 136, 168, 0.26);
}

.track-play {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border: 1px solid rgba(184, 146, 255, 0.32);
  border-radius: 0.75rem;
  background:
    linear-gradient(180deg, rgba(127, 90, 240, 0.18), rgba(127, 90, 240, 0.08)),
    rgba(9, 8, 18, 0.8);
  color: #c8a7ff;
  font-size: 1rem;
  font-weight: 900;
  transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.track-play:hover:not(:disabled) {
  background:
    linear-gradient(180deg, rgba(184, 146, 255, 0.24), rgba(127, 90, 240, 0.12)),
    rgba(9, 8, 18, 0.8);
}

.track-play:active:not(:disabled) {
  transform: translateY(1px);
}

.track-play:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.audio-action {
  width: 100%;
  min-height: 48px;
  margin-top: 0;
  border: 0;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, #7f5af0, #a98aff, #6040c9);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 18px 46px -24px rgba(127, 90, 240, 0.9);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.audio-action:hover {
  opacity: 0.95;
}

.audio-action:disabled {
  cursor: wait;
  opacity: 0.72;
}

.audio-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.audio-action.is-download {
  background: linear-gradient(90deg, #d8c2ff, #9f7dff);
  color: #12091f;
}

.tool-section {
  padding: 5rem 1rem 5rem;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(10, 22, 40, 0.4);
}

.section-heading {
  max-width: 54rem;
  margin: 0 auto;
  text-align: center;
}

.section-heading h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 2.75vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 750;
  text-wrap: balance;
}

.section-heading h2 span {
  color: #b892ff;
}

.section-heading p {
  margin-top: 1.3rem;
  color: #c9b8ff;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}

.studio-card {
  max-width: 36rem;
  margin: 2rem auto 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--navy-900);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.studio-topbar {
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.16), transparent, rgba(34, 211, 238, 0.13));
  color: var(--slate-500);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.studio-body {
  padding: 1rem 1rem 1.25rem;
}

.notice {
  padding: 0.875rem 1rem;
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 0.75rem;
  background: rgba(99, 102, 241, 0.06);
  color: var(--slate-300);
  font-size: 0.875rem;
  line-height: 1.45;
}

.notice strong {
  color: var(--white);
}

.tabs {
  display: flex;
  gap: 0.25rem;
  margin-top: 1rem;
  padding: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--navy-950);
}

.tab {
  flex: 1;
  min-height: 2.625rem;
  border: 0;
  border-radius: 0.625rem;
  background: transparent;
  color: var(--slate-400);
  font-weight: 800;
  transition: background 0.15s ease, color 0.15s ease;
}

.tab.active {
  background: rgba(255, 255, 255, 0.11);
  color: var(--white);
}

.auth-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.auth-form label {
  display: grid;
  gap: 0.5rem;
  color: var(--slate-500);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--navy-950);
  color: var(--white);
  padding: 0 1rem;
}

.auth-form input::placeholder {
  color: var(--slate-600);
}

.code-row {
  display: grid;
  grid-template-columns: 1fr 9.5rem;
  gap: 0.5rem;
}

.secondary-button {
  min-height: 48px;
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 0.75rem;
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  font-weight: 800;
}

.hint {
  margin-top: -0.5rem;
  color: var(--slate-500);
  font-size: 0.75rem;
  line-height: 1.35;
}

.hint strong {
  color: var(--slate-400);
}

.full-cta {
  width: 100%;
  padding: 0 1.25rem;
}

.full-cta--outline {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  box-shadow: none;
}

.upload-panel {
  display: grid;
  gap: 1rem;
}

.signed-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--border);
  color: var(--slate-400);
  font-size: 0.8125rem;
}

.signed-in span:first-child {
  color: var(--white);
  font-weight: 700;
}

.signed-in span:nth-child(2) {
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--navy-950);
}

.signed-in button {
  border: 0;
  background: transparent;
  color: var(--slate-500);
  text-decoration: underline;
}

.drop-zone {
  display: flex;
  min-height: 13rem;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1.25rem;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  background: rgba(3, 9, 24, 0.8);
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.drop-zone:hover,
.drop-zone.drag-over {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.05);
}

.upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(34, 211, 238, 0.2));
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 900;
}

.drop-zone strong {
  margin-top: 1rem;
  color: var(--white);
  font-size: 1.125rem;
}

.drop-zone small {
  margin-top: 0.5rem;
  color: var(--slate-500);
  font-size: 0.875rem;
}

.full-cta:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.processing-state,
.download-block {
  padding: 1.25rem;
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 0.75rem;
  background: rgba(99, 102, 241, 0.1);
  text-align: center;
}

.processing-state {
  display: grid;
  gap: 0.5rem;
  place-items: center;
}

.processing-state strong,
.download-block p {
  color: var(--white);
}

.processing-state b {
  color: var(--cyan);
  font-size: 2rem;
}

.processing-state small {
  color: var(--slate-400);
}

.waves {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 16px;
}

.waves span {
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), var(--cyan));
  animation: wave 0.9s ease-in-out infinite;
}

.waves span:nth-child(2) { animation-delay: 0.12s; }
.waves span:nth-child(3) { animation-delay: 0.24s; }
.waves span:nth-child(4) { animation-delay: 0.36s; }

.download-block div {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.download-block button {
  flex: 1;
  min-height: 44px;
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 0.75rem;
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  font-weight: 800;
}

.tool-footnote {
  margin-top: 1.5rem;
  color: var(--slate-500);
  font-size: 0.875rem;
  text-align: center;
}

.tool-footnote a {
  color: var(--cyan);
  text-decoration: underline;
}

.content-section {
  position: relative;
  padding: 6rem clamp(1rem, 4vw, 5.5rem);
  border-bottom: 0;
  background: transparent;
}

.content-section > *,
.site-footer > * {
  position: relative;
  z-index: 1;
}

.steps-grid,
.features-grid,
.quote-grid {
  display: grid;
  max-width: 108rem;
  margin: 4.75rem auto 0;
  gap: clamp(1.25rem, 2vw, 2rem);
}

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

.steps-grid article,
.features-grid article,
.quote-grid blockquote {
  border: 1px solid rgba(152, 118, 255, 0.2);
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, rgba(26, 18, 42, 0.94), rgba(15, 10, 26, 0.94)),
    #100a1c;
  box-shadow: 0 24px 70px -48px rgba(128, 91, 255, 0.7);
}

.steps-grid article {
  position: relative;
  display: flex;
  min-height: 20rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem 2.5rem;
  text-align: center;
}

.steps-grid span {
  position: absolute;
  top: -1.25rem;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 2.5rem;
  border: 1px solid rgba(152, 118, 255, 0.22);
  border-radius: 999px;
  background: #07040d;
  color: #cdb8ff;
  font-weight: 800;
  transform: translateX(-50%);
}

.steps-grid h3,
.features-grid h3 {
  margin-top: 1.8rem;
  color: var(--white);
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.steps-grid p,
.features-grid p {
  margin-top: 1.2rem;
  color: #cbbdff;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
}

.features-section {
  background: transparent;
}

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

.features-grid article {
  min-height: 15rem;
  padding: 2.25rem;
}

.features-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid rgba(196, 162, 255, 0.28);
  border-radius: 1.15rem;
  background: rgba(70, 45, 125, 0.34);
  color: #b892ff;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: inset 0 0 28px rgba(128, 91, 255, 0.16);
}

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

.quote-grid blockquote {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  margin: 0;
  padding: 2rem;
}

.quote-grid p {
  color: #eee7ff;
  font-size: 1.05rem;
  line-height: 1.65;
}

.quote-grid cite {
  display: block;
  margin-top: auto;
  padding-top: 1.25rem;
  color: #a996d8;
  font-size: 0.875rem;
  font-style: normal;
}

.faq-list {
  display: grid;
  max-width: 48rem;
  margin: 3rem auto 0;
  gap: 0.75rem;
}

.faq-list details {
  border: 1px solid rgba(152, 118, 255, 0.2);
  border-radius: 1rem;
  background: rgba(15, 10, 26, 0.9);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 1.125rem 1.25rem;
  color: var(--white);
  font-weight: 700;
}

.faq-list p {
  padding: 0 1.25rem 1.25rem;
  color: #cbbdff;
  line-height: 1.65;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 1.1fr) minmax(0, 2fr);
  justify-content: space-between;
  gap: clamp(2.5rem, 6vw, 7rem);
  max-width: none;
  margin: 0 auto;
  padding: 5rem clamp(1.5rem, 5vw, 7.5rem);
  border-top: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(196, 155, 255, 0.14), transparent 44rem),
    linear-gradient(180deg, #1b0d2a 0%, #0e0717 100%);
  color: #cbbdff;
  font-family: var(--font);
  font-size: 1rem;
}

.footer-brand {
  display: grid;
  gap: 1.7rem;
}

.footer-brand .brand-link {
  gap: 0.75rem;
}

.footer-brand .brand-wave {
  width: 2rem;
  height: 2rem;
}

.footer-brand .brand-wave i {
  width: 0.1875rem;
}

.footer-brand .brand-wave i:nth-child(1),
.footer-brand .brand-wave i:nth-child(5) {
  height: 0.85rem;
}

.footer-brand .brand-wave i:nth-child(2),
.footer-brand .brand-wave i:nth-child(4) {
  height: 1.25rem;
}

.footer-brand .brand-wave i:nth-child(3) {
  height: 1.7rem;
}

.footer-brand .brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
}

.footer-brand p {
  max-width: 26rem;
  color: #bfb0db;
  font-size: 1rem;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 1.15rem;
}

.footer-links h3 {
  color: #efe8ff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-links a,
.footer-links span {
  color: #bfb0db;
  font-size: 0.95rem;
  line-height: 1.45;
}

.footer-links span {
  display: inline-flex;
  width: fit-content;
  min-height: 2.75rem;
  align-items: center;
  border: 1px solid rgba(74, 222, 128, 0.16);
  border-radius: 999px;
  padding: 0 1.25rem;
  background: rgba(34, 197, 94, 0.08);
  color: #74f6a1;
}

.site-footer a:hover {
  color: #fff;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.85; }
}

@keyframes dot-pulse {
  50% { opacity: 0.5; }
}

@keyframes wave-height {
  0%, 100% { height: 14px; opacity: 0.45; }
  50% { height: var(--h, 48px); opacity: 0.95; }
}

@keyframes wave {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}

@keyframes processing-sweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

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

@media (max-width: 900px) {
  .steps-grid,
  .features-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 3.5rem;
    padding: 0.75rem 1rem;
  }

  .site-header .brand-name,
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .mobile-actions {
    display: flex;
    grid-column: 2;
  }

  .hero-inner {
    padding: 5rem 1rem 6rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-heading h2 {
    font-size: 1.75rem;
  }

  .tool-section,
  .content-section {
    padding: 4rem 1rem;
  }

  .studio-body {
    padding: 1rem;
  }

  .code-row {
    grid-template-columns: 1fr;
  }

  .download-block div {
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: flex-start;
    padding: 4rem 1.25rem;
  }

  .footer-links {
    width: 100%;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .section-heading h2 {
    font-size: 1.35rem;
  }

  .hero-upload {
    margin-top: 2rem;
    height: 22.875rem;
  }

  .hero-drop-zone {
    height: 100%;
    padding: 1.5rem 1rem;
  }

  .audio-panel {
    padding: 0.75rem;
  }

  .audio-panel__header {
    flex-direction: row;
    gap: 0.5rem;
  }

  .audio-panel__header p {
    max-width: 100%;
  }

  .audio-panel__header button {
    width: auto;
    padding: 0 0.55rem;
  }

  .audio-track__label {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .audio-track__row {
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 0.5rem;
  }

  .track-waveform,
  .track-play {
    min-height: 52px;
  }
}
