.weifu_home_stats_main {
  padding: var(--component-gap) 0 0;
  background: #eff1f4;
}

.weifu_home_stats_grid {
  display: flex;
  gap: var(--gap-20);
  justify-content: center;
}

.weifu_home_stats_card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  flex: 1;
  padding: var(--gap-30) var(--gap-20);
  border-radius: clamp(10px, 1.04vw, 20px);

  background: #FAFAFA;
  color: #121212;
  overflow: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

.weifu_home_stats_card:hover {
  background: var(--weifu-cta-gradient);
}

.weifu_home_stats_icon {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(100px, 7.55vw, 145px);
  height: clamp(100px, 7.55vw, 145px);
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.weifu_home_stats_card:hover .weifu_home_stats_icon {
  opacity: 1;
}

.weifu_home_stats_tag {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  padding: 6px var(--gap-20);
  border-radius: clamp(30px, 3.13vw, 60px);
  background: #EFF1F4;
  color: #121212;
  font-family: var(--font-family);
  font-size: var(--font-16);
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease;
}

.weifu_home_stats_card:hover .weifu_home_stats_tag {
  background: #FAFAFA;
}

.weifu_home_stats_body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  position: relative;
  z-index: 1;
}

.weifu_home_stats_value {
  font-family: var(--title-font-family);
  font-size: var(--font-50);
  font-weight: 600;
  line-height: 1;
  text-transform: capitalize;
  color: inherit;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.weifu_home_stats_desc {
  font-family: var(--font-family);
  font-size: var(--font-16);
  font-weight: 400;
  line-height: 1.5x;
  color: inherit;
  min-width: 100%;
  width: fit-content;
  transition: color 0.3s ease;
}

@media screen and (max-width: 1200px) {
  .weifu_home_stats_grid {
    flex-wrap: wrap;
  }

  .weifu_home_stats_card {
    flex: 0 1 calc(33.33% - var(--gap-20));
  }
}

@media screen and (max-width: 768px) {
  .weifu_home_stats_card {
    flex: 0 1 calc(50% - var(--gap-20));
  }

  .weifu_home_stats_main {
    padding-top: calc(var(--component-gap-lg) * 2);
  }
}


@media screen and (max-width: 480px) {
  .weifu_home_stats_card {
    flex: 0 1 100%;
  }

  .weifu_home_stats_grid {
    padding: 0 var(--gap-50);
  }
}