/**
 * Aggressive Homepage Button Styles
 * Professional and attention-grabbing Call-to-Action buttons
 */

/* Glow animation for aggressive buttons */
@keyframes glow {
  0% {
    box-shadow: 0 0 20px rgba(251, 146, 60, 0.4), 0 0 40px rgba(251, 146, 60, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  100% {
    box-shadow: 0 0 30px rgba(251, 146, 60, 0.6), 0 0 60px rgba(251, 146, 60, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

/* Shimmer effect for button shine */
@keyframes shimmer {
  0% {
    transform: translateX(-100%) skewX(-12deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(200%) skewX(-12deg);
    opacity: 0;
  }
}

/* Enhanced pulse animation */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.9;
  }
}

/* Bounce effect for icons */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-3px);
  }
  60% {
    transform: translateY(-2px);
  }
}

/* Urgent call-to-action styling */
.aggressive-cta-button {
  position: relative;
  background: linear-gradient(135deg, #f97316, #ef4444, #ec4899);
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  cursor: pointer;
  animation: pulse 2s infinite, glow 2s ease-in-out infinite alternate;
  box-shadow: 
    0 0 25px rgba(251, 146, 60, 0.5), 
    0 0 50px rgba(251, 146, 60, 0.3),
    0 8px 32px rgba(0, 0, 0, 0.12);
}

.aggressive-cta-button:hover {
  transform: scale(1.1) translateY(-2px);
  animation: glow 1s ease-in-out infinite alternate;
  box-shadow: 
    0 0 35px rgba(251, 146, 60, 0.7), 
    0 0 70px rgba(251, 146, 60, 0.5),
    0 12px 40px rgba(0, 0, 0, 0.15);
}

.aggressive-cta-button:active {
  transform: scale(1.05) translateY(0);
}

/* Shimmer overlay effect */
.aggressive-cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: skewX(-12deg);
  animation: shimmer 3s ease-in-out infinite;
}

/* Icon animations */
.aggressive-cta-button .rocket-icon {
  animation: bounce 2s ease-in-out infinite;
}

.aggressive-cta-button .arrow-icon {
  transition: transform 0.3s ease;
}

.aggressive-cta-button:hover .arrow-icon {
  transform: translateX(0.5rem) scale(1.2);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .aggressive-cta-button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    gap: 0.5rem;
  }
  
  .aggressive-cta-button:hover {
    transform: scale(1.05) translateY(-1px);
  }
}

/* Secondary button styling (Explore Tests) */
.secondary-cta-button {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: #374151;
  border: 2px solid #fed7aa;
  border-radius: 1rem;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.secondary-cta-button:hover {
  background: white;
  border-color: #f97316;
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.2);
  transform: translateY(-1px);
}

/* Accessibility improvements */
.aggressive-cta-button:focus,
.secondary-cta-button:focus {
  outline: 3px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .aggressive-cta-button,
  .aggressive-cta-button::before,
  .rocket-icon,
  .arrow-icon {
    animation: none !important;
  }
  
  .aggressive-cta-button:hover {
    transform: none !important;
  }
}

/* Additional visual emphasis */
.urgent-text {
  position: relative;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.urgent-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: shimmer 2s ease-in-out infinite;
}
