.ai-fit-section__title {
  margin: 0;
}

.ai-fit-section__title .ai-fit-section__title-accent {
  color: #7a6af0;
}

.ai-fit-section__description {
  color: rgba(8, 17, 26, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.ai-fit-section__description p:last-child {
  margin-bottom: 0;
}

.ai-fit-section__cards-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}
.ai-fit-section__cards-track.is-single-card {
  grid-template-columns: 1fr;
}

.ai-fit-section__card {
  background: #fff;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(8, 17, 26, 0.06);
}

.ai-fit-section__card--not-fit {
  border: 1px solid rgb(235 87 87 / 48%);
  background-color: rgb(235 87 87 / 4%);
}

.ai-fit-section__card--perfect-fit {
  border: 1px solid rgb(33 150 83 / 48%);
  background-color: rgb(33 150 83 / 4%);
}

.ai-fit-section__card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 32px 32px 12px;
}

.ai-fit-section__card-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
}

.ai-fit-section__card--not-fit .ai-fit-section__card-icon {
  color: #dc2626;
  background: rgba(239, 68, 68, 0.14);
}

.ai-fit-section__card--perfect-fit .ai-fit-section__card-icon {
  color: #16a34a;
  background: rgba(34, 197, 94, 0.16);
}

.ai-fit-section__card-title {
  margin: 0;
  line-height: 1.3;
}

.ai-fit-section__features {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
}

.ai-fit-section__feature {
  position: relative;
  padding: 12px 32px 8px;
  margin: 0;
  color: rgba(8, 17, 26, 0.82);
  font-size: 18px;
  line-height: 28px;
}

.ai-fit-section__feature:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 0;
  height: 1px;
  background: rgba(8, 17, 26, 0.08);
}

li.ai-fit-section__feature:last-child {
  padding-bottom: 32px;
}

@media (max-width: 767.98px) {
  .ai-fit-section__cards-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 2px 10px;
    margin: 0 -4px;
  }

  .ai-fit-section__cards-track::-webkit-scrollbar {
    display: none;
  }

  .ai-fit-section__card-wrap {
    flex: 0 0 88%;
    max-width: 88%;
    scroll-snap-align: start;
    min-width: 0;
  }

  .is-single-card .ai-fit-section__card-wrap {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    
  }

  .ai-fit-section__feature {
    padding: 12px 32px 8px;
  }
  .ai-fit-section__card-head {
    padding: 24px 24px 12px;
}
}
