/* ============================================
   QUICK FACTS - STYLES COMPLETS
   ============================================ */

:root {
  --primary: #8BC34A;
  --primary-600: #7CB342;
  --primary-100: #C5E1A5;
  --text: #1a1a1a;
  --muted: #666666;
  --border: #e0e0e0;
  --bg-light: #f9f9f9;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 48px;
  --radius: 12px;
  --radius-lg: 16px;
}

/* ============================================
   BASE STYLES
   ============================================ */

.quick-facts {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  width: 100%;
}

.quick-fact {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
  min-width: 0;
}

.quick-fact__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(139, 195, 74, 0.1);
  border-radius: 50%;
}

.quick-fact__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.quick-fact__value {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.quick-fact__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: capitalize;
}

/* ============================================
   VARIANT 2: GRID LAYOUT
   ============================================ */

.quick-facts--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  grid-auto-flow: dense;
}

.quick-facts--grid .quick-fact {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.quick-facts--grid .quick-fact:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(139, 195, 74, 0.15);
  border-color: var(--primary);
}

.quick-facts--grid .quick-fact__icon {
  width: 56px;
  height: 56px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(139, 195, 74, 0.15), rgba(139, 195, 74, 0.05));
}

.quick-facts--grid .quick-fact__content {
  gap: 4px;
}

/* ============================================
   VARIANT 3: MINIMAL
   ============================================ */

.quick-facts--minimal {
  gap: var(--space-lg);
  padding: var(--space-md) 0;
}

.quick-facts--minimal .quick-fact {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-md);
}

.quick-facts--minimal .quick-fact__icon {
  display: none;
}

.quick-facts--minimal .quick-fact__value {
  font-size: 1.5rem;
  font-weight: 700;
}

.quick-facts--minimal .quick-fact__label {
  font-size: 0.875rem;
  margin-top: 4px;
}

/* ============================================
   VARIANT 4: HIGHLIGHTED
   ============================================ */

.quick-facts--highlighted {
  gap: var(--space-md);
}

.quick-facts--highlighted .quick-fact {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: all 0.3s ease;
}

.quick-facts--highlighted .quick-fact:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(139, 195, 74, 0.1);
}

.quick-fact__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-xs);
  box-shadow: 0 2px 8px rgba(139, 195, 74, 0.3);
}

.quick-facts--highlighted .quick-fact__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(139, 195, 74, 0.2), rgba(139, 195, 74, 0.1));
  border-radius: var(--radius);
}

/* ============================================
   VARIANT 5: VERTICAL STACK
   ============================================ */

.quick-facts--vertical {
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.quick-facts--vertical .quick-fact {
  flex-direction: row;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.quick-facts--vertical .quick-fact:last-child {
  border-bottom: none;
}

.quick-facts--vertical .quick-fact__icon {
  width: 40px;
  height: 40px;
  background: rgba(139, 195, 74, 0.08);
}

.quick-fact__row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex: 1;
}

/* ============================================
   VARIANT 6: COLORED ICONS
   ============================================ */

.quick-facts--colored {
  gap: var(--space-md);
}

.quick-facts--colored .quick-fact {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.quick-facts--colored .quick-fact:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.quick-facts--colored .quick-fact__icon {
  width: 56px;
  height: 56px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Color variants */
.quick-fact--blue .quick-fact__icon {
  color: #2196F3;
  background: rgba(33, 150, 243, 0.1);
}

.quick-fact--orange .quick-fact__icon {
  color: #FF9800;
  background: rgba(255, 152, 0, 0.1);
}

.quick-fact--purple .quick-fact__icon {
  color: #9C27B0;
  background: rgba(156, 39, 176, 0.1);
}

.quick-fact--green .quick-fact__icon {
  color: var(--primary);
  background: rgba(139, 195, 74, 0.1);
}

/* ============================================
   VARIANT 7: DETAILED
   ============================================ */

.quick-facts--detailed {
  gap: var(--space-md);
}

.quick-facts--detailed .quick-fact {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.quick-facts--detailed .quick-fact:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(139, 195, 74, 0.12);
}

.quick-facts--detailed .quick-fact__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(139, 195, 74, 0.2), rgba(139, 195, 74, 0.08));
  border-radius: var(--radius);
  font-size: 1.25rem;
}

.quick-facts--detailed .quick-fact__content {
  gap: 6px;
  width: 100%;
}

.quick-fact__description {
  margin: var(--space-xs) 0 0 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 400;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .quick-facts {
    gap: var(--space-sm);
  }

  .quick-fact__value {
    font-size: 1.25rem;
  }

  .quick-fact__label {
    font-size: 0.75rem;
  }

  .quick-facts--grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-facts--minimal {
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  .quick-facts {
    flex-direction: column;
    gap: var(--space-md);
  }

  .quick-facts--grid {
    grid-template-columns: 1fr;
  }

  .quick-fact {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .quick-facts--highlighted .quick-fact {
    flex-direction: column;
  }

  .quick-facts--vertical .quick-fact {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .quick-fact__row {
    flex-direction: row;
    width: 100%;
  }

  .quick-fact__value {
    font-size: 1.125rem;
  }

  .quick-fact__label {
    font-size: 0.8125rem;
  }

  .quick-facts--detailed .quick-fact {
    padding: var(--space-md);
  }

  .quick-facts--detailed .quick-fact__icon {
    width: 48px;
    height: 48px;
  }

  .quick-facts--minimal {
    gap: var(--space-lg);
  }

  .quick-facts--minimal .quick-fact {
    flex-direction: row;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .quick-facts {
    gap: var(--space-sm);
  }

  .quick-fact {
    gap: var(--space-sm);
  }

  .quick-fact__icon {
    width: 40px;
    height: 40px;
  }

  .quick-fact__value {
    font-size: 1rem;
  }

  .quick-fact__label {
    font-size: 0.75rem;
  }

  .quick-facts--grid,
  .quick-facts--highlighted,
  .quick-facts--colored {
    gap: var(--space-sm);
  }

  .quick-facts--grid .quick-fact,
  .quick-facts--highlighted .quick-fact,
  .quick-facts--colored .quick-fact {
    padding: var(--space-sm);
  }

  .quick-fact__badge {
    padding: 4px 8px;
    font-size: 0.6rem;
  }

  .quick-facts--detailed .quick-fact {
    padding: var(--space-md);
  }

  .quick-facts--minimal {
    gap: var(--space-md);
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quick-fact {
  animation: fadeInUp 0.6s ease-out;
}

.quick-fact:nth-child(1) {
  animation-delay: 0.1s;
}

.quick-fact:nth-child(2) {
  animation-delay: 0.2s;
}

.quick-fact:nth-child(3) {
  animation-delay: 0.3s;
}

.quick-fact:nth-child(4) {
  animation-delay: 0.4s;
}

/* ============================================
   VARIANT 8: MINIMALIST MONOCHROME
   ============================================ */

.quick-facts--minimalist {
  gap: var(--space-lg);
  padding: var(--space-md) 0;
  justify-content: space-between;
}

.quick-facts--minimalist .quick-fact {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  flex: 1;
  min-width: auto;
}

.quick-facts--minimalist .quick-fact__icon {
  width: 40px;
  height: 40px;
  background: transparent;
  color: var(--text);
  border-radius: 0;
  flex-shrink: 0;
}

.quick-facts--minimalist .quick-fact__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
  opacity: 0.7;
}

.quick-facts--minimalist .quick-fact__value {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.quick-facts--minimalist .quick-fact__label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
}

/* ============================================
   VARIANT 9: EXTRA LIGHT (TEMPLATE 6)
   ============================================ */

.quick-facts--extra-light {
  display: flex;
  justify-content: space-between;
  gap: var(--space-xl);
  padding: var(--space-lg) var(--space-xl);
  background: #f5f5f5;
  border-radius: var(--radius-lg);
  margin: var(--space-lg) 0;
}

.quick-facts--extra-light .quick-fact {
  flex-direction: row;
  align-items: center;
  gap: var(--space-md);
  flex: none;
}

.quick-facts--extra-light .quick-fact__icon {
  width: 22px;
  height: 22px;
  background: transparent;
  color: var(--text);
  border-radius: 0;
  opacity: 0.5;
}

.quick-facts--extra-light .quick-fact__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
}

.quick-facts--extra-light .quick-fact__content {
  flex-direction: column;
  gap: 2px;
}

.quick-facts--extra-light .quick-fact__value {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
}

.quick-facts--extra-light .quick-fact__label {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 400;
  text-transform: capitalize;
}

/* ============================================
   DARK MODE SUPPORT (OPTIONAL)
   ============================================ */

@media (prefers-color-scheme: dark) {
  .quick-facts--grid .quick-fact {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  }

  .quick-facts--detailed .quick-fact {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  }

  .quick-facts--highlighted .quick-fact {
    background: #1f1f1f;
    border-color: #333;
  }

  .quick-fact__label {
    color: #999;
  }

  .quick-fact__description {
    color: #999;
  }
}
