.tfc-features-section,
.tfc-features-section * { box-sizing: border-box; }

.tfc-features-section {
  padding: 72px 18px 78px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 6%, rgba(18, 101, 255, .08), transparent 27%),
    radial-gradient(circle at 77% 24%, rgba(107, 25, 255, .08), transparent 32%),
    radial-gradient(circle at 15% 72%, rgba(18, 101, 255, .06), transparent 36%),
    linear-gradient(180deg, #eef5ff 0%, #f8fbff 44%, #ffffff 100%);
  color: #071126;
  overflow: hidden;
}

.tfc-features-section svg,
.tfc-features-section svg * { box-sizing: border-box; }

.tfc-features-section svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: visible !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.15 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.tfc-features-section svg path,
.tfc-features-section svg rect,
.tfc-features-section svg circle,
.tfc-features-section svg line,
.tfc-features-section svg polyline,
.tfc-features-section svg polygon {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.15 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.tfc-features-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.tfc-features-header {
  max-width: 920px;
  margin: 0 auto 42px;
  text-align: center;
}

.tfc-features-pill {
  width: fit-content;
  margin: 0 auto 20px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  border: 1px solid #dfe8f5;
  color: #1265ff;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(31,70,120,.08);
}

.tfc-features-pill svg,
.tfc-features-trust svg {
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
  flex: 0 0 auto;
}

.tfc-features-header h2 {
  max-width: 880px;
  margin: 0 auto;
  color: #071126;
  font-size: clamp(52px, 6.2vw, 92px);
  line-height: .96;
  letter-spacing: -.085em;
  font-weight: 950;
}

.tfc-features-header h2 span {
  color: transparent;
  background: linear-gradient(90deg, #1265ff, #4938ff);
  -webkit-background-clip: text;
  background-clip: text;
}

.tfc-features-header p {
  max-width: 650px;
  margin: 24px auto 0;
  color: #5e6b80;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.42;
  font-weight: 760;
}

.tfc-features-trust {
  width: fit-content;
  margin: 24px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #5e6b80;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 880;
}

.tfc-features-trust svg { color: #1265ff; }

.tfc-feature-stack { display: grid; gap: 10px; }

.tfc-feature-row {
  position: relative;
  min-height: 345px;
  display: grid;
  grid-template-columns: 1fr .95fr;
  align-items: center;
  gap: 34px;
  padding: 34px 62px 0;
  border-radius: 28px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(223,232,245,.98);
  box-shadow: 0 20px 56px rgba(31,70,120,.08);
  overflow: hidden;
}

.tfc-feature-row--featured {
  min-height: 390px;
  border: 1px solid rgba(22,168,97,.22);
  box-shadow: 0 24px 70px rgba(16, 169, 97, .11), 0 20px 56px rgba(31,70,120,.08);
}

.tfc-feature-row::before,
.tfc-feature-row::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.tfc-feature-row::before { inset: 0; z-index: 0; }

.tfc-feature-row::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 92px;
  z-index: 4;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.98) 76%);
}

.tfc-feature-row--blue::before {
  background:
    radial-gradient(circle at 76% 50%, rgba(18,101,255,.14), transparent 26%),
    linear-gradient(90deg, rgba(18,101,255,.025), transparent 58%);
}

.tfc-feature-row--purple::before {
  background:
    radial-gradient(circle at 76% 50%, rgba(107,25,255,.13), transparent 26%),
    linear-gradient(90deg, rgba(107,25,255,.025), transparent 58%);
}

.tfc-feature-row--green::before {
  background:
    radial-gradient(circle at 76% 50%, rgba(20,184,106,.15), transparent 26%),
    linear-gradient(90deg, rgba(20,184,106,.026), transparent 58%);
}

.tfc-feature-row--orange::before {
  background:
    radial-gradient(circle at 24% 50%, rgba(255,122,26,.13), transparent 26%),
    linear-gradient(90deg, transparent 42%, rgba(255,122,26,.025));
}

.tfc-feature-row--reverse { grid-template-columns: .95fr 1fr; }
.tfc-feature-row--reverse .tfc-feature-copy { grid-column: 2; grid-row: 1; }
.tfc-feature-row--reverse .tfc-feature-media { grid-column: 1; grid-row: 1; }

.tfc-feature-media,
.tfc-feature-copy { position: relative; z-index: 2; }

.tfc-feature-copy { max-width: 500px; }

.tfc-feature-label {
  width: fit-content;
  margin: 0 0 14px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #eaf9f2;
  color: #16a861;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tfc-feature-meta {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tfc-feature-number,
.tfc-feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 950;
}

.tfc-feature-icon svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
}

.tfc-feature-row--blue .tfc-feature-number,
.tfc-feature-row--blue .tfc-feature-icon,
.tfc-feature-row--blue .tfc-feature-callout { background: #eef4ff; color: #1265ff; }

.tfc-feature-row--purple .tfc-feature-number,
.tfc-feature-row--purple .tfc-feature-icon,
.tfc-feature-row--purple .tfc-feature-callout { background: #f4ecff; color: #6b19ff; }

.tfc-feature-row--green .tfc-feature-number,
.tfc-feature-row--green .tfc-feature-icon,
.tfc-feature-row--green .tfc-feature-callout { background: #eaf9f2; color: #16a861; }

.tfc-feature-row--orange .tfc-feature-number,
.tfc-feature-row--orange .tfc-feature-icon,
.tfc-feature-row--orange .tfc-feature-callout { background: #fff0e8; color: #ff6a00; }

.tfc-feature-copy h3 {
  margin: 0;
  color: #071126;
  font-size: clamp(27px, 2.55vw, 38px);
  line-height: 1.04;
  letter-spacing: -.06em;
  font-weight: 950;
}

.tfc-feature-row--featured .tfc-feature-copy h3 {
  font-size: clamp(32px, 3.05vw, 46px);
}

.tfc-feature-copy p {
  max-width: 450px;
  margin: 13px 0 0;
  color: #5e6b80;
  font-size: clamp(15.5px, 1.25vw, 18px);
  line-height: 1.42;
  font-weight: 720;
}

.tfc-feature-row--featured .tfc-feature-copy p {
  font-size: clamp(16.5px, 1.42vw, 20px);
  font-weight: 760;
}

.tfc-feature-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.tfc-feature-list li {
  position: relative;
  padding-left: 28px;
  color: #3f4d63;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 850;
}

.tfc-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1265ff;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.tfc-feature-row--purple .tfc-feature-list li::before { background: #6b19ff; }
.tfc-feature-row--green .tfc-feature-list li::before { background: #16a861; }
.tfc-feature-row--orange .tfc-feature-list li::before { background: #ff6a00; }

.tfc-feature-callout {
  width: fit-content;
  margin-top: 18px;
  padding: 11px 15px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 950;
}

.tfc-feature-callout svg {
  width: 15px !important;
  height: 15px !important;
  max-width: 15px !important;
  max-height: 15px !important;
}

.tfc-feature-media {
  align-self: end;
  min-height: 310px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.tfc-feature-row--featured .tfc-feature-media { min-height: 350px; }

.tfc-feature-orb {
  position: absolute;
  width: 350px;
  height: 350px;
  right: 50%;
  bottom: 16px;
  transform: translateX(50%);
  border-radius: 50%;
  z-index: 0;
  opacity: .92;
}

.tfc-feature-row--featured .tfc-feature-orb { width: 410px; height: 410px; }
.tfc-feature-row--blue .tfc-feature-orb { background: rgba(18,101,255,.095); }
.tfc-feature-row--purple .tfc-feature-orb { background: rgba(107,25,255,.09); }
.tfc-feature-row--green .tfc-feature-orb { background: rgba(20,184,106,.09); }
.tfc-feature-row--orange .tfc-feature-orb { background: rgba(255,122,26,.09); }

.tfc-feature-media img {
  position: relative;
  z-index: 2;
  width: min(100%, 292px);
  height: auto;
  align-self: flex-end;
  display: block;
  filter: drop-shadow(0 18px 28px rgba(15,23,42,.16));
  transform: translateY(22px);
}

.tfc-feature-row--featured .tfc-feature-media img {
  width: min(100%, 322px);
  transform: translateY(20px) rotate(-1.5deg);
}

.tfc-feature-row--blue .tfc-feature-media img { transform: translateY(22px) rotate(1.5deg); }
.tfc-feature-row--purple .tfc-feature-media img { transform: translateY(22px) rotate(-1.5deg); }
.tfc-feature-row--orange .tfc-feature-media img { transform: translateY(22px) rotate(1.5deg); }

@media (max-width: 900px) {
  .tfc-features-section { padding: 54px 14px 60px; }
  .tfc-features-header { max-width: 700px; margin-bottom: 28px; }
  .tfc-feature-row,
  .tfc-feature-row--reverse,
  .tfc-feature-row--featured {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 22px 18px 0;
    text-align: center;
  }
  .tfc-feature-row--reverse .tfc-feature-media,
  .tfc-feature-row--reverse .tfc-feature-copy { grid-column: auto; grid-row: auto; }
  .tfc-feature-copy { max-width: 560px; margin: 0 auto; }
  .tfc-feature-label { margin-left: auto; margin-right: auto; }
  .tfc-feature-meta { justify-content: center; }
  .tfc-feature-list {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .tfc-feature-callout { margin-left: auto; margin-right: auto; }
  .tfc-feature-media,
  .tfc-feature-row--featured .tfc-feature-media { min-height: 0; margin-top: 14px; }
  .tfc-feature-orb,
  .tfc-feature-row--featured .tfc-feature-orb { width: 290px; height: 290px; }
  .tfc-feature-media img,
  .tfc-feature-row--featured .tfc-feature-media img { width: min(100%, 255px); transform: translateY(18px); }
}

@media (max-width: 560px) {
  .tfc-features-section { padding: 42px 12px 48px; }
  .tfc-features-pill {
    max-width: 100%;
    padding: 8px 10px;
    font-size: 9px;
    letter-spacing: .065em;
    white-space: nowrap;
  }
  .tfc-features-pill svg,
  .tfc-features-trust svg {
    width: 13px !important;
    height: 13px !important;
    max-width: 13px !important;
    max-height: 13px !important;
  }
  .tfc-features-header { margin-bottom: 20px; }
  .tfc-features-header h2 { font-size: clamp(34px, 10.4vw, 46px); letter-spacing: -.072em; }
  .tfc-features-header p { margin-top: 14px; font-size: 14.5px; line-height: 1.35; }
  .tfc-features-trust { margin-top: 17px; font-size: 11.5px; }
  .tfc-feature-stack { gap: 10px; }
  .tfc-feature-row,
  .tfc-feature-row--reverse,
  .tfc-feature-row--featured { padding: 18px 13px 0; border-radius: 22px; }
  .tfc-feature-label { margin-bottom: 10px; padding: 7px 10px; font-size: 9px; letter-spacing: .09em; }
  .tfc-feature-meta { margin-bottom: 11px; gap: 8px; }
  .tfc-feature-number,
  .tfc-feature-icon { width: 38px; height: 38px; border-radius: 12px; font-size: 13px; }
  .tfc-feature-icon svg {
    width: 17px !important;
    height: 17px !important;
    max-width: 17px !important;
    max-height: 17px !important;
  }
  .tfc-feature-copy h3,
  .tfc-feature-row--featured .tfc-feature-copy h3 { font-size: 22px; }
  .tfc-feature-copy p,
  .tfc-feature-row--featured .tfc-feature-copy p {
    max-width: 310px;
    margin: 8px auto 0;
    font-size: 13px;
    line-height: 1.34;
  }
  .tfc-feature-list { margin-top: 12px; gap: 6px; }
  .tfc-feature-list li { font-size: 11.8px; padding-left: 22px; }
  .tfc-feature-list li::before { width: 15px; height: 15px; font-size: 10px; }
  .tfc-feature-callout { margin-top: 12px; padding: 8px 11px; font-size: 11.5px; }
  .tfc-feature-callout svg {
    width: 13px !important;
    height: 13px !important;
    max-width: 13px !important;
    max-height: 13px !important;
  }
  .tfc-feature-media { margin-top: 8px; }
  .tfc-feature-orb,
  .tfc-feature-row--featured .tfc-feature-orb { width: 245px; height: 245px; bottom: 8px; }
  .tfc-feature-media img,
  .tfc-feature-row--featured .tfc-feature-media img { width: min(100%, 220px); transform: translateY(16px); }
}
