/* Hero Section - Leveraging Pico CSS */

/* Hero takes full viewport height - section spacing handled by common.css */
.hero-section {
  min-height: 60vh;
  display: flex;
  align-items: flex-start;
}

/* Container refinement */
.hero-section .container {
  max-width: 1200px;
}

/* Grid layout */
.hero-section .grid {
  align-items: flex-start;
  gap: 4rem;
  padding-top: 2rem;
}

/* Typography - minimal overrides */
.hero-section h1 {
  line-height: 1.1;
}

.hero-section h1 mark {
  background: linear-gradient(90deg, var(--del-color) 0%, #DC2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0;
}

/* Lead paragraph */
.hero-section .grid > div:first-child p:first-of-type {
  line-height: 1.6;
  color: var(--muted-color);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Button group spacing */
.hero-actions {
  margin-bottom: 2rem;
}

.hero-actions small {
  display: block;
  margin-top: 1rem;
  color: var(--muted-color);
}

/* Trust metric */
.trust-metric {
  font-size: 1.125rem;
  color: var(--muted-color);
}

.trust-metric strong {
  color: var(--primary);
}

/* Figure styling */
.hero-section figure {
  position: relative;
  margin: 0;
}

.hero-section figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* Stats overlay */
.hero-stats {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-stats data {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted-color);
}

.hero-stats strong {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

/* Simple animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-section .grid > div > * {
  animation: fadeIn 0.8s ease-out backwards;
}

.hero-section .grid > div > *:nth-child(2) { animation-delay: 0.1s; }
.hero-section .grid > div > *:nth-child(3) { animation-delay: 0.2s; }
.hero-section .grid > div > *:nth-child(4) { animation-delay: 0.3s; }

/* Responsive */
@media (max-width: 992px) {
  .hero-section .grid {
    text-align: center;
  }
  
  .hero-section .grid > div:first-child p:first-of-type {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-section figure {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section figure {
    margin-top: 2rem;
  }
  
  .hero-section figure img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .hero-stats {
    position: static;
    transform: none;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    gap: 1rem;
  }
  
  .hero-stats strong {
    font-size: 1.25rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-section .grid > div > * {
    animation: none;
  }
}