.Home {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background-image: url('../IMG/Index/home_background.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: top center; */
}

@media screen and (max-width: 9.91rem) {
  .Home {
    padding-top: 1.02rem;
  }
}

.main_banner {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 10rem;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.first-box {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-left: 2rem;
  /* align-items: center; */

  .updateBtn {
    display: inline-flex;
    width: 1.64rem;
    align-items: center;
    justify-content: center;
    height: 0.42rem;
    background: rgba(133, 37, 250, 0.06);
    border-radius: 0.5rem 0.5rem 0.5rem 0.5rem;
    border: 0.01rem solid #be78ff;
    font-family: Inter, Inter;
    font-weight: 400;
    font-size: 0.16rem;
    color: #8525fa;
    line-height: 0.26rem;
    font-style: normal;
    text-transform: none;

    .icon {
      display: flex;
      width: 0.33999999999999997rem;
      height: 0.18rem;
      background: #8525fa;
      justify-content: center;
      align-items: center;
      border-radius: 0.4rem 0.4rem 0.4rem 0.4rem;
      font-family: Inter, Inter;
      font-weight: bold;
      font-size: 0.1rem;
      color: #ffffff;
      line-height: 0.26rem;
      text-align: center;
      font-style: normal;
      text-transform: none;
      margin-right: 0.06rem;
    }
  }

  .text_content {
    display: flex;
    flex-direction: column;
    margin-top: 0.24rem;
    font-size: 0.48rem;
    font-weight: bold;
    font-family: MiSans, MiSans;
    font-style: normal;
    /* text-align: center; */

    .top-title-row {
      display: flex;
      align-items: center;
      gap: 0.2rem;
    }

    .index-top-title {
      color: #000000;
    }

    .index-second-title {
      background: linear-gradient(to bottom, #000000, #e100ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      color: transparent;
    }

    .index-third-title {
      font-family: MiSans, MiSans;
      font-weight: 400;
      font-size: 0.2rem;
      color: rgba(0, 0, 0, 0.88);
      font-style: normal;
      text-transform: none;
      margin-top: 0.04rem;
    }
  }

  .try_now_btn {
    cursor: pointer;
    margin-top: 0.5rem;
    width: fit-content;

    button {
      width: 1.7rem;
      height: 0.41rem;
      background: linear-gradient(0deg, #9500e5 0%, #c31ded 100%);
      box-shadow: 0rem 0rem 0rem 0rem #ffffff, 0rem 0rem 0rem 0.01rem #f3eaf8,
        0rem 0.04rem 0.05rem 0rem rgba(149, 0, 229, 0.15),
        0rem 0.1rem 0.13rem 0rem rgba(149, 0, 229, 0.22),
        0rem 0.25rem 0.32rem 0rem rgba(149, 0, 229, 0.19),
        0rem 0.42rem 1.07rem 0rem rgba(149, 0, 229, 0.34),
        inset 0rem 0.01rem 0.04rem 0.02rem #f2d9ff, inset 0rem 0.01rem 0.18rem 0.02rem #f2d9ff;
      border-radius: 0.12rem;
      border: none;
      color: #ffffff;
      font-family: MiSans, MiSans;
      font-weight: 500;
      font-size: 0.16rem;
      line-height: 0.31rem;
      text-align: center;
      font-style: normal;
      text-transform: none;
    }
  }
}

.second-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
  width: 100%;

  .second-box-content {
    /* margin-top: 0.24rem; */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-style: normal;
    text-transform: none;
    width: 100%;

    .content-top-title {
      font-family: MiSans, MiSans;
      font-size: 0.38rem;
      font-weight: 600;
      /* 1. 定义渐变背景：方向向右，黑 -> 紫 -> 黑 */
      background-image: linear-gradient(to right, #000000, #e100ff, #000000);
      /* 2. 关键属性：将背景裁剪为文字形状 */
      -webkit-background-clip: text;
      background-clip: text;
      /* 3. 将文字本身颜色设为透明，透出背景 */
      color: transparent;
      /* 兼容性写法 */
      -webkit-text-fill-color: transparent;
    }

    .content-end-title {
      font-family: Source Han Sans CN, Source Han Sans CN;
      font-weight: 400;
      font-size: 0.2rem;
      color: rgba(0, 0, 0, 0.88);
      margin-top: 0.16rem;
      width: 12.8rem;
    }

    .second-box-list {
      margin-top: 0.4rem;
      display: flex;
      border-radius: 0rem 0rem 0rem 0rem;
      justify-content: space-between;
      align-items: flex-start;
      width: 100%;
      padding-left: 2rem;
      padding-right: 2rem;

      .second-box-list-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-transform: none;

        .row-one {
          font-family: MiSans, MiSans;
          font-weight: bold;
          font-size: 0.24rem;
          color: #000000;
          line-height: 0.5rem;
          text-align: center;
          font-style: normal;

          .firstChar {
            color: #8525fa;
            font-size: 0.44000000000000006rem;
          }
        }

        .row-two {
          width: 2.2rem;
          font-family: Source Han Sans CN, Source Han Sans CN;
          font-weight: 400;
          font-size: 0.2rem;
          color: rgba(0, 0, 0, 0.88);
          text-align: center;
          font-style: normal;
        }
      }

      .divider-line {
        width: 0rem;
        height: 0.9rem;
        border: 0.01rem solid rgba(0, 0, 0, 0.15);
        align-self: center;
      }
    }
  }

  .banner-middle {
    margin-top: 0.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
  }

  .behind-banner-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.24rem;
    font-style: normal;
    text-transform: none;

    .first-row {
      font-family: MiSans, MiSans;
      font-weight: 600;
      font-size: 0.38rem;
      text-align: center;
      /* 1. 定义渐变背景：方向向右，黑 -> 紫 -> 黑 */
      background-image: linear-gradient(to right, #000000, #e100ff, #000000);
      /* 2. 关键属性：将背景裁剪为文字形状 */
      -webkit-background-clip: text;
      background-clip: text;
      /* 3. 将文字本身颜色设为透明，透出背景 */
      color: transparent;
      /* 兼容性写法 */
      -webkit-text-fill-color: transparent;
    }

    .end-row {
      font-family: Source Han Sans CN, Source Han Sans CN;
      font-weight: 400;
      font-size: 0.2rem;
      color: rgba(0, 0, 0, 0.88);
      text-align: center;
      margin-top: 0.16rem;
    }
  }
}

.third-box {
  /* === 1. 容器自身样式 === */
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  background-color: #f9f9f9;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  padding-left: 0.96rem;
  padding-right: 0.96rem;
  box-sizing: border-box;
  margin-top: 0.4rem;

  /* === 2. 左侧侧边栏 (.sidebar) === */
  & .sidebar {
    width: 25%;
    background-color: transparent;
    /* padding: 0.24rem; */
    border-right: 0.01rem solid #ddd;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin: 0;
    gap: 0.1rem;

    & .section {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      background: #fff;
      border: 0.01rem solid #eee;
      border-radius: 0.08rem;
      transition: all 0.3s ease;
      padding: 0 0.2rem;
      box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.05);
    }

    & .section:hover,
    & .section.active {
      background: linear-gradient(
        270deg,
        rgba(131, 82, 232, 0) 0%,
        rgba(131, 82, 232, 0.05) 100%
      );
      border: 0.01rem solid #8525fa;
      box-shadow: 0 0.04rem 0.12rem rgba(133, 37, 250, 0.1);
    }

    & .sidebar-img {
      width: 0.4rem;
      height: 0.4rem;
      margin-bottom: 0.1rem;
    }

    /* 侧边栏内的标题 */
    & h3 {
      color: rgba(0, 0, 0, 0.88);
      font-size: 0.18rem;
      font-weight: bold;
      margin: 0 0 0.1rem 0;
      transition: color 0.3s ease;
    }

    & .section:hover h3,
    & .section.active h3 {
      color: #8525fa;
    }

    /* 侧边栏内的段落 */
    & p {
      font-size: 0.13999999999999999rem;
      color: #555;
      line-height: 1.6;
      margin: 0 0 0.2rem 0;
    }
  }

  /* === 3. 右侧内容区 (.content) === */
  & .content {
    width: 75%;
    /* padding: 0.24rem 0.4rem; */
    box-sizing: border-box;
    background-color: #fff;
    margin: 0;

    .content-header-banner {
      background-image: url("../IMG/Index/bentoCard.png");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      padding: 0.4rem;
      /* border-radius: 0.16rem; */
      /* margin-bottom: 0.3rem; */
      display: flex;
      flex-direction: column;
      justify-content: center;

      h2 {
        margin: 0 0 0.1rem 0;
        font-family: MiSans, MiSans;
        font-weight: 600;
        font-size: 0.24rem;
        color: rgba(0, 0, 0, 0.88);
        text-align: left;
        font-style: normal;
        text-transform: none;
      }

      p {
        margin: 0;
        font-family: Source Han Sans CN, Source Han Sans CN;
        font-weight: 400;
        font-size: 0.13999999999999999rem;
        color: rgba(0, 0, 0, 0.45);
        text-align: left;
        font-style: normal;
        text-transform: none;
        margin-top: 0.16rem;
      }
    }
  }

  /* === 4. 网格布局 (.grid) === */
  & .grid {
    display: grid;
    /* 保证一行排3个 */
    grid-template-columns: repeat(3, 1fr);
    gap: 0.24rem;
  }

  /* === 5. 卡片组件 (.card) === */
  & .card {
    background-color: #fff;
    border: 0.01rem solid #eee;
    /* border-radius: 0.08rem; */
    padding: 0.2rem;
    box-shadow: 0 0.02rem 0.08rem rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex; /* 确保内容垂直排列 */
    flex-direction: column;
    min-height: 4.2rem;

    /* 卡片悬停效果 (已移除) */
    /* &:hover {
      transform: translateY(-0.05rem);
      box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.1);
    } */

    /* 卡片图片 */
    & img {
      width: 100%;
      height: 2.2rem; /* 固定高度 */
      object-fit: cover; /* 保持比例不失真 */
      border-radius: 0.06rem;
      margin-bottom: 0.15rem;
      display: block;
      transition: transform 0.3s ease;
    }

    & img:hover {
      transform: scale(1.05);
    }

    /* 卡片标题 */
    & h3 {
      margin: 0 0 0.1rem 0;
      text-align: left;
      font-family: Source Han Sans CN, Source Han Sans CN;
      font-weight: bold;
      font-size: 0.16rem;
      color: rgba(0, 0, 0, 0.88);
      text-align: left;
      font-style: normal;
      text-transform: none;
    }

    /* 卡片文字 */
    & p {
      margin: 0;
      font-family: Source Han Sans CN, Source Han Sans CN;
      font-weight: 400;
      font-size: 0.13999999999999999rem;
      color: rgba(0, 0, 0, 0.45);
      text-align: left;
      font-style: normal;
      text-transform: none;
      margin-top: 0.16rem;
    }
  }

  /* === 6. 响应式适配 (嵌套在容器内) === */
  @media (max-width: 7.68rem) {
    flex-direction: column; /* 改为垂直排列 */

    & .sidebar,
    & .content {
      width: 100%; /* 占满全宽 */
      border-right: none;
      padding: 0.2rem;
    }
  }
}

.fourth-box {
  margin-top: 1.92rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding-left: 0.96rem;
  padding-right: 0.96rem;
  box-sizing: border-box;
  /* max-width: 12.8rem; */
  /* height: 1.1rem; */
  border-radius: 0rem 0rem 0rem 0rem;
  /* align-items: center; */

  .first-row {
    font-family: MiSans, MiSans;
    font-weight: 600;
    font-size: 0.38rem;
    text-align: center;
    margin-bottom: 0.24rem;

    /* 1. 定义渐变背景：方向向右，黑 -> 紫 -> 黑 */
    background-image: linear-gradient(to right, #000000, #e100ff, #000000);
    /* 2. 关键属性：将背景裁剪为文字形状 */
    -webkit-background-clip: text;
    background-clip: text;
    /* 3. 将文字本身颜色设为透明，透出背景 */
    color: transparent;
    /* 兼容性写法 */
    -webkit-text-fill-color: transparent;
  }

  .layout-wrapper {
    display: flex;
    /* gap: 0.6rem; */
    /* 左右两栏的间距 */
    align-items: stretch;
    width: 100%;
  }

  /* --- 左侧图片区域 --- */
  .image-container {
    flex: 1.6; /* 增加宽度占比 (原为 1) */
    position: relative;
    border-radius: 0.16rem;
    box-shadow: 0 0.1rem 0.3rem 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  /* 内容样式 */
  .image-container video,
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* border-radius: 0.16rem; */
  }

  /* --- 右侧内容区域 --- */
  .content-container {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 0.01rem solid rgba(0, 0, 0, 0.1);
    border-bottom: 0.01rem solid rgba(0, 0, 0, 0.1);
    padding: 0.24rem 0.4rem;
  }

  .content-title {
    font-size: 0.32rem;
    font-weight: 700;
    color: #7f00ff;
    /* 紫色标题 */
    margin-bottom: 0.2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.1rem;

    span {
      font-family: MiSans, MiSans;
      font-weight: bold;
      font-size: 0.32rem;
      color: rgba(0, 0, 0, 0.88);
      text-align: left;
      font-style: normal;
      text-transform: none;
    }
  }

  .content-title i {
    font-size: 0.24rem;
    color: #7f00ff;
  }

  .content-description {
    margin-bottom: 0.4rem;
    font-family: MiSans, MiSans;
    font-weight: 400;
    font-size: 0.13999999999999999rem;
    color: rgba(0, 0, 0, 0.88);
    text-align: left;
    font-style: normal;
    text-transform: none;
  }

  /* --- 功能点列表 --- */
  .feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.3rem 0.2rem;
    background: #fff;
    border-radius: 0.12rem;
    box-shadow: 0 0.04rem 0.2rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
  }

  .feature-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.15rem;
    height: 0.15rem;
    background: transparent;
  }

  .feature-item:hover {
    transform: translateY(-0.05rem);
    /* 上浮效果 */
    box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.1);
  }

  .feature-icon {
    width: 0.08rem;
    height: 0.08rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 0.04rem;
    margin-top: 0.08rem; /* 垂直居中对齐 h4 (假设 h4 行高约 0.24rem) */
  }

  .feature-content h4 {
    margin-top: 0;
    margin-bottom: 0.08rem;
    font-family: MiSans, MiSans;
    font-weight: bold;
    font-size: 0.16rem;
    color: rgba(0, 0, 0, 0.88);
    text-align: left;
    font-style: normal;
    text-transform: none;
    line-height: 1.5;
    display: flex;
    align-items: center;
  }

  .feature-content h4 img {
    display: none;
    margin-right: 0.04rem;
  }

  .feature-item:hover .feature-content h4 img,
  .feature-item:active .feature-content h4 img,
  .feature-item.active .feature-content h4 img {
    display: block;
  }

  .feature-content p {
    font-family: MiSans, MiSans;
    font-weight: 400;
    font-size: 0.13999999999999999rem;
    color: rgba(0, 0, 0, 0.45);
    text-align: left;
    font-style: normal;
    text-transform: none;
  }

  .feature-item:hover .feature-content h4,
  .feature-item:active .feature-content h4,
  .feature-item.active .feature-content h4 {
    color: #8525fa;
  }

  .feature-item:hover .feature-content p,
  .feature-item:active .feature-content p,
  .feature-item.active .feature-content p {
    color: rgba(0, 0, 0, 0.88);
  }

  .feature-item:hover .feature-icon,
  .feature-item:active .feature-icon,
  .feature-item.active .feature-icon {
    background: linear-gradient(0deg, #8525fa 0%, #e100ff 100%);
    box-shadow: 0rem 0.01rem 0.04rem 0rem rgba(133, 37, 250, 0.6);
  }

  /* --- 响应式适配 --- */
  @media (max-width: 9.92rem) {
    .layout-wrapper {
      flex-direction: column;
    }

    .image-container {
      margin-bottom: 0.4rem;
    }
  }
}

.fifth-box {
  margin-top: 0.5599999999999999rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  /* height: 1.1rem; */
  border-radius: 0rem 0rem 0rem 0rem;
  align-items: center;
  background-image: url("../IMG/Index/fifth-banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0.4rem 0; /* 增加上下内边距，避免内容贴边 */

  /* --- 容器布局 --- */
  .section-container {
    max-width: 14.88rem; /* 调整为 14.88rem 以匹配其他部分 */
    width: 100%;
    margin: 0 auto;
  }

  /* --- 标题和副标题 --- */
  .section-header {
    text-align: center;
    margin-bottom: 0.4rem;
    max-width: 14.88rem; /* 限制内容宽度 */
    width: 100%;
  }

  .section-header h2 {
    margin-bottom: 0.1rem;
    font-family: MiSans, MiSans;
    font-weight: 600;
    font-size: 0.38rem;
    color: #ffffff;
    text-align: center;
    font-style: normal;
    text-transform: none;
  }

  .section-header p {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 0.2rem;
    margin-top: 0.16rem;
    color: #ffffff;
    text-align: center;
    font-style: normal;
    text-transform: none;
  }

  /* --- 卡片区域 --- */
  .cards-container {
    display: flex;
    gap: 0.2rem;
    justify-content: space-between;
    width: 100%;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    box-sizing: border-box;
  }

  /* --- 卡片样式 --- */
  .card {
    background: rgba(255, 255, 255, 0.1);
    /* 半透明背景 */
    border-radius: 0.16rem;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card:hover {
    transform: translateY(-0.1rem);
    /* 上浮效果 */
    box-shadow: 0 0.15rem 0.4rem rgba(0, 0, 0, 0.5);
  }

  /* 卡片图片 */
  .card-image {
    height: 2rem;
    width: 100%;
    object-fit: cover;
  }

  /* 卡片内容 */
  .card-body {
    padding: 0.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .card-body h3 {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: bold;
    font-size: 0.24rem;
    color: #ffffff;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }

  .card-body .subtitle {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 0.12rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: left;
    font-style: normal;
    text-transform: none;
  }

  .card-body .description {
    margin-bottom: 0.2rem;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 0.13999999999999999rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
    font-style: normal;
    text-transform: none;
  }

  .card-body .added-text {
    margin-top: 0.1rem;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 0.13999999999999999rem;
    color: #ffffff;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }

  /* 按钮组 */
  .button-group {
    display: flex;
    gap: 0.1rem;
    flex-wrap: nowrap;
  }

  .button-group button {
    background: rgba(127, 0, 255, 0.2);
    color: #fff;
    border: 0.01rem solid rgba(127, 0, 255, 0.5);
    border-radius: 0.2rem;
    padding: 0.08rem 0.16rem;
    font-size: 0.13999999999999999rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
  }

  .button-group button:hover,
  .button-group button.active {
    background: linear-gradient(90deg, #8a2be2, #ff69b4, #ffa500);
    box-shadow: 0rem 0.02rem 0.12rem 0rem rgba(238, 95, 200, 0.21);
    border: 0.01rem solid #c16bff;
    transform: scale(1.05);
    color: #fff; /* Ensure text remains white */
  }

  /* --- 响应式适配 --- */
  @media (max-width: 9.92rem) {
    .cards-container {
      flex-direction: column;
      gap: 0.2rem;
    }
  }
}

.sixth-box {
  margin-top: 0.5599999999999999rem;
  margin-bottom: 0.5599999999999999rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-left: 0.96rem;
  padding-right: 0.96rem;
  box-sizing: border-box;
  border-radius: 0rem 0rem 0rem 0rem;
  align-items: stretch;

  /* --- 容器布局 --- */
  .section-container {
    max-width: 12.8rem;
    margin: 0 auto;
  }

  /* --- 标题和副标题 --- */
  .section-header {
    text-align: center;
    margin-bottom: 0.4rem;
  }

  .section-header h2 {
    font-family: MiSans, MiSans;
    font-weight: 600;
    font-size: 0.38rem;
    text-align: center;
    font-style: normal;
    text-transform: none;

    /* 1. 定义渐变背景：方向向右，黑 -> 紫 -> 黑 */
    background-image: linear-gradient(to right, #000000, #e100ff, #000000);
    /* 2. 关键属性：将背景裁剪为文字形状 */
    -webkit-background-clip: text;
    background-clip: text;
    /* 3. 将文字本身颜色设为透明，透出背景 */
    color: transparent;
    /* 兼容性写法 */
    -webkit-text-fill-color: transparent;
  }

  .section-header .gradient-text {
    background: linear-gradient(to right, #e100ff, #7f00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .section-header p {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 0.2rem;
    color: rgba(0, 0, 0, 0.88);
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-top: 0.16rem;
  }

  /* --- 角色卡片区域 --- */
  .roles-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 两列布局 */
    gap: 0.2rem;
  }

  /* --- 卡片样式 --- */
  .role-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 0.16rem;
    padding: 0.2rem;
    box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* .role-card:hover {
    transform: translateY(-0.05rem);
    box-shadow: 0 0.15rem 0.4rem rgba(0, 0, 0, 0.2);
  } */

  /* 左侧内容 */
  .role-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    flex: 1;
  }

  .role-icon {
    width: 0.5rem;
    height: 0.5rem;
    background: rgba(127, 0, 255, 0.1);
    color: #7f00ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.24rem;
    flex-shrink: 0;
  }

  .role-info h3 {
    margin-bottom: 0.08rem;
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: bold;
    font-size: 0.24rem;
    color: rgba(0, 0, 0, 0.88);
    text-align: left;
    font-style: normal;
    text-transform: none;
  }

  .role-info p {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 0.13999999999999999rem;
    color: rgba(0, 0, 0, 0.45);
    text-align: left;
    font-style: normal;
    text-transform: none;
  }

  /* 右侧图片 */
  .role-image img {
    width: 1.2rem;
    height: 1.2rem;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0.04rem 0.1rem rgba(0, 0, 0, 0.1);
  }

  /* --- 响应式适配 --- */
  @media (max-width: 9.92rem) {
    .roles-container {
      grid-template-columns: 1fr;
      /* 单列布局 */
    }
  }
}

/* ready to */
.ready-module {
  width: 100%;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  background: url(../IMG/Index/readyBg.png) no-repeat 100%;
  background-position: center center;
  background-size: 100% 100%;
}
.ready-module .module-title {
  color: #fff;
}
.ready-module .bannerServiceBtn {
  background-color: #fff;
  color: #160a4c;
  font-weight: bold;
}

/* --- Merged Responsive Styles --- */

/* --- 移动端适配 (Mobile Adaptation) --- */

/* 1. 针对大屏幕但小于固定宽度的设备 (如笔记本) */
@media screen and (max-width: 15rem) {
  .first-box .main_banner,
  .third-box,
  .fourth-box,
  .fifth-box .section-container,
  .fifth-box .cards-container,
  .fifth-box .section-header {
    width: 100%;
    max-width: 100%;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    box-sizing: border-box;
  }

  .second-box .second-box-content .content-end-title,
  .second-box .second-box-list,
  .middle-behind-row,
  .sixth-box,
  .sixth-box .section-container {
    width: 100%;
    max-width: 100%;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    box-sizing: border-box;
  }

  .first-box .main_banner {
    height: auto; /* 让高度自适应 */
    margin-top: 0; /* 调整负边距 */
  }
}

/* 2. 针对平板和手机 (小于 9.92rem) */
@media screen and (max-width: 9.92rem) {
  .Home {
    padding-top: 0.8rem;
  }

  /* First Box */
  .first-box .text_content {
    font-size: 0.4rem;
    padding: 0 0.2rem;
  }

  .first-box .text_content .index-top-title,
  .first-box .text_content .index-second-title {
    font-size: 0.32rem;
    line-height: 1.4;
  }

  .first-box .main_banner {
    margin-top: 0.2rem;
    width: 100%;
    height: auto;
  }

  /* Second Box */
  .second-box .second-box-content .content-top-title {
    font-size: 0.27999999999999997rem;
    height: auto;
    line-height: 1.4;
    padding: 0 0.1rem;
  }

  .second-box .second-box-content .content-end-title {
    font-size: 0.16rem;
    margin-top: 0.2rem;
  }

  .second-box .second-box-list {
    flex-direction: column;
    height: auto;
    margin-top: 0.4rem;
    gap: 0.3rem;
  }

  .second-box .second-box-list .divider-line {
    display: none; /* 隐藏竖线 */
  }

  .second-box .banner-middle img {
    width: 100%;
    height: auto;
  }

  .middle-behind-row {
    height: auto;
    margin-top: 0.4rem;
  }

  .middle-behind-row .first-row {
    font-size: 0.24rem;
    line-height: 1.4;
    height: auto;
    text-align: center;
  }

  /* Third Box */
  .third-box {
    flex-direction: column;
    margin-top: 0.4rem;
  }

  .third-box .sidebar,
  .third-box .content {
    width: 100%;
    border-right: none;
  }

  .third-box .sidebar {
    flex-direction: row;
    overflow-x: auto;
    gap: 0.2rem;
    padding: 0.15rem;
  }

  .third-box .sidebar .section {
    min-width: 2rem; /* 确保横向滚动时有足够宽度 */
  }

  /* Fourth Box */
  .fourth-box {
    margin-top: 0.6rem;
  }

  .fourth-box .first-row {
    font-size: 0.24rem;
    padding: 0 0.2rem;
    line-height: 1.4;
  }

  .fourth-box .layout-wrapper {
    flex-direction: column;
    gap: 0.4rem;
  }

  /* 隐藏两侧的装饰矩形，避免在移动端占据空间 */
  .fourth-box .layout-wrapper > div:first-child,
  .fourth-box .layout-wrapper > div:last-child {
    display: none;
  }

  .fourth-box .image-container {
    width: 100%;
    height: 3rem; /* 给视频区域一个固定高度 */
  }

  /* Fifth Box */
  .fifth-box .section-header h2 {
    font-size: 0.27999999999999997rem;
  }

  .fifth-box .section-header p {
    font-size: 0.16rem;
    padding: 0 0.2rem;
  }

  .fifth-box .cards-container {
    flex-direction: column;
  }

  /* Sixth Box */
  .sixth-box .section-header h2 {
    font-size: 0.27999999999999997rem;
  }

  .sixth-box .section-header p {
    font-size: 0.16rem;
    padding: 0 0.2rem;
  }

  .sixth-box .roles-container {
    grid-template-columns: 1fr;
  }

  .sixth-box .role-card {
    flex-direction: column;
    text-align: center;
  }

  .sixth-box .role-content {
    align-items: center;
  }

  .sixth-box .role-image {
    margin-top: 0.2rem;
  }
}

/* 3. 针对小屏手机 (小于 6.0rem) */
@media screen and (max-width: 6rem) {
  .first-box .text_content {
    font-size: 0.27999999999999997rem;
  }

  .third-box .grid {
    grid-template-columns: 1fr; /* 单列 */
  }

  .fourth-box .image-container {
    height: 2rem;
  }
}

/* Custom tags for content3 cards */
#content3 .card-tags {
  display: grid;
  grid-template-columns: repeat(2, 1.73rem);
  gap: 0.16rem 0.2rem;
  margin: 0.16rem auto;
  justify-content: center;
  justify-items: center;
}

#content3 .card-tag {
  width: 1.8rem;
  height: auto;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 0.08rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.14rem;
  color: rgba(0, 0, 0, 0.88);
  padding: 0.04rem;
  text-align: center;
}

/* --- Additional Mobile Adaptations --- */
@media screen and (max-width: 9.92rem) {
  /* Fix try_now_btn positioning and size */
  .try_now_btn {
    display: flex;
    justify-content: flex-start; /* Align left to match text */
    margin-top: 0.4rem;
    width: 100%;
    padding-left: 0.2rem; /* Match text padding */
  }

  /* Fix content3 tags to be responsive */
  #content3 .card-tags {
    grid-template-columns: repeat(2, 1fr) !important; /* Override fixed width */
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 0.1rem !important;
  }
  #content3 .card-tag {
    width: 100% !important;
    font-size: 0.12rem !important;
    padding: 0 0.05rem;
  }

  /* Optimize fifth-box buttons for mobile */
  .fifth-box .button-group {
    flex-direction: column;
    gap: 0.15rem;
  }
  .fifth-box .button-group button {
    width: 100%;
    text-align: center;
    white-space: normal; /* Allow text wrap if needed */
    height: auto;
    padding: 0.15rem;
  }
}

/* Scroll Animation for Images - Zoom In */
.scroll-animate-zoom-in {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate-zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}
