/* MusicViz — local-first product landing page */

:root {
  --bg: #07090f;
  --bg-deep: #05070c;
  --bg-soft: #0b0e18;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.065);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f4f9;
  --text-muted: #a4adbf;
  --text-subtle: #778198;
  --lime: #b9f24c;
  --lime-soft: #7ee8a2;
  --indigo: #7774ff;
  --grad: linear-gradient(100deg, var(--lime) 0%, var(--lime-soft) 43%, var(--indigo) 100%);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --header-h: 72px;
  --container: 1160px;
  --wide: 1240px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(950px 520px at 95% -8%, rgba(119, 116, 255, 0.13), transparent 65%),
    radial-gradient(800px 500px at -10% 18%, rgba(185, 242, 76, 0.065), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(185, 242, 76, 0.3); color: #fff; }

img,
video { display: block; max-width: 100%; }

a { color: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

code {
  padding: 0.1em 0.4em;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.065);
  color: #d9dfeb;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.84em;
}

.container,
.header-inner {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--lime);
  color: #0a0d05;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Buttons */
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn-primary {
  background: var(--lime);
  color: #101506;
  box-shadow: 0 8px 25px -14px rgba(185, 242, 76, 0.8);
}

.btn-ghost {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.btn-lg { min-height: 54px; padding: 15px 27px; font-size: 0.98rem; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 0.88rem; }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn-primary:hover { box-shadow: 0 15px 38px -12px rgba(185, 242, 76, 0.55); }
  .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.075); }
}

.btn:active { transform: translateY(0) scale(0.985); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgba(7, 9, 15, 0.42);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  backdrop-filter: blur(16px) saturate(135%);
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  border-color: var(--border);
  background: rgba(7, 9, 15, 0.88);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
}

.brand-mark i {
  width: 4px;
  border-radius: 4px;
  background: var(--grad);
  transform-origin: bottom;
  animation: equalize 1.2s ease-in-out 3;
}

.brand-mark i:nth-child(1) { height: 58%; animation-delay: -320ms; }
.brand-mark i:nth-child(2) { height: 100%; animation-delay: -160ms; }
.brand-mark i:nth-child(3) { height: 44%; }

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

.brand-name { font-size: 1.08rem; font-weight: 750; letter-spacing: -0.02em; }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.91rem;
  font-weight: 600;
}

.site-nav a {
  padding: 8px 0;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 150ms ease;
}

.site-nav a:hover { color: var(--text); }
.mobile-download { display: none; }
.header-cta { flex-shrink: 0; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: linear-gradient(to bottom, #000 18%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 18%, transparent 85%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 170px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero-grid {
  width: min(var(--wide), calc(100% - 64px));
  margin-inline: auto;
  padding: calc(var(--header-h) + 72px) 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(48px, 6vw, 92px);
}

.hero-copy { position: relative; z-index: 5; max-width: 590px; }

.hero-eyebrow {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 7px 12px;
  border: 1px solid rgba(185, 242, 76, 0.24);
  border-radius: 999px;
  background: rgba(185, 242, 76, 0.065);
  color: #d9ff8a;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(185, 242, 76, 0.12), 0 0 14px var(--lime);
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(3.25rem, 5.5vw, 5.25rem);
  font-weight: 780;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 0 50px rgba(238, 241, 248, 0.08);
}

.grad {
  display: inline-block;
  padding-right: 0.05em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(185, 242, 76, 0.22));
}

.hero-sub {
  max-width: 57ch;
  margin: 0 0 32px;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 400;
  line-height: 1.75;
}

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-bottom: 26px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  color: #c4cad7;
  font-size: 0.82rem;
  font-weight: 600;
  list-style: none;
}

.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 17px; height: 17px; fill: none; stroke: var(--lime); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.hero-install-note {
  margin: 11px 0 0;
  color: var(--text-subtle);
  font-size: 0.74rem;
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 75px 16px 72px 34px;
  perspective: 1200px;
}

.visual-glow {
  position: absolute;
  inset: 6% -5% 0 5%;
  z-index: -3;
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 52%, rgba(119, 116, 255, 0.28), transparent 42%),
    radial-gradient(circle at 30% 60%, rgba(185, 242, 76, 0.18), transparent 40%);
  filter: blur(34px);
}

.visual-orbit {
  position: absolute;
  z-index: -2;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  transform: rotate(-17deg);
  pointer-events: none;
}

.orbit-one { inset: 2% 1% 2% 2%; }
.orbit-two { inset: 14% 13% 10% -4%; border-color: rgba(185, 242, 76, 0.1); transform: rotate(18deg); }

.preview-window {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: #0a0d0a;
  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(185, 242, 76, 0.04),
    0 0 70px -34px rgba(119, 116, 255, 0.7);
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotateZ(0.6deg);
  transform-style: preserve-3d;
  transition: transform 180ms ease-out, border-color 200ms ease;
  will-change: transform;
}

.preview-window::after {
  content: "";
  position: absolute;
  inset: 42px 0 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.09), transparent 22%, transparent 75%, rgba(185, 242, 76, 0.035));
  pointer-events: none;
}

.preview-bar {
  height: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #11141c;
  color: #8e97aa;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #394052; }
.window-dots i:first-child { background: #647087; }

.preview-title { justify-self: center; }
.local-status { justify-self: end; display: inline-flex; align-items: center; gap: 6px; }
.local-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px rgba(185, 242, 76, 0.8); }
.preview-window img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  background: rgba(15, 18, 27, 0.86);
  -webkit-backdrop-filter: blur(15px) saturate(140%);
  backdrop-filter: blur(15px) saturate(140%);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.4);
}

.now-card {
  top: 24px;
  right: -7px;
  min-width: 245px;
  gap: 12px;
  padding: 11px 13px;
  animation: drift 4.5s ease-in-out 1 both;
}

.mini-art {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 10px;
  flex-shrink: 0;
  border-radius: 11px;
  background: linear-gradient(145deg, #6e66ff, #232045 70%);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.08);
}

.mini-art i { width: 3px; border-radius: 3px; background: #fff; opacity: 0.9; animation: equalize 1s ease-in-out 3; }
.mini-art i:nth-child(1) { height: 45%; animation-delay: -200ms; }
.mini-art i:nth-child(2) { height: 82%; animation-delay: -400ms; }
.mini-art i:nth-child(3) { height: 60%; animation-delay: -100ms; }
.mini-art i:nth-child(4) { height: 100%; animation-delay: -600ms; }

.floating-copy { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.floating-card small { color: var(--lime); font-size: 0.57rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.floating-copy strong { margin-top: 3px; overflow: hidden; font-size: 0.8rem; text-overflow: ellipsis; white-space: nowrap; }
.floating-copy > span { color: var(--text-muted); font-size: 0.64rem; }

.playing-bars { height: 23px; display: flex; align-items: center; gap: 2px; margin-left: auto; }
.playing-bars i { width: 2px; height: 45%; border-radius: 2px; background: var(--lime); animation: equalize 800ms ease-in-out 4; }
.playing-bars i:nth-child(2) { height: 90%; animation-delay: -260ms; }
.playing-bars i:nth-child(3) { height: 65%; animation-delay: -520ms; }

.pulse-card {
  bottom: 24px;
  left: 0;
  gap: 22px;
  padding: 12px 15px;
  animation: drift 4.8s ease-in-out 1 both;
}

.pulse-card > span:first-child { display: flex; flex-direction: column; line-height: 1.1; }
.pulse-card strong { margin-top: 4px; font-size: 1.25rem; }
.trend { padding: 4px 8px; border-radius: 999px; background: rgba(185, 242, 76, 0.1); color: var(--lime); font-size: 0.68rem; font-weight: 800; }

.demo-label {
  position: absolute;
  right: 27px;
  bottom: 45px;
  z-index: 5;
  color: var(--text-subtle);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

/* Shared section typography */
.section { padding: clamp(88px, 10vw, 136px) 0; }

.section-alt {
  border-block: 1px solid var(--border);
  background:
    radial-gradient(850px 420px at 50% 0, rgba(119, 116, 255, 0.08), transparent 68%),
    var(--bg-soft);
}

.section-head { max-width: 720px; margin: 0 auto clamp(48px, 7vw, 78px); text-align: center; }

.eyebrow,
.v-kicker {
  margin: 0 0 13px;
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0 0 19px;
  font-size: clamp(2.05rem, 4vw, 3.25rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.section-sub { margin: 0; color: var(--text-muted); font-size: clamp(0.98rem, 1.3vw, 1.08rem); text-wrap: balance; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.feature {
  position: relative;
  min-height: 232px;
  overflow: hidden;
  padding: 27px 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  box-shadow: 0 24px 50px -42px rgba(0, 0, 0, 0.8);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.feature::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(119, 116, 255, 0.09);
  filter: blur(18px);
  transition: background 240ms ease;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  border: 1px solid rgba(185, 242, 76, 0.19);
  border-radius: 12px;
  background: rgba(185, 242, 76, 0.075);
  color: var(--lime);
}

.feature-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { position: relative; z-index: 1; margin: 0 0 8px; font-size: 1.05rem; font-weight: 720; letter-spacing: -0.018em; }
.feature p { position: relative; z-index: 1; margin: 0; color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }

@media (hover: hover) {
  .feature:hover {
    transform: translateY(-5px);
    border-color: rgba(185, 242, 76, 0.3);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(185, 242, 76, 0.025));
    box-shadow: 0 26px 55px -35px rgba(119, 116, 255, 0.35);
  }
  .feature:hover::after { background: rgba(185, 242, 76, 0.1); }
}

/* Showcase */
.showcase-container { width: min(var(--wide), calc(100% - 48px)); margin-inline: auto; }
.showcase { display: flex; flex-direction: column; gap: clamp(86px, 10vw, 140px); }
.v-row { display: grid; grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(42px, 6vw, 86px); }
.v-row.flip { grid-template-columns: minmax(0, 1.28fr) minmax(250px, 0.72fr); }
.v-row.flip .v-text { order: 2; }
.v-row.flip .v-media { order: 1; }
.v-text { min-width: 0; }

.v-num {
  display: block;
  margin-bottom: 22px;
  background: linear-gradient(180deg, rgba(185, 242, 76, 0.8), rgba(119, 116, 255, 0.42));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1;
}

.v-kicker { margin-bottom: 9px; }
.v-text h3 { margin: 0 0 14px; font-size: clamp(1.75rem, 3vw, 2.55rem); font-weight: 730; letter-spacing: -0.04em; line-height: 1.1; }
.v-text > p:last-child { max-width: 40ch; margin: 0; color: var(--text-muted); font-size: clamp(0.98rem, 1.4vw, 1.08rem); }
.v-media { min-width: 0; }

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: #05060a;
  box-shadow: 0 28px 70px -38px rgba(0, 0, 0, 0.85);
  cursor: pointer;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.video-frame:focus-visible { outline-offset: 4px; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; transition: filter 250ms ease; }

@media (hover: hover) {
  .video-frame:hover { transform: translateY(-2px); border-color: rgba(185, 242, 76, 0.32); box-shadow: 0 32px 75px -35px rgba(119, 116, 255, 0.42); }
}

.v-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(5, 6, 10, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.v-play svg {
  width: clamp(55px, 7vw, 76px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(8, 10, 15, 0.7);
  color: #fff;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.5));
  transform: scale(0.92);
  transition: transform 220ms ease;
}

.video-frame.is-paused .v-play { opacity: 1; }
.video-frame.is-paused .v-play svg { transform: scale(1); }
.video-frame.is-paused video { filter: brightness(0.78) saturate(0.82); }

/* CTA */
.cta-band { padding: clamp(82px, 10vw, 128px) 0; background: var(--bg); }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 84px) clamp(24px, 6vw, 72px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 50% 110%, rgba(185, 242, 76, 0.11), transparent 65%),
    radial-gradient(500px 260px at 100% 0, rgba(119, 116, 255, 0.1), transparent 68%),
    var(--bg-soft);
  text-align: center;
}

.cta-panel::before,
.cta-panel::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
}

.cta-panel::before { top: -80px; left: -50px; }
.cta-panel::after { right: -45px; bottom: -105px; }
.cta-panel h2 { margin: 0 0 16px; font-size: clamp(2.05rem, 4.3vw, 3.35rem); letter-spacing: -0.05em; line-height: 1.08; }
.cta-panel > p:not(.eyebrow) { max-width: 600px; margin: 0 auto 30px; color: var(--text-muted); }

.grad-anim {
  background: linear-gradient(90deg, #b9f24c 0%, #7ee8a2 28%, #7774ff 56%, #b9f24c 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-slide 4.5s linear 1 both;
  filter: drop-shadow(0 0 20px rgba(185, 242, 76, 0.18));
}

@keyframes gradient-slide { to { background-position: 200% 0; } }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 17px; }

.text-link { color: #d9deea; font-size: 0.86rem; font-weight: 650; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, 0.25); }
.text-link span { color: var(--lime); }
.text-link:hover { text-decoration-color: var(--lime); }

/* Footer */
.site-footer { padding: 60px 0 32px; border-top: 1px solid var(--border); background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) 1fr 1fr; gap: 44px; margin-bottom: 45px; }
.footer-brand p { max-width: 370px; margin: 15px 0 0; color: var(--text-muted); font-size: 0.9rem; }
.footer-brand p a { color: #dce2ed; font-weight: 650; text-decoration-color: rgba(185, 242, 76, 0.4); text-underline-offset: 3px; }
.footer-brand p a:hover { color: var(--lime); }

.footer-col h3 { margin: 2px 0 13px; color: var(--text-subtle); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.footer-col a { display: block; width: fit-content; padding: 5px 0; color: #cdd3df; font-size: 0.89rem; text-decoration: none; transition: color 150ms ease; }
.footer-col a:hover { color: var(--lime); }

.footer-legal { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 25px; border-top: 1px solid var(--border); }
.footer-legal p { max-width: 650px; margin: 0; color: var(--text-subtle); font-size: 0.78rem; }

/* Progressive, one-time reveal */
.motion-ready .reveal,
.motion-ready .v-row .v-text,
.motion-ready .v-row .v-media {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.22, 0.7, 0.25, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal.is-in,
.motion-ready .v-row.is-in .v-text,
.motion-ready .v-row.is-in .v-media { opacity: 1; transform: none; }

.motion-ready .v-row .v-media { transform: translateX(24px) scale(0.985); }
.motion-ready .v-row.flip .v-media { transform: translateX(-24px) scale(0.985); }
.motion-ready .v-row .v-text { transform: translateX(-20px); transition-delay: 70ms; }
.motion-ready .v-row.flip .v-text { transform: translateX(20px); }

/* Responsive */
@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 38px; }
  .hero h1 { font-size: clamp(3rem, 6vw, 4.3rem); }
  .hero-visual { padding-left: 12px; }
  .now-card { right: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }

  .js .nav-toggle {
    width: 44px;
    height: 44px;
    margin-left: auto;
    display: grid;
    place-content: center;
    gap: 4px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
    cursor: pointer;
  }

  .nav-toggle span { width: 18px; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 24px;
    width: min(310px, calc(100vw - 48px));
    display: grid;
    gap: 3px;
    padding: 10px;
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    background: rgba(11, 14, 24, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
  }

  .site-nav[data-open] { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; padding: 9px 12px; border-radius: 9px; }
  .site-nav a:hover { background: rgba(255, 255, 255, 0.055); }
  .mobile-download { display: flex !important; margin-top: 3px; background: var(--lime); color: #101506 !important; font-weight: 800; }

  .hero { min-height: auto; }
  .hero-grid { width: min(720px, calc(100% - 48px)); padding: calc(var(--header-h) + 68px) 0 90px; grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { max-width: 640px; }
  .hero h1 { max-width: 680px; font-size: clamp(3.3rem, 9vw, 4.8rem); }
  .hero-sub { max-width: 61ch; }
  .hero-visual { padding: 64px 24px 68px 30px; }
  .now-card { top: 12px; }
  .pulse-card { bottom: 13px; }
  .demo-label { bottom: 31px; }

  .v-row,
  .v-row.flip { grid-template-columns: 1fr; gap: 30px; }
  .v-row .v-media,
  .v-row.flip .v-media { order: 1; }
  .v-row .v-text,
  .v-row.flip .v-text { order: 2; }
  .v-text { max-width: 620px; }
  .v-num { margin-bottom: 15px; }

  .motion-ready .v-row .v-media,
  .motion-ready .v-row.flip .v-media { transform: translateY(20px) scale(0.985); }
  .motion-ready .v-row .v-text,
  .motion-ready .v-row.flip .v-text { transform: translateY(18px); }
}

@media (max-width: 640px) {
  .container,
  .header-inner,
  .showcase-container { width: min(100% - 32px, var(--container)); }

  .header-inner { gap: 10px; }
  .header-cta { display: none; }

  .hero-grid { width: calc(100% - 32px); padding-top: calc(var(--header-h) + 50px); }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 3.85rem); line-height: 1.01; }
  .hero-sub { line-height: 1.68; }
  .hero-cta { align-items: stretch; }
  .hero-cta .btn { flex: 1 1 100%; width: 100%; }
  .hero-trust { gap: 9px 17px; }

  .hero-visual { padding: 54px 4px 73px 13px; }
  .preview-window { border-radius: 13px; }
  .preview-bar { height: 34px; padding: 0 10px; font-size: 0.52rem; }
  .preview-window::after { inset-block-start: 34px; }
  .window-dots { gap: 4px; }
  .window-dots i { width: 5px; height: 5px; }
  .now-card { top: 0; right: -4px; min-width: 200px; padding: 8px 10px; }
  .mini-art { width: 35px; height: 35px; padding: 8px; }
  .floating-copy strong { font-size: 0.72rem; }
  .playing-bars { display: none; }
  .pulse-card { left: -2px; bottom: 21px; padding: 9px 11px; }
  .pulse-card strong { font-size: 1rem; }
  .demo-label { right: 5px; bottom: 34px; }

  .section { padding: 82px 0; }
  .section-head { margin-bottom: 42px; text-align: left; }
  .section-head h2 { font-size: clamp(2rem, 10vw, 2.7rem); }
  .section-sub { text-wrap: pretty; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature-icon { margin-bottom: 26px; }

  .showcase { gap: 80px; }
  .video-frame { border-radius: 12px; }
  .v-num { font-size: 2.7rem; }
  .v-text h3 { font-size: 1.9rem; }

  .cta-band { padding: 72px 0; }
  .cta-panel { border-radius: 21px; }
  .cta-panel h2 { font-size: clamp(2rem, 10vw, 2.65rem); }
  .cta-actions .btn { width: 100%; white-space: normal; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-legal { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
  .hero-eyebrow { font-size: 0.68rem; }
  .hero h1 { font-size: 2.62rem; }
  .hero-trust { display: grid; }
  .preview-title { display: none; }
  .preview-bar { grid-template-columns: 1fr 1fr; }
  .now-card { min-width: 186px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .motion-ready .reveal,
  .motion-ready .v-row .v-text,
  .motion-ready .v-row .v-media { opacity: 1; transform: none; }

  .preview-window { transform: none; }
}
