:root {
  --accent: #8b6cff;
  --accent-2: #ff6cc4;
  --accent-3: #4cc8ff;
  --accent-grad: linear-gradient(135deg, #8b6cff 0%, #ff6cc4 100%);
  --text: #f2f1fb;
  --muted: #a9a8c4;
  --good: #37d67a;
  --bg: #07060f;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.14);
  --blur: saturate(160%) blur(22px);
  --radius: 18px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Background layers ---------- */
.aurora {
  position: fixed;
  inset: -30%;
  z-index: -2;
  background:
    radial-gradient(40% 40% at 20% 20%, #5b2bd6 0%, transparent 60%),
    radial-gradient(45% 45% at 85% 15%, #d62b8f 0%, transparent 60%),
    radial-gradient(50% 50% at 75% 85%, #2b7fd6 0%, transparent 60%),
    radial-gradient(45% 45% at 15% 90%, #6c2bd6 0%, transparent 60%);
  filter: blur(30px);
  animation: drift 24s ease-in-out infinite alternate;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  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='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

@keyframes drift {
  0% {
    transform: translate3d(-3%, -2%, 0) scale(1.05) rotate(0deg);
  }
  100% {
    transform: translate3d(3%, 2%, 0) scale(1.1) rotate(6deg);
  }
}

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Nav ---------- */
.nav-shell {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.nav {
  position: relative;
  pointer-events: auto;
  width: min(1100px, 100%);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  transition: background 0.3s ease, box-shadow 0.3s ease, opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav[data-animate="fade-down"] {
  transform: translateY(-20px);
}

.nav[data-animate="fade-down"].visible {
  transform: translateY(0);
}

.nav.scrolled {
  background: rgba(12, 10, 22, 0.75);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  user-select: none;
}

.brand-logo.nav-stack {
  width: auto;
  height: 40px;
  max-width: min(220px, 58vw);
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

.brand-logo.nav-stack.small {
  height: 34px;
  max-width: 200px;
}

.hero-logo {
  width: min(420px, 92vw);
  height: auto;
  margin: 0 0 8px;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.45));
}

.mock-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 9px 16px !important;
  border-radius: 10px;
  background: var(--accent-grad);
  color: white !important;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(139, 108, 255, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease !important;
}

.nav-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  top: calc(var(--nav-h) + 24px);
  left: 0;
  right: 0;
  margin-inline: auto;
  z-index: 99;
  width: min(360px, calc(100% - 32px));
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-drawer a {
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-drawer a:hover {
  background: var(--glass-strong);
  color: var(--text);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-3);
}

.gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-sub {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn.primary {
  background: var(--accent-grad);
  color: white;
  box-shadow: 0 8px 24px rgba(139, 108, 255, 0.4);
}

.btn.primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(139, 108, 255, 0.5);
}

.btn.ghost {
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--text);
}

.btn.ghost:hover {
  background: var(--glass-strong);
  transform: translateY(-2px);
}

.btn.large {
  padding: 16px 28px;
  font-size: 1rem;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) 24px 80px;
}

.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-sub {
  margin: 0 0 32px;
  max-width: 480px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.stat span {
  font-size: 0.82rem;
  color: var(--muted);
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--glass-border);
}

/* ---------- Hero app mockup ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.app-window {
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.window-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red {
  background: #ff5f57;
}
.dot.yellow {
  background: #febc2e;
}
.dot.green {
  background: #28c840;
}

.room-label {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--muted);
}

.window-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 280px;
}

.player-panel {
  padding: 20px 18px;
  border-right: 1px solid var(--glass-border);
}

.album-art {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 16px;
  background: var(--accent-grad);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  animation: spin-slow 12s linear infinite;
}

.album-art.paused {
  animation-play-state: paused;
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.art-glow {
  position: absolute;
  inset: -20%;
  background: var(--accent-grad);
  filter: blur(24px);
  opacity: 0.4;
  z-index: -1;
}

.note {
  font-size: 32px;
  color: white;
}

.track-title {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.track-artist {
  margin: 4px 0 16px;
  font-size: 0.78rem;
  color: var(--muted);
}

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 36px;
  margin-bottom: 14px;
}

.waveform span {
  flex: 1;
  min-width: 3px;
  border-radius: 2px;
  background: var(--accent-grad);
  animation: wave 1.2s ease-in-out infinite;
  opacity: 0.7;
}

.waveform span:nth-child(odd) {
  animation-duration: 0.9s;
}
.waveform span:nth-child(3n) {
  animation-duration: 1.4s;
}
.waveform span:nth-child(4n) {
  animation-duration: 1.1s;
}

@keyframes wave {
  0%,
  100% {
    height: 20%;
  }
  50% {
    height: 100%;
  }
}

.progress {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 16px;
  overflow: visible;
}

.progress-fill {
  height: 100%;
  width: 42%;
  background: var(--accent-grad);
  border-radius: 4px;
  animation: progress-advance 8s linear infinite;
}

@keyframes progress-advance {
  0% {
    width: 18%;
  }
  100% {
    width: 78%;
  }
}

.progress-head {
  position: absolute;
  top: 50%;
  left: 42%;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(139, 108, 255, 0.8);
  animation: head-move 8s linear infinite;
}

@keyframes head-move {
  0% {
    left: 18%;
  }
  100% {
    left: 78%;
  }
}

.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ctrl {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--glass-strong);
  color: var(--text);
  font-size: 14px;
  cursor: default;
}

.ctrl.play {
  width: 44px;
  height: 44px;
  background: var(--accent-grad);
  box-shadow: 0 4px 16px rgba(139, 108, 255, 0.45);
  animation: pulse-play 2s ease-in-out infinite;
}

@keyframes pulse-play {
  0%,
  100% {
    box-shadow: 0 4px 16px rgba(139, 108, 255, 0.45);
  }
  50% {
    box-shadow: 0 4px 28px rgba(255, 108, 196, 0.55);
  }
}

.chat-panel {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
}

.presence {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  border: 2px solid var(--bg);
  margin-left: -6px;
}

.avatar:first-child {
  margin-left: 0;
}

.a1 {
  background: #5b2bd6;
}
.a2 {
  background: #d62b8f;
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  margin-left: 4px;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.presence-text {
  font-size: 0.72rem;
  color: var(--muted);
  margin-left: 4px;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.bubble {
  max-width: 90%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  line-height: 1.4;
  animation: bubble-in 0.5s ease backwards;
}

.bubble.them {
  align-self: flex-start;
  background: var(--glass-strong);
  animation-delay: 0.3s;
}

.bubble.me {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(139, 108, 255, 0.5), rgba(255, 108, 196, 0.4));
  animation-delay: 0.8s;
}

.bubble.typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 14px;
  animation-delay: 1.4s;
}

.bubble.typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing 1.2s ease-in-out infinite;
}

.bubble.typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.bubble.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(139, 108, 255, 0.2);
  pointer-events: none;
}

.orbit-1 {
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  animation: orbit-spin 20s linear infinite;
}

.orbit-2 {
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  border-color: rgba(255, 108, 196, 0.15);
  animation: orbit-spin 30s linear infinite reverse;
}

@keyframes orbit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Sections ---------- */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 108, 255, 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(139, 108, 255, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon.sync {
  background: rgba(139, 108, 255, 0.2);
  color: var(--accent);
}
.feature-icon.chat {
  background: rgba(76, 200, 255, 0.15);
  color: var(--accent-3);
}
.feature-icon.lock {
  background: rgba(55, 214, 122, 0.15);
  color: var(--good);
}
.feature-icon.video {
  background: rgba(255, 108, 196, 0.15);
  color: var(--accent-2);
}
.feature-icon.friends {
  background: rgba(139, 108, 255, 0.15);
  color: var(--accent);
}
.feature-icon.glass-icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---------- How it works ---------- */
.how-section {
  padding-top: 40px;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.step {
  text-align: center;
  padding: 0 12px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--accent-grad);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(139, 108, 255, 0.35);
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.step-connector {
  width: 40px;
  height: 2px;
  margin-top: 26px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.4;
  position: relative;
}

.step-connector::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  animation: connector-pulse 2s ease-in-out infinite;
}

@keyframes connector-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* ---------- Sync showcase ---------- */
.sync-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 40px;
  overflow: hidden;
  position: relative;
}

.sync-copy h2 {
  margin: 0 0 14px;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}

.sync-copy p {
  color: var(--muted);
  margin: 0 0 24px;
}

.sync-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sync-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.check {
  color: var(--good);
  font-weight: 700;
}

.sync-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}

.sync-diagram {
  width: 100%;
  max-width: 360px;
  height: auto;
  overflow: visible;
}

.sync-wire {
  stroke: url(#wireGrad);
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
}

.sync-junction-hub {
  fill: #ffffff;
}

.sync-junction {
  fill: #4cc8ff;
  filter: url(#pulseGlow);
}

.sync-junction-server {
  fill: #ffffff;
}

.sync-svg-server {
  fill: url(#serverGrad);
  filter: drop-shadow(0 8px 20px rgba(139, 108, 255, 0.45));
  animation: server-glow-svg 3s ease-in-out infinite;
}

.sync-svg-client {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
  animation: client-float-svg 4s ease-in-out infinite;
}

.sync-svg-client-b {
  animation-delay: 0.5s;
}

.sync-svg-client-c {
  animation-delay: 1s;
}

.sync-svg-label {
  fill: #f2f1fb;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.sync-svg-label-server {
  fill: #ffffff;
}

@keyframes server-glow-svg {
  0%,
  100% {
    filter: drop-shadow(0 8px 20px rgba(139, 108, 255, 0.45));
  }
  50% {
    filter: drop-shadow(0 8px 28px rgba(255, 108, 196, 0.55));
  }
}

@keyframes client-float-svg {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* ---------- Platforms ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.platform-card {
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-4px);
}

.platform-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: grid;
  place-items: center;
}

.platform-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.platform-icon.win {
  background: rgba(76, 200, 255, 0.15);
  color: var(--accent-3);
}
.platform-icon.android {
  background: rgba(55, 214, 122, 0.15);
  color: var(--good);
}
.platform-icon.mac {
  background: rgba(200, 200, 220, 0.12);
  color: #e8e8f4;
}
.platform-icon.linux {
  background: rgba(255, 180, 80, 0.15);
}

.platform-icon.linux svg {
  width: 30px;
  height: 30px;
}

.platform-card h3 {
  margin: 0 0 10px;
}

.platform-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--glass-strong);
  color: var(--muted);
}

.badge.live {
  background: rgba(55, 214, 122, 0.15);
  color: var(--good);
}

.badge.soon {
  background: rgba(255, 180, 80, 0.15);
  color: #ffb450;
}

.muted-card {
  opacity: 0.85;
}

/* ---------- Download ---------- */
.download-section {
  padding-bottom: 120px;
}

.download-card {
  position: relative;
  text-align: center;
  padding: 64px 40px;
  overflow: hidden;
}

.download-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 50%, rgba(139, 108, 255, 0.25), transparent 60%);
  animation: download-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes download-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.download-card h2 {
  position: relative;
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.download-card .section-sub {
  position: relative;
  margin-bottom: 32px;
}

.download-actions {
  position: relative;
}

.download-note {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.footer {
  margin: 0 24px 24px;
  border-radius: var(--radius);
}

.footer-inner {
  padding: 32px 24px;
  text-align: center;
}

.footer-inner .brand {
  justify-content: center;
  margin-bottom: 8px;
}

.footer-tag {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(169, 168, 196, 0.6);
}

/* ---------- Scroll animations ---------- */
[data-animate] {
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate="fade-up"] {
  transform: translateY(32px);
}
[data-animate="fade-down"] {
  transform: translateY(-20px);
}
[data-animate="fade-left"] {
  transform: translateX(40px);
}
[data-animate="scale-in"] {
  transform: scale(0.94);
}

[data-animate].visible {
  opacity: 1;
}

[data-animate="fade-up"].visible {
  transform: translateY(0);
}

[data-animate="fade-down"].visible:not(.nav) {
  transform: translateY(0);
}

[data-animate="fade-left"].visible {
  transform: translateX(0);
}

[data-animate="scale-in"].visible {
  transform: scale(1);
}

[data-delay="1"] {
  transition-delay: 0.1s;
}
[data-delay="2"] {
  transition-delay: 0.2s;
}
[data-delay="3"] {
  transition-delay: 0.3s;
}
[data-delay="4"] {
  transition-delay: 0.4s;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-h) + 32px);
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .feature-grid,
  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step-connector {
    display: none;
  }

  .sync-inner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .player-panel {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .feature-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  .stat-divider {
    display: none;
  }

  .download-card {
    padding: 48px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
