/* Enhanced Hero Section with shadcn/ui Inspired Components */

/* Badge Component */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  border: 1px solid;
  white-space: nowrap;
}

.badge-default {
  border-color: hsl(214.3 31.8% 91.4%);
  background: hsl(210 40% 98%);
  color: hsl(222.2 84% 4.9%);
}

.badge-secondary {
  border-color: transparent;
  background: hsl(210 40% 94%);
  color: hsl(222.2 47.4% 11.2%);
}

.badge-success {
  border-color: hsl(142.1 76.2% 36.3%);
  background: hsl(142.1 76.2% 36.3%);
  color: hsl(355.7 100% 97.3%);
}

.badge-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
}

.badge-lg {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Enhanced Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: hsl(221.2 83.2% 53.3%);
  color: hsl(210 40% 98%);
  border-color: hsl(221.2 83.2% 53.3%);
}

.btn-primary:hover {
  background: hsl(221.2 83.2% 53.3% / 0.9);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -5px hsl(221.2 83.2% 53.3% / 0.4);
}

.btn-secondary {
  background: hsl(210 40% 94%);
  color: hsl(222.2 84% 4.9%);
  border-color: hsl(214.3 31.8% 91.4%);
}

.btn-secondary:hover {
  background: hsl(210 40% 88%);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: hsl(222.2 84% 4.9%);
  border-color: hsl(214.3 31.8% 91.4%);
}

.btn-outline:hover {
  background: hsl(222.2 84% 4.9%);
  color: hsl(210 40% 98%);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-md {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

/* Cards */
.card {
  border-radius: 0.5rem;
  border: 1px solid hsl(214.3 31.8% 91.4%);
  background: hsl(0 0% 100%);
  box-shadow: 0 1px 3px 0 hsl(0 0% 0% / 0.1), 0 1px 2px 0 hsl(0 0% 0% / 0.06);
  transition: all 0.2s ease-in-out;
}

.card:hover {
  box-shadow: 0 4px 12px 0 hsl(0 0% 0% / 0.1), 0 2px 4px 0 hsl(0 0% 0% / 0.06);
  transform: translateY(-2px);
}

.card-content {
  padding: 1.5rem;
}

.card-header {
  padding: 1.5rem 1.5rem 0;
}

.card-footer {
  padding: 0 1.5rem 1.5rem;
}

/* Enhanced Typography */
.text-gradient {
  background: linear-gradient(135deg, hsl(221.2 83.2% 53.3%), hsl(142.1 76.2% 36.3%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-hero {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-lead {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  color: hsl(215.4 16.3% 46.9%);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  background: hsl(0 0% 100%);
  border-radius: 0.75rem;
  border: 1px solid hsl(214.3 31.8% 91.4%);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px hsl(0 0% 0% / 0.12);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: hsl(221.2 83.2% 53.3%);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: hsl(215.4 16.3% 46.9%);
  font-weight: 500;
}

/* Enhanced Hero Layout */
.hero-enhanced {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, hsl(0 0% 100%) 0%, hsl(210 40% 98%) 100%);
  overflow: hidden;
}

.hero-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, hsl(221.2 83.2% 53.3% / 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, hsl(142.1 76.2% 36.3% / 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Animated Elements */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-delay-1 {
  animation-delay: 0.2s;
  opacity: 0;
}

.animate-delay-2 {
  animation-delay: 0.4s;
  opacity: 0;
}

.animate-delay-3 {
  animation-delay: 0.6s;
  opacity: 0;
}

/* Interactive hover effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px hsl(0 0% 0% / 0.15);
}

/* Email capture enhancements */
.email-form-enhanced {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  max-width: 400px;
}

.email-input-enhanced {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(214.3 31.8% 91.4%);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  background: hsl(0 0% 100%);
}

.email-input-enhanced:focus {
  outline: none;
  border-color: hsl(221.2 83.2% 53.3%);
  box-shadow: 0 0 0 3px hsl(221.2 83.2% 53.3% / 0.1);
}

@media (max-width: 640px) {
  .email-form-enhanced {
    flex-direction: column;
    max-width: 100%;
  }
}

/* Trust indicators */
.trust-indicators {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(215.4 16.3% 46.9%);
}

.trust-icon {
  width: 1rem;
  height: 1rem;
  color: hsl(142.1 76.2% 36.3%);
}

/* Utility Classes */
.flex {
  display: flex;
}

.gap-4 {
  gap: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-16 {
  margin-top: 4rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.w-4 {
  width: 1rem;
}

.h-4 {
  height: 1rem;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible improvements */
.btn:focus-visible,
.email-input-enhanced:focus-visible {
  outline: 2px solid hsl(221.2 83.2% 53.3%);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border-width: 2px;
  }
  
  .btn {
    border-width: 2px;
  }
  
  .badge {
    border-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .animate-slide-up,
  .animate-fade-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .hover-lift:hover {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
}