/* Volume Master Max: dark audio identity.
   Deep slate, violet-to-blue gradient, oversized slider motif. */

:root {
  --bg: #0d0d17;
  --surface: #151524;
  --surface-2: #1c1c30;
  --line: #2a2a44;
  --line-strong: #3d3d61;
  --ink: #f2f2fa;
  --ink-dim: #bdbdd2;
  --ink-faint: #82829e;
  --violet: #7c5cff;
  --blue: #2f6bff;
  --grad: linear-gradient(92deg, var(--violet), var(--blue));
  --radius: 16px;
  --display: "Space Grotesk", "Hanken Grotesk", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--violet); color: #fff; }

.wrap { width: min(1060px, 100% - 3rem); margin-inline: auto; }

a { color: #9db9ff; }

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; }
.back { text-decoration: none; color: var(--ink-faint); font-size: 0.95rem; font-weight: 500; }
.back:hover { color: var(--ink); }
.brandmark { display: flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-weight: 700; }
.brandmark img { border-radius: 8px; display: block; }

/* ---------- hero ---------- */
.hero { padding: 3rem 0 4rem; }
.hero-copy { max-width: 720px; margin: 0 auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: #c4b5fd; background: #7c5cff17;
  border: 1px solid #7c5cff42; border-radius: 999px;
  padding: 0.42rem 0.85rem; margin-bottom: 1.4rem;
}

h1 { font-family: var(--display); font-size: clamp(2.6rem, 5.5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.07; margin-bottom: 1.2rem; }
.hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.sub { font-size: 1.13rem; color: var(--ink-dim); max-width: 36rem; margin: 0 auto 2rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; justify-content: center; }
.btn {
  display: inline-block;
  background: var(--grad); color: #fff;
  font-weight: 700; font-size: 1.02rem; text-decoration: none;
  padding: 0.95rem 1.9rem; border-radius: 999px;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.15); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--violet); color: #c4b5fd; filter: none; }

.stats { display: flex; gap: 2.4rem; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; }
.stats strong { display: block; font-family: var(--display); font-size: 1.8rem; font-weight: 700; line-height: 1.15; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--ink-faint); font-size: 0.92rem; }

/* ---------- console: the big slider ---------- */
.console {
  max-width: 780px; margin: 3.2rem auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: 0 32px 64px -32px rgba(0, 0, 0, 0.85);
}
.readout { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.readout span { color: var(--ink-faint); font-size: 0.92rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; }
.readout strong { font-family: var(--display); font-size: 2rem; font-weight: 700; }
.track { position: relative; height: 16px; background: var(--surface-2); border-radius: 999px; }
.track .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--grad); border-radius: 999px; }
.track .knob {
  position: absolute; top: 50%;
  width: 30px; height: 30px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff; border: 3px solid var(--violet);
  box-shadow: 0 4px 16px rgba(124, 92, 255, 0.55);
}
.track .tick {
  position: absolute; top: 50%;
  width: 2px; height: 8px;
  transform: translate(-50%, -50%);
  background: #ffffff38;
}
.scale { display: flex; justify-content: space-between; margin-top: 0.6rem; color: var(--ink-faint); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.scale span { width: 2.5em; text-align: center; }
.scale span:first-child { text-align: left; }
.scale span:last-child { text-align: right; }

.tab-rows { display: grid; gap: 0.7rem; margin-top: 1.8rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.tab-row { display: grid; grid-template-columns: 170px 1fr 52px; align-items: center; gap: 1rem; font-size: 0.95rem; }
@media (max-width: 560px) { .tab-row { grid-template-columns: 110px 1fr 46px; } }
.tname { color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tval { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.mini { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.mini span { display: block; height: 100%; background: var(--grad); border-radius: 999px; }

/* ---------- sections ---------- */
.section { padding: 4.5rem 0; }
.section.deep { background: var(--surface); border-block: 1px solid var(--line); }
.section h2 { font-family: var(--display); font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.15; text-align: center; margin-bottom: 0.8rem; }
.lede { text-align: center; color: var(--ink-dim); max-width: 38rem; margin: 0 auto 2.8rem; }

.features { display: grid; gap: 1.25rem; max-width: 780px; margin: 0 auto; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; }
.section.deep .feature { background: var(--surface-2); }
.feature .tag { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: #c4b5fd; margin-bottom: 0.5rem; }
.feature h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature p { color: var(--ink-dim); }
.feature ul { list-style: none; margin-top: 0.9rem; display: grid; gap: 0.45rem; }
.feature ul li { position: relative; padding-left: 1.6em; color: var(--ink-dim); }
.feature ul li::before {
  content: ""; position: absolute; left: 0; top: 0.28em;
  width: 1em; height: 1em; border-radius: 50%;
  background: #7c5cff24
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c5cff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 0.62em no-repeat;
}
.feature a { color: #c4b5fd; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 920px; margin: 0 auto; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; }
.step .n { font-family: var(--display); font-size: 1.9rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 0.5rem; }
.step h3 { font-family: var(--display); margin-bottom: 0.4rem; }
.step p { color: var(--ink-dim); }

/* ---------- final ---------- */
.final { text-align: center; padding: 4.8rem 0; }
.final h2 { font-family: var(--display); font-size: clamp(2.1rem, 4.5vw, 3.2rem); font-weight: 700; margin-bottom: 0.8rem; }
.final p { color: var(--ink-dim); margin-bottom: 2rem; }
.cta-row.center { justify-content: center; }

footer { padding: 2rem 0 2.8rem; text-align: center; color: var(--ink-faint); font-size: 0.92rem; border-top: 1px solid var(--line); }
footer a { color: var(--ink-faint); }
footer a:hover { color: #c4b5fd; }
