/* ═══════════════════════════════════════════════════════════
   PlayPair Promotional Site · style.css
   Palette: deep-black · violet #7C3AED · cyan #06B6D4
   ═══════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  --bg:           #08080e;
  --bg-card:      #0f0f18;
  --bg-card-alt:  #12121e;
  --border:       rgba(255 255 255 / 0.07);
  --border-hover: rgba(255 255 255 / 0.14);
  --purple:       #7C3AED;
  --purple-light: #9f6cf7;
  --cyan:         #06B6D4;
  --cyan-light:   #38d9f5;
  --text-1:       #f5f5f9;
  --text-2:       #9899a6;
  --text-3:       #5c5d6d;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --shadow-card:  0 1px 2px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
  --shadow-glow-p: 0 0 60px rgba(124,58,237,.35);
  --shadow-glow-c: 0 0 60px rgba(6,182,212,.25);
  --transition:   0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg);
  color: var(--text-1);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
svg { display: block; flex-shrink: 0; }

/* ── Container ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: linear-gradient(135deg, var(--purple) 0%, #5b21b6 100%);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  transition: var(--transition);
  box-shadow: 0 0 0 0 rgba(124,58,237,.5), 0 4px 24px rgba(124,58,237,.25);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(124,58,237,.3), 0 8px 32px rgba(124,58,237,.35); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 20px;
  color: var(--text-2);
  font-weight: 500;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: var(--transition);
  background: rgba(255,255,255,.02);
}
.btn-ghost:hover { color: var(--text-1); border-color: var(--border-hover); background: rgba(255,255,255,.05); }

.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 12px; }

/* ── Navigation ─────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(8,8,14,.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: .8; }
.nav-icon { width: 42px; height: 42px; border-radius: 10px; }
.nav-wordmark { font-size: 18px; font-weight: 700; color: var(--text-1); letter-spacing: -.025em; }

/* Nav — individual outlined pill links */
.nav-pill-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-pill-link {
  position: relative;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-3);
  border-radius: 100px;
  border: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  letter-spacing: -.005em;
}
.nav-pill-link:hover {
  color: var(--text-1);
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
}
.nav-pill-link.nav-active {
  color: var(--purple-light);
  border-color: rgba(124,58,237,.4);
  background: rgba(124,58,237,.1);
  box-shadow: 0 0 16px rgba(124,58,237,.15), inset 0 0 0 1px rgba(124,58,237,.15);
}
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--purple) 0%, #5b21b6 100%);
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: 0 2px 16px rgba(124,58,237,.35);
  letter-spacing: -.01em;
}
.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(124,58,237,.45);
}

/* ── Hero ───────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
}
.glow-purple {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,.6) 0%, transparent 70%);
  top: -80px; left: 5%;
  animation: blobFloat 8s ease-in-out infinite;
}
.glow-cyan {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,.5) 0%, transparent 70%);
  top: 20%; right: 5%;
  animation: blobFloat 10s ease-in-out infinite reverse;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -30px) scale(1.05); }
  66%       { transform: translate(-15px, 15px) scale(.97); }
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-headline {
  font-size: clamp(48px, 8vw, 82px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.04em;
  color: var(--text-1);
  margin-bottom: 22px;
  background: linear-gradient(170deg, #ffffff 30%, rgba(255,255,255,.55) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-2);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-meta {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 400;
  letter-spacing: .01em;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 64px auto 0;
  padding: 0 24px;
}
.sync-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.player-card {
  background: rgba(15,15,26,.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  width: 240px;
  flex-shrink: 0;
  box-shadow: var(--shadow-card), 0 20px 60px rgba(0,0,0,.5);
  backdrop-filter: blur(12px);
}
@keyframes floatA {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(-6px); }
  50%       { transform: translateY(6px); }
}
.float-a { animation: floatA 5s ease-in-out infinite; }
.float-b { animation: floatB 5.5s ease-in-out infinite; }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.card-role {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 3px 8px;
  border-radius: 5px;
}
.host-role { background: rgba(124,58,237,.2); color: var(--purple-light); border: 1px solid rgba(124,58,237,.3); }
.guest-role { background: rgba(6,182,212,.15); color: var(--cyan-light); border: 1px solid rgba(6,182,212,.25); }
.card-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-2);
}
.status-dot {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2.5s ease-in-out infinite;
}
.card-track {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.track-art {
  width: 40px; height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
}
.track-name { font-size: 12px; font-weight: 600; color: var(--text-1); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.track-artist { font-size: 11px; color: var(--text-3); }
.play-icon { margin-left: auto; color: var(--text-2); }
.card-progress { margin-bottom: 12px; }
.progress-bar { height: 3px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; margin-bottom: 6px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--purple), var(--cyan)); border-radius: 2px; width: 49%; transition: width 1s linear; }
.progress-times { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-3); }
.card-room-row { display: flex; align-items: center; gap: 8px; }
.room-label-sm { font-size: 10px; color: var(--text-3); font-weight: 500; }
.room-code-sm { font-size: 13px; font-weight: 700; color: var(--text-1); letter-spacing: .12em; font-variant-numeric: tabular-nums; }

/* Waveform connector */
.waveform-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.wave-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 40px;
}
.wave-bars span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--purple), var(--cyan));
  animation: waveBeat 0.9s ease-in-out infinite;
}
.wave-bars span:nth-child(1)  { height: 12px; animation-delay: 0s; }
.wave-bars span:nth-child(2)  { height: 20px; animation-delay: .08s; }
.wave-bars span:nth-child(3)  { height: 30px; animation-delay: .16s; }
.wave-bars span:nth-child(4)  { height: 22px; animation-delay: .24s; }
.wave-bars span:nth-child(5)  { height: 36px; animation-delay: .32s; }
.wave-bars span:nth-child(6)  { height: 26px; animation-delay: .4s; }
.wave-bars span:nth-child(7)  { height: 38px; animation-delay: .48s; }
.wave-bars span:nth-child(8)  { height: 24px; animation-delay: .56s; }
.wave-bars span:nth-child(9)  { height: 32px; animation-delay: .64s; }
.wave-bars span:nth-child(10) { height: 18px; animation-delay: .72s; }
.wave-bars span:nth-child(11) { height: 28px; animation-delay: .8s; }
.wave-bars span:nth-child(12) { height: 16px; animation-delay: .88s; }
.wave-bars span:nth-child(13) { height: 22px; animation-delay: .96s; }
@keyframes waveBeat {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(.35); opacity: .5; }
}
.sync-pill {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--cyan-light);
  background: rgba(6,182,212,.12);
  border: 1px solid rgba(6,182,212,.2);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ── Marquee ────────────────────────────────────────────── */
#marquee-section {
  padding: 60px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-3);
  margin-bottom: 28px;
}
.marquee-track {
  overflow: hidden;
  position: relative;
  display: flex;
}
.marquee-track::before, .marquee-track::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
}
.marquee-track::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee-track::after  { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 0;
  animation: marqueeScroll 28s linear infinite;
  min-width: 100%;
  flex-shrink: 0;
  justify-content: space-around;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 36px;
  color: var(--text-3);
  font-weight: 500;
  font-size: 15px;
  transition: color var(--transition);
  white-space: nowrap;
}
.marquee-item:hover { color: var(--text-2); }
.mi-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 7px;
  opacity: .55;
  filter: grayscale(100%);
  transition: opacity var(--transition), transform var(--transition), filter var(--transition);
}
.marquee-item:hover .mi-icon { opacity: 1; filter: grayscale(0%); transform: scale(1.08); }

/* ── Section Headers ────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--purple-light);
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--text-1);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Features Row (simplified) ─────────────────────────── */
#features { padding: 100px 0; }
.feat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.feat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  opacity: 0;
  transition: opacity var(--transition);
}
.feat-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,.4); }
.feat-card:hover::after { opacity: 1; }
.feat-icon-wrap {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(6,182,212,.1));
  border: 1px solid rgba(124,58,237,.25);
  border-radius: 12px;
  color: var(--purple-light);
  margin-bottom: 4px;
  transition: var(--transition);
}
.feat-card:hover .feat-icon-wrap {
  background: linear-gradient(135deg, rgba(124,58,237,.28), rgba(6,182,212,.18));
  box-shadow: 0 0 20px rgba(124,58,237,.2);
}
.feat-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -.01em;
  line-height: 1.3;
}
.feat-card p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
}
.bento-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--purple-light);
  margin-bottom: 16px;
}
.bento-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--text-1);
  margin-bottom: 10px;
}
.bento-body {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 340px;
}

/* Waveform demo inside bento */
.waveform-demo {
  margin-top: 28px;
  height: 56px;
  display: flex;
  align-items: center;
}
.wd-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  width: 100%;
}
.wd-bars span {
  flex: 1;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--purple), var(--cyan));
  animation: wdBeat 1.2s ease-in-out infinite;
  min-height: 6px;
}
.wd-bars span:nth-child(1)  { height: 30%; animation-delay: 0s; }
.wd-bars span:nth-child(2)  { height: 55%; animation-delay: .05s; }
.wd-bars span:nth-child(3)  { height: 80%; animation-delay: .1s; }
.wd-bars span:nth-child(4)  { height: 60%; animation-delay: .15s; }
.wd-bars span:nth-child(5)  { height: 95%; animation-delay: .2s; }
.wd-bars span:nth-child(6)  { height: 70%; animation-delay: .25s; }
.wd-bars span:nth-child(7)  { height: 100%; animation-delay: .3s; }
.wd-bars span:nth-child(8)  { height: 65%; animation-delay: .35s; }
.wd-bars span:nth-child(9)  { height: 85%; animation-delay: .4s; }
.wd-bars span:nth-child(10) { height: 45%; animation-delay: .45s; }
.wd-bars span:nth-child(11) { height: 75%; animation-delay: .5s; }
.wd-bars span:nth-child(12) { height: 50%; animation-delay: .55s; }
.wd-bars span:nth-child(13) { height: 90%; animation-delay: .6s; }
.wd-bars span:nth-child(14) { height: 40%; animation-delay: .65s; }
.wd-bars span:nth-child(15) { height: 70%; animation-delay: .7s; }
.wd-bars span:nth-child(16) { height: 55%; animation-delay: .75s; }
.wd-bars span:nth-child(17) { height: 85%; animation-delay: .8s; }
.wd-bars span:nth-child(18) { height: 35%; animation-delay: .85s; }
.wd-bars span:nth-child(19) { height: 60%; animation-delay: .9s; }
.wd-bars span:nth-child(20) { height: 45%; animation-delay: .95s; }
.wd-bars span:nth-child(21) { height: 78%; animation-delay: 1s; }
.wd-bars span:nth-child(22) { height: 30%; animation-delay: 1.05s; }
.wd-bars span:nth-child(23) { height: 55%; animation-delay: 1.1s; }
.wd-bars span:nth-child(24) { height: 40%; animation-delay: 1.15s; }
@keyframes wdBeat {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(.2); }
}

/* Room code demo */
.room-code-demo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
}
.rc-char {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 44px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text-1);
  font-variant-numeric: tabular-nums;
  transition: var(--transition);
}
.bento-card:hover .rc-char {
  border-color: rgba(124,58,237,.4);
  background: rgba(124,58,237,.08);
  color: var(--purple-light);
}
.rc-copy-btn {
  margin-left: 6px;
  padding: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-2);
  transition: var(--transition);
}
.rc-copy-btn:hover { background: rgba(124,58,237,.15); color: var(--purple-light); border-color: rgba(124,58,237,.3); }
.rc-copy-btn.copied { background: rgba(34,197,94,.15); color: #22c55e; border-color: rgba(34,197,94,.3); }

/* Tray demo */
.tray-demo { margin-top: 24px; }
.tray-bar {
  background: rgba(30,30,50,.8);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  justify-content: flex-end;
}
.tray-icons-group { display: flex; align-items: center; gap: 6px; }
.tray-sep { width: 1px; height: 16px; background: rgba(255,255,255,.1); margin-right: 4px; }
.tray-icon-slot {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 14px;
  position: relative;
  color: var(--text-2);
}
.active-slot {
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.3);
}
.tray-app-icon-sm { width: 18px; height: 18px; border-radius: 4px; }
.tray-glow-ring {
  position: absolute;
  inset: -2px;
  border-radius: 8px;
  border: 1px solid rgba(124,58,237,.5);
  animation: glowRing 2s ease-in-out infinite;
}
@keyframes glowRing {
  0%, 100% { opacity: 1; }
  50%       { opacity: .2; }
}
.tray-time { font-size: 11px; color: var(--text-2); font-variant-numeric: tabular-nums; margin-left: 4px; }
.tray-tooltip-card {
  margin-top: 10px;
  background: rgba(20,20,36,.95);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tray-tooltip-card strong { color: var(--text-1); font-weight: 600; }
.tray-tooltip-card span { color: var(--text-3); }

/* File tree */
.file-tree { margin-top: 24px; display: flex; flex-direction: column; gap: 6px; }
.ft-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 7px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: var(--transition);
}
.ft-exe { color: var(--cyan-light); border-color: rgba(6,182,212,.2); background: rgba(6,182,212,.06); }
.ft-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cyan-light);
  background: rgba(6,182,212,.15);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Privacy stats */
.bento-privacy .bento-body { max-width: none; }
.privacy-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 28px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.pstat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  gap: 4px;
}
.pstat-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--purple-light), var(--cyan-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pstat-label { font-size: 11px; color: var(--text-3); text-align: center; }
.pstat-div { width: 1px; background: var(--border); align-self: stretch; }

/* Reconnect vis */
.reconnect-vis {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 28px;
}
.rv-node {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.rv-green { background: #22c55e; box-shadow: 0 0 10px rgba(34,197,94,.5); }
.rv-pulse {
  background: var(--purple);
  box-shadow: 0 0 12px rgba(124,58,237,.5);
  animation: nodeFlash 1.5s ease-in-out infinite;
}
@keyframes nodeFlash {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .3; transform: scale(.7); }
}
.rv-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
}
.rv-dashed {
  background: none;
  border-top: 2px dashed rgba(124,58,237,.4);
}

/* ── How It Works ───────────────────────────────────────── */
#how-it-works {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(124,58,237,.04) 50%, transparent 100%);
}
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}
.step-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--text-3);
  margin-bottom: 16px;
}
.step-icon-wrap {
  width: 60px; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124,58,237,.2), rgba(6,182,212,.1));
  border: 1px solid rgba(124,58,237,.3);
  border-radius: 16px;
  margin-bottom: 20px;
  color: var(--purple-light);
  transition: var(--transition);
}
.step:hover .step-icon-wrap {
  background: linear-gradient(135deg, rgba(124,58,237,.3), rgba(6,182,212,.15));
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(124,58,237,.25);
}
.step-title { font-size: 18px; font-weight: 700; color: var(--text-1); margin-bottom: 10px; letter-spacing: -.01em; }
.step-body { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.step-connector {
  flex-shrink: 0;
  width: 80px;
  padding-top: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-connector svg { width: 80px; height: 2px; }

/* ── Compatibility ──────────────────────────────────────── */
#compatibility { padding: 100px 0; }
.compat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.compat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  transition: var(--transition);
  cursor: default;
}
.compat-item:hover {
  border-color: var(--border-hover);
  color: var(--text-1);
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(0,0,0,.35);
}
.ci-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  opacity: .55;
  filter: grayscale(100%);
  transition: opacity var(--transition), transform var(--transition), filter var(--transition);
}
.compat-item:hover .ci-icon { opacity: 1; filter: grayscale(0%); transform: scale(1.1); }
.compat-footnote {
  text-align: center;
  font-size: 14px;
  color: var(--text-3);
  font-style: italic;
}

/* ── Download CTA ───────────────────────────────────────── */
#download { padding: 80px 0 120px; }
.cta-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 80px 48px;
  text-align: center;
  overflow: hidden;
}
.cta-glow-orb {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,.25) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: blobFloat 6s ease-in-out infinite;
}
.cta-card .section-label { margin-bottom: 16px; }
.cta-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.1;
  color: var(--text-1);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.cta-sub {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.cta-meta {
  font-size: 13px;
  color: var(--text-3);
  position: relative;
  z-index: 1;
}

/* ── Footer ─────────────────────────────────────────────── */
#site-footer { border-top: 1px solid var(--border); padding-top: 60px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 260px; }
.footer-tagline { font-size: 14px; color: var(--text-3); margin-top: 12px; line-height: 1.5; }
.footer-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}
.footer-links-group { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-hd { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--text-2); transition: color var(--transition); }
.footer-col a:hover { color: var(--text-1); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-3);
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-bottom-right a {
  color: var(--text-3);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-bottom-right a:hover {
  color: var(--text-1);
}
.footer-sep { opacity: .35; }


/* ── Scroll Reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .feat-row { grid-template-columns: repeat(2, 1fr); }
  .compat-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .nav-pill-group { display: none; }
  #hero { padding: 120px 24px 60px; }
  .sync-demo { flex-direction: column; gap: 16px; }
  .waveform-connector { flex-direction: row; width: 100%; justify-content: center; }
  .wave-bars { height: 32px; }
  .player-card { width: 100%; max-width: 300px; }
  .float-a, .float-b { animation: none; }
  .feat-row { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; align-items: center; gap: 40px; }
  .step-connector { display: none; }
  .compat-grid { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .cta-card { padding: 48px 24px; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links-group { gap: 40px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 42px; }
  .hero-cta-group { flex-direction: column; }
  .compat-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-stats { flex-direction: column; }
  .pstat-div { width: 100%; height: 1px; align-self: auto; }
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.2); }

/* ── Selection ──────────────────────────────────────────── */
::selection { background: rgba(124,58,237,.35); color: #fff; }

/* ── Focus ──────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 2px; border-radius: 4px; }
