/* Base CTA Button Styles */
.cta-button {
  /* Layout & Sizing */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  min-height: 48px;
  
  /* Typography */
  font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  
  /* Visual Style */
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 123, 255, 0.3);
  
  /* Colors - Blue/White theme */
  background: linear-gradient(135deg, #0066ff, #0040ff);
  color: white;
  
  /* Transitions & Effects */
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Hover State */
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
}

/* Active/Click State */
.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* Focus State for Accessibility */
.cta-button:focus {
  outline: 2px solid #0066ff;
  outline-offset: 2px;
}

/* Icon Styles */
.cta-button i,
.cta-button svg {
  font-size: 18px;
  transition: transform 0.3s ease;
}

/* Icon Animation on Hover */
.cta-button:hover i,
.cta-button:hover svg {
  transform: translateX(3px);
}

/* Optional: Loading State */
.cta-button.loading {
  pointer-events: none;
  opacity: 0.8;
}

.cta-button.loading i,
.cta-button.loading svg {
  animation: spin 1s linear infinite;
  transform: none;
}

/* Animation for loading spinner */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Alternative Color Variations */

/* Green Success Button */
.cta-button.success {
  background: linear-gradient(135deg, #28a745, #1e7e34);
}

.cta-button.success:hover {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

/* Orange Warning Button */
.cta-button.warning {
  background: linear-gradient(135deg, #fd7e14, #d35400);
}

.cta-button.warning:hover {
  background: linear-gradient(135deg, #ff8c37, #e67e22);
}

/* Red Danger Button */
.cta-button.danger {
  background: linear-gradient(135deg, #dc3545, #c82333);
}

.cta-button.danger:hover {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* Large Button */
.cta-button.large {
  padding: 16px 32px;
  font-size: 18px;
  min-height: 56px;
}

/* Small Button */
.cta-button.small {
  padding: 8px 16px;
  font-size: 14px;
  min-height: 40px;
  border-radius: 8px;
}

/* Full Width Button */
.cta-button.full-width {
  width: 100%;
  justify-content: center;
}

/* Outline Button */
.cta-button.outline {
  background: transparent;
  color: #0066ff;
  border: 2px solid #0066ff;
  box-shadow: none;
}

.cta-button.outline:hover {
  background: rgba(0, 102, 255, 0.1);
  transform: translateY(-2px);
  
}
