/* cta-phone-glow-effect.css */
/* Radiant glow and sound wave effects for the phone */

/* Base layout remains the same */
.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-text {
  flex: 1;
  text-align: left;
  padding-right: 20px;
}

.cta-visual {
  flex: 0 0 auto;
  position: relative; /* Important for positioning effects */
}

/* Clean phone image - no box or shadow ON the image itself */
.cta-phone-image {
  height: 400px;
  width: auto;
  display: block;
  transform: rotate(-5deg);
  position: relative;
  z-index: 2; /* Keep phone above the effects */
}

/* Radiant glow effect BEHIND the phone */
.phone-glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: radial-gradient(
    circle at center,
    rgba(147, 197, 253, 0.4) 0%,
    rgba(59, 130, 246, 0.2) 30%,
    rgba(59, 130, 246, 0) 70%
  );
  border-radius: 50%;
  filter: blur(30px);
  z-index: 1;
  opacity: 0.8;
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

/* Sound wave effects */
.sound-waves-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.sound-wave {
  position: absolute;
  border: 2px solid rgba(147, 197, 253, 0.5);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 1;
}

.wave-1 {
  width: 60px;
  height: 60px;
  animation: sound-wave 3s ease-out infinite;
  animation-delay: 0s;
}

.wave-2 {
  width: 60px;
  height: 60px;
  animation: sound-wave 3s ease-out infinite;
  animation-delay: 0.5s;
}

.wave-3 {
  width: 60px;
  height: 60px;
  animation: sound-wave 3s ease-out infinite;
  animation-delay: 1s;
}

.wave-4 {
  width: 60px;
  height: 60px;
  animation: sound-wave 3s ease-out infinite;
  animation-delay: 1.5s;
}

/* Musical notes */
.musical-notes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.note {
  position: absolute;
  color: rgba(147, 197, 253, 0.7);
  font-size: 20px;
  opacity: 0;
}

.note-1 {
  left: -10%;
  top: 40%;
  animation: float-note 3s ease-out infinite;
  animation-delay: 0.2s;
}

.note-2 {
  right: -10%;
  top: 30%;
  animation: float-note 3s ease-out infinite;
  animation-delay: 1.5s;
}

.note-3 {
  left: 0%;
  top: 20%;
  animation: float-note 3s ease-out infinite;
  animation-delay: 2.8s;
}

.note-4 {
  right: 0%;
  top: 60%;
  animation: float-note 3s ease-out infinite;
  animation-delay: 0.8s;
}

/* Animations */
@keyframes pulse-glow {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.9);
  }
  100% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes sound-wave {
  0% {
    opacity: 0.8;
    width: 60px;
    height: 60px;
  }
  100% {
    opacity: 0;
    width: 300px;
    height: 300px;
  }
}

@keyframes float-note {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1);
  }
  20% {
    opacity: 0.8;
    transform: translate(-10px, -20px) scale(1.2);
  }
  80% {
    opacity: 0.6;
    transform: translate(-30px, -60px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-40px, -80px) scale(0.8);
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .cta-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
  }
  
  .cta-text {
    text-align: center;
    padding-right: 0;
  }
  
  .cta-phone-image {
    height: 350px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .cta-phone-image {
    height: 300px;
  }
  
  .sound-wave {
    opacity: 0.5;
  }
}