/* === ENHANCED CTA BUTTONS === */

/* Pulse Animation for Hero CTA */
.cta-pulse {
  position: relative;
  overflow: hidden;
  animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 217, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 217, 255, 0);
  }
}

.cta-pulse::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-pulse:hover::before {
  width: 300px;
  height: 300px;
}

/* Mega CTA - Final Section */
.cta-mega {
  position: relative;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53, #feca57) !important;
  font-size: 1.15rem !important;
  padding: 22px 48px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 12px 36px rgba(255, 107, 107, 0.4);
  border: none !important;
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 12px 36px rgba(255, 107, 107, 0.4), 0 0 0 0 rgba(255, 107, 107, 0.4);
  }
  50% {
    box-shadow: 0 12px 36px rgba(255, 107, 107, 0.6), 0 0 0 12px rgba(255, 107, 107, 0);
  }
}

.cta-mega::after {
  content: '✓';
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: #fff;
  color: #ff6b6b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  opacity: 0;
  transition: all 0.4s ease;
}

.cta-mega:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 48px rgba(255, 107, 107, 0.5);
  padding-right: 60px !important;
}

.cta-mega:hover::after {
  opacity: 1;
  right: 20px;
}

/* Dashboard CTA Enhancement */
.btn-dashboard {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.btn-dashboard:hover::before {
  left: 100%;
}

.btn-dashboard:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 48px rgba(0, 217, 255, 0.45);
}

/* Scenarios CTA Enhancement */
.btn-scenarios {
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

.btn-scenarios::after {
  content: '→';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.btn-scenarios:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0, 217, 255, 0.5);
  padding-right: 60px;
}

.btn-scenarios:hover::after {
  right: 32px;
  animation: arrow-bounce 0.6s ease-in-out infinite;
}

@keyframes arrow-bounce {
  0%, 100% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(5px);
  }
}

/* Primary Button Enhancement */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
  width: 400px;
  height: 400px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 123, 255, 0.4);
}

/* Outline Button Enhancement */
.btn-outline {
  position: relative;
  transition: all 0.3s ease;
  background: transparent;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(0, 119, 255, 0.1));
  transition: width 0.4s ease;
  z-index: -1;
}

.btn-outline:hover::before {
  width: 100%;
}

.btn-outline:hover {
  border-color: #00d9ff;
  color: #00d9ff;
  transform: translateY(-2px);
}

/* Badge/Tag Enhancement */
.hero-badge {
  animation: badge-float 3s ease-in-out infinite;
}

@keyframes badge-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Add sparkle effect on hover */
.btn-dashboard:hover,
.btn-scenarios:hover,
.cta-mega:hover {
  cursor: pointer;
}

/* Responsive */
@media (max-width: 767px) {
  .cta-mega {
    font-size: 0.95rem !important;
    padding: 18px 32px !important;
  }
  
  .cta-mega::after {
    display: none;
  }
  
  .btn-scenarios::after {
    display: none;
  }
  
  .btn-scenarios:hover,
  .cta-mega:hover {
    padding-right: 32px !important;
  }
}

/* Urgency Indicators */
.cta-urgency {
  display: inline-block;
  background: rgba(255, 107, 107, 0.1);
  color: #ff6b6b;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 12px;
  animation: urgency-pulse 2s ease-in-out infinite;
}

@keyframes urgency-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Social Proof Badge */
.social-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 16px;
  border: 1.5px solid rgba(16, 185, 129, 0.2);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
  animation: badge-float 3s ease-in-out infinite;
}

.dashboard-cta .social-proof-badge,
.scenarios-cta .social-proof-badge,
.testimonials-cta .social-proof-badge {
  display: block;
  width: fit-content;
  margin: 16px auto 0;
}

.social-proof-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

/* Testimonial CTA Enhancement */
.testimonials-cta .btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
}

.testimonials-cta .btn-primary:hover {
  background: linear-gradient(135deg, #764ba2, #667eea);
  box-shadow: 0 16px 48px rgba(118, 75, 162, 0.4);
}
