/* ============================================================
   Phone Party – Premium Dark UI Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f1a;
  --bg-tertiary: #13131f;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --accent-primary: #7c3aed;
  --accent-secondary: #06b6d4;
  --accent-neon: #a855f7;
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #52525b;
  --glow-violet: rgba(124, 58, 237, 0.4);
  --glow-cyan: rgba(6, 182, 212, 0.4);
  --glow-neon: rgba(168, 85, 247, 0.5);
  --glow-pink: rgba(236, 72, 153, 0.4);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(124, 58, 237, 0.4);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow-violet: 0 0 30px var(--glow-violet), 0 0 60px rgba(124, 58, 237, 0.15);
  --shadow-glow-cyan: 0 0 30px var(--glow-cyan), 0 0 60px rgba(6, 182, 212, 0.15);
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-neon {
  background: linear-gradient(135deg, var(--accent-neon), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-hot {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   Icon Wrapper – Reusable Premium Icon Component
   ============================================================ */
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.22) 0%, rgba(6,182,212,0.08) 100%);
  border: 1px solid rgba(124,58,237,0.28);
  box-shadow: 0 0 18px rgba(124,58,237,0.22), 0 2px 8px rgba(0,0,0,0.35);
  flex-shrink: 0;
  transition: box-shadow var(--transition-base), background var(--transition-base);
}

.icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: #a855f7;
  stroke-width: 1.75;
  fill: none;
  display: block;
}

/* Small variant – 44px container */
.icon-wrap--sm {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.icon-wrap--sm svg {
  width: 20px;
  height: 20px;
}

/* Medium variant – 48px container */
.icon-wrap--md {
  width: 48px;
  height: 48px;
  border-radius: 13px;
}

.icon-wrap--md svg {
  width: 22px;
  height: 22px;
}

/* Large variant – 60px container */
.icon-wrap--lg {
  width: 60px;
  height: 60px;
  border-radius: 16px;
}

.icon-wrap--lg svg {
  width: 28px;
  height: 28px;
}

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.05);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-neon));
  color: #fff;
  box-shadow: 0 0 20px var(--glow-violet), 0 4px 16px rgba(0,0,0,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--glow-neon), 0 8px 32px rgba(0,0,0,0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-secondary);
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.btn-outline:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--accent-secondary);
  box-shadow: 0 0 20px var(--glow-cyan);
  transform: translateY(-2px);
}

.btn-glow {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-neon));
  color: #fff;
  box-shadow: 0 0 30px var(--glow-neon), 0 0 60px rgba(168, 85, 247, 0.2);
  animation: pulse-glow 2s ease-in-out infinite;
}

.btn-glow:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 50px var(--glow-neon), 0 0 100px rgba(168, 85, 247, 0.3);
  animation: none;
}

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 40px; font-size: 1.0625rem; }

/* Icon sizing inside buttons */
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-sm svg { width: 16px; height: 16px; }
.btn-lg svg { width: 20px; height: 20px; }

/* ============================================================
   Navigation
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition-base), backdrop-filter var(--transition-base);
}

.nav {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: stretch;
}

.site-header.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 32px;
  width: auto;
  max-width: 140px;
  display: block;
  object-fit: contain;
  filter: brightness(1.05);
  transition: filter var(--transition-fast);
}

.nav-logo-img--footer {
  height: 32px;
  opacity: 0.9;
}

.nav-logo:hover .nav-logo-img {
  filter: brightness(1.2) drop-shadow(0 0 8px rgba(124, 58, 237, 0.6));
}

/* Hero brand logo (shown above badge in hero section) */
.hero-brand-logo {
  margin-bottom: 20px;
}

.hero-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(124, 58, 237, 0.5));
}

@media (max-width: 768px) {
  .nav-logo-img { height: 26px; max-width: 120px; }
}

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

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-base);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: var(--accent-neon);
  transition: transform var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.mobile-menu a:hover { color: var(--text-primary); }

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 60px) 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: blob-move 12s ease-in-out infinite;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  bottom: -150px;
  right: -150px;
  animation-delay: -4s;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #a855f7, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -8s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-neon);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-headline {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}

.hero-cta-sub {
  margin: 0 0 40px;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: left;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-stat .stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Hero platform compatibility strip */
.hero-platforms {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-platforms-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.hero-platform-logo {
  display: flex;
  align-items: center;
  opacity: 0.75;
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
  cursor: pointer;
}

.hero-platform-logo:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* ============================================================
   Phone Mockups
   ============================================================ */
.hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phones-container {
  position: relative;
  width: 380px;
  height: 480px;
}

.phone-mockup {
  position: absolute;
  width: 126px;
  aspect-ratio: 9 / 19.5;
  border-radius: 28px;
  background: #0d0d1a;
  border: 2px solid rgba(255, 255, 255, 0.12);
  overflow: visible;          /* allow side buttons to protrude */
  box-shadow:
    0 30px 80px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Dynamic Island notch */
.phone-island {
  width: 42px;
  height: 12px;
  background: #000;
  border-radius: 20px;
  margin: 8px auto 6px;
}

.phone-mockup .phone-screen {
  padding: 0 8px 8px;
  min-height: 200px;
  background: linear-gradient(160deg, #12122a 0%, #080814 100%);
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 27px;
}

/* ---- Side hardware buttons ---- */
.phone-side-btn {
  position: absolute;
  background: linear-gradient(180deg, #252040 0%, #151028 100%);
  border-radius: 2px;
  box-shadow: 1px 0 3px rgba(0,0,0,0.5);
  z-index: 4;
}
.phone-side-btn--vol-up   { width: 3px; height: 22px; top: 72px; left: -3px; }
.phone-side-btn--vol-down { width: 3px; height: 22px; top: 100px; left: -3px; }
.phone-side-btn--power    { width: 3px; height: 32px; top: 88px; right: -3px; }

.phone-mockup .phone-notch {
  width: 36px;
  height: 6px;
  background: #0a0a0f;
  border-radius: 3px;
  margin: 0 auto 10px;
}

.phone-mockup .phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 7px;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding: 0 2px;
}

/* Status bar sub-elements */
.pst-time { font-weight: 700; letter-spacing: 0.02em; }
.pst-icons { font-size: 5px; letter-spacing: 1px; }

/* Phone app content area */
.phone-app {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}

.pa-header {
  font-size: 7px;
  font-weight: 700;
  color: var(--accent-neon);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

/* Party join screen */
.pa-party-join {
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 8px;
  padding: 6px;
  text-align: center;
}

.pa-code-label {
  font-size: 6px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.pa-code-val {
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.1em;
  font-family: monospace;
}

.pa-avatars {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-top: 5px;
}

.pa-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6px;
  font-weight: 700;
  color: #fff;
}

.pa-avatar--xs {
  width: 12px;
  height: 12px;
  font-size: 5px;
}

/* Sync status row */
.pa-sync-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 6px;
  color: #10b981;
  margin-top: 4px;
}

.pa-sync-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* Now-playing / album area */
.pa-album {
  background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(6,182,212,0.15));
  border-radius: 8px;
  padding: 8px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.07);
}

.pa-album-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pa-album-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 28px;
}

.pa-album-bars .mini-bar {
  width: 3px;
}

.pa-song-title {
  font-size: 7px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pa-song-artist {
  font-size: 6px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.pa-progress-bar {
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  overflow: hidden;
  margin: 3px 0;
}

.pa-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-neon));
  border-radius: 1px;
}

.pa-controls {
  font-size: 9px;
  text-align: center;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.pa-synced-tag {
  font-size: 6px;
  color: var(--accent-neon);
  text-align: center;
  background: rgba(168,85,247,0.1);
  border-radius: 4px;
  padding: 2px 4px;
  margin-top: auto;
}

/* Chat view */
.pa-chat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.pa-chat-row {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.pa-chat-right {
  justify-content: flex-end;
}

.pa-bubble {
  background: rgba(255,255,255,0.08);
  border-radius: 8px 8px 8px 2px;
  padding: 3px 5px;
  font-size: 6px;
  color: #fff;
  max-width: 70%;
  line-height: 1.3;
}

.pa-bubble--self {
  background: rgba(124,58,237,0.4);
  border-radius: 8px 8px 2px 8px;
}

.pa-emoji-bar {
  font-size: 9px;
  text-align: center;
  margin-top: auto;
  padding: 3px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  letter-spacing: 2px;
}

.phone-screen-content {
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(6,182,212,0.1));
  border-radius: 12px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.07);
}

.phone-screen-content .mini-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
  margin-bottom: 8px;
}

.mini-bar {
  width: 3px;
  background: linear-gradient(to top, var(--accent-primary), var(--accent-secondary));
  border-radius: 2px;
  animation: mini-wave 0.8s ease-in-out infinite;
}

.mini-bar:nth-child(2) { animation-delay: 0.1s; }
.mini-bar:nth-child(3) { animation-delay: 0.2s; }
.mini-bar:nth-child(4) { animation-delay: 0.15s; }
.mini-bar:nth-child(5) { animation-delay: 0.05s; }
.mini-bar:nth-child(6) { animation-delay: 0.25s; }

.phone-screen-content .mini-label {
  font-size: 7px;
  color: var(--text-secondary);
  font-weight: 500;
}

.phone-mockup-1 {
  left: 16px;
  top: 55px;
  transform: rotate(-8deg) perspective(600px) rotateY(6deg);
  z-index: 2;
  opacity: 0;
  /* appear: 0.7s duration + 0.2s delay = ends at 0.9s; float starts at 0.9s delay */
  animation: phone-appear 0.7s 0.2s ease forwards, float-phone-1 4s 0.9s ease-in-out infinite;
}

.phone-mockup-2 {
  left: 50%;
  transform: translateX(-50%);
  top: 14px;
  z-index: 3;
  width: 142px;
  box-shadow:
    0 0 50px rgba(124,58,237,0.45),
    0 40px 80px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.15);
  border-color: rgba(168, 85, 247, 0.5);
  opacity: 0;
  /* appear: 0.7s duration + 0s delay = ends at 0.7s; float starts at 0.7s delay */
  animation: phone-appear-center 0.7s 0s ease forwards, float-phone-2 4.5s 0.7s ease-in-out infinite;
}

.phone-mockup-3 {
  right: 16px;
  top: 55px;
  transform: rotate(8deg) perspective(600px) rotateY(-6deg);
  z-index: 2;
  opacity: 0;
  /* appear: 0.7s duration + 0.35s delay = ends at 1.05s; float starts at 1.05s delay */
  animation: phone-appear 0.7s 0.35s ease forwards, float-phone-3 5s 1.05s ease-in-out infinite;
}

.phone-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  background: var(--accent-primary);
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.4;
}

/* ============================================================
   Soundwave
   ============================================================ */
.soundwave-container {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 60px;
  margin: 20px 0;
}

.wave-bar {
  width: 4px;
  background: linear-gradient(to top, var(--accent-primary), var(--accent-secondary));
  border-radius: 2px;
  animation: wave-dance 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1)  { animation-delay: 0s;    height: 20px; }
.wave-bar:nth-child(2)  { animation-delay: 0.1s;  height: 30px; }
.wave-bar:nth-child(3)  { animation-delay: 0.2s;  height: 45px; }
.wave-bar:nth-child(4)  { animation-delay: 0.15s; height: 55px; }
.wave-bar:nth-child(5)  { animation-delay: 0.05s; height: 40px; }
.wave-bar:nth-child(6)  { animation-delay: 0.25s; height: 60px; }
.wave-bar:nth-child(7)  { animation-delay: 0.1s;  height: 50px; }
.wave-bar:nth-child(8)  { animation-delay: 0.3s;  height: 35px; }
.wave-bar:nth-child(9)  { animation-delay: 0.2s;  height: 45px; }
.wave-bar:nth-child(10) { animation-delay: 0.05s; height: 30px; }
.wave-bar:nth-child(11) { animation-delay: 0.15s; height: 20px; }
.wave-bar:nth-child(12) { animation-delay: 0.35s; height: 40px; }
.wave-bar:nth-child(13) { animation-delay: 0.1s;  height: 50px; }
.wave-bar:nth-child(14) { animation-delay: 0.25s; height: 35px; }
.wave-bar:nth-child(15) { animation-delay: 0.0s;  height: 25px; }

/* ============================================================
   Floating UI Cards
   ============================================================ */
.floating-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-card {
  position: absolute;
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  white-space: nowrap;
  animation: float-card-anim 5s ease-in-out infinite;
}

.float-card .fc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.float-card .fc-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-neon);
  stroke-width: 2;
  fill: none;
  display: block;
}

.float-card-1 {
  top: 20px;
  left: -40px;
  animation-delay: 0s;
  border-color: rgba(168, 85, 247, 0.3);
}

.float-card-2 {
  bottom: 120px;
  left: -60px;
  animation-delay: -1.5s;
  border-color: rgba(6, 182, 212, 0.3);
}

.float-card-3 {
  top: 60px;
  right: -50px;
  animation-delay: -3s;
  border-color: rgba(16, 185, 129, 0.3);
}

.float-card .fc-label { color: var(--text-secondary); font-size: 0.6875rem; }
.float-card .fc-value { color: var(--text-primary); font-weight: 600; }

/* ============================================================
   Demo Section
   ============================================================ */
.demo-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.demo-container {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.demo-dots {
  display: flex;
  gap: 6px;
}

.demo-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.demo-dots span:nth-child(1) { background: #ff5f56; }
.demo-dots span:nth-child(2) { background: #ffbd2e; }
.demo-dots span:nth-child(3) { background: #27c93f; }

.demo-title-bar {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.demo-steps {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.demo-step-tab {
  flex: 1;
  min-width: 120px;
  padding: 16px 20px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.demo-step-tab.active {
  color: var(--accent-neon);
  border-bottom-color: var(--accent-neon);
  background: rgba(168, 85, 247, 0.05);
}

.demo-step-tab.completed {
  color: var(--accent-green);
}

.demo-step-tab .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-size: 0.6875rem;
  margin-right: 6px;
}

.demo-step-tab.active .step-num {
  background: var(--accent-neon);
  color: #fff;
}

.demo-step-tab.completed .step-num {
  background: var(--accent-green);
  color: #fff;
}

/* Step caption bar */
.demo-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: rgba(168, 85, 247, 0.07);
  border-bottom: 1px solid rgba(168, 85, 247, 0.18);
  min-height: 50px;
  transition: background 0.4s ease;
}

.demo-caption-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
  line-height: 1;
}

.demo-caption-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-neon);
  line-height: 1.4;
}

/* Reaction button pulse animation (used during demo step 6) */
.reaction-btn--pulse {
  transform: scale(1.06);
}

.demo-content {
  padding: 40px;
  min-height: 360px;
}

.demo-panel {
  display: none;
  animation: fade-up 0.4s ease;
}

.demo-panel.active { display: block; }

/* Step 1 – Create Party */
.party-code-display {
  text-align: center;
  padding: 32px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-lg);
  margin: 24px 0;
}

.party-code {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-neon);
  letter-spacing: 0.15em;
  text-shadow: 0 0 30px var(--glow-neon);
  cursor: pointer;
  transition: all var(--transition-base);
}

.party-code:hover {
  text-shadow: 0 0 50px var(--glow-neon), 0 0 100px var(--glow-violet);
}

.party-code-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Step 2 – Phones Joining */
.phones-joining {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.join-counter {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.join-counter span {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.phone-join-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 400px;
}

.phone-join-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0) translateY(20px);
  transition: all 0.4s var(--transition-spring);
}

.phone-join-icon svg {
  width: 20px;
  height: 20px;
  stroke: #a855f7;
  stroke-width: 1.75;
  fill: none;
  display: block;
}

.phone-join-icon.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Step 3 – Upload */
.upload-area {
  border: 2px dashed rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin-bottom: 20px;
  transition: all var(--transition-base);
  background: rgba(124, 58, 237, 0.03);
}

.upload-area:hover {
  border-color: var(--accent-primary);
  background: rgba(124, 58, 237, 0.08);
}

.upload-progress {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin: 16px 0;
}

.upload-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 3px;
  width: 0;
  transition: width 0.5s ease;
}

.queue-list { display: flex; flex-direction: column; gap: 8px; }

.queue-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease;
}

.queue-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.queue-item.now-playing {
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(124, 58, 237, 0.08);
}

.queue-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.queue-item.now-playing .queue-num {
  background: var(--accent-primary);
  animation: pulse-glow 1.5s ease-in-out infinite;
}

/* Step 4 – Reactions */
.reaction-panel {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.reaction-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-spring);
  position: relative;
  overflow: visible;
}

.reaction-btn:hover {
  background: rgba(255,255,255,0.08);
  transform: scale(1.08);
}

.reaction-btn:active {
  transform: scale(0.95);
}

.reaction-emoji { font-size: 2.5rem; }
.reaction-count {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
  min-width: 30px;
  text-align: center;
}

.energy-display {
  text-align: center;
  margin-top: 32px;
}

.energy-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 500;
}

.energy-bar-outer {
  width: 100%;
  max-width: 400px;
  height: 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
  margin: 0 auto 8px;
}

.energy-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-pink), var(--accent-neon));
  border-radius: 6px;
  width: 0%;
  transition: width 0.5s ease;
  box-shadow: 0 0 15px var(--glow-neon);
}

.energy-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-neon);
}

/* Now Playing Bar */
.now-playing-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius-lg);
  margin-top: 24px;
}

.np-disc {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: spin-disc 3s linear infinite paused;
}

.np-disc svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  stroke-width: 1.75;
  fill: none;
  display: block;
}

.now-playing-bar.playing .np-disc { animation-play-state: running; }

.np-info { flex: 1; min-width: 0; }
.np-title {
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.np-artist { font-size: 0.8125rem; color: var(--text-secondary); }

.np-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 28px;
}

.np-bar {
  width: 3px;
  background: var(--accent-neon);
  border-radius: 2px;
  animation: mini-wave 0.7s ease-in-out infinite;
}

/* Now-playing disc YouTube variant */
.np-disc--yt {
  border-radius: 8px;
}

/* ============================================================
   Demo Section – YouTube Party Components
   ============================================================ */

/* Shared panel heading / sub */
.demo-panel-title { margin-bottom: 6px; }
.demo-panel-sub {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

/* --- Panel 1: YouTube Search --- */
.yt-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.yt-search-bar:focus-within {
  border-color: var(--accent-neon);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.15);
}

.yt-icon svg {
  width: 20px;
  height: 20px;
  stroke: #ff0000;
  fill: #ff0000;
}

.yt-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-family: inherit;
  caret-color: var(--accent-neon);
}

.yt-search-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
}

.yt-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yt-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  opacity: 0;
  transform: translateX(-16px);
}

.yt-result-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.yt-result-item.selected {
  border-color: var(--accent-neon);
  background: rgba(168,85,247,0.1);
}

/* Shared thumbnail colour variants */
.yt-thumb {
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-thumb--red    { background: linear-gradient(135deg, #ff4444, #cc0000); }
.yt-thumb--purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.yt-thumb--cyan   { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.yt-thumb--orange { background: linear-gradient(135deg, #f97316, #ea580c); }

.yt-result-item .yt-thumb {
  width: 72px;
  height: 48px;
}

.yt-thumb svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255,255,255,0.85);
  fill: rgba(255,255,255,0.85);
}

.yt-result-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 4px;
  line-height: 1.3;
}

.yt-result-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Panel 2: Selected video card --- */
.yt-video-card {
  display: flex;
  gap: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
}

.yt-video-card.selected-video {
  border-color: var(--accent-neon);
  background: rgba(168,85,247,0.08);
  box-shadow: 0 0 24px rgba(168,85,247,0.18);
}

.yt-video-thumb {
  width: 130px;
  height: 80px;
  border-radius: 10px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-play-big svg {
  width: 36px;
  height: 36px;
  stroke: rgba(255,255,255,0.9);
  fill: rgba(255,255,255,0.18);
}

.yt-duration-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.625rem;
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.yt-video-details { display: flex; flex-direction: column; }

.yt-video-title {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 5px;
  line-height: 1.35;
}

.yt-video-channel {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 3px;
}

.yt-video-stats {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.yt-selected-badge {
  text-align: center;
  font-size: 0.875rem;
  color: var(--accent-green);
  font-weight: 600;
}

/* --- Panel 3: Party start status --- */
.party-start-status {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 4px;
}

.pss-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.pss-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.pss-value {
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: right;
}

.pss-highlight { color: var(--accent-neon); }

/* --- Panel 5: Sync phones --- */
.sync-phones {
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: flex-end;
  margin-top: 8px;
}

.sync-phones .phone-mockup {
  width: 118px;
  aspect-ratio: 9 / 19.5;
  background: #0d0d1a;
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 0;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.sync-phones .phone-mockup--center {
  transform: scale(1.1) translateY(-6px);
  border-color: var(--accent-neon);
  box-shadow:
    0 0 40px rgba(168,85,247,0.4),
    0 24px 60px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.sync-phones .phone-notch {
  width: 28px;
  height: 5px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  margin: 7px auto 6px;
}

.sync-phones .phone-screen {
  background: #0d0d1a;
  border-radius: 0;
  padding: 7px 7px 4px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Staggered entrance for sync phones */
.sp-phone-enter {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.sp-phone-enter.visible {
  opacity: 1;
  transform: translateY(0);
}

.sp-delay-1 { transition-delay: 0.1s; }
.sp-delay-2 { transition-delay: 0s; }
.sp-delay-3 { transition-delay: 0.2s; }

/* Video thumbnail in sync phones */
.ps-video-thumb {
  width: 100%;
  height: 58px;
  border-radius: 8px;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #1a0533, #0d1a33, #0a1a0d);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.ps-video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.4), rgba(6,182,212,0.2), rgba(16,185,129,0.1));
}

.ps-video-thumb--hero {
  height: 68px;
  background: linear-gradient(135deg, #220a44, #0d1a44, #0a220d);
}

.ps-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.ps-play-icon {
  width: 18px;
  height: 18px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  color: #fff;
  padding-left: 1px;
}

.ps-play-icon--lg {
  width: 22px;
  height: 22px;
  font-size: 8px;
  background: rgba(255,255,255,0.3);
}

.ps-artist {
  font-size: 0.5rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ps-thumb {
  width: 100%;
  height: 52px;
  border-radius: 7px;
  margin-bottom: 6px;
}

.ps-thumb--red { background: linear-gradient(135deg, #ff4444, #cc0000); }

.ps-title {
  font-size: 0.5625rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ps-timestamp {
  font-size: 0.5625rem;
  color: var(--accent-neon);
  text-align: center;
  font-family: monospace;
  margin-bottom: 5px;
  letter-spacing: 0.03em;
}

.ps-progress {
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.ps-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-neon));
  border-radius: 2px;
  transition: width 0.6s ease;
}

.sync-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: auto;
  padding-top: 5px;
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sync-badge--active {
  color: var(--accent-neon);
  background: rgba(168,85,247,0.12);
  border-radius: 10px;
  padding: 2px 6px;
  margin-left: auto;
  margin-right: auto;
}

.sync-badge--active svg { stroke: var(--accent-neon); }

.sync-badge svg {
  width: 9px;
  height: 9px;
  stroke: var(--accent-green);
  stroke-width: 2;
}

/* --- Panel 6: React & Chat --- */
.react-chat-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.react-chat-layout .reaction-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  justify-items: stretch;
}

.react-chat-layout .reaction-btn {
  padding: 14px 10px;
  flex-direction: row;
  gap: 6px;
  justify-content: center;
}

.react-chat-layout .reaction-emoji { font-size: 1.5rem; }

.react-chat-layout .reaction-count {
  font-size: 0.9375rem;
  min-width: auto;
}

.chat-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
  overflow: hidden;
}

.chat-bubble {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.chat-bubble.visible {
  opacity: 1;
  transform: translateY(0);
}

.chat-bubble--right { flex-direction: row-reverse; }

.chat-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
}

.chat-avatar--a { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.chat-avatar--m { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.chat-avatar--s { background: linear-gradient(135deg, #f97316, #ea580c); }
.chat-avatar--k { background: linear-gradient(135deg, #ec4899, #db2777); }
.chat-avatar--j { background: linear-gradient(135deg, #10b981, #059669); }

.chat-msg {
  padding: 7px 11px;
  font-size: 0.8125rem;
  line-height: 1.4;
  max-width: 160px;
}

.chat-bubble--left .chat-msg {
  background: rgba(255,255,255,0.07);
  border-radius: 4px 14px 14px 14px;
  color: var(--text-primary);
}

.chat-bubble--right .chat-msg {
  background: rgba(124,58,237,0.28);
  border-radius: 14px 4px 14px 14px;
  color: var(--text-primary);
}

/* --- Panel 7: YouTube queue thumbnail --- */
.yt-queue-thumb {
  width: 44px;
  height: 30px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ============================================================
   How It Works
   ============================================================ */
.how-it-works {
  background: var(--bg-primary);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
  z-index: 0;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid rgba(124, 58, 237, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-neon);
  margin-bottom: 24px;
  position: relative;
  box-shadow: 0 0 20px var(--glow-violet);
  transition: all var(--transition-base);
}

.step-card:hover .step-number {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-neon));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow-violet);
  transform: scale(1.1);
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  display: block;
}
.step-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.step-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   Features Grid
   ============================================================ */
.features-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition-base);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.08), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px var(--glow-violet);
  background: var(--bg-card-hover);
}

.feature-card:hover::before { opacity: 1; }

.feature-card .icon-wrap {
  margin-bottom: 20px;
}

.feature-card:hover .icon-wrap {
  box-shadow: 0 0 28px rgba(124,58,237,0.4), 0 2px 12px rgba(0,0,0,0.4);
  background: linear-gradient(135deg, rgba(124,58,237,0.32) 0%, rgba(6,182,212,0.14) 100%);
}

.feature-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.badge-pro { background: rgba(124,58,237,0.2); color: var(--accent-neon); border: 1px solid rgba(124,58,237,0.3); }
.badge-free { background: rgba(16,185,129,0.15); color: var(--accent-green); border: 1px solid rgba(16,185,129,0.3); }
.badge-new { background: rgba(6,182,212,0.15); color: var(--accent-secondary); border: 1px solid rgba(6,182,212,0.3); }

/* ============================================================
   Music Upload Section
   ============================================================ */
.music-section {
  background: var(--bg-primary);
}

.music-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.music-mockup {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.mockup-header {
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-header-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.mockup-body { padding: 20px; }

.upload-zone {
  border: 2px dashed rgba(124,58,237,0.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin-bottom: 20px;
  background: rgba(124,58,237,0.03);
}

.upload-zone .uz-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(6,182,212,0.08));
  border: 1px solid rgba(124,58,237,0.25);
}
.upload-zone .uz-icon svg {
  width: 26px;
  height: 26px;
  stroke: #a855f7;
  stroke-width: 1.75;
  fill: none;
  display: block;
}
.upload-zone .uz-title { font-weight: 600; margin-bottom: 6px; }
.upload-zone .uz-sub { font-size: 0.8125rem; color: var(--text-muted); }

.queue-preview { display: flex; flex-direction: column; gap: 8px; }

.qp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  font-size: 0.875rem;
}

.qp-item.active { border-color: rgba(124,58,237,0.3); background: rgba(124,58,237,0.06); }
.qp-num { font-size: 0.75rem; color: var(--text-muted); width: 20px; }
.qp-title { flex: 1; font-weight: 500; }
.qp-dur { font-size: 0.75rem; color: var(--text-muted); }

.music-features-list { display: flex; flex-direction: column; gap: 20px; }

.mf-item { display: flex; gap: 16px; align-items: flex-start; }
.mf-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(6,182,212,0.08));
  border: 1px solid rgba(124,58,237,0.25);
  box-shadow: 0 0 14px rgba(124,58,237,0.18), 0 2px 6px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mf-icon svg {
  width: 22px;
  height: 22px;
  stroke: #a855f7;
  stroke-width: 1.75;
  fill: none;
  display: block;
}
.mf-title { font-weight: 600; margin-bottom: 4px; }
.mf-desc { font-size: 0.875rem; color: var(--text-secondary); }

/* ============================================================
   Streaming Providers
   ============================================================ */
.streaming-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.provider-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-base);
  cursor: default;
}

.provider-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.provider-logo {
  font-size: 3rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}

.provider-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.provider-desc { font-size: 0.875rem; color: var(--text-secondary); }
.provider-badge { margin-top: 12px; }

.provider-card.youtube:hover { border-color: rgba(255,0,0,0.3); }
.provider-card.spotify:hover { border-color: rgba(29,185,84,0.3); }
.provider-card.soundcloud:hover { border-color: rgba(255,87,34,0.3); }

.app-sync-box {
  background: rgba(6,182,212,0.06);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.app-sync-text h3 { font-size: 1.5rem; margin-bottom: 12px; }
.app-sync-text p { color: var(--text-secondary); line-height: 1.7; }

/* ============================================================
   Host / DJ Dashboard
   ============================================================ */
.dj-section {
  background: var(--bg-primary);
}

.dj-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.dj-dashboard {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.dj-dash-header {
  padding: 20px 24px;
  background: linear-gradient(90deg, rgba(124,58,237,0.15), rgba(6,182,212,0.08));
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dj-dash-title { font-weight: 700; font-size: 1rem; }
.live-badge {
  padding: 4px 10px;
  background: rgba(239,68,68,0.2);
  border: 1px solid rgba(239,68,68,0.4);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  color: #ef4444;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse-dot 1s ease-in-out infinite;
}

.dj-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.metric-box {
  padding: 20px;
  background: rgba(255,255,255,0.02);
  text-align: center;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.metric-label { font-size: 0.75rem; color: var(--text-muted); }

.dj-controls {
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ctrl-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
}

.ctrl-btn:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); }
.ctrl-btn.primary { background: var(--accent-primary); border-color: var(--accent-primary); color: #fff; }
.ctrl-btn.primary:hover { background: var(--accent-neon); box-shadow: 0 0 20px var(--glow-neon); }

.ctrl-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  flex-shrink: 0;
}

.dj-features-list { display: flex; flex-direction: column; gap: 20px; }

.dj-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.dj-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,58,237,0.22), rgba(168,85,247,0.1));
  border: 1px solid rgba(124,58,237,0.25);
  box-shadow: 0 0 12px rgba(124,58,237,0.16), 0 2px 6px rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dj-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: #a855f7;
  stroke-width: 1.75;
  fill: none;
  display: block;
}

.dj-feature-title { font-weight: 600; margin-bottom: 4px; }
.dj-feature-desc { font-size: 0.875rem; color: var(--text-secondary); }

/* ============================================================
   Guest Experience
   ============================================================ */
.guest-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.guest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.chat-mockup {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.chat-header {
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.chat-avatar svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  display: block;
}

.chat-title { font-weight: 600; font-size: 0.9375rem; }
.chat-subtitle { font-size: 0.75rem; color: var(--text-muted); }

.chat-messages { padding: 20px; display: flex; flex-direction: column; gap: 10px; }

.chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  font-weight: 700;
}

.msg-bubble {
  background: rgba(255,255,255,0.05);
  border-radius: 0 12px 12px 12px;
  padding: 8px 12px;
  font-size: 0.875rem;
  max-width: 220px;
}

.msg-name { font-size: 0.6875rem; color: var(--text-muted); margin-bottom: 3px; font-weight: 600; }

.chat-msg.self { flex-direction: row-reverse; }
.chat-msg.self .msg-bubble {
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 12px 0 12px 12px;
}

.quick-replies {
  padding: 12px 20px 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.qr-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  color: var(--accent-neon);
  cursor: pointer;
  transition: all var(--transition-base);
}

.qr-btn:hover {
  background: rgba(124,58,237,0.2);
  border-color: rgba(124,58,237,0.4);
}

.guest-features-list { display: flex; flex-direction: column; gap: 20px; }

/* ============================================================
   Pricing
   ============================================================ */
.pricing-section {
  background: var(--bg-primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  transition: all var(--transition-base);
  cursor: default;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.pricing-card.popular {
  border-color: rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.06);
  box-shadow: 0 0 40px rgba(124,58,237,0.15);
}

.pricing-card.popular:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 60px rgba(124,58,237,0.25), 0 30px 80px rgba(0,0,0,0.4);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-neon));
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 20px var(--glow-neon);
}

.plan-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
  display: flex;
  align-items: flex-start;
  gap: 2px;
}

.plan-price .currency {
  font-size: 1.5rem;
  margin-top: 8px;
  font-weight: 700;
}

.plan-price-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.plan-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

.plan-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--accent-green);
  stroke-width: 2.5;
  fill: none;
  display: block;
}

.pricing-card.popular .check-icon {
  background: rgba(124,58,237,0.15);
  border-color: rgba(124,58,237,0.3);
}

.pricing-card.popular .check-icon svg {
  stroke: var(--accent-neon);
}

/* ============================================================
   Add-ons
   ============================================================ */
.addons-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.addon-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition-base);
  cursor: default;
}

.addon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.3);
  background: var(--bg-card-hover);
  box-shadow: 0 0 30px var(--glow-violet);
}

.addon-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(6,182,212,0.08));
  border: 1px solid rgba(124,58,237,0.25);
  box-shadow: 0 0 16px rgba(124,58,237,0.2), 0 2px 8px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.addon-icon svg {
  width: 24px;
  height: 24px;
  stroke: #a855f7;
  stroke-width: 1.75;
  fill: none;
  display: block;
}
.addon-name { font-weight: 700; margin-bottom: 8px; }
.addon-desc { font-size: 0.8125rem; color: var(--text-secondary); margin-bottom: 16px; }
.addon-price { font-family: var(--font-display); font-weight: 700; color: var(--accent-neon); }

/* ============================================================
   Social Energy
   ============================================================ */
.social-section {
  background: var(--bg-primary);
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.energy-meter-visual {
  text-align: center;
  padding: 40px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
}

.big-energy-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.energy-ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--accent-primary) 0%,
    var(--accent-pink) 40%,
    var(--accent-neon) 75%,
    rgba(255,255,255,0.05) 75%
  );
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.energy-ring::before {
  content: '';
  position: absolute;
  inset: 16px;
  background: var(--bg-primary);
  border-radius: 50%;
}

.energy-ring-value {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
}

.reactions-showcase {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.react-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
}

/* ============================================================
   Referrals
   ============================================================ */
.referral-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.referral-box {
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(6,182,212,0.06));
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.referral-box h2 { font-size: 2.25rem; margin-bottom: 16px; }
.referral-box p { font-size: 1.0625rem; color: var(--text-secondary); margin-bottom: 36px; }

.share-link-display {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 480px;
  margin: 0 auto 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.share-link-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 20px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  outline: none;
}

.share-link-btn {
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-neon));
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.share-link-btn:hover { opacity: 0.9; }

.referral-rewards {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.reward-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.reward-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(6,182,212,0.08));
  border: 1px solid rgba(124,58,237,0.25);
  box-shadow: 0 0 14px rgba(124,58,237,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.reward-icon svg {
  width: 22px;
  height: 22px;
  stroke: #a855f7;
  stroke-width: 1.75;
  fill: none;
  display: block;
}
.reward-label { font-size: 0.875rem; color: var(--text-secondary); }
.reward-value { font-weight: 700; color: var(--accent-neon); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  background: var(--bg-primary);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item.open {
  border-color: rgba(124,58,237,0.3);
  background: rgba(124,58,237,0.04);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  background: transparent;
  border: none;
  gap: 16px;
  transition: color var(--transition-base);
}

.faq-question:hover { color: var(--accent-neon); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
  transition: all var(--transition-base);
  color: var(--text-muted);
}

.faq-item.open .faq-icon {
  background: rgba(124,58,237,0.2);
  color: var(--accent-neon);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);
}

.faq-item.open .faq-answer {
  max-height: 500px;
  transition: max-height 0.6s ease-in-out;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.final-cta::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.2), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 16px;
  position: relative;
}

.cta-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 40px;
  position: relative;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-base);
  cursor: pointer;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-secondary);
  stroke-width: 1.75;
  fill: none;
  display: block;
  transition: stroke var(--transition-base);
}

.social-icon:hover svg {
  stroke: var(--accent-neon);
}

.social-icon:hover {
  background: rgba(124,58,237,0.15);
  border-color: rgba(124,58,237,0.3);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.footer-col ul li a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p { font-size: 0.875rem; color: var(--text-muted); }

/* ============================================================
   Toast Notification
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(15, 15, 26, 0.95);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px var(--glow-violet);
  font-size: 0.9375rem;
  font-weight: 500;
  animation: toast-in 0.3s ease;
  max-width: 340px;
}

.toast.out { animation: toast-out 0.3s ease forwards; }
.toast .toast-icon { font-size: 1.2rem; }

/* ============================================================
   Confetti
   ============================================================ */
.confetti-piece {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 10000;
  animation: confetti-fall linear forwards;
}

/* ============================================================
   Floating Emoji
   ============================================================ */
.floating-emoji {
  position: fixed;
  font-size: 2rem;
  pointer-events: none;
  z-index: 9998;
  animation: float-emoji 1.2s ease forwards;
}

/* ============================================================
   Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   Keyframe Animations
   ============================================================ */
@keyframes blob-move {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -40px) scale(1.1); }
  66%       { transform: translate(-20px, 20px) scale(0.9); }
}

/* 28px vertical offset: enough to feel like the phone rises into place */
@keyframes phone-appear {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes phone-appear-center {
  from { opacity: 0; transform: translateX(-50%) translateY(28px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes float-phone-1 {
  0%, 100% { transform: rotate(-8deg) perspective(600px) rotateY(6deg) translateY(0); }
  50%       { transform: rotate(-8deg) perspective(600px) rotateY(6deg) translateY(-16px); }
}

@keyframes float-phone-2 {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-20px); }
}

@keyframes float-phone-3 {
  0%, 100% { transform: rotate(8deg) perspective(600px) rotateY(-6deg) translateY(0); }
  50%       { transform: rotate(8deg) perspective(600px) rotateY(-6deg) translateY(-12px); }
}

@keyframes float-card-anim {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-10px) rotate(1deg); }
}

@keyframes wave-dance {
  0%, 100% { transform: scaleY(0.3); }
  50%       { transform: scaleY(1); }
}

@keyframes mini-wave {
  0%, 100% { transform: scaleY(0.4); }
  50%       { transform: scaleY(1); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--glow-neon); }
  50%       { box-shadow: 0 0 40px var(--glow-neon), 0 0 80px rgba(168,85,247,0.3); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

@keyframes spin-disc {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(40px); }
}

@keyframes confetti-fall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(80vh) rotate(720deg); opacity: 0; }
}

@keyframes float-emoji {
  0%   { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-120px) scale(1.4); opacity: 0; }
}

/* ============================================================
   Utility Classes
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-4 { gap: 16px; }

/* ============================================================
   Responsive – 768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-links,
  .nav-actions .btn { display: none; }
  .hamburger { display: flex; }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text { max-width: 100%; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta-sub { text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { height: 400px; }

  .phones-container { width: 300px; height: 380px; }
  .phone-mockup { width: 100px; }
  .phone-mockup-2 { width: 116px; }

  .steps-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .steps-container::before { display: none; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .music-grid { grid-template-columns: 1fr; }
  .providers-grid { grid-template-columns: 1fr; gap: 12px; }
  .app-sync-box { grid-template-columns: 1fr; }
  .dj-grid { grid-template-columns: 1fr; }
  .guest-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .demo-content { padding: 24px; }
  .demo-caption { padding: 12px 20px; font-size: 0.875rem; }
  .party-code { font-size: 2rem; }

  .yt-video-card { flex-direction: column; }
  .yt-video-thumb { width: 100%; height: 140px; }
  .react-chat-layout { grid-template-columns: 1fr; }
  .sync-phones { gap: 8px; }
  .sync-phones .phone-mockup { width: 90px; }

  .referral-box { padding: 40px 24px; }
}

/* ============================================================
   Responsive – 480px
   ============================================================ */
@media (max-width: 480px) {
  .section { padding: 72px 0; }

  .hero-headline { font-size: 2.25rem; }
  .hero-buttons { flex-direction: column; align-items: center; }

  .steps-container { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }

  .pricing-grid { max-width: 100%; }

  .hero-stats { flex-direction: column; align-items: center; gap: 12px; }

  .dj-metrics { grid-template-columns: 1fr 1fr; }

  .cta-buttons { flex-direction: column; align-items: center; }

  .share-link-display { flex-direction: column; border-radius: var(--radius-lg); }
  .share-link-input { text-align: center; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .share-link-btn { border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding: 14px; }

  .reaction-panel { gap: 10px; }
  .reaction-btn { padding: 14px 18px; }
  .reaction-emoji { font-size: 2rem; }
}
