/* Conversion Optimization Styles */

/* Sticky Buy Button */
.sticky-buy-button {
  position: fixed !important;
  bottom: 20px !important;
  left: 20px !important;
  z-index: 99999 !important;
  background: #f59e0b;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse 2s infinite;
}

.sticky-buy-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  color: white;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.6);
  }
}

/* Email Capture Forms */
.email-capture-form {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  padding: 2rem;
  border-radius: 8px;
  color: white;
  margin: 2rem 0;
}

.email-capture-form h3 {
  margin-bottom: 1rem;
  color: white;
}

.email-capture-form p {
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.email-form-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.email-form-group input {
  flex: 1;
  min-width: 250px;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
}

.email-form-group button {
  padding: 0.75rem 2rem;
  background: #f59e0b;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.email-form-group button:hover {
  background: #d97706;
}

/* Exit Intent Popup */
.exit-intent-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.exit-intent-popup.active {
  display: flex;
}

.exit-intent-content {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.exit-intent-content .close-popup {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
}

.exit-intent-content h3 {
  color: #1e3a8a;
  margin-bottom: 1rem;
}

.exit-intent-content p {
  margin-bottom: 1.5rem;
  color: #4b5563;
}

/* Social Proof Elements */
.social-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0fdf4;
  color: #166534;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin: 1rem 0;
}

.social-proof-badge i {
  color: #10b981;
}

.review-count {
  font-weight: 600;
}

/* CTA Buttons Enhanced */
.btn-primary {
  background: #3b82f6;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  color: white;
}

.btn-secondary {
  background: #10b981;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #059669;
  transform: translateY(-2px);
  color: white;
}

/* Lead Magnet Highlight */
.lead-magnet-highlight {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 2px solid #f59e0b;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  text-align: center;
}

.lead-magnet-highlight h3 {
  color: #92400e;
  margin-bottom: 1rem;
}

.lead-magnet-highlight p {
  color: #78350f;
  margin-bottom: 1.5rem;
}

/* Conversion Tracking */
.conversion-tracking {
  display: none;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #f8f9fa;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #4b5563;
}

.trust-badge i {
  color: #10b981;
}

/* Urgency Elements */
.urgency-badge {
  display: inline-block;
  background: #dc2626;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .sticky-buy-button {
    position: fixed !important;
    bottom: 10px !important;
    left: 10px !important;
    z-index: 99999 !important;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .email-form-group {
    flex-direction: column;
  }
  
  .email-form-group input,
  .email-form-group button {
    width: 100%;
  }
  
  .exit-intent-content {
    padding: 1.5rem;
  }
}

