/* =============================================
   WAYCUE — Global Styles
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --bg:          #080808;
  --surface:     #111111;
  --surface2:    #181818;
  --border:      #222222;
  --accent:      #2BD44A;
  --accent-dim:  #1a8030;
  --accent-glow: rgba(43,212,74,0.18);
  --text:        #FFFFFF;
  --text-title:  #FFFFFF;
  --muted:       #888888;
  --subtle:      #333333;
}

/* ── Light mode ── */
body.light-mode {
  --bg:          #d5d3d3;
  --surface:     #c8c6c6;
  --surface2:    #bebcbc;
  --border:      #aaaaaa;
  --accent:      #2BD44A;
  --accent-dim:  #1a8030;
  --accent-glow: rgba(43,212,74,0.15);
  --text:        #ffffff;
  --text-title:  #111111;
  --muted:       #888888;
  --subtle:      #959494;
}

/* Slightly tone down blobs in light mode so they don't overpower */
body.light-mode .bg-mesh::before {
  background: radial-gradient(ellipse, rgba(43,212,74,0.18) 0%, transparent 70%);
}
body.light-mode .bg-mesh::after {
  background: radial-gradient(ellipse, rgba(110,30,190,0.18) 0%, transparent 70%);
}
body.light-mode .bg-mesh span {
  background: radial-gradient(ellipse, rgba(15,70,210,0.14) 0%, transparent 70%);
}
/* Reduce grain visibility on light bg */
body.light-mode .bg-grain { opacity: 0.3; }

/* Cards use the user-specified color in light mode */
body.light-mode .stat-card,
body.light-mode .card,
body.light-mode .now-playing-bar,
body.light-mode .upload-zone {
  background: rgba(186,186,186,0.8) !important;
  border-color: rgba(0,0,0,0.1) !important;
}

/* Sidebar in light mode */
body.light-mode .sidebar {
  background: rgba(180,178,178,0.92) !important;
  border-color: var(--border) !important;
}

/* Nav hover/active adjusted for light */
body.light-mode .nav-item:hover {
  background: rgba(0,0,0,0.06) !important;
}
body.light-mode .track-row:hover,
body.light-mode .activity-item:hover {
  background: rgba(0,0,0,0.04) !important;
}

/* Accent elements — add shadow so green pops on light bg */
body.light-mode .btn-primary,
body.light-mode [style*="color: var(--accent)"],
body.light-mode .nav-item.active,
body.light-mode .stat-change,
body.light-mode .card-action {
  text-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
body.light-mode .btn-primary {
  box-shadow: 0 2px 12px rgba(43,212,74,0.35), 0 1px 3px rgba(0,0,0,0.15);
}
body.light-mode .storage-fill,
body.light-mode .user-avatar {
  box-shadow: 0 1px 6px rgba(43,212,74,0.4);
}

/* ── Theme toggle button ── */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  margin-bottom: 8px;
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--subtle);
  color: var(--text);
}
body.light-mode .theme-toggle:hover {
  background: rgba(0,0,0,0.04);
}
.theme-toggle-icon {
  font-size: 15px;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}
.theme-toggle:hover .theme-toggle-icon {
  transform: rotate(20deg);
}
.theme-toggle-label { flex: 1; text-align: left; }
.theme-toggle-track {
  width: 30px; height: 17px;
  border-radius: 100px;
  background: var(--border);
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s;
}
body.light-mode .theme-toggle-track { background: var(--accent); }
.theme-toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 0.25s, background 0.25s;
}
body.light-mode .theme-toggle-thumb {
  transform: translateX(13px);
  background: #000;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

/* Custom cursor — only active on landing page via .custom-cursor-active on body */
.custom-cursor-active,
.custom-cursor-active * {
  cursor: none !important;
}

/* =============================================
   BACKGROUND — Grainy Gradient Mesh
   ============================================= */

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-mesh::before,
.bg-mesh::after,
.bg-mesh span {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
}
.bg-mesh::before {
  content: '';
  width: 720px; height: 620px;
  background: radial-gradient(ellipse, rgba(43,212,74,0.30) 0%, transparent 70%);
  top: -120px; left: -180px;
  animation: blobDrift1 18s ease-in-out infinite alternate;
}
.bg-mesh::after {
  content: '';
  width: 680px; height: 620px;
  background: radial-gradient(ellipse, rgba(110,30,190,0.30) 0%, transparent 70%);
  top: -100px; right: -200px;
  animation: blobDrift2 22s ease-in-out infinite alternate;
}
.bg-mesh span {
  display: block;
  width: 820px; height: 620px;
  background: radial-gradient(ellipse, rgba(15,70,210,0.24) 0%, transparent 70%);
  bottom: -120px; left: 50%;
  transform: translateX(-50%);
  animation: blobDrift3 26s ease-in-out infinite alternate;
}
@keyframes blobDrift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(90px, 70px) scale(1.18); }
}
@keyframes blobDrift2 {
  from { transform: translate(0, 0) scale(1.1); }
  to   { transform: translate(-70px, 90px) scale(0.92); }
}
@keyframes blobDrift3 {
  from { transform: translateX(-50%) scale(1); }
  to   { transform: translateX(-38%) scale(1.22); }
}

.bg-grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.65;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23grain)' opacity='0.2'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

nav, section, footer, main { position: relative; z-index: 2; }

/* =============================================
   CUSTOM CURSOR
   ============================================= */

.cursor {
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: left 0.12s ease, top 0.12s ease, width 0.2s, height 0.2s, opacity 0.2s;
  opacity: 0.5;
}
.cursor.grow { width: 20px; height: 20px; }
.cursor-ring.grow { width: 54px; height: 54px; opacity: 0.8; }

/* Click ripple */
.cursor-ripple {
  position: fixed;
  width: 0; height: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(43,212,74,0.5);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  animation: cursorRipple 0.7s ease-out forwards;
}
@keyframes cursorRipple {
  0%   { width: 0; height: 0; opacity: 0.8; }
  100% { width: 80px; height: 80px; opacity: 0; }
}

/* =============================================
   NAVIGATION
   ============================================= */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(8,8,8,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); }

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

/* =============================================
   BUTTONS
   ============================================= */

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 9px 20px;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }

.btn-primary {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  background: #3de85c;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(43,212,74,0.3);
}
.btn-primary.large, .btn-ghost.large {
  padding: 15px 34px;
  font-size: 15px;
  border-radius: 8px;
}

/* =============================================
   SHARED SECTION STYLES
   ============================================= */

section { padding: 100px 48px; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 480px;
  font-weight: 300;
}

/* =============================================
   SCROLL REVEAL
   ============================================= */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =============================================
   FOOTER
   ============================================= */

footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}
.footer-logo span { color: var(--accent); }
.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--subtle); }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  .nav-links { display: none; }
  section { padding: 72px 24px; }
  footer { flex-direction: column; gap: 20px; text-align: center; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 24px 60px; }
}


/* =============================================
   LANDING PAGE
   ============================================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(43,212,74,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  text-align: center;
  max-width: 820px;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43,212,74,0.08);
  border: 1px solid rgba(43,212,74,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease both;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 44px;
  font-weight: 300;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}
.hero-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--subtle);
  animation: fadeUp 0.6s 0.4s ease both;
}
.hero-mockup {
  margin-top: 72px;
  animation: fadeUp 0.8s 0.45s ease both;
}
.mockup-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.04);
  max-width: 900px;
  margin: 0 auto;
}
.mockup-bar {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mockup-dots { display: flex; gap: 7px; }
.mockup-dot { width: 11px; height: 11px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }
.mockup-url {
  flex: 1;
  background: var(--bg);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.mockup-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 340px;
}
.mockup-sidebar {
  background: var(--bg);
  border-right: 1px solid var(--border);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-nav-item {
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mock-nav-item.active { background: rgba(43,212,74,0.1); color: var(--accent); }
.mock-icon { width: 16px; height: 16px; background: currentColor; border-radius: 3px; opacity: 0.7; }
.mockup-main { padding: 24px; }
.mock-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text);
}
.mock-tracks { display: flex; flex-direction: column; gap: 6px; }
.mock-track {
  display: grid;
  grid-template-columns: 36px 1fr 80px 60px 50px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  gap: 14px;
  transition: background 0.15s;
}
.mock-track:hover { background: var(--surface2); }
.mock-track.playing { background: rgba(43,212,74,0.06); }
.mock-track-num { font-size: 12px; color: var(--muted); text-align: center; }
.mock-track.playing .mock-track-num { color: var(--accent); }
.mock-track-info { display: flex; flex-direction: column; gap: 3px; }
.mock-track-name { font-size: 13px; font-weight: 500; color: var(--text); }
.mock-track-artist { font-size: 11px; color: var(--muted); }
.mock-track-bpm { font-size: 12px; color: var(--muted); }
.mock-track-key { font-size: 12px; color: var(--muted); }
.mock-cues { display: flex; gap: 4px; }
.mock-cue { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: 0.7; }
.mock-cue:nth-child(2) { background: #FF6B6B; }
.mock-cue:nth-child(3) { background: #FFD93D; }
.mockup-player {
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface2);
}
.player-track { display: flex; flex-direction: column; gap: 2px; min-width: 160px; }
.player-name { font-size: 12px; font-weight: 500; color: var(--text); }
.player-artist { font-size: 11px; color: var(--muted); }
.player-wave { flex: 1; height: 32px; display: flex; align-items: center; gap: 2px; }
.wave-bar { flex: 1; background: var(--subtle); border-radius: 2px; }
.wave-bar.played { background: var(--accent); }
.player-time { font-size: 11px; color: var(--muted); white-space: nowrap; }

.problem {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.pain-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.pain-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.pain-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.pain-text strong { display: block; font-weight: 600; font-size: 14px; margin-bottom: 3px; }
.pain-text span { font-size: 13px; color: var(--muted); line-height: 1.5; }

.features { max-width: 1100px; margin: 0 auto; }
.features-header { text-align: center; margin-bottom: 64px; }
.features-header .section-sub { margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover { border-color: rgba(43,212,74,0.25); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 44px; height: 44px;
  background: rgba(43,212,74,0.1);
  border: 1px solid rgba(43,212,74,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}
.feature-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

.how { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-header { text-align: center; margin-bottom: 64px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
}
.step { text-align: center; padding: 0 20px; }
.step-num {
  width: 56px; height: 56px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 18px;
  color: var(--accent);
  margin: 0 auto 24px;
  position: relative; z-index: 1;
}
.step-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

.community { max-width: 1100px; margin: 0 auto; }
.community-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.community-feed { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.feed-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.feed-header span { color: var(--accent); font-size: 12px; font-weight: 500; font-family: 'DM Sans', sans-serif; }
.feed-item { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; gap: 14px; align-items: center; }
.feed-item:last-child { border-bottom: none; }
.feed-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #000;
}
.feed-info { flex: 1; }
.feed-track-name { font-size: 13px; font-weight: 500; }
.feed-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.feed-cue-count {
  font-size: 11px;
  background: rgba(43,212,74,0.1);
  color: var(--accent);
  border-radius: 4px;
  padding: 3px 8px;
  white-space: nowrap;
}

.cta-wrap { position: relative; overflow: hidden; }
.cta-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(43,212,74,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section { text-align: center; max-width: 700px; margin: 0 auto; }
.cta-section h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.03em; line-height: 1.0;
  margin-bottom: 20px;
}
.cta-section p { color: var(--muted); font-size: 17px; margin-bottom: 40px; font-weight: 300; }
.cta-input-row { display: flex; gap: 10px; justify-content: center; max-width: 460px; margin: 0 auto; }
.cta-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.cta-input:focus { border-color: var(--accent); }
.cta-input::placeholder { color: var(--muted); }

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

@media (max-width: 900px) {
  .problem-inner, .community-inner { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps::before { display: none; }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-input-row { flex-direction: column; }
}

/* ================================================================
   LIGHT MODE — app page hardcoded background overrides
   Targets classes used across dashboard, library, track editor
   ================================================================ */

/* Sidebars */
body.light-mode .sidebar {
  background: rgba(185,183,183,0.92) !important;
}

/* Top bars / toolbars */
body.light-mode .track-topbar,
body.light-mode .waveform-toolbar,
body.light-mode .toolbar {
  background: rgba(196,194,194,0.75) !important;
  backdrop-filter: blur(16px);
}

/* Right panel & cue panel */
body.light-mode .right-panel,
body.light-mode .panel-tabs,
body.light-mode .panel-body,
body.light-mode .player-controls-bar,
body.light-mode .waveform-section {
  background: rgba(186,186,186,0.8) !important;
  border-color: rgba(0,0,0,0.1) !important;
}

/* Waveform container */
body.light-mode .waveform-container {
  background: rgba(160,158,158,0.7) !important;
}

/* Library toolbar & filter bar */
body.light-mode .library-toolbar,
body.light-mode .filter-bar {
  background: rgba(196,194,194,0.8) !important;
  border-color: rgba(0,0,0,0.1) !important;
}

/* Table header & rows */
body.light-mode .library-table-header {
  background: rgba(175,173,173,0.9) !important;
}
body.light-mode .track-row:hover {
  background: rgba(0,0,0,0.05) !important;
}

/* Context menu */
body.light-mode .context-menu {
  background: #d0ceceee !important;
  border-color: rgba(0,0,0,0.12) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18) !important;
}
body.light-mode .context-menu-item:hover {
  background: rgba(0,0,0,0.07) !important;
}

/* Inputs and dropdowns */
body.light-mode input,
body.light-mode textarea,
body.light-mode select,
body.light-mode .wc-input,
body.light-mode .wc-genre-trigger {
  background: rgba(255,255,255,0.45) !important;
  border-color: rgba(0,0,0,0.15) !important;
  color: var(--text-title) !important;
}
body.light-mode input::placeholder,
body.light-mode .wc-input::placeholder { color: #888 !important; }
body.light-mode input:focus,
body.light-mode .wc-input:focus,
body.light-mode .wc-genre-trigger.open {
  border-color: var(--accent) !important;
}

/* Dropdown menus */
body.light-mode .wc-genre-menu,
body.light-mode .genre-dropdown {
  background: #cecdcd !important;
  border-color: rgba(0,0,0,0.12) !important;
}
body.light-mode .wc-genre-opt:hover {
  background: rgba(0,0,0,0.07) !important;
  color: #111 !important;
}

/* Filter chips */
body.light-mode .filter-chip {
  background: rgba(0,0,0,0.06) !important;
  border-color: rgba(0,0,0,0.15) !important;
  color: var(--muted) !important;
}
body.light-mode .filter-chip.active {
  background: rgba(43,212,74,0.15) !important;
  border-color: var(--accent) !important;
  color: #1a6b2a !important;
}

/* Buttons */
body.light-mode .wf-btn,
body.light-mode .zoom-btn,
body.light-mode .icon-btn {
  background: rgba(255,255,255,0.3) !important;
  border-color: rgba(0,0,0,0.15) !important;
  color: #444 !important;
}
body.light-mode .wf-btn:hover,
body.light-mode .zoom-btn:hover,
body.light-mode .icon-btn:hover {
  border-color: var(--accent) !important;
  color: #111 !important;
}
body.light-mode .wf-btn.active {
  background: rgba(43,212,74,0.15) !important;
  border-color: var(--accent) !important;
  color: #1a6b2a !important;
}

/* Scrollbars */
body.light-mode ::-webkit-scrollbar-thumb { background: #aaa !important; }
body.light-mode ::-webkit-scrollbar-track { background: transparent !important; }

/* Accent text shadow for readability on light bg */
body.light-mode .nav-item.active,
body.light-mode .card-action,
body.light-mode .stat-change {
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
body.light-mode .btn-primary {
  box-shadow: 0 2px 12px rgba(43,212,74,0.4), 0 1px 3px rgba(0,0,0,0.12);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}