/* 客户案例区域优化版 */
/* 动画库在锚点直达时可能留下不可见占位，关键内容始终保持可见。 */
body .wow,
body .tp-title-anim {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  animation-name: none !important;
}

.tp-footer__border-bottom {
  display: none !important;
}

.tp-footer__top-space {
  padding-top: 58px !important;
}

.header-bottom__main-menu nav > ul {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.header-bottom__main-menu nav > ul > li {
  display: block;
  margin: 0 !important;
}

.header-bottom__main-menu > nav > ul > li > a {
  padding-left: 11px;
  padding-right: 11px;
  font-size: 14px;
}

.xt-cases-area {
  padding: 132px 0 118px;
  background:
    radial-gradient(circle at 91% 7%, rgba(117, 94, 246, .17), transparent 28%),
    linear-gradient(180deg, #f7f5ff 0%, #f1effb 100%);
}

.xt-cases-area::before {
  width: 520px;
  height: 520px;
  right: -190px;
  top: -250px;
  border: 1px solid rgba(109, 86, 246, .09);
  background: transparent;
}

.xt-cases-heading {
  margin-bottom: 46px;
}

.xt-cases-kicker {
  position: relative;
  padding-left: 38px;
  color: #6751e5;
  letter-spacing: .13em;
}

.xt-cases-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 26px;
  height: 2px;
  background: #6751e5;
}

.xt-cases-heading h2 {
  max-width: 820px;
  font-size: 48px;
  line-height: 1.28;
}

.xt-cases-overview {
  gap: 16px;
  margin-bottom: 16px;
}

.xt-cases-overview article {
  align-items: center;
  gap: 22px;
  min-height: 148px;
  padding: 25px 30px;
  border-color: rgba(92, 70, 214, .1);
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 45px rgba(54, 42, 117, .07);
}

.xt-overview-icon {
  display: grid;
  flex: 0 0 64px;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 19px;
  color: #fff;
  background: linear-gradient(145deg, #7965ee, #5440cf);
  box-shadow: 0 12px 25px rgba(98, 74, 218, .25);
  font-size: 17px;
  font-weight: 900;
}

.xt-cases-overview article > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 12px;
}

.xt-overview-caption {
  grid-column: 1 / -1;
  margin-bottom: 5px;
  color: #827e91;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
}

.xt-cases-overview strong {
  font-size: 46px;
}

.xt-cases-overview p {
  color: #484454;
  font-size: 16px;
}

.xt-cases-results {
  gap: 16px;
}

.xt-case-card {
  display: flex;
  flex-direction: column;
  min-height: 490px;
  padding: 42px 44px;
  border-radius: 26px;
  box-shadow: 0 22px 60px rgba(54, 42, 117, .1);
}

.xt-case-card-primary {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .15), transparent 28%),
    linear-gradient(145deg, #252041 0%, #5744c7 100%);
}

.xt-case-card::after {
  width: 260px;
  height: 260px;
  right: -90px;
  bottom: -120px;
}

.xt-case-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.xt-case-label {
  margin: 0;
}

.xt-case-type {
  color: #8d8999;
  font-size: 13px;
  font-weight: 700;
}

.xt-case-card-primary .xt-case-type {
  color: rgba(255, 255, 255, .62);
}

.xt-case-metric-label {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 5px;
  color: #8b8798;
  font-size: 14px;
  font-weight: 700;
}

.xt-case-card-primary .xt-case-metric-label {
  color: rgba(255, 255, 255, .6);
}

.xt-case-number {
  position: relative;
  z-index: 1;
  margin-bottom: 2px;
}

.xt-case-number strong {
  color: #604bd6;
  font-size: 82px;
}

.xt-case-card-primary .xt-case-number strong {
  color: #fff;
}

.xt-case-number span {
  margin-bottom: 13px;
  font-size: 22px;
}

.xt-case-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  font-size: 24px;
}

.xt-case-card p {
  font-size: 15px;
  line-height: 1.85;
}

.xt-case-gain {
  position: absolute;
  z-index: 2;
  right: 38px;
  top: 117px;
  min-width: 122px;
  padding: 13px 16px;
  border: 1px solid rgba(98, 75, 214, .12);
  border-radius: 14px;
  background: #f4f1ff;
  box-shadow: 0 10px 25px rgba(63, 48, 132, .08);
  text-align: right;
}

.xt-case-gain span {
  margin-bottom: 2px;
  color: #8c879b;
  font-size: 11px;
  font-weight: 700;
}

.xt-case-gain b {
  color: #5f49d5;
  font-size: 22px;
}

.xt-case-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 28px 0 0;
  list-style: none;
}

.xt-case-tags li {
  padding: 7px 11px;
  border: 1px solid rgba(95, 73, 213, .12);
  border-radius: 8px;
  color: #6b6678;
  background: #f8f7fc;
  font-size: 12px;
  font-weight: 700;
}

.xt-case-card-primary .xt-case-tags li {
  border-color: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .08);
}

.xt-cases-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  margin-top: 16px;
  padding: 34px 38px;
  border: 1px solid rgba(95, 73, 213, .09);
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
}

.xt-cases-cta > div > span {
  color: #6851e2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
}

.xt-cases-cta h3 {
  margin: 6px 0 5px;
  color: #242034;
  font-size: 23px;
  font-weight: 800;
}

.xt-cases-cta p {
  margin: 0;
  color: #767181;
  font-size: 14px;
}

.xt-cases-cta a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  border-radius: 10px;
  color: #fff;
  background: #5f49d5;
  box-shadow: 0 12px 24px rgba(95, 73, 213, .22);
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.xt-cases-cta a:hover,
.xt-cases-cta a:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(95, 73, 213, .29);
}

.xt-cases-note {
  margin: 15px 4px 0;
  color: #918d9d;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .xt-cases-area {
    padding: 96px 0 88px;
  }

  .xt-cases-heading h2 {
    font-size: 40px;
  }

  .xt-case-card {
    min-height: 510px;
    padding: 34px;
  }

  .xt-case-number strong {
    font-size: 66px;
  }

  .xt-case-gain {
    right: 27px;
    top: 105px;
  }
}

@media (max-width: 767px) {
  .xt-cases-area {
    padding: 74px 0 68px;
  }

  .xt-cases-heading h2 {
    font-size: 32px;
  }

  .xt-cases-overview article {
    min-height: 124px;
    padding: 20px;
  }

  .xt-overview-icon {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .xt-cases-overview strong {
    font-size: 38px;
  }

  .xt-case-card {
    min-height: auto;
    padding: 29px 24px;
  }

  .xt-case-top {
    margin-bottom: 28px;
  }

  .xt-case-number strong {
    font-size: 62px;
  }

  .xt-case-gain {
    position: static;
    align-items: flex-start;
    width: fit-content;
    margin-top: 20px;
    text-align: left;
  }

  .xt-case-tags {
    margin-top: 24px;
    padding-top: 0;
  }

  .xt-cases-cta {
    display: block;
    padding: 27px 24px;
  }

  .xt-cases-cta h3 {
    font-size: 21px;
  }

  .xt-cases-cta a {
    justify-content: space-between;
    width: 100%;
    margin-top: 22px;
  }
}
