:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --secondary: #db2777;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --bg-primary: #0f172a;
  --bg-secondary: #020617;
  --card-bg: #1e293b;
  --border-color: #334155;
  --accent-secondary: #3b82f6;
  --success: #10b981;
  --space-md: 1rem;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.5;
  margin: 0;
}

/* Navigation */
.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-actions {
  display: flex;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

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

.btn-ghost:hover {
  background: var(--bg-secondary);
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: #475569;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
}

.w-full {
  width: 100%;
  display: flex;
}

/* Hero Section */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.pulse {
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.text-gradient {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
}

/* Hero Visual & Wave Animation */
.hero-visual {
  width: 100%;
  max-width: 600px;
  background: var(--card-bg);
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.hero-visual-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-primary {
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary);
}

.wave-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 48px;
}

.wave-bar {
  flex: 1;
  background: var(--primary);
  border-radius: 2px;
  animation: wave 1s ease-in-out infinite;
}

@keyframes wave {

  0%,
  100% {
    transform: scaleY(0.5);
  }

  50% {
    transform: scaleY(1);
  }
}

/* Stagger animations */
.wave-bar:nth-child(odd) {
  animation-duration: 0.8s;
}

.wave-bar:nth-child(even) {
  animation-duration: 1.1s;
}

.wave-bar:nth-child(3n) {
  animation-duration: 0.9s;
}

/* Sections */
.section {
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
  position: relative;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex: 1;
}

.plan-features li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-features li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
}

/* CTA Section */
.cta-section {
  background: var(--bg-secondary);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.landing-footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {

  /* Navigation */
  .landing-nav {
    padding: 1rem 1rem;
    gap: 0.5rem;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-actions .btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

  /* Hero */
  .hero {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    margin-bottom: 2rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.65rem 1rem;
  }

  /* Hero Visual */
  .hero-visual {
    padding: 1rem;
  }

  .hero-visual-inner {
    flex-direction: column;
    gap: 1rem;
  }

  /* Sections */
  .section {
    padding: 3rem 1rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  /* Feature & Showcase Grids */
  .features-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.25rem;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-card {
    padding: 1.5rem;
  }

  .plan-price {
    font-size: 2.25rem;
  }

  /* CTA */
  .cta-section {
    padding: 3rem 1rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 0.95rem;
  }

  .cta-section .btn {
    font-size: 0.95rem;
    padding: 0.65rem 1.25rem;
  }

  /* Footer */
  .landing-footer {
    padding: 2rem 1rem;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .nav-actions .btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }

  .plan-price {
    font-size: 2rem;
  }
}

/* Showcase Section */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.jingle-card {
  background: var(--card-bg);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.jingle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.jingle-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.jingle-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.jingle-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.jingle-player {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.play-btn:hover {
  transform: scale(1.05);
  background: var(--primary-dark);
}

.play-icon,
.pause-icon {
  width: 20px;
  height: 20px;
}

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

.bar {
  flex: 1;
  background: var(--border-color);
  border-radius: 2px;
  height: 20%;
  transition: height 0.1s ease;
}

.jingle-card.playing .bar {
  background: var(--primary);
  animation: playing 0.5s ease-in-out infinite;
}

@keyframes playing {
  0% {
    height: 20%;
  }

  50% {
    height: 100%;
  }

  100% {
    height: 20%;
  }
}

.jingle-card.playing .bar:nth-child(odd) {
  animation-duration: 0.4s;
}

.jingle-card.playing .bar:nth-child(even) {
  animation-duration: 0.55s;
}

.jingle-card.playing .bar:nth-child(3n) {
  animation-duration: 0.45s;
}

.jingle-card.playing .bar:nth-child(4n) {
  animation-duration: 0.6s;
}