.banner {
  background-image: url("../../cases/banner-bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 52.0rem;
  position: relative;
  .gray-gradient-mask1 {
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(
      270deg,
      rgba(235, 235, 235, 0) 0.37%,
      #ebebeb 50.81%
    );
  }
  .gray-gradient-mask2 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 33%;
    background: linear-gradient(
      180deg,
      rgba(246, 247, 248, 0) 0%,
      #f6f7f8 100%
    );
  }

  .header-content {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    position: relative;
    h1 {
      font-family: "MiSans VF";
      font-size: 5.6rem;
      font-style: normal;
      font-weight: 630;
      margin-block-start: .0rem;
      margin-block-end: .0rem;
    }
    .header-description {
      color: var(--color2, #727687);
      width: 36.0rem;
      font-size: 1.4rem;
      font-weight: 400;
      line-height: 2.2rem;
    }
    .click-now {
      margin-top: 8px;
      display: flex;
      font-size: 14px;
      width: 240px;
      height: 44px;
      overflow: hidden;
      padding: 10px 16px;
      justify-content: space-between;
      align-items: center;
      border-radius: 4px;
      background: var(--, linear-gradient(90deg, #3062f6 0%, #6c66f5 100%));
      svg {
        width: 12px;
        height: 12px;
        color: #fff;
      }
    }
  }
}

.tabs-nav {
  margin: auto;
  width: fit-content;
  display: flex;
  /* justify-content: space-between; */
  padding: 1.0rem;
  align-items: center;
  gap: 2.4rem;
  border-radius: 3.0rem;
  background: #fff;
  backdrop-filter: blur(2px);

  font-size: 1.6rem;

  .tab-item {
    width: fit-content;
    display: flex;
    cursor: pointer;

    height: 3.6rem;
    padding: .0rem 2.4rem;
    justify-content: center;
    align-items: center;

    &.active {
      color: #fff;
      border-radius: 2.0rem;
      background: linear-gradient(90deg, #3062f6 0%, #6c66f5 100%);
    }
  }
}

.cases-list{
  padding-top: 4.6rem;
  padding-bottom: 4.4rem;
  row-gap: 4.8rem;
  .case-card-style {
    width: 100%;
    aspect-ratio: 466/340;
    /* height: 340px; */
    /* width: 466px; */
    border-radius: 16px;
    overflow: hidden;
    background-image: url("../../content/business-cases/image1.png");
    background-position: top; /* 背景图片居中 */
    background-repeat: no-repeat; /* 防止背景图片重复 */
    background-size: 100% auto;
    position: relative;
    cursor: default;
    .category {
      position: absolute;
      top: 0;
      left: 0;
      color: #fff;
      font-size: 1.6rem;
      span {
        position: absolute;
        left: 1.9rem;
        top: .5rem;
        white-space: nowrap;
      }
      svg {
        position: absolute;
        top: 0;
        left: 0;
        width: 10.8rem;
        height: 3.2rem;
        flex-shrink: 0;
      }
    }
    .content {
      height: 20.0rem;
      padding: 3.6rem;
      width: 100%;
      display: flex;
      flex-direction: column;
      position: absolute;
      bottom: 0;
      background-color: #fff;
      transition: height 0.5s;
      .title {
        color: #1c213e;
        font-size: 2.4rem;
        font-weight: 500;
      }
      .tags {
        display: flex;
        gap: 1.0rem;
        align-items: center;
        margin-top: 1.2rem;
        flex-wrap: nowrap;
        overflow: hidden;
        span {
          display: flex;
          align-items: center;
          display: flex;
          padding: 1.0rem;
          height: 2.8rem;
          font-size: 1.4rem;
          border-radius: 4px;
          background: #dee9fe;
        }
      }
      .arrow {
        position: absolute;
        bottom: 3.6rem;
        opacity: 1;
        /* transition: all 0.8s ease; */
        svg {
          width: 2.4rem;
          height: 2.4rem;
          color: #3062f6;
        }
      }
      .description {
        margin-top: 1.6rem;
        display: none;
        color: #727687;
        text-align: justify;
        font-size: 1.4rem;
        font-weight: 400;
        line-height: 2.8rem;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  
    &:hover .content {
      height: 100%;
      background-image: url("../../index/case-card-bg.svg");
      background-size: cover;
      .arrow {
        /* transform: translateX(100px);
        opacity: 0; */
        display: none;
      }
  
      .description {
        display: block;
        animation: fadeInUp 0.8s;
      }
    }
  }
}