:root {
  /* Colors - Deep Dark & Vibrant Accents */
  --n-bg: #0a0a0a;
  --n-bg-soft: #121212;
  --n-accent: #1DB954; /* Spotify Green for heritage */
  --n-accent-glow: rgba(29, 185, 84, 0.4);
  --n-text: #ffffff;
  --n-text-muted: #a7a7a7;
  --n-border: rgba(255, 255, 255, 0.1);
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;
  --space-2xl: 128px;

  /* Typography */
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--n-bg);
  color: var(--n-text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 6rem);
}

section {
  margin-top: var(--space-xl);
  padding: var(--space-lg) 0;
}

main > :first-child {
  margin-top: 0;
}

/* Navbar */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--n-border);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: lowercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--n-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.9;
  margin-bottom: var(--space-md);
  background: linear-gradient(to bottom, #fff, #666);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--n-text-muted);
  max-width: 600px;
  margin-bottom: var(--space-lg);
}

.spotify-code-hero {
  width: 100%;
  max-width: 400px;
  filter: invert(1);
  margin-bottom: var(--space-lg);
  opacity: 0.9;
  animation: pulse-glow 4s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; filter: invert(1) drop-shadow(0 0 0px var(--n-accent)); }
  50% { opacity: 1; filter: invert(1) drop-shadow(0 0 20px var(--n-accent)); }
}

@keyframes pulse-bar {
  0%, 100% { height: 20%; background: var(--n-accent); }
  50% { height: 95%; background: #ffffff; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s;
}

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

.btn-primary {
  background: var(--n-accent);
  color: #000;
  border: none;
}

.btn-primary:hover {
  background: #1ed760;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid var(--n-border);
}

.btn-secondary:hover {
  border-color: #fff;
}

/* Cards & Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.card {
  background: var(--n-bg-soft);
  border: 1px solid var(--n-border);
  border-radius: 16px;
  padding: var(--space-lg);
  transition: border-color 0.3s, transform 0.3s;
  overflow: hidden;
}

.card:hover {
  border-color: var(--n-accent);
  transform: translateY(-8px);
}

.card-icon {
  margin-bottom: var(--space-md);
  color: var(--n-accent);
}

.card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.card p {
  color: var(--n-text-muted);
  margin: 0;
}

/* Feature Specifics */
.visualizer-preview {
  height: 200px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: var(--space-lg);
}

.bar {
  flex: 1;
  background: var(--n-accent);
  border-radius: 4px 4px 0 0;
  min-height: 10px;
  animation: pulse-bar 1.5s infinite ease-in-out;
}

.bar:nth-child(1) { height: 40%; animation-duration: 1.2s; animation-delay: 0s; }
.bar:nth-child(2) { height: 70%; animation-duration: 1.5s; animation-delay: -0.3s; }
.bar:nth-child(3) { height: 95%; animation-duration: 1.8s; animation-delay: -0.6s; }
.bar:nth-child(4) { height: 60%; animation-duration: 1.3s; animation-delay: -0.9s; }
.bar:nth-child(5) { height: 85%; animation-duration: 2s; animation-delay: -1.2s; }
.bar:nth-child(6) { height: 30%; animation-duration: 1.6s; animation-delay: -1.5s; }
.bar:nth-child(7) { height: 55%; animation-duration: 1.4s; animation-delay: -1.8s; }
.bar:nth-child(8) { height: 80%; animation-duration: 1.7s; animation-delay: -2.1s; }

/* Utilities & Sections */
.text-center { text-align: center; }
.text-muted { color: var(--n-text-muted); }
.text-accent { color: var(--n-accent); }
.w-full { width: 100%; }

.section-title { font-size: 3rem; margin-bottom: var(--space-md); }
.section-subtitle { color: var(--n-text-muted); font-size: 1.25rem; margin-bottom: var(--space-lg); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--n-accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl) 0;
  flex-grow: 1;
}

.feature-item {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.faq-item {
  padding: 24px;
  background: var(--n-bg-soft);
  border-radius: 12px;
  border: 1px solid var(--n-border);
  cursor: pointer;
  margin-bottom: 16px;
}

.faq-summary {
  font-weight: 700;
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-content {
  margin-top: 16px;
  color: var(--n-text-muted);
}

/* Stats */
.stats-section {
  background: #111;
  padding: var(--space-2xl) 0;
  text-align: center;
}

.stat-number {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--n-accent);
  display: block;
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--n-text-muted);
}

/* Footer */
footer {
  margin-top: var(--space-2xl);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--n-border);
  background: var(--n-bg);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.footer-column h4 {
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--n-text-muted);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: var(--space-sm);
}

/* Placeholders */
.placeholder-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--n-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--n-text-muted);
  font-size: 0.8rem;
  border: 1px dashed var(--n-border);
}

.placeholder-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--n-bg-soft);
}
