/* ==========================================================================
   TokQueue Design System & Modern CSS (Desktop App Sales Edition)
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-main: #07090e;
  --bg-surface: #0e121b;
  --bg-surface-elevated: #151b27;
  --bg-surface-glass: rgba(18, 24, 38, 0.7);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(37, 244, 238, 0.4);

  --tok-cyan: #25f4ee;
  --tok-pink: #fe2c55;
  --tok-purple: #8a3ffc;
  --tok-gold: #ffb800;
  --tok-green: #10b981;

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-subtle: #6b7280;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow-cyan: 0 0 35px rgba(37, 244, 238, 0.25);
  --shadow-glow-pink: 0 0 35px rgba(254, 44, 85, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
}

/* Background Ambient Glows */
.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}

.bg-glow-cyan {
  top: -150px;
  left: 10%;
  background: radial-gradient(circle, var(--tok-cyan), transparent 70%);
}

.bg-glow-pink {
  top: 300px;
  right: 5%;
  background: radial-gradient(circle, var(--tok-pink), transparent 70%);
}

.bg-grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: 72px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  width: 24px;
  padding: 2px;
}

.logo-mark .bar {
  flex: 1;
  background: var(--tok-cyan);
  border-radius: 2px;
  animation: equalizerBounce 1.2s ease-in-out infinite alternate;
}

.logo-mark .bar-1 { height: 40%; animation-delay: 0.1s; }
.logo-mark .bar-2 { height: 100%; background: var(--tok-pink); animation-delay: 0.3s; }
.logo-mark .bar-3 { height: 70%; animation-delay: 0.2s; }
.logo-mark .bar-4 { height: 90%; background: var(--tok-pink); animation-delay: 0.4s; }

@keyframes equalizerBounce {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

.brand-gradient {
  background: linear-gradient(135deg, var(--tok-cyan), var(--tok-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-arrow {
  display: none;
}

.mobile-nav-cta {
  display: none;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: 0.2s ease;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #1bd2cd 0%, #fe2c55 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(254, 44, 85, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 244, 238, 0.4), 0 0 15px rgba(254, 44, 85, 0.3);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: #1c2434;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text-main);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-download-icon {
  width: 18px;
  height: 18px;
  color: var(--tok-cyan);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-block: 70px 50px;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(37, 244, 238, 0.08);
  border: 1px solid rgba(37, 244, 238, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.os-icon {
  font-size: 1rem;
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tok-cyan);
  letter-spacing: 0.03em;
}

.hero-title {
  font-size: clamp(2.3rem, 4.8vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 960px;
}

.gradient-text {
  background: linear-gradient(135deg, #25f4ee 20%, #ff5277 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 760px;
  margin-bottom: 32px;
}

.hero-subtitle strong {
  color: #ffffff;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

/* OS Supported Badges in Hero */
.os-supported-pills {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.os-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.os-badge-icon {
  width: 14px;
  height: 14px;
  color: var(--tok-cyan);
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 20px 32px;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

/* ==========================================================================
   Desktop Window Frame Mockup
   ========================================================================== */
.desktop-window-frame {
  background: #0f1420;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(37, 244, 238, 0.12);
  overflow: hidden;
}

.window-titlebar {
  background: #141a29;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ctrl-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.ctrl-close { background: #ff5f56; }
.ctrl-min { background: #ffbd2e; }
.ctrl-max { background: #27c93f; }

.window-title {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.window-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--tok-green);
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   Interactive Simulator Section
   ========================================================================== */
.demo-section {
  padding-block: 60px 80px;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tok-cyan);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-inline: auto;
}

/* 3-Panel Cockpit */
.demo-cockpit {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.1fr;
  gap: 16px;
  padding: 16px;
  align-items: stretch;
}

.cockpit-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.card-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-pill {
  background: var(--tok-pink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.viewers-count {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Chat Feed */
.chat-feed {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 290px;
  overflow-y: auto;
  font-size: 0.85rem;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
}

.chat-user {
  font-weight: 700;
  font-size: 0.8rem;
}

.user-cyan { color: var(--tok-cyan); }
.user-pink { color: var(--tok-pink); }
.user-purple { color: #c084fc; }

.chat-text {
  color: var(--text-main);
  word-break: break-word;
}

.gift-msg {
  background: rgba(255, 184, 0, 0.08);
  border-left: 3px solid var(--tok-gold);
  border-radius: var(--radius-sm);
}

.gift-banner {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--tok-gold);
}

.gift-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.chat-simulator-actions {
  padding: 14px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
}

.input-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.input-wrap input {
  flex: 1;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: #fff;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
}

.input-wrap input:focus {
  border-color: var(--tok-cyan);
}

.quick-sim-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.btn-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-chip:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.chip-gold {
  color: #ffd166;
  border-color: rgba(255, 209, 102, 0.3);
}

.chip-gold:hover {
  background: rgba(255, 209, 102, 0.2);
}

.chip-rose {
  color: #ff708f;
  border-color: rgba(254, 44, 85, 0.3);
}

/* Panel 2: Queue Manager */
.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tok-green);
  box-shadow: 0 0 8px var(--tok-green);
}

.queue-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-counter {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(37, 244, 238, 0.15);
  color: var(--tok-cyan);
  border-radius: var(--radius-full);
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.now-playing-box {
  background: linear-gradient(145deg, rgba(37, 244, 238, 0.08), rgba(254, 44, 85, 0.08));
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px;
}

.np-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--tok-cyan);
  margin-bottom: 10px;
}

.mini-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.mini-equalizer span {
  width: 2px;
  background: var(--tok-cyan);
  border-radius: 1px;
  animation: miniEq 0.8s infinite alternate;
}

.mini-equalizer span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.mini-equalizer span:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.mini-equalizer span:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.mini-equalizer span:nth-child(4) { height: 80%; animation-delay: 0.4s; }

@keyframes miniEq {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

.np-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.np-cover {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: #1e2638;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.np-details {
  flex: 1;
  min-width: 0;
}

.np-title {
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-artist {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-requester {
  font-size: 0.72rem;
  color: var(--text-subtle);
  margin-top: 2px;
}

.np-requester span {
  color: var(--tok-cyan);
}

.progress-bar-container {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-top: 12px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, var(--tok-cyan), var(--tok-pink));
  border-radius: 3px;
  animation: progressPulse 10s linear infinite;
}

@keyframes progressPulse {
  0% { width: 10%; }
  100% { width: 95%; }
}

.queue-list-label {
  padding: 12px 16px 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-subtle);
  letter-spacing: 0.05em;
}

.queue-list {
  padding: 8px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  max-height: 250px;
  overflow-y: auto;
}

.queue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.queue-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.queue-item.priority-bump {
  border-left: 3px solid var(--tok-gold);
  background: rgba(255, 184, 0, 0.06);
}

.queue-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.queue-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-subtle);
  width: 18px;
}

.queue-song-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.queue-song-title {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-song-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.priority-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--tok-gold);
  background: rgba(255, 184, 0, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.queue-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-mini-play {
  background: rgba(37, 244, 238, 0.15);
  color: var(--tok-cyan);
  border: none;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.btn-mini-play:hover {
  background: var(--tok-cyan);
  color: #000;
}

.btn-mini-del {
  background: none;
  border: none;
  color: var(--text-subtle);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px;
}

.btn-mini-del:hover {
  color: var(--tok-pink);
}

/* Panel 3: OBS Overlay Output */
.theme-picker-mini select {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 4px 8px;
  font-size: 0.75rem;
  border-radius: 6px;
  font-family: inherit;
  outline: none;
}

.stream-screen-preview {
  position: relative;
  background: #000;
  height: 330px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.streamer-video-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #101625 0%, #060910 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.stream-creator-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stream-sim-notes {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.05);
  animation: floatNotes 4s ease-in-out infinite;
}

@keyframes floatNotes {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* OBS Overlay Widget */
.obs-overlay-widget {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.obs-overlay-widget.theme-cyber .overlay-glass {
  background: rgba(14, 18, 28, 0.85);
  border: 1px solid rgba(37, 244, 238, 0.4);
  box-shadow: 0 0 20px rgba(37, 244, 238, 0.25), 0 8px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.overlay-vinyl-disk {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #2a3142 20%, #111520 70%);
  border: 2px solid var(--tok-cyan);
  display: grid;
  place-items: center;
  animation: spinVinyl 3s linear infinite;
  box-shadow: 0 0 10px rgba(37, 244, 238, 0.3);
}

.vinyl-center {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--tok-pink);
}

@keyframes spinVinyl {
  100% { transform: rotate(360deg); }
}

.overlay-track-info {
  flex: 1;
}

.overlay-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--tok-pink);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}

.rec-dot {
  width: 6px;
  height: 6px;
  background: var(--tok-pink);
  border-radius: 50%;
  animation: pulseAnimation 1s infinite;
}

.overlay-song-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.overlay-artist-name {
  font-size: 0.78rem;
  color: var(--tok-cyan);
}

.overlay-requested-by {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.overlay-next-pill {
  margin-top: 8px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
}

.next-tag {
  font-weight: 800;
  color: var(--tok-cyan);
}

.next-song-text {
  color: #fff;
  white-space: nowrap;
}

.obs-overlay-widget.theme-minimal .overlay-glass {
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.obs-overlay-widget.theme-minimal .overlay-vinyl-disk {
  display: none;
}

.obs-overlay-widget.theme-minimal .overlay-next-pill {
  background: transparent;
  border: none;
  padding: 0 4px;
}

.obs-overlay-widget.theme-vinyl .overlay-glass {
  background: #0d1017;
  border: 2px solid #fe2c55;
  box-shadow: 0 0 25px rgba(254, 44, 85, 0.3);
  border-radius: var(--radius-lg);
}

.obs-overlay-widget.theme-vinyl .overlay-vinyl-disk {
  border-color: #fe2c55;
}

.overlay-copy-url {
  padding: 12px 16px;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
}

.url-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.url-input-group {
  display: flex;
  gap: 8px;
}

.url-input-group input {
  flex: 1;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--tok-cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 6px 10px;
  outline: none;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
  padding-block: 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 244, 238, 0.3);
}

.highlight-card {
  border: 1px solid rgba(255, 184, 0, 0.4);
  background: linear-gradient(160deg, rgba(255, 184, 0, 0.05) 0%, var(--bg-surface) 100%);
}

.highlight-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--tok-gold);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.icon-cyan { background: rgba(37, 244, 238, 0.1); color: var(--tok-cyan); }
.icon-pink { background: rgba(254, 44, 85, 0.1); color: var(--tok-pink); }
.icon-gold { background: rgba(255, 184, 0, 0.15); color: var(--tok-gold); }
.icon-green { background: rgba(16, 185, 129, 0.1); color: var(--tok-green); }
.icon-purple { background: rgba(138, 63, 252, 0.15); color: var(--tok-purple); }

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

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}

.feature-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.feature-points li::before {
  content: "•";
  color: var(--tok-cyan);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -0.2em;
}

/* ==========================================================================
   Downloads Section
   ========================================================================== */
.downloads-section {
  padding-block: 80px;
  background: rgba(0, 0, 0, 0.25);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin-inline: auto;
}

.download-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 244, 238, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.download-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.download-icon-box svg {
  width: 32px;
  height: 32px;
  color: var(--tok-cyan);
}

.download-platform {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.download-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--tok-cyan);
  margin-bottom: 12px;
}

.download-specs {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex: 1;
}

.download-note {
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-top: 12px;
}

/* ==========================================================================
   Pricing Section (Monthly / Annual Toggle)
   ========================================================================== */
.pricing-section {
  padding-block: 80px;
}

.pricing-controls-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.control-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px 14px 6px 18px;
}

.control-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.segmented-control {
  display: inline-flex;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}

.switch-pill {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.switch-pill:hover {
  color: #fff;
}

.switch-pill.active {
  background: linear-gradient(135deg, var(--tok-cyan), #11b3ad);
  color: #05070a;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 244, 238, 0.35);
}

.pill-chip {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(254, 44, 85, 0.18);
  color: #fe2c55;
  transition: all 0.2s ease;
}

.switch-pill.active .pill-chip {
  background: rgba(0, 0, 0, 0.2);
  color: #05070a;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-bottom: 32px;
}

.three-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto 36px;
}

@media (min-width: 993px) {
  #cardMonthly { order: 1 !important; }
  #cardAnnual { order: 2 !important; }
  #cardLifetime { order: 3 !important; }
}

.plan-type-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  margin-bottom: 12px;
}

.plan-type-pill.pill-cyan {
  background: rgba(37, 244, 238, 0.15);
  color: var(--tok-cyan);
}

.plan-type-pill.pill-gold {
  background: rgba(255, 184, 0, 0.18);
  color: #ffb800;
}

.tier-highlight-chip {
  background: rgba(37, 244, 238, 0.08);
  border: 1px solid rgba(37, 244, 238, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.tier-highlight-chip.highlight-cyan {
  background: rgba(37, 244, 238, 0.12);
  border-color: rgba(37, 244, 238, 0.35);
}

.tier-highlight-chip.highlight-gold {
  background: rgba(255, 184, 0, 0.08);
  border-color: rgba(255, 184, 0, 0.3);
}

.tier-highlight-chip .chip-accent {
  color: var(--tok-cyan);
  font-weight: 800;
}

.tier-highlight-chip.highlight-gold .chip-accent {
  color: #ffb800;
}

.text-gold {
  color: #ffb800 !important;
}

.device-policy-banner {
  max-width: 1180px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(37, 244, 238, 0.06), rgba(254, 44, 85, 0.06));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.policy-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.policy-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.policy-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Lifetime Card Special Styling */
.lifetime-card {
  border: 2px solid rgba(255, 184, 0, 0.45);
  background: linear-gradient(180deg, rgba(255, 184, 0, 0.06) 0%, var(--bg-surface) 100%);
  box-shadow: 0 0 35px rgba(255, 184, 0, 0.12);
  position: relative;
}

.lifetime-card:hover {
  border-color: #ffb800;
  box-shadow: 0 0 45px rgba(255, 184, 0, 0.22);
}

.lifetime-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ffb800, #ff8c00);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(255, 184, 0, 0.35);
}

.btn-gold {
  border-color: rgba(255, 184, 0, 0.6);
  color: #ffb800;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffb800, #ff8c00);
  border-color: #ffb800;
  color: #000;
  box-shadow: 0 0 24px rgba(255, 184, 0, 0.4);
}

.price-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.featured-plan {
  border: 2px solid var(--tok-cyan);
  background: linear-gradient(180deg, rgba(37, 244, 238, 0.05) 0%, var(--bg-surface) 100%);
  box-shadow: 0 0 35px rgba(37, 244, 238, 0.15);
  transform: translateY(-8px);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--tok-cyan), var(--tok-pink));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.plan-target {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 40px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 4px;
}

.currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
}

.amount {
  font-size: 3.2rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #fff;
  line-height: 1;
}

.period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.annual-billed-note {
  font-size: 0.78rem;
  color: var(--tok-cyan);
  margin-bottom: 24px;
  font-weight: 600;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  flex: 1;
}

.plan-features strong {
  color: #fff;
}

/* Guarantee Box */
.guarantee-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 860px;
  margin-inline: auto;
}

.guarantee-badge {
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  font-size: 0.95rem;
}

.guarantee-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
  padding-block: 60px 80px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--tok-gold);
  font-size: 1.1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1e2638;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 0.92rem;
}

.author-handle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding-block: 80px;
}

.faq-container {
  max-width: 800px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(37, 244, 238, 0.3);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--tok-cyan);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--tok-pink);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner-section {
  padding-block: 40px 80px;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(37, 244, 238, 0.15) 0%, rgba(254, 44, 85, 0.15) 100%), var(--bg-surface);
  border: 1px solid rgba(37, 244, 238, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px 32px;
  text-align: center;
  box-shadow: 0 0 50px rgba(37, 244, 238, 0.1);
}

.cta-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: #05070a;
  padding-block: 60px 30px;
  font-size: 0.9rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.brand-col {
  gap: 16px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 320px;
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--tok-green);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tok-green);
  box-shadow: 0 0 6px var(--tok-green);
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.disclaimer {
  font-size: 0.72rem;
  color: var(--text-subtle);
  line-height: 1.5;
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  text-align: center;
  color: var(--text-subtle);
  font-size: 0.8rem;
}

/* ==========================================================================
   Checkout Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 36px 30px;
  position: relative;
  box-shadow: var(--shadow-md), 0 0 40px rgba(37, 244, 238, 0.15);
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
}

.modal-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.beta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input,
.form-group select {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--tok-cyan);
}

.input-prefix-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.input-prefix-wrap .prefix {
  padding-left: 12px;
  color: var(--tok-pink);
  font-weight: 700;
}

.input-prefix-wrap input {
  border: none;
  background: transparent;
  flex: 1;
}

.secure-checkout-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-top: 4px;
}

.modal-success {
  text-align: center;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.license-demo-key {
  background: #090c12;
  border: 1px dashed var(--tok-cyan);
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-block: 20px;
}

.license-demo-key code {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tok-cyan);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Mobile & Responsive Adaptations
   ========================================================================== */

/* --- Tablet & Below (<= 992px) --- */
@media (max-width: 992px) {
  .container {
    padding-inline: 20px;
  }

  .demo-cockpit {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .three-card-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto 32px;
  }

  .price-card.featured-plan {
    transform: none; /* Prevent misalignment in stacked card layout */
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* --- Mobile Landscape / Large Phones (<= 768px) --- */
@media (max-width: 768px) {
  .navbar {
    height: 64px;
  }

  /* Hide Desktop Download Button in Top Bar to avoid crowding */
  #navDownloadBtn {
    display: none;
  }

  #openCheckoutTopBtn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  /* Hamburger Toggle with Smooth Animated Transform */
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.25s ease;
  }

  .mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(37, 244, 238, 0.3);
  }

  .mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .mobile-toggle.active {
    background: rgba(37, 244, 238, 0.1);
    border-color: var(--tok-cyan);
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--tok-cyan);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--tok-cyan);
  }

  /* Full Screen Mobile Navigation Drawer */
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 9, 14, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 20px 40px;
    gap: 12px;
    z-index: 1000;
    overflow-y: auto;
    border-bottom: 1px solid var(--border-subtle);
    animation: mobileNavFade 0.25s ease-out;
  }

  .nav-links.active {
    display: flex;
  }

  @keyframes mobileNavFade {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
  }

  .nav-link:hover,
  .nav-link:active {
    background: rgba(37, 244, 238, 0.08);
    border-color: rgba(37, 244, 238, 0.4);
    color: var(--tok-cyan);
  }

  .nav-arrow {
    display: inline-block;
    color: var(--text-subtle);
    font-size: 1.1rem;
    transition: transform 0.2s ease;
  }

  .nav-link:hover .nav-arrow {
    transform: translateX(4px);
    color: var(--tok-cyan);
  }

  .mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
  }

  /* Hero Section */
  .hero-section {
    padding-block: 40px 36px;
  }

  .hero-badge {
    max-width: 100%;
    padding: 6px 14px;
    font-size: 0.78rem;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.2vw, 3rem);
    line-height: 1.18;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    gap: 12px;
    margin-bottom: 24px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .os-supported-pills {
    gap: 8px;
    margin-bottom: 32px;
  }

  .os-pill {
    padding: 5px 12px;
    font-size: 0.76rem;
  }

  .hero-stats {
    flex-direction: column;
    width: 100%;
    padding: 18px 20px;
    gap: 18px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .stat-number {
    font-size: 1.35rem;
  }

  .stat-label {
    font-size: 0.78rem;
    text-align: center;
  }

  /* Simulator Section */
  .demo-section {
    padding-block: 40px 60px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-tag {
    font-size: 0.78rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .section-desc {
    font-size: 0.92rem;
  }

  .desktop-window-frame {
    border-radius: var(--radius-md);
  }

  .window-titlebar {
    padding: 8px 12px;
  }

  .window-title {
    font-size: 0.72rem;
    max-width: 190px;
  }

  .demo-cockpit {
    padding: 10px;
    gap: 12px;
  }

  .chat-feed {
    max-height: 220px;
    padding: 12px;
  }

  .chat-simulator-actions {
    padding: 12px;
  }

  .input-wrap input {
    font-size: 16px; /* Prevents auto-zoom on iOS */
    padding: 10px 12px;
  }

  .quick-sim-buttons {
    gap: 6px;
  }

  .btn-chip {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .now-playing-box {
    padding: 14px;
  }

  .np-cover {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .np-title {
    font-size: 0.88rem;
  }

  .np-artist {
    font-size: 0.76rem;
  }

  .queue-list {
    max-height: 220px;
    padding: 8px 12px;
  }

  .queue-item {
    padding: 8px 10px;
  }

  .queue-song-title {
    font-size: 0.82rem;
  }

  .stream-screen-preview {
    height: 270px;
    padding: 14px;
  }

  .obs-overlay-widget.theme-cyber .overlay-glass {
    padding: 10px 12px;
    gap: 10px;
  }

  .overlay-vinyl-disk {
    width: 36px;
    height: 36px;
  }

  .overlay-song-name {
    font-size: 0.85rem;
  }

  .overlay-artist-name {
    font-size: 0.72rem;
  }

  .url-input-group input {
    font-size: 0.7rem;
    padding: 8px 10px;
  }

  /* Features Grid */
  .features-section {
    padding-block: 50px 60px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .feature-title {
    font-size: 1.15rem;
  }

  .feature-desc {
    font-size: 0.88rem;
  }

  .feature-points {
    font-size: 0.84rem;
  }

  /* Downloads Grid */
  .downloads-section {
    padding-block: 50px 60px;
  }

  .downloads-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
    gap: 20px;
  }

  .download-card {
    padding: 28px 20px;
  }

  .download-platform {
    font-size: 1.25rem;
  }

  /* Pricing Section & Dual Switches */
  .pricing-section {
    padding-block: 50px 60px;
  }

  .pricing-controls-wrapper {
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 440px;
    margin: 0 auto 32px;
  }

  .control-group {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-md);
    padding: 12px;
    gap: 8px;
    text-align: center;
  }

  .control-label {
    font-size: 0.78rem;
    text-align: center;
  }

  .segmented-control {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .switch-pill {
    width: 100%;
    justify-content: center;
    padding: 10px 8px;
    font-size: 0.8rem;
  }

  .pill-chip {
    font-size: 0.68rem;
    padding: 2px 5px;
  }

  .three-card-grid {
    max-width: 420px;
    gap: 24px;
  }

  .price-card {
    padding: 28px 20px;
  }

  .amount {
    font-size: 2.7rem;
  }

  .annual-billed-note {
    font-size: 0.76rem;
    margin-bottom: 18px;
  }

  .tier-highlight-chip {
    font-size: 0.78rem;
    padding: 7px 10px;
    margin-bottom: 16px;
  }

  .plan-features {
    font-size: 0.85rem;
    gap: 10px;
    margin-bottom: 24px;
  }

  .price-card .btn {
    min-height: 48px;
    font-size: 0.92rem;
  }

  .device-policy-banner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 18px;
  }

  .policy-icon {
    font-size: 1.8rem;
  }

  .guarantee-box {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 18px;
  }

  /* Testimonials Grid */
  .testimonials-section {
    padding-block: 40px 60px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    padding: 22px 18px;
  }

  .testimonial-quote {
    font-size: 0.9rem;
  }

  /* FAQ Accordion */
  .faq-section {
    padding-block: 50px 60px;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 0.95rem;
    min-height: 52px;
  }

  .faq-answer {
    padding: 0 18px 16px;
    font-size: 0.88rem;
  }

  /* CTA Banner */
  .cta-banner-section {
    padding-block: 30px 60px;
  }

  .cta-banner {
    padding: 36px 20px;
  }

  .cta-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .cta-desc {
    font-size: 0.92rem;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Footer */
  .footer {
    padding-block: 40px 24px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Checkout Modal */
  .modal-backdrop {
    padding: 12px;
  }

  .modal-box {
    max-width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    padding: 26px 18px 22px;
  }

  .modal-close {
    width: 44px;
    height: 44px;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .modal-desc {
    font-size: 0.84rem;
    margin-bottom: 18px;
  }

  .form-group input,
  .form-group select {
    font-size: 16px; /* Critical iOS Safari zoom prevention */
    padding: 12px 14px;
    min-height: 46px;
  }

  .beta-form .btn {
    min-height: 48px;
  }
}

/* --- Small Phones (<= 480px) --- */
@media (max-width: 480px) {
  .container {
    padding-inline: 14px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .hero-title {
    font-size: clamp(1.7rem, 7.5vw, 2.4rem);
  }

  .amount {
    font-size: 2.4rem;
  }

  .popular-ribbon,
  .lifetime-ribbon {
    font-size: 0.65rem;
    padding: 3px 10px;
  }

  .window-badge {
    display: none;
  }

  .window-title {
    max-width: 150px;
  }

  .stream-creator-tag {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  .stream-screen-preview {
    height: 250px;
  }
}
