/* Solution Section - Minimal Pico CSS Overrides */

/* Section spacing handled by common.css */
.solution-section {
  background-color: var(--secondary-background);
}

/* Header refinement */
.solution-section header {
  text-align: center;
  margin-bottom: 3rem;
}

.solution-section header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.solution-section header p {
  font-size: 1.125rem;
  color: var(--muted-color);
  max-width: 600px;
  margin: 0 auto;
}

/* Visual image */
.solution-section figure {
  margin: 2rem 0 3rem;
  text-align: center;
}

.solution-section figure img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--card-box-shadow);
}

/* Benefits Grid - Enhanced Card Layout */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Benefit Cards */
.benefit-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-normal);
  border: 1px solid var(--muted-border-color);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: color-mix(in srgb, var(--primary) 30%, var(--muted-border-color));
}

/* Benefit Header */
.benefit-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

/* Benefit Icons */
.benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-focus);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  border: 2px solid var(--primary);
}

.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  letter-spacing: -0.025em;
}

/* Benefit Content */
.benefit-card p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color);
  margin: 0;
}

/* Metric Highlighting */
.metric-highlight {
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-focus);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}

.metric-highlight.primary {
  background: var(--primary);
  color: var(--primary-inverse);
  font-weight: 700;
}

/* Footer CTA */
.solution-section footer {
  text-align: center;
  margin-top: 3rem;
}

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

.solution-section > * {
  animation: fadeIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .solution-section figure {
    margin: 1.5rem 0 2.5rem;
  }
  
  .solution-section figure img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .benefit-card {
    padding: 2rem 1.5rem;
  }
  
  .benefit-icon {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
  }
  
  .benefit-card h3 {
    font-size: 1.375rem;
  }
  
  .benefit-card p {
    font-size: 1rem;
  }
  
  .metric-highlight {
    padding: 0.0625rem 0.25rem;
    font-size: 0.9375rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .solution-section > * {
    animation: none;
  }
  
  .benefit-card:hover {
    transform: none;
  }
}