/* CTA Section Background */
.molecule-cta-background {
  position: relative;
  padding: var(--spacing-12) var(--spacing-8);
  border-radius: 24px;
  background: 
    radial-gradient(ellipse at center, rgba(236, 72, 153, 0.15) 0%, rgba(147, 51, 234, 0.1) 50%, transparent 70%),
    linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
  border: 1px solid rgba(236, 72, 153, 0.2);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.molecule-cta-background::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(236, 72, 153, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(147, 51, 234, 0.2) 0%, transparent 50%);
  animation: ctaGlow 8s ease-in-out infinite;
  pointer-events: none;
}

.molecule-cta-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(236, 72, 153, 0.03) 2px,
      rgba(236, 72, 153, 0.03) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(147, 51, 234, 0.03) 2px,
      rgba(147, 51, 234, 0.03) 4px
    );
  pointer-events: none;
  opacity: 0.5;
}

@keyframes ctaGlow {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(20px, -20px) scale(1.1);
    opacity: 0.8;
  }
}

.molecule-cta-background__content {
  position: relative;
  z-index: 1;
}

/* Alternative: Subtle gradient background */
.molecule-cta-simple {
  position: relative;
  padding: var(--spacing-10) var(--spacing-6);
  border-radius: 20px;
  background: 
    radial-gradient(ellipse at center, rgba(236, 72, 153, 0.12) 0%, rgba(147, 51, 234, 0.08) 50%, transparent 80%);
  border: 1px solid rgba(236, 72, 153, 0.15);
}

.molecule-cta-simple::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(147, 51, 234, 0.3), rgba(59, 130, 246, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ctaBorderGlow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaBorderGlow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.molecule-cta-simple__content {
  position: relative;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .molecule-cta-background {
    padding: var(--spacing-8) var(--spacing-4);
    border-radius: 16px;
  }
  
  .molecule-cta-simple {
    padding: var(--spacing-8) var(--spacing-4);
    border-radius: 16px;
  }
}
