/* ─── Feature Card Widget ─── */

/* ── Shared base ── */
.ratified-feature-card {
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ── Icon Capsule variant (default) ── */
.ratified-feature-card--icon {
  border: 1px solid rgba(63, 90, 231, 0.3);
  background-color: #141619;
}

.ratified-feature-card--icon:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(63, 90, 231, 0.5);
  box-shadow: 0 12px 32px rgba(63, 90, 231, 0.1);
}

/* Icon capsule */
.ratified-feature-card__capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, #3F5AE7 35%, transparent);
  background-color: color-mix(in srgb, #3F5AE7 15%, transparent);
  margin-bottom: 1.25rem;
}

.ratified-feature-card__capsule i {
  font-size: 28px;
  color: #3F5AE7;
}

.ratified-feature-card__capsule svg {
  width: 28px;
  height: 28px;
  fill: #3F5AE7;
}

/* ── Numbered variant ── */
.ratified-feature-card--numbered {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(63, 90, 231, 0.12);
}

.ratified-feature-card--numbered:hover {
  transform: translateY(-4px) scale(1.015);
  border-left-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 12px 32px rgba(63, 90, 231, 0.15);
}

/* Decorative number */
.ratified-feature-card__number {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 1rem;
}

/* ── Shared text ── */

/* Heading */
.ratified-feature-card__heading {
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 0.75rem 0;
  padding: 0;
}

/* Description */
.ratified-feature-card__description {
  color: #7F8287;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
}

/* Numbered variant overrides for text on blue bg */
.ratified-feature-card--numbered .ratified-feature-card__description,
.ratified-feature-card--numbered .ratified-feature-card__description p {
  color: rgba(255, 255, 255, 0.7);
}
