/* =========================================
   HARMERB LANDING PAGE — REWRITTEN CSS
========================================= */

/* =========================================
   DESIGN TOKENS
========================================= */
:root {
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.16);
  --shadow-md: 0 20px 60px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 40px 120px rgba(0, 0, 0, 0.35);

  --container: 1200px;
  --nav-h: 64px;

  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s var(--ease-standard);
  --transition: 0.3s var(--ease-standard);
  --transition-slow: 0.5s var(--ease-smooth);
}

:root,
[data-theme="dark"] {
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: rgba(18, 18, 18, 0.68);
  --bg-nav: rgba(0, 0, 0, 0.82);
  --bg-glass: rgba(255, 255, 255, 0.04);

  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.62);
  --text-faint: rgba(255, 255, 255, 0.34);

  --border: rgba(255, 255, 255, 0.08);
  --border-mid: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.2);

  --surface-highlight: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --glow: rgba(255, 255, 255, 0.08);

  --btn-bg: #ffffff;
  --btn-fg: #000000;
  --btn-hover: #efefef;

  --noise-opacity: 0.028;
  --gif-opacity: 0.13;
  --grid-color: rgba(255, 255, 255, 0.025);
  --orb-color: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] {
  --bg: #f6f6f8;
  --bg-soft: #ececef;
  --bg-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.76);
  --bg-nav: rgba(246, 246, 248, 0.86);
  --bg-glass: rgba(0, 0, 0, 0.03);

  --text: #0b0b0c;
  --text-dim: rgba(0, 0, 0, 0.6);
  --text-faint: rgba(0, 0, 0, 0.34);

  --border: rgba(0, 0, 0, 0.08);
  --border-mid: rgba(0, 0, 0, 0.13);
  --border-strong: rgba(0, 0, 0, 0.18);

  --surface-highlight: rgba(0, 0, 0, 0.025);
  --surface-hover: rgba(0, 0, 0, 0.06);
  --glow: rgba(0, 0, 0, 0.06);

  --btn-bg: #0b0b0c;
  --btn-fg: #ffffff;
  --btn-hover: #202022;

  --noise-opacity: 0.012;
  --gif-opacity: 0.055;
  --grid-color: rgba(0, 0, 0, 0.03);
  --orb-color: rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--transition), color var(--transition);
}

/* Force Helvetica Neue on ALL text elements — no browser default escapes */
h1, h2, h3, h4, h5, h6,
p, span, a, li, button, input,
textarea, select, label, caption,
th, td, blockquote {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* =========================================
   GLOBAL EFFECTS
========================================= */
.noise {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  transition: opacity var(--transition);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--cx, 50%) var(--cy, 50%),
    var(--glow),
    transparent 28%
  );
}

#musicCanvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.16;
}

.ambient-lines {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-lines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid), transparent);
  animation: linePulse 9s ease-in-out infinite;
}

.ambient-lines span:nth-child(1) { top: 9%; animation-delay: 0s; }
.ambient-lines span:nth-child(2) { top: 21%; animation-delay: 1.1s; }
.ambient-lines span:nth-child(3) { top: 34%; animation-delay: 2.2s; }
.ambient-lines span:nth-child(4) { top: 48%; animation-delay: 3.3s; }
.ambient-lines span:nth-child(5) { top: 62%; animation-delay: 4.4s; }
.ambient-lines span:nth-child(6) { top: 75%; animation-delay: 0.5s; }
.ambient-lines span:nth-child(7) { top: 5%; animation-delay: 1.7s; }
.ambient-lines span:nth-child(8) { top: 41%; animation-delay: 2.9s; }
.ambient-lines span:nth-child(9) { top: 57%; animation-delay: 4.1s; }
.ambient-lines span:nth-child(10) { top: 88%; animation-delay: 5.3s; }

@keyframes linePulse {
  0%,
  100% {
    opacity: 0;
    transform: scaleX(0.3);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* =========================================
   CURSOR + PROGRESS
========================================= */
.cursor-dot,
.cursor-ring {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--text);
  transition: opacity var(--transition);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid color-mix(in srgb, var(--text) 42%, transparent);
  transition:
    width var(--transition-fast),
    height var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast),
    opacity var(--transition);
}

.cursor-ring.hover {
  width: 52px;
  height: 52px;
  border-color: color-mix(in srgb, var(--text) 80%, transparent);
  background: color-mix(in srgb, var(--text) 4%, transparent);
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--text), transparent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--text) 50%, transparent);
  transition: width 0.05s linear;
}

@media (hover: none) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* =========================================
   LAYOUT HELPERS
========================================= */
.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--text-faint);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.el {
  width: 28px;
  height: 1px;
  background: var(--border-strong);
}

.sh {
  margin-bottom: 52px;
  text-align: center;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  clip-path: inset(0 0 16px 0);
  transition:
    opacity 0.72s var(--ease-smooth),
    transform 0.72s var(--ease-smooth),
    clip-path 0.72s var(--ease-smooth);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
}

/* =========================================
   NAVIGATION
========================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  height: var(--nav-h);
  transition: background var(--transition), border-color var(--transition);
}

.nav.scrolled {
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border-mid);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 1px 32px rgba(0, 0, 0, 0.18);
}

.nav-inner {
  width: min(1160px, calc(100% - 32px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  transition: opacity var(--transition-fast);
}

.wordmark:hover {
  opacity: 0.78;
}

.wordmark-img {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.wordmark-text {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--text) 6%, transparent);
}

.nav-pill,
.nav-pill-mob {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-weight: 600;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition-fast);
}

.nav-pill {
  margin-left: 6px;
  padding: 8px 18px;
  font-size: 0.84rem;
}

.nav-pill-mob {
  padding: 7px 14px;
  font-size: 0.82rem;
}

.nav-pill:hover,
.nav-pill-mob:hover {
  background: color-mix(in srgb, var(--text) 8%, transparent);
}

.nav-pill:hover {
  transform: translateY(-1px);
}

.nav-mobile {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.theme-toggle {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: color-mix(in srgb, var(--text) 5%, transparent);
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition-fast);
}

.theme-toggle:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--text) 10%, transparent);
  transform: rotate(22deg);
}

[data-theme="dark"] .icon-sun,
[data-theme="light"] .icon-moon {
  display: none;
}

[data-theme="dark"] .icon-moon,
[data-theme="light"] .icon-sun {
  display: block;
}

.hamburger {
  width: 36px;
  height: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: color-mix(in srgb, var(--text) 4%, transparent);
  transition: background var(--transition), border-color var(--transition);
}

.hamburger:hover {
  background: color-mix(in srgb, var(--text) 9%, transparent);
}

.hamburger span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: var(--radius-pill);
  background: var(--text-dim);
  transition:
    transform 0.28s var(--ease-standard),
    opacity 0.28s var(--ease-standard),
    width 0.28s var(--ease-standard);
}

.hamburger.open span:nth-child(1) {
  width: 18px;
  background: var(--text);
  transform: translateY(6px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  width: 18px;
  background: var(--text);
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-drawer {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  padding: 8px 14px 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  transition:
    opacity 0.25s var(--ease-standard),
    transform 0.25s var(--ease-standard);
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 12px;
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}

.drawer-link:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--text) 5%, transparent);
}

.drawer-link svg {
  flex-shrink: 0;
  opacity: 0.5;
}

.drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 10px;
  padding: 14px;
  border-radius: 14px;
  color: var(--btn-fg);
  background: var(--btn-bg);
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

.drawer-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* =========================================
   BUTTONS
========================================= */
.btn-main,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  transition:
    transform 0.25s var(--ease-standard),
    box-shadow 0.25s var(--ease-standard),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.btn-main {
  padding: 13px 28px;
  color: var(--btn-fg);
  background: var(--btn-bg);
  font-size: 0.95rem;
  font-weight: 700;
}

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

.btn-glow {
  box-shadow: 0 8px 30px color-mix(in srgb, var(--text) 16%, transparent);
}

.btn-glow:hover {
  box-shadow: 0 18px 54px color-mix(in srgb, var(--text) 28%, transparent);
}

.btn-ghost {
  padding: 13px 24px;
  color: var(--text-dim);
  border: 1px solid var(--border-strong);
  font-size: 0.95rem;
  font-weight: 500;
}

.btn-ghost:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--text) 5%, transparent);
}

/* =========================================
   HERO
========================================= */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 120px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg-gif {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--gif-opacity);
  pointer-events: none;
  transition: opacity var(--transition);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 20%, transparent 80%);
  animation: gridFade 7s ease-in-out infinite alternate;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 55% at 50% 0%, color-mix(in srgb, var(--bg) 55%, transparent), transparent),
    radial-gradient(ellipse 100% 45% at 50% 100%, color-mix(in srgb, var(--bg) 94%, transparent), transparent);
}

#waveCanvas {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  width: 100%;
  height: 200px;
  opacity: 0.55;
}

#vizCanvas {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 5;
  width: 100%;
  height: 90px;
  opacity: 0.2;
  pointer-events: none;
}

.orb {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
}

.orb-1 {
  top: -140px;
  left: -140px;
  width: 580px;
  height: 580px;
  background: var(--orb-color);
  animation: orbDrift 20s ease-in-out infinite alternate;
}

.orb-2 {
  top: 25%;
  right: -100px;
  width: 420px;
  height: 420px;
  background: var(--orb-color);
  animation: orbDrift 26s ease-in-out infinite alternate-reverse;
}

.orb-3 {
  bottom: 5%;
  left: 28%;
  width: 320px;
  height: 320px;
  background: var(--orb-color);
  animation: orbDrift 22s ease-in-out infinite alternate;
}

.particles,
.note-sparks {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  bottom: -30px;
  color: var(--text);
  user-select: none;
  animation: floatUp linear infinite;
}

.note-spark {
  position: absolute;
  color: var(--text);
  font-size: 20px;
  user-select: none;
  pointer-events: none;
  animation: sparkBurst ease-out forwards;
}

.vinyl {
  position: absolute;
  top: 50%;
  right: -60px;
  z-index: 2;
  width: 300px;
  height: 300px;
  opacity: 0.17;
  pointer-events: none;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 50%, #1a1a1a 0%, #0a0a0a 40%, #111 60%, #0a0a0a 100%);
  animation: vinylSpin 12s linear infinite;
}

[data-theme="light"] .vinyl {
  opacity: 0.07;
}

.vinyl::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at 50%,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.015) 10px,
    rgba(255, 255, 255, 0.015) 11px
  );
}

.vinyl-label {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
  transform: translate(-50%, -50%);
}

.vinyl-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  transform: translate(-50%, -50%);
}

.hero-content {
  position: relative;
  z-index: 6;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 6px 16px;
  color: var(--text-dim);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--text) 4%, transparent);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  animation: fadeUp 0.6s var(--ease-standard) both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
  animation: pulseDot 2.2s ease-in-out infinite;
}

/* ── Typographic Mask Reveal ── */
.mask-wrap {
  display: block;
  overflow: hidden;
  line-height: 1.02;
  perspective: 800px;
}

.mask-inner {
  display: block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--text);
}

.anim-l1 {
  animation: maskReveal 1s var(--ease-smooth) 0.15s both;
}

.anim-l2 {
  animation: maskReveal 1s var(--ease-smooth) 0.34s both;
  opacity: 0.72;
}

@keyframes maskReveal {
  from {
    transform: translateY(100%) rotateX(-22deg);
    opacity: 0;
    filter: blur(6px);
  }
  to {
    transform: translateY(0) rotateX(0deg);
    opacity: 1;
    filter: blur(0);
  }
}

.hero-desc {
  max-width: 520px;
  margin-top: 24px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text-dim);
  font-size: clamp(0.88rem, 1.8vw, 1rem);
  line-height: 1.8;
  animation: fadeUp 0.9s var(--ease-smooth) 0.52s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  animation: fadeUp 0.8s var(--ease-smooth) 0.62s both;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  animation: fadeUp 0.8s var(--ease-smooth) 0.76s both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-faint);
  font-size: 0.79rem;
}

.trust-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-strong);
}

/* =========================================
   HERO PHONES
========================================= */
.hero-phones {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  margin-top: 64px;
  padding-bottom: 36px;
  perspective: 1200px;
  animation: phonesReveal 1.1s var(--ease-smooth) 0.6s both;
}

@keyframes phonesReveal {
  from {
    opacity: 0;
    transform: translateY(60px) rotateX(18deg) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
  }
}

.s24-wrap {
  position: relative;
  transition: transform 0.45s var(--ease-standard);
}

.s24-left {
  z-index: 1;
  transform: translateX(24px) rotate(-5deg) translateY(20px);
}

.s24-right {
  z-index: 1;
  transform: translateX(-24px) rotate(5deg) translateY(20px);
}

.s24-center {
  z-index: 2;
}

.hero-phones:hover .s24-left {
  transform: translateX(10px) rotate(-2.5deg) translateY(10px);
}

.hero-phones:hover .s24-right {
  transform: translateX(-10px) rotate(2.5deg) translateY(10px);
}

.hero-phones:hover .s24-center {
  transform: translateY(-8px);
}

.s24-frame,
.scr-s24-frame {
  position: relative;
  background: linear-gradient(160deg, #1c1c1e 0%, #0a0a0a 60%, #141414 100%);
}

.s24-frame {
  padding: 10px 7px;
  border-radius: 44px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 1.5px rgba(0, 0, 0, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 40px 100px rgba(0, 0, 0, 0.95),
    0 8px 24px rgba(0, 0, 0, 0.7);
  transition: box-shadow 0.45s var(--ease-standard);
}

.s24-left .s24-frame,
.s24-right .s24-frame {
  width: 178px;
  opacity: 0.58;
  filter: blur(0.5px) brightness(0.82);
}

.s24-center .s24-frame {
  width: 238px;
}

.s24-frame-hero {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 1.5px rgba(0, 0, 0, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 60px 140px rgba(0, 0, 0, 1),
    0 0 60px rgba(255, 255, 255, 0.07);
}

.hero-phones:hover .s24-center .s24-frame {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 1.5px rgba(0, 0, 0, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 80px 180px rgba(0, 0, 0, 1),
    0 0 80px rgba(255, 255, 255, 0.12);
}

.s24-pill,
.scr-pill {
  position: absolute;
  left: 50%;
  z-index: 20;
  border-radius: 50%;
  background: #000;
  transform: translateX(-50%);
}

.s24-pill {
  top: 16px;
  width: 14px;
  height: 14px;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.s24-screen {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  background: #000;
  line-height: 0;
}

.s24-img {
  width: 100%;
  border-radius: 36px;
  user-select: none;
  pointer-events: none;
}

.s24-shine {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: 36px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 30%, transparent 55%);
  pointer-events: none;
}

.s24-btn,
.scr-btn {
  position: absolute;
  border-radius: 3px;
  background: linear-gradient(90deg, #1a1a1a, #2a2a2a);
}

.s24-vol-up { left: -3px; top: 80px; width: 3px; height: 28px; }
.s24-vol-dn { left: -3px; top: 116px; width: 3px; height: 28px; }
.s24-power  { right: -3px; top: 90px; width: 3px; height: 36px; }

.s24-spen {
  position: absolute;
  right: 14px;
  bottom: 8px;
  width: 4px;
  height: 52px;
  border-radius: 3px;
  background: linear-gradient(180deg, #1e1e1e, #2e2e2e);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
}

.s24-glow,
.scr-glow {
  position: absolute;
  left: 50%;
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.s24-glow {
  bottom: -20px;
  width: 140px;
  height: 50px;
  background: rgba(255, 255, 255, 0.07);
  filter: blur(28px);
}

.s24-glow-center {
  width: 200px;
  height: 68px;
  background: rgba(255, 255, 255, 0.11);
  filter: blur(40px);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  transform: translateX(-50%);
  animation: fadeUp 1s var(--ease-standard) 1.4s both;
}

.scroll-chevrons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.scroll-chevrons span {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid color-mix(in srgb, var(--text) 30%, transparent);
  border-bottom: 1.5px solid color-mix(in srgb, var(--text) 30%, transparent);
  transform: rotate(45deg);
  margin-top: -4px;
  animation: chevronFade 1.8s ease-in-out infinite;
}

.scroll-chevrons span:nth-child(1) { animation-delay: 0s; opacity: 0.2; }
.scroll-chevrons span:nth-child(2) { animation-delay: 0.2s; opacity: 0.45; }
.scroll-chevrons span:nth-child(3) { animation-delay: 0.4s; opacity: 0.7; }

@keyframes chevronFade {
  0%, 100% { opacity: 0.12; transform: rotate(45deg) translateY(-2px); }
  50%       { opacity: 0.75; transform: rotate(45deg) translateY(3px); }
}

/* =========================================
   MARQUEE
========================================= */
.marquee-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--text) 1.2%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  color: var(--text-faint);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-row .md {
  color: var(--border-mid);
  font-size: 0.68rem;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

/* =========================================
   STATS
========================================= */
.stats-bar {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 80px auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat {
  flex: 1;
  text-align: center;
}

.sn,
.ss {
  background: linear-gradient(135deg, var(--text) 40%, var(--text-faint));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sn {
  display: block;
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.ss {
  font-size: 1.25rem;
  font-weight: 900;
}

.sw {
  font-size: 1.7rem !important;
}

.stat p {
  margin-top: 6px;
  color: var(--text-faint);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sdiv {
  width: 1px;
  height: 44px;
  background: var(--border);
}

/* =========================================
   FEATURES — EDITORIAL LIST
========================================= */
.features {
  position: relative;
  z-index: 1;
  padding: 120px 0;
}

.feat-header {
  text-align: center;
  margin-bottom: 72px;
}

.feat-h {
  margin-top: 18px;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.028em;
}

.feat-h em {
  font-style: italic;
  color: var(--text-dim);
  font-weight: 300;
}

.feat-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.feat-row {
  display: grid;
  grid-template-columns: 52px 1px 1fr auto;
  align-items: center;
  gap: 0 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  cursor: default;
  position: relative;
  transition:
    background var(--transition),
    border-color var(--transition),
    padding-left var(--transition);
}

/* Accent bar on hover */
.feat-row::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: var(--text);
  border-radius: 2px;
  transition: height 0.3s var(--ease-smooth);
}

.feat-row:hover::before {
  height: 32px;
}

.feat-row:hover {
  background: color-mix(in srgb, var(--text) 2.5%, transparent);
  padding-left: 16px;
}

.feat-num {
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--text-faint);
  text-align: right;
  transition: color var(--transition);
}

.feat-row:hover .feat-num {
  color: var(--text-dim);
}

.feat-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  transition: background var(--transition);
}

.feat-row:hover .feat-divider {
  background: var(--border-strong);
}

.feat-body {
  flex: 1;
  min-width: 0;
}

.feat-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 5px;
  transition: color var(--transition);
}

.feat-body p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.68;
  max-width: 460px;
}

.feat-tag {
  font-size: 0.67rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  white-space: nowrap;
  transition:
    color var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.feat-row:hover .feat-tag {
  color: var(--text-dim);
  border-color: var(--border-strong);
  background: color-mix(in srgb, var(--text) 4%, transparent);
}

/* ── Tablet ── */
@media (max-width: 860px) {
  .feat-row {
    grid-template-columns: 40px 1px 1fr auto;
    gap: 0 20px;
    padding: 26px 0;
  }
}

/* =========================================
   SCREENSHOTS
========================================= */
.scr-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 120px 0;
}

.scr-scroll {
  margin-top: 16px;
  padding: 20px 60px 36px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  cursor: grab;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.scr-scroll::-webkit-scrollbar {
  display: none;
}

.scr-scroll:active {
  cursor: grabbing;
}

.scr-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  scroll-snap-align: center;
}

.scr-item p {
  color: var(--text-faint);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scr-s24 {
  position: relative;
}

.scr-s24-frame {
  width: 200px;
  padding: 9px 6px;
  border-radius: 40px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09),
    0 0 0 1.5px rgba(0, 0, 0, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 30px 80px rgba(0, 0, 0, 0.85);
  transition:
    transform 0.4s var(--ease-standard),
    box-shadow 0.4s var(--ease-standard);
}

.scr-pill {
  top: 14px;
  width: 12px;
  height: 12px;
}

.scr-s24-frame img {
  width: 100%;
  border-radius: 33px;
  pointer-events: none;
}

.scr-shine {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: 33px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.07) 0%, transparent 50%);
  pointer-events: none;
}

.scr-vol-up { left: -3px; top: 70px; width: 3px; height: 24px; }
.scr-vol-dn { left: -3px; top: 100px; width: 3px; height: 24px; }
.scr-power  { right: -3px; top: 80px; width: 3px; height: 30px; }

.scr-spen {
  position: absolute;
  right: 12px;
  bottom: 6px;
  width: 3px;
  height: 44px;
  border-radius: 3px;
  background: linear-gradient(180deg, #1e1e1e, #2e2e2e);
}

.scr-glow {
  bottom: -14px;
  width: 130px;
  height: 40px;
  background: rgba(255, 255, 255, 0.07);
  filter: blur(20px);
}

.scr-item:hover .scr-s24-frame {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 1.5px rgba(0, 0, 0, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 50px 120px rgba(0, 0, 0, 1),
    0 0 40px rgba(255, 255, 255, 0.07);
}

/* =========================================
   DOWNLOAD
========================================= */
.dl-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 140px 40px;
  text-align: center;
}

.dl-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 25%, transparent);
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 25%, transparent);
}

.dl-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
}

.dl-o1 {
  top: 50%;
  left: 50%;
  width: 480px;
  height: 480px;
  background: var(--orb-color);
  transform: translate(-50%, -50%);
}

.dl-o2 {
  top: 15%;
  right: 12%;
  width: 260px;
  height: 260px;
  background: var(--orb-color);
}

.dl-inner {
  position: relative;
  z-index: 2;
  max-width: 660px;
  margin-inline: auto;
}

.dl-h {
  margin-bottom: 12px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.dl-sub {
  margin-bottom: 38px;
  color: var(--text-dim);
  font-size: 1rem;
}

.dl-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.dl-card:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2), 0 0 40px var(--glow);
}

.dl-card-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 26px;
}

.dl-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.dl-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dl-info {
  flex: 1;
  text-align: left;
}

.dl-info strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.dl-info span {
  color: var(--text-faint);
  font-size: 0.8rem;
}

.dl-card-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, color-mix(in srgb, var(--text) 5%, transparent), transparent 40%);
}

.dl-note {
  margin-top: 16px;
  color: var(--text-faint);
  font-size: 0.78rem;
}

.dl-note a {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

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

/* =========================================
   FOOTER
========================================= */
.footer {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin-inline: auto;
  padding: 60px 40px 40px;
  border-top: 1px solid var(--border);
  transition: border-color var(--transition);
}

.ft-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.ft-brand p {
  margin-top: 10px;
  color: var(--text-faint);
  font-size: 0.84rem;
}

.ft-cols {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}

.ft-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ft-col h4 {
  margin-bottom: 2px;
  color: var(--text-faint);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ft-col a {
  color: var(--text-dim);
  font-size: 0.86rem;
  transition: color var(--transition-fast);
}

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

.ft-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.78rem;
}

/* =========================================
   ANIMATIONS
========================================= */
@keyframes gridFade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(50px, 40px) scale(1.1); }
}

@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  75% {
    opacity: inherit;
  }
  100% {
    opacity: 0;
    transform: translateY(-110vh) rotate(400deg) scale(0.3);
  }
}

@keyframes sparkBurst {
  0% {
    opacity: 0.75;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--sx), var(--sy)) scale(0.2) rotate(180deg);
  }
}

@keyframes vinylSpin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

@keyframes pulseDot {
  0%,
  100% {
    box-shadow: 0 0 4px var(--text);
  }
  50% {
    box-shadow:
      0 0 12px var(--text),
      0 0 24px color-mix(in srgb, var(--text) 34%, transparent);
  }
}

@keyframes slideUp {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollBob {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.25;
    transform: translateY(6px);
  }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes breath {
  0%,
  100% {
    box-shadow: 0 0 0 transparent;
  }
  50% {
    box-shadow: 0 0 28px var(--glow);
  }
}

/* =========================================
   MUSIC ANIMATIONS
========================================= */

/* — Sound Ripple Rings — */
.sound-rings {
  position: absolute;
  z-index: 2;
  top: 48%;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}

.sound-ring {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  top: 0;
  left: 0;
  transform: translate(-50%, -50%) scale(0);
  animation: ringExpand 6s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}

.sound-ring:nth-child(1) { animation-delay: 0s; }
.sound-ring:nth-child(2) { animation-delay: 2s; }
.sound-ring:nth-child(3) { animation-delay: 4s; }

@keyframes ringExpand {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(7); opacity: 0; }
}

[data-theme="light"] .sound-ring {
  border-color: rgba(0, 0, 0, 0.06);
}

/* — Equalizer Bars — */
.eq-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3.5px;
  height: 30px;
  margin-bottom: 18px;
  animation: fadeUp 0.7s var(--ease-standard) 0.24s both;
}

.eq-b {
  display: block;
  width: 3px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(to top,
    color-mix(in srgb, var(--text) 25%, transparent),
    color-mix(in srgb, var(--text) 70%, transparent)
  );
  transform-origin: bottom center;
  animation: eqPulse var(--eq-dur, 0.8s) ease-in-out var(--eq-delay, 0s) infinite alternate;
}

.eq-b:nth-child(1)  { height:  7px; --eq-dur: 0.72s; --eq-delay: 0.00s; }
.eq-b:nth-child(2)  { height: 15px; --eq-dur: 0.88s; --eq-delay: 0.12s; }
.eq-b:nth-child(3)  { height: 24px; --eq-dur: 0.62s; --eq-delay: 0.08s; }
.eq-b:nth-child(4)  { height: 30px; --eq-dur: 1.02s; --eq-delay: 0.22s; }
.eq-b:nth-child(5)  { height: 20px; --eq-dur: 0.78s; --eq-delay: 0.06s; }
.eq-b:nth-child(6)  { height: 30px; --eq-dur: 0.58s; --eq-delay: 0.32s; }
.eq-b:nth-child(7)  { height: 22px; --eq-dur: 0.94s; --eq-delay: 0.14s; }
.eq-b:nth-child(8)  { height: 30px; --eq-dur: 0.68s; --eq-delay: 0.04s; }
.eq-b:nth-child(9)  { height: 18px; --eq-dur: 0.82s; --eq-delay: 0.18s; }
.eq-b:nth-child(10) { height: 26px; --eq-dur: 0.66s; --eq-delay: 0.28s; }
.eq-b:nth-child(11) { height: 14px; --eq-dur: 0.96s; --eq-delay: 0.10s; }
.eq-b:nth-child(12) { height:  7px; --eq-dur: 0.74s; --eq-delay: 0.20s; }

@keyframes eqPulse {
  from { transform: scaleY(0.12); opacity: 0.35; }
  to   { transform: scaleY(1);    opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .eq-b { animation: none; transform: scaleY(0.6); opacity: 0.5; }
  .sound-ring { animation: none; }
}

/* ── Hero App Name Lockup ── */
.hero-appname {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  animation: fadeUp 0.6s var(--ease-smooth) both;
}

.hero-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(255,255,255,0.12);
}

.hero-appname-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  opacity: 0.9;
}



/* — Beat ring pulse on CTA button — */
.btn-main.btn-glow {
  position: relative;
  overflow: visible;
}

.btn-main.btn-glow::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-pill);
  border: 1.5px solid color-mix(in srgb, var(--text) 28%, transparent);
  animation: beatRing 2.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes beatRing {
  0%, 100% { transform: scale(1);    opacity: 0.55; }
  50%       { transform: scale(1.10); opacity: 0; }
}

/* — Enhanced vinyl glow — */
.vinyl {
  opacity: 0.22 !important;
  filter: drop-shadow(0 0 30px rgba(255,255,255,0.08));
}

[data-theme="light"] .vinyl {
  opacity: 0.09 !important;
}

/* — Wave canvas slightly more vivid — */
#waveCanvas {
  opacity: 0.7 !important;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1000px) {
  .feat-row {
    grid-template-columns: 40px 1px 1fr auto;
    gap: 0 18px;
  }
}

@media (max-width: 900px) {
  .nav-gh-label {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-mobile {
    display: flex;
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .stats-bar {
    padding: 0 20px;
  }

  .features {
    padding: 80px 0;
  }

  .scr-section {
    padding: 80px 0;
  }

  .dl-section {
    padding: 100px 20px;
  }

  .scr-scroll {
    padding: 16px 20px 32px;
  }

  .s24-left,
  .s24-right,
  .vinyl {
    display: none;
  }

  .hero-phones {
    margin-top: 30px;
  }
}

@media (max-width: 600px) {
  .feat-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 8px 0;
    padding: 22px 0;
  }

  .feat-num {
    text-align: left;
  }

  .feat-divider {
    display: none;
  }

  .feat-tag {
    justify-self: start;
  }

  .ft-top,
  .ft-bottom {
    flex-direction: column;
  }

  .ft-bottom {
    text-align: center;
  }

  .dl-card-row {
    justify-content: center;
    text-align: center;
  }

  .dl-info {
    text-align: center;
  }

  .stats-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
  }

  .sdiv {
    display: none;
  }

  .footer {
    padding: 48px 20px 32px;
  }
}

@media (max-width: 380px) {
  .nav-inner {
    width: calc(100% - 28px);
  }

  .wordmark-text {
    font-size: 0.95rem;
  }

  .nav-pill-mob {
    display: none;
  }
}

/* =========================================
   CINEMATIC HERO OVERRIDES
========================================= */

/* Dramatic vignette — film-style dark edges */
.hero-vignette {
  background:
    radial-gradient(ellipse 90% 55% at 50% 30%, transparent 30%, color-mix(in srgb, var(--bg) 65%, transparent) 100%),
    radial-gradient(ellipse 100% 45% at 50% 100%, color-mix(in srgb, var(--bg) 98%, transparent), transparent),
    radial-gradient(ellipse 35% 100% at 0% 50%, color-mix(in srgb, var(--bg) 60%, transparent), transparent),
    radial-gradient(ellipse 35% 100% at 100% 50%, color-mix(in srgb, var(--bg) 60%, transparent), transparent) !important;
}

/* Cinematic spotlight cone from top-center */
.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  max-width: 100%;
  height: 80%;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(255, 255, 255, 0.055) 0%,
    rgba(255, 255, 255, 0.015) 35%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 2;
}

/* Hero content cinematic entrance — blur lift */
.hero-content {
  animation: heroCinemaEntrance 1.4s var(--ease-smooth) both !important;
}

@keyframes heroCinemaEntrance {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.96);
    filter: blur(10px);
  }
  60% {
    filter: blur(1px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Hero app name entrance */
.hero-appname {
  animation: fadeUp 0.7s var(--ease-smooth) 0s both !important;
}

/* 3D depth on phone group */
.hero-phones {
  transform-style: preserve-3d;
  transform-origin: center bottom;
}

/* Vivid orbs with cinematic tint */
.orb-1 {
  width: 700px !important;
  height: 700px !important;
  background: radial-gradient(
    circle,
    rgba(140, 110, 255, 0.07),
    rgba(255, 255, 255, 0.025),
    transparent
  ) !important;
}

.orb-2 {
  background: radial-gradient(
    circle,
    rgba(80, 200, 255, 0.05),
    rgba(255, 255, 255, 0.02),
    transparent
  ) !important;
}

/* Dramatically stronger phone glows */
.s24-glow-center {
  width: 280px !important;
  height: 90px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  filter: blur(50px) !important;
}

.s24-glow {
  width: 180px !important;
  height: 58px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  filter: blur(30px) !important;
}

/* Lens flare sweep across center phone */
.s24-frame-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    108deg,
    transparent 35%,
    rgba(255, 255, 255, 0.07) 50%,
    transparent 65%
  );
  background-size: 300% 100%;
  pointer-events: none;
  z-index: 10;
  animation: lensFlare 9s ease-in-out 3s infinite;
}

@keyframes lensFlare {
  0%, 100% { background-position: 200% 0; opacity: 0; }
  48%       { background-position: 200% 0; opacity: 0; }
  50%       { background-position: -100% 0; opacity: 1; }
  54%       { opacity: 0; }
}

/* Hero appname text — explicit Helvetica */
.hero-appname-text {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* =========================================
   CINEMATIC DOWNLOAD SECTION
========================================= */

/* Section atmosphere */
.dl-section {
  overflow: hidden;
  background: radial-gradient(
    ellipse 90% 70% at 50% 50%,
    color-mix(in srgb, var(--text) 2.5%, transparent),
    transparent
  ) !important;
}

/* Override reveal with cinematic entrance */
.dl-inner {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  filter: blur(8px);
  transition:
    opacity 1s var(--ease-smooth),
    transform 1s var(--ease-smooth),
    filter 1s var(--ease-smooth);
}

.dl-inner.in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Download heading — Helvetica */
.dl-h, .dl-mask {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* 3D hover on the card */
.dl-card {
  transition:
    transform 0.5s var(--ease-smooth),
    box-shadow 0.5s var(--ease-smooth),
    border-color var(--transition) !important;
}

.dl-card:hover {
  transform: perspective(900px) rotateX(3deg) translateY(-6px) scale(1.01);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.45),
    0 0 60px color-mix(in srgb, var(--text) 10%, transparent) !important;
  border-color: var(--border-strong) !important;
}

/* Animated beacon glow behind the APK button */
.btn-main.btn-glow {
  position: relative;
  isolation: isolate;
}

.btn-main.btn-glow::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--text) 18%, transparent);
  filter: blur(20px);
  z-index: -1;
  animation: beaconPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes beaconPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50%       { opacity: 0.8; transform: scale(1.12); }
}

/* Cinematic line above download card */
.dl-inner::before {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--border-strong));
  margin: 0 auto 32px;
  animation: lineGrow 0.8s var(--ease-smooth) 0.4s both;
}

@keyframes lineGrow {
  from { height: 0; opacity: 0; }
  to   { height: 48px; opacity: 1; }
}

/* Trust bar entrance */
.hero-trust {
  animation: fadeUp 0.9s var(--ease-smooth) 0.9s both !important;
}

/* Hero actions entrance */
.hero-actions {
  animation: fadeUp 0.9s var(--ease-smooth) 0.7s both !important;
}

/* ===================================================
   HELVETICA NEUE — ALL HERO TEXT (FINAL, ABSOLUTE)
=================================================== */
.hero-content,
.hero-content h1,
.hero-content h1 *,
.mask-inner,
.hero-desc,
.hero-actions *,
.hero-trust *,
.hero-appname * {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* ===================================================
   LIQUID GLASS UI SYSTEM & MUSIC RECOGNITION SHOWCASE
   =================================================== */

/* Custom liquid-glass card styling */
.dl-card, .nav, .mobile-drawer {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(30px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(30px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 
    0 4px 30px rgba(0, 0, 0, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
}

[data-theme="light"] .dl-card, 
[data-theme="light"] .nav, 
[data-theme="light"] .mobile-drawer {
  background: rgba(0, 0, 0, 0.02) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 
    0 4px 30px rgba(0, 0, 0, 0.03),
    inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
}

/* Morphing liquid blobs behind elements */
.orb-1, .orb-2, .orb-3, .dl-o1, .dl-o2 {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40% !important;
  animation-duration: 15s !important;
  animation-timing-function: ease-in-out !important;
  animation-iteration-count: infinite !important;
  animation-direction: alternate !important;
}

.orb-1 {
  animation-name: liquidMorph1 !important;
  background: radial-gradient(circle, rgba(140, 110, 255, 0.12) 0%, rgba(255, 80, 150, 0.04) 50%, transparent 100%) !important;
}

.orb-2 {
  animation-name: liquidMorph2 !important;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.1) 0%, rgba(140, 110, 255, 0.03) 60%, transparent 100%) !important;
}

.dl-o1 {
  background: radial-gradient(circle, rgba(140, 110, 255, 0.1) 0%, transparent 70%) !important;
}

@keyframes liquidMorph1 {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  50% {
    border-radius: 40% 60% 50% 50% / 40% 50% 50% 60%;
    transform: translate(30px, -50px) rotate(90deg) scale(1.1);
  }
  100% {
    border-radius: 50% 50% 60% 40% / 60% 40% 60% 50%;
    transform: translate(-20px, 40px) rotate(180deg) scale(0.95);
  }
}

@keyframes liquidMorph2 {
  0% {
    border-radius: 50% 50% 60% 40% / 60% 40% 60% 50%;
    transform: translate(0, 0) rotate(0deg) scale(1.05);
  }
  50% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: translate(-40px, 30px) rotate(-90deg) scale(0.95);
  }
  100% {
    border-radius: 40% 60% 50% 50% / 40% 50% 50% 60%;
    transform: translate(30px, -30px) rotate(-180deg) scale(1.1);
  }
}

/* Feature Row Glass Hover State */
.feat-row {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
  border-radius: var(--radius-md);
  margin: 0 -8px;
  padding: 32px 16px !important;
}

.feat-row:hover {
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  padding-left: 24px !important;
}

[data-theme="light"] .feat-row:hover {
  background: rgba(0, 0, 0, 0.015) !important;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.02),
    inset 0 1px 0 rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.04) !important;
}

/* Soundwave animations for Music Recognition */
.soundwave-mini {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  width: 14px;
  height: 12px;
  margin-right: 8px;
  vertical-align: middle;
}

.soundwave-mini span {
  display: block;
  width: 2px;
  background: var(--text-dim);
  border-radius: 1px;
  animation: mini-wave 0.6s ease-in-out infinite alternate;
}

.soundwave-mini span:nth-child(1) { height: 4px; animation-delay: 0.1s; }
.soundwave-mini span:nth-child(2) { height: 8px; animation-delay: 0.3s; }
.soundwave-mini span:nth-child(3) { height: 6px; animation-delay: 0.2s; }
.soundwave-mini span:nth-child(4) { height: 10px; animation-delay: 0.4s; }

@keyframes mini-wave {
  0% {
    height: 3px;
    transform: scaleY(1);
  }
  100% {
    height: 12px;
    transform: scaleY(1.3);
    background: #8c6eff;
  }
}

.feat-row:hover .soundwave-mini span {
  background: #8c6eff;
}

/* =========================================
   SUPPORT & DONATIONS STYLES (PREMIUM GLASS)
========================================= */
.support-section, .localisation-section {
  padding: 120px 0;
  position: relative;
  border-top: 1px solid var(--border);
  background: radial-gradient(circle at 50% 0%, rgba(140, 110, 255, 0.03), transparent 70%);
}

.support-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 992px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.support-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.support-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
}

.support-card-header h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.support-desc {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 24px;
  line-height: 1.6;
}

.support-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  gap: 12px;
}

[data-theme="light"] .support-code-box {
  background: rgba(255, 255, 255, 0.6);
}

.support-code-box code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.copy-btn, .copy-btn-sm {
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.copy-btn-sm {
  padding: 6px 14px;
  font-size: 11px;
}

.copy-btn:hover, .copy-btn-sm:hover {
  opacity: 0.9;
  transform: scale(1.04);
}

.copy-btn:active, .copy-btn-sm:active {
  transform: scale(0.96);
}

.crypto-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .crypto-table-wrapper {
  background: rgba(255, 255, 255, 0.4);
}

.crypto-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

.crypto-table th {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-mid);
  color: var(--text-dim);
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.crypto-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
  transition: background-color 0.2s ease;
}

.crypto-table tr:last-child td {
  border-bottom: none;
}

.crypto-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.crypto-table td strong {
  font-weight: 600;
  font-size: 13px;
}

.crypto-table code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  word-break: break-all;
}

/* =========================================
   LOCALISATION STYLES
========================================= */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}

.lang-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.lang-pill:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.lang-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.lang-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  margin-left: 6px;
}

.lang-badge {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  letter-spacing: 0.02em;
}



