/* Floating CTA Button Styles */
.floating-cta {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.3));
}

/* PC Version Specific Styles */
@media (min-width: 769px) {
  .floating-cta-btn {
    min-width: 220px;
    padding: 18px 36px !important;
    font-size: 1.2rem !important;
    border-width: 3px !important;
  }
  
  .floating-cta-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.5rem !important;
    margin-right: 15px !important;
  }
  
  /* Enhanced 3D effect for PC */
  .floating-cta-btn::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 5%;
    width: 90%;
    height: 15px;
    background: rgba(0, 0, 0, 0.2);
    filter: blur(10px);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.3s ease;
  }
  
  .floating-cta-btn:hover::after {
    bottom: -8px;
    filter: blur(15px);
    width: 85%;
    left: 7.5%;
  }
}

.floating-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff3a3a 0%, #b91d22 100%);
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 16px 32px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 58, 58, 0.3), 0 0 30px rgba(255, 58, 58, 0.5);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid white;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
}

.floating-cta-btn:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 0 5px rgba(255, 58, 58, 0.4), 0 0 50px rgba(255, 58, 58, 0.6);
  background: linear-gradient(135deg, #ff5252 0%, #d42026 100%);
  letter-spacing: 2.5px;
}

.floating-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: all 0.75s ease;
}

.floating-cta-btn:hover::before {
  left: 100%;
}

.floating-cta-icon {
  margin-right: 12px;
  font-size: 1.3rem;
  background: white;
  color: #b91d22;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.floating-cta-btn:hover .floating-cta-icon {
  transform: scale(1.2) rotate(360deg);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 58, 58, 0.3), 0 0 30px rgba(255, 58, 58, 0.5);
  }
  70% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 0 8px rgba(255, 58, 58, 0.2), 0 0 40px rgba(255, 58, 58, 0.3);
  }
  100% {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(255, 58, 58, 0.3), 0 0 30px rgba(255, 58, 58, 0.5);
  }
}

/* Floating animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating-cta-btn {
  animation: pulse 2s infinite, float 4s ease-in-out infinite;
}

/* Container background to ensure contrast */
.floating-cta::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 60px;
  z-index: -1;
  filter: blur(15px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .floating-cta {
    bottom: 20px;
    right: 20px;
  }
  
  .floating-cta-btn {
    padding: 14px 24px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .floating-cta {
    bottom: 20px;
    right: 20px;
    left: 20px;
    display: flex;
    justify-content: center;
  }
  
  .floating-cta-btn {
    width: 100%;
    max-width: 300px;
  }
}
