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

* { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }
@media (max-width: 767px) { section[id] { scroll-margin-top: 100px; } }

:root {
  --dj-blue:    #3b82f6;
  --dj-violet:  #8b5cf6;
  --dj-pink:    #ec4899;
  --dj-cyan:    #06b6d4;
  --dj-bg-app:   #0a0a0f;
  --dj-bg-panel: #111118;
  --dj-bg-surf:  #16161f;
  --dj-text:     #f3f4f6;
  --dj-text-2:   #9ca3af;
  --dj-text-3:   #6b7280;
  --dj-border:   #1f2937;
}

body {
  background: var(--dj-bg-app);
  color: var(--dj-text);
  overflow-x: hidden;
}

.blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  animation: blob 14s ease-in-out infinite;
}
@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -50px) scale(1.1); }
  66%      { transform: translate(-30px, 30px) scale(0.95); }
}
.blob-2 { animation-delay: -4s; }
.blob-3 { animation-delay: -8s; }

.top-bar {
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.top-bar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  border-bottom-color: var(--dj-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.btn-dj {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}
.btn-dj-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-dj-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.5);
  filter: brightness(1.1);
}
.btn-dj-primary:active { transform: scale(0.97); }
.btn-dj-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--dj-text);
  border: 1px solid var(--dj-border);
  padding: 0.75rem 1.25rem;
}
.btn-dj-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--dj-border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, transparent, var(--dj-blue), var(--dj-violet), var(--dj-pink), transparent);
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}
.feature-card:hover::before { opacity: 0.4; }

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dj-border), transparent);
  margin: 4rem 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.grad-text {
  background: linear-gradient(135deg, #60a5fa, #c084fc, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--dj-border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}

.pricing-popular {
  position: relative;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.04));
  border: 1px solid rgba(139, 92, 246, 0.4);
}
.pricing-popular::before {
  content: 'MÁS POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 9999px;
}

.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 32s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
