.cs-features-hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(var(--bs-primary-rgb), 0.18), transparent 34rem),
    var(--bs-tertiary-bg);
}

.cs-features-section-intro {
  max-width: 48rem;
}

.cs-features-hero-visual {
  background: linear-gradient(145deg, var(--bs-primary), var(--bs-dark));
}

.cs-features-visual-screen {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cs-features-photo {
  min-height: 5.5rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.35)),
    var(--bs-primary-bg-subtle);
}

.cs-features-photo--large {
  min-height: 12rem;
}

.cs-features-qr {
  width: 3.5rem;
  height: 3.5rem;
  flex: 0 0 auto;
  background: var(--bs-primary-bg-subtle);
  color: var(--bs-primary-text-emphasis);
}

.cs-feature-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.cs-feature-card:hover,
.cs-feature-card:focus-within {
  transform: translateY(-0.2rem);
  box-shadow: var(--bs-box-shadow) !important;
}

.cs-feature-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bs-primary-bg-subtle);
  color: var(--bs-primary-text-emphasis);
  font-size: 1.2rem;
}

.cs-features-comparison dt {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

/* Bootstrap's light emphasis token is too dark on a forced dark section. */
.bg-dark .text-light-emphasis {
  color: rgba(var(--bs-white-rgb), 0.75) !important;
}

.cs-features-cta {
  background:
    linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.12), rgba(var(--bs-info-rgb), 0.08)),
    var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
}

@media (max-width: 575.98px) {
  .cs-features-photo--large {
    min-height: 9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-feature-card {
    transition: none;
  }

  .cs-feature-card:hover,
  .cs-feature-card:focus-within {
    transform: none;
  }
}
