.tfc-ai-page,
.tfc-ai-page * {
  box-sizing: border-box;
}

.tfc-ai-page {
  --ink: #071126;
  --blue: #1265ff;
  --blue2: #4938ff;
  --muted: #5e6b80;

  position: relative;
  min-height: calc(100svh - 92px);
  padding: 30px 18px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  overflow: hidden;
  isolation: isolate;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 17% 20%, rgba(18, 101, 255, .13), transparent 29%),
    radial-gradient(circle at 83% 18%, rgba(107, 25, 255, .15), transparent 31%),
    radial-gradient(circle at 50% 62%, rgba(18, 101, 255, .10), transparent 39%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 76%, #eaf3ff 100%);
}

.tfc-ai-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 26%, rgba(18,101,255,.10) 0 1px, transparent 1.6px),
    radial-gradient(circle at 88% 20%, rgba(107,25,255,.10) 0 1px, transparent 1.6px);
  background-size: 18px 18px, 18px 18px;
  mask-image: radial-gradient(circle at 12% 26%, #000, transparent 18%), radial-gradient(circle at 88% 20%, #000, transparent 18%);
  opacity: .7;
}

.tfc-ai-page::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -95px;
  z-index: -1;
  width: min(1120px, 115%);
  height: 280px;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.84));
}

.tfc-ai-hero {
  position: relative;
  width: min(100%, 980px);
  text-align: center;
}

.tfc-ai-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: -1;
  width: 720px;
  height: 250px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,.86), rgba(255,255,255,.38) 48%, transparent 72%);
}

.tfc-ai-hero h1 {
  margin: 0;
  font-size: clamp(56px, 6.5vw, 98px);
  line-height: .9;
  letter-spacing: -.085em;
  font-weight: 950;
  text-shadow: 0 16px 42px rgba(15, 23, 42, .08);
}

.tfc-ai-hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--blue) 0%, #245cff 48%, var(--blue2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.tfc-ai-subtitle {
  max-width: 720px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.22vw, 20px);
  line-height: 1.28;
  font-weight: 850;
  letter-spacing: -.035em;
}

.tfc-ai-subtitle strong {
  color: var(--blue);
}

.tfc-ai-goal-card {
  position: relative;
  width: min(100%, 930px);
  padding: 25px 38px 30px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.30), transparent 34%),
    radial-gradient(circle at 86% 0%, rgba(255,255,255,.12), transparent 32%),
    linear-gradient(135deg, #7c3cff 0%, #304dff 49%, #006dff 100%);
  border: 1px solid rgba(255,255,255,.54);
  box-shadow:
    0 34px 76px rgba(30, 64, 175, .30),
    0 18px 32px rgba(15, 23, 42, .08),
    0 0 0 8px rgba(18, 101, 255, .08),
    inset 0 1px 0 rgba(255,255,255,.30),
    inset 0 -1px 0 rgba(8, 17, 38, .13);
  color: #fff;
  overflow: hidden;
}

.tfc-ai-goal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,.18), transparent 24%, transparent 72%, rgba(255,255,255,.08)),
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.18), transparent 42%);
  pointer-events: none;
}

.tfc-ai-goal-kicker,
.tfc-ai-goal-card h2,
.tfc-ai-goal-card > p,
.tfc-ai-goals {
  position: relative;
  z-index: 2;
}

.tfc-ai-goal-kicker {
  margin-bottom: 9px;
  text-align: center;
  color: rgba(255,255,255,.91);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.tfc-ai-goal-card h2 {
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: clamp(31px, 2.45vw, 40px);
  line-height: 1;
  letter-spacing: -.065em;
  font-weight: 950;
  text-shadow: 0 10px 28px rgba(15,23,42,.13);
}

.tfc-ai-goal-card > p {
  max-width: 570px;
  margin: 9px auto 20px;
  text-align: center;
  color: rgba(255,255,255,.93);
  font-size: 15.5px;
  line-height: 1.24;
  font-weight: 780;
}

.tfc-ai-goals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.tfc-ai-goal {
  min-height: 80px;
  padding: 13px 17px;
  display: grid;
  grid-template-columns: 50px 1fr 40px;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,255,.96));
  border: 1px solid rgba(255,255,255,.78);
  text-decoration: none;
  text-align: left;
  box-shadow:
    0 14px 30px rgba(15, 23, 42, .14),
    inset 0 1px 0 rgba(255,255,255,.90);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.tfc-ai-goal:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 42px rgba(15, 23, 42, .20),
    inset 0 1px 0 rgba(255,255,255,.95);
  background: #fff;
}

.tfc-ai-goal b {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
}

.tfc-ai-page svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  overflow: visible !important;
}

.tfc-ai-page svg,
.tfc-ai-page svg * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.1 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.tfc-ai-goal--orange b,
.tfc-ai-goal--orange em {
  background: #fff0e8;
  color: #ff5a15;
}

.tfc-ai-goal--blue b,
.tfc-ai-goal--blue em {
  background: #edf4ff;
  color: #1265ff;
}

.tfc-ai-goal--green b,
.tfc-ai-goal--green em {
  background: #eaf9f2;
  color: #18a961;
}

.tfc-ai-goal--purple b,
.tfc-ai-goal--purple em {
  background: #f4ecff;
  color: #8147ff;
}

.tfc-ai-goal strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.04em;
}

.tfc-ai-goal small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.15;
  font-weight: 730;
}

.tfc-ai-goal em {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 24px;
  font-style: normal;
}

.tfc-ai-trust-row {
  width: min(100%, 930px);
  margin-top: 6px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-radius: 24px;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(18, 101, 255, .14);
  box-shadow:
    0 18px 42px rgba(15, 23, 42, .10),
    0 1px 0 rgba(255,255,255,.95) inset;
  color: var(--ink);
}

.tfc-ai-trust-row div {
  position: relative;
  min-height: 66px;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 9px 12px;
  text-align: left;
  border-radius: 18px;
  background: rgba(255,255,255,.64);
}

.tfc-ai-trust-row span {
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, #ffffff 0%, #f2f7ff 42%, #eaf2ff 100%);
  color: var(--blue);
  box-shadow:
    0 14px 26px rgba(18, 101, 255, .12),
    0 0 0 1px rgba(18, 101, 255, .08) inset;
}

.tfc-ai-trust-row span svg {
  width: 19px !important;
  height: 19px !important;
}

.tfc-ai-trust-row strong {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.035em;
}

.tfc-ai-trust-row small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.18;
  font-weight: 770;
}

@media (max-width: 680px) {
  .tfc-ai-page {
    min-height: auto;
    padding: 12px 8px 22px;
    gap: 8px;
    background:
      radial-gradient(circle at 50% 12%, rgba(18, 101, 255, .14), transparent 30%),
      radial-gradient(circle at 88% 10%, rgba(107, 25, 255, .13), transparent 35%),
      radial-gradient(circle at 50% 64%, rgba(18, 101, 255, .11), transparent 42%),
      linear-gradient(180deg, #f8fbff 0%, #eef5ff 76%, #eaf3ff 100%);
  }

  .tfc-ai-page::before {
    opacity: .35;
    background-size: 16px 16px;
  }

  .tfc-ai-page::after {
    bottom: -110px;
    height: 230px;
  }

  .tfc-ai-hero::before {
    width: 420px;
    height: 185px;
  }

  .tfc-ai-hero h1 {
    font-size: clamp(37px, 11vw, 50px);
    line-height: .9;
  }

  .tfc-ai-subtitle {
    max-width: 360px;
    margin-top: 7px;
    font-size: 12.6px;
    line-height: 1.25;
  }

  .tfc-ai-goal-card {
    padding: 14px 10px 12px;
    border-radius: 25px;
    box-shadow:
      0 22px 52px rgba(30,64,175,.30),
      0 0 0 6px rgba(18,101,255,.08),
      inset 0 1px 0 rgba(255,255,255,.30);
  }

  .tfc-ai-goal-kicker {
    margin-bottom: 7px;
    font-size: 9px;
    letter-spacing: .22em;
  }

  .tfc-ai-goal-card h2 {
    font-size: 24px;
  }

  .tfc-ai-goal-card > p {
    max-width: 295px;
    margin: 7px auto 11px;
    font-size: 12px;
    line-height: 1.22;
  }

  .tfc-ai-goals {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tfc-ai-goal {
    min-height: 66px;
    padding: 9px 10px;
    grid-template-columns: 36px 1fr 30px;
    gap: 8px;
    border-radius: 17px;
  }

  .tfc-ai-goal b {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  .tfc-ai-goal svg {
    width: 18px !important;
    height: 18px !important;
  }

  .tfc-ai-goal strong {
    font-size: 15px;
  }

  .tfc-ai-goal small {
    margin-top: 4px;
    font-size: 10.8px;
    line-height: 1.1;
  }

  .tfc-ai-goal em {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .tfc-ai-trust-row {
    width: 100%;
    margin-top: 5px;
    padding: 7px;
    grid-template-columns: 1fr;
    gap: 6px;
    border-radius: 20px;
  }

  .tfc-ai-trust-row div {
    min-height: 54px;
    padding: 8px 10px;
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 10px;
    align-items: center;
    text-align: left;
  }

  .tfc-ai-trust-row span {
    width: 30px;
    height: 30px;
  }

  .tfc-ai-trust-row span svg {
    width: 16px !important;
    height: 16px !important;
  }

  .tfc-ai-trust-row strong {
    font-size: 12px;
  }

  .tfc-ai-trust-row small {
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.12;
  }
}

@media (max-width: 390px) {
  .tfc-ai-page {
    padding-top: 10px;
  }

  .tfc-ai-hero h1 {
    font-size: 36px;
  }

  .tfc-ai-subtitle {
    font-size: 12px;
  }

  .tfc-ai-goal {
    min-height: 63px;
  }
}

/* --- FINAL HERO FIXES: trust row + desktop background fade --- */

.tfc-ai-page {
  background:
    radial-gradient(circle at 16% 18%, rgba(18, 101, 255, .13), transparent 30%),
    radial-gradient(circle at 84% 16%, rgba(107, 25, 255, .14), transparent 32%),
    radial-gradient(ellipse at 50% 88%, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .74) 22%, rgba(234, 243, 255, .58) 45%, transparent 64%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 72%, #eaf3ff 100%) !important;
}

.tfc-ai-page::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -70px;
  z-index: -1;
  width: min(1120px, 112%);
  height: 250px;
  transform: translateX(-50%);
  border-radius: 999px 999px 0 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 42%, rgba(255,255,255,.24) 68%, transparent 76%);
  pointer-events: none;
}

.tfc-ai-trust-row {
  position: relative;
  width: min(100%, 930px);
  margin-top: 7px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.78));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(18, 101, 255, .13);
  box-shadow:
    0 20px 48px rgba(15, 23, 42, .09),
    0 10px 28px rgba(18, 101, 255, .08),
    inset 0 1px 0 rgba(255,255,255,.96);
  color: var(--ink);
  overflow: hidden;
}

.tfc-ai-trust-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(18,101,255,.07), transparent 30%),
    radial-gradient(circle at 85% 25%, rgba(107,25,255,.07), transparent 30%),
    linear-gradient(90deg, rgba(255,255,255,.56), rgba(255,255,255,.18), rgba(255,255,255,.56));
  pointer-events: none;
}

.tfc-ai-trust-row > div {
  position: relative;
  z-index: 1;
  min-height: 66px;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 9px 12px;
  text-align: left;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.76), rgba(255,255,255,.48));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
}

@media (max-width: 680px) {
  .tfc-ai-page {
    background:
      radial-gradient(circle at 50% 12%, rgba(18, 101, 255, .14), transparent 30%),
      radial-gradient(circle at 88% 10%, rgba(107, 25, 255, .13), transparent 35%),
      radial-gradient(ellipse at 50% 92%, rgba(255,255,255,.92) 0%, rgba(255,255,255,.66) 32%, transparent 64%),
      linear-gradient(180deg, #f8fbff 0%, #eef5ff 76%, #eaf3ff 100%) !important;
  }

  .tfc-ai-trust-row {
    width: 100%;
    margin-top: 5px;
    padding: 7px;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px;
    border-radius: 20px;
  }

  .tfc-ai-trust-row > div {
    min-height: 82px;
    padding: 8px 5px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    text-align: center;
    border-radius: 15px;
  }

  .tfc-ai-trust-row span {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }

  .tfc-ai-trust-row span svg {
    width: 16px !important;
    height: 16px !important;
  }

  .tfc-ai-trust-row strong {
    font-size: 10.8px;
    line-height: 1.05;
  }

  .tfc-ai-trust-row small {
    display: block;
    max-width: 96px;
    margin-top: 0;
    font-size: 9px;
    line-height: 1.12;
    font-weight: 750;
  }
}

@media (max-width: 390px) {
  .tfc-ai-trust-row {
    gap: 5px;
    padding: 6px;
  }

  .tfc-ai-trust-row > div {
    min-height: 80px;
    padding: 7px 4px;
  }

  .tfc-ai-trust-row strong {
    font-size: 10.2px;
  }

  .tfc-ai-trust-row small {
    font-size: 8.5px;
  }
}
