/* Outcome Section */
#outcome {
  position: relative;
  background: linear-gradient(180deg, var(--bs-body-bg, #f9fafb) 0%, var(--bs-secondary-bg, #f3f4f6) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

[data-bs-theme="dark"] #outcome {
  background: linear-gradient(180deg, var(--bs-body-bg) 0%, var(--bs-secondary-bg) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

/* Heading emphasis: solid Conviction Blue, no gradient text */
.outcome-heading-emphasis {
  color: var(--sa-primary-600, #2563EB);
  font-weight: 700;
}

/* Outcome section subtitle */
#outcome .text-muted {
  color: rgba(71, 85, 105, 0.85) !important;
  font-weight: 400;
  max-width: 700px;
}

[data-bs-theme="dark"] #outcome .text-muted {
  color: rgba(203, 213, 225, 0.75) !important;
}

/* Base card */
.outcome-card {
  background: linear-gradient(160deg, #fafeff 0%, #f5f7fa 100%);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.25s ease;
}

[data-bs-theme="dark"] .outcome-card {
  background: linear-gradient(160deg, rgba(31, 41, 55, 0.98) 0%, rgba(17, 24, 39, 0.95) 100%);
  border-color: rgba(37, 99, 235, 0.2);
}

/* Featured card: subtle teal tint to differentiate */
.outcome-card--featured {
  background: linear-gradient(160deg, #fafffd 0%, rgba(204, 251, 241, 0.3) 100%);
  border-color: rgba(20, 184, 166, 0.18);
}

[data-bs-theme="dark"] .outcome-card--featured {
  background: linear-gradient(160deg, rgba(31, 41, 55, 0.98) 0%, rgba(15, 118, 110, 0.12) 100%);
  border-color: rgba(20, 184, 166, 0.25);
}

.outcome-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-l);
  border-color: rgba(37, 99, 235, 0.25);
}

.outcome-card--featured:hover {
  border-color: rgba(20, 184, 166, 0.3);
}

[data-bs-theme="dark"] .outcome-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
}

[data-bs-theme="dark"] .outcome-card--featured:hover {
  border-color: rgba(20, 184, 166, 0.4);
}

/* Card text */
.outcome-card h4,
.outcome-card h5 {
  color: var(--bs-gray-900);
  letter-spacing: -0.01em;
}

[data-bs-theme="dark"] .outcome-card h4,
[data-bs-theme="dark"] .outcome-card h5 {
  color: var(--bs-gray-100);
}

.outcome-card p {
  color: var(--bs-gray-700);
  line-height: 1.6;
  font-size: 0.95rem;
}

[data-bs-theme="dark"] .outcome-card p {
  color: var(--bs-gray-300);
}

.outcome-card .small {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Icon wrapper */
.outcome-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.06);
  border-radius: var(--radius-l);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.outcome-card--featured .outcome-icon-wrap {
  background: rgba(20, 184, 166, 0.08);
}

.outcome-card:hover .outcome-icon-wrap {
  transform: scale(1.08);
}

[data-bs-theme="dark"] .outcome-icon-wrap {
  background: rgba(37, 99, 235, 0.1);
}

[data-bs-theme="dark"] .outcome-card--featured .outcome-icon-wrap {
  background: rgba(20, 184, 166, 0.1);
}

/* Industry tags inside the featured card */
.outcome-industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.outcome-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-m);
  background: rgba(20, 184, 166, 0.08);
  color: var(--sa-secondary-700, #0F766E);
  border: 1px solid rgba(20, 184, 166, 0.18);
}

[data-bs-theme="dark"] .outcome-tag {
  background: rgba(20, 184, 166, 0.12);
  color: var(--sa-secondary-100, #CCFBF1);
  border-color: rgba(20, 184, 166, 0.22);
}

/* Icon color tokens */
.outcome-icon--teal {
  color: var(--sa-secondary-600, #14B8A6);
}

.outcome-icon--blue {
  color: var(--sa-primary-600, #2563EB);
}

/* Outcome more-info: solid Conviction Blue, not the CTA gradient */
.outcome-more-info {
  background: var(--sa-primary-700, #1D4ED8);
  color: white;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-m);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .outcome-more-info {
  background: #1e3a8a;
  border-color: rgba(255, 255, 255, 0.06);
}

.outcome-more-info h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
}

.outcome-more-info p {
  color: rgba(224, 242, 254, 0.92);
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 400;
}

.outcome-more-info .btn {
  font-weight: 600;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.outcome-more-info .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  #outcome {
    padding-bottom: var(--space-xl);
    margin-bottom: var(--space-l);
  }

  #outcome h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  #outcome .text-muted {
    font-size: 1rem;
  }

  .outcome-card--featured {
    margin-bottom: 0;
  }

  .outcome-more-info {
    padding: 2rem 1.5rem !important;
  }

  .outcome-more-info h4 {
    font-size: 1.5rem;
  }

  .outcome-more-info p {
    font-size: 1rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .outcome-card,
  .outcome-icon-wrap,
  .outcome-more-info .btn {
    transition: none !important;
  }

  .outcome-card:hover {
    transform: none;
  }

  .outcome-icon-wrap:hover {
    transform: none;
  }
}
