body * {
  box-sizing: border-box;
  flex-shrink: 0;
}
body {
  font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma,
    Arial, PingFang SC-Light, Microsoft YaHei;
  padding: 0;
  margin: 0;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.justify-start {
  display: flex;
  justify-content: flex-start;
}
.justify-center {
  display: flex;
  justify-content: center;
}

.justify-end {
  display: flex;
  justify-content: flex-end;
}
.justify-evenly {
  display: flex;
  justify-content: space-evenly;
}
.justify-around {
  display: flex;
  justify-content: space-around;
}
.justify-between {
  display: flex;
  justify-content: space-between;
}
.align-start {
  display: flex;
  align-items: flex-start;
}
.align-center {
  display: flex;
  align-items: center;
}
.align-end {
  display: flex;
  align-items: flex-end;
}
.flex-warp {
  flex-wrap: wrap;
}
.main-page {
  background-color: rgba(255, 255, 255, 1);
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  margin: 0;
}

.main-section {
  background-color: rgba(255, 255, 255, 1);
  min-height: 100vh;
  width: 100%;
}

.background-container {
  min-height: 100vh;
  background: url(https://img.picui.cn/free/2025/06/02/683dbb5d087dd.png) 100%
    no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
}

.content-section {
  width: 100%;
  min-height: 100vh;

  background-size: cover;
  background-position: center;
}

.main-content-area {
  position: relative;
  width: 1660px;
  min-height: calc(100vh - 60px);
  margin: 0 auto 20px;
  padding: 0 20px;
  box-sizing: border-box;

}

.page-title {
  overflow-wrap: break-word;
  color: rgba(2, 8, 20, 1);
  font-size: 44px;
  font-family: PingFang-SC-Bold;
  margin: 65px 0;
  text-align: center;
}

.brand-logos-swiper {
  width: 1486px;
  height: auto;
  margin: 20px auto;
  overflow: hidden;
  position: relative;
}

.brand-logos-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 142px;
  height: 90px;
  position: relative;
  padding: 20px;
}
.brand-logos-swiper .swiper-slide::after {
  content: "";
  display: inline-block;
  height: 1px;
  width: 100%;
  border-bottom: 2px solid rgba(15, 16, 18, 0.1);
  position: absolute;
  bottom: 2px;
  z-index: 1;
}
.swiper-slide-active::before {
  content: "";
  display: inline-block;
  height: 3px;
  width: 95%;
  border: none;
  background: linear-gradient(90deg, #165dff, #1fa3ff);
  border-radius: 15px;
  border-bottom: 2px solid rgba(15, 16, 18, 0.1);
  position: absolute;
  bottom: 1.5px;
  left: 2.5%;
  z-index: 2;
}

.swiper-container-parent {
  position: relative;
  width: 100%;
  height: 100%;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: " " !important;
}

.featured-case-card {
  box-shadow: 0px 0px 20px 0px rgba(121, 130, 153, 0.1);
  background-color: rgba(255, 255, 255, 1);
  border-radius: 20px;
  position: relative;
  width: 1486px;
  min-height: 410px;
  padding: 40px;
  margin: 0 auto;
}

.case-text-section {
  width: 835px;
  /* height: 345px; */
  margin-top: 5px;
}

.case-header-group {
  width: 835px;
  /* height: 209px; */
}

.case-title {
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 34px;
  font-family: PingFang-SC-Heavy;
  position: relative;
}
.case-title::before {
  content: " ";
  display: inline-block;
  background-color: rgba(26, 103, 250, 1);
  border-radius: 2px;
  width: 4px;
  height: 26px;
  position: absolute;
  left: -22px;
  top: 50%;
  transform: translateY(-50%);
}

.case-description {
  overflow-wrap: break-word;
  color: rgba(102, 102, 102, 1);
  font-size: 16px;
  font-family: PingFang-SC-Regular;

  margin-top: 14px;
}

.tag-wrapper {
  gap: 10px;
}

.tag-text {
  background-color: rgba(236, 236, 236, 1);
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 14px;
  font-family: PingFang-SC-Bold;

  padding: 6px 18px;
}

.case-image-section {
  background-color: rgba(209, 226, 255, 1);
  border-radius: 14px;
  overflow: hidden;
  width: 558px;
  height: 350px;
}

.feature-list-container {
  overflow-wrap: break-word;
  font-family: PingFang-SC-Bold;
  margin: 20px 0;
}

.feature-item {
  overflow-wrap: break-word;
  font-family: PingFang-SC-Bold;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  margin: 10px 0;
}
.feature-icon {
  width: 23px;
  height: 13px;
  margin-right: 6px;
}
.feature-text {
  overflow-wrap: break-word;
  width: calc(100% - 23px - 6px);
}

.feature-title {
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 16px;
  font-family: PingFang-SC-Bold;
}

.feature-description {
  padding-left: 24px;
  overflow-wrap: break-word;
  color: rgba(102, 102, 102, 1);
  font-size: 16px;
  font-family: PingFang-SC-Regular;
}

.case-tabs-wrapper {
  justify-content: center;
  border-bottom: 2px solid rgba(15, 16, 18, 0.1);
  width: 1486px;
  margin: 0 auto;
}

.case-tab-item {
  padding: 20px 40px;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  position: relative;
}
.case-tab-item::after {
  content: "";
  display: inline-block;
  height: 1px;
  width: 100%;
  /* border-bottom: 2px solid rgba(15, 16, 18, 0.1); */
  position: absolute;
  left: 0;
  bottom: 2px;
  z-index: 1;
}

.case-tab-item.active {
  color: #007bff;
  font-weight: bold;
}
.case-tab-item.active::before {
  content: "";
  display: inline-block;
  height: 3px;
  width: 95%;
  border: none;
  background: linear-gradient(90deg, #165dff, #1fa3ff);
  border-radius: 15px;
  border-bottom: 2px solid rgba(15, 16, 18, 0.1);
  position: absolute;
  bottom: -3px;
  left: 2.5%;
  z-index: 2;
}

/* 
  .case-tab-item.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #007bff;
  } */

/* 案例列表容器样式 */
.case-list-container {
  width: 100%;
  max-width: 1486px;
  margin: 30px auto;
  gap: 30px;
}

.case-list-item {
  box-shadow: 0px 0px 20px 0px rgba(121, 130, 153, 0.1);
  background-color: rgba(255, 255, 255, 1);
  border-radius: 10px;
  width: calc((100% / 4) - 23px);
  height: 352px;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.case-item-content {
  flex: 1;
  padding: 2px;
}

.case-item-image-wrapper {
  width: 100%;
  height: 186px;
  background-color: rgba(236, 236, 236, 1);
  border-radius: 10px;
  overflow: hidden;
}

.case-item-image {
  width: 100%;
  height: 100%;
}

.case-item-title-wrapper {
  margin: 20px 18px 0 18px;
  align-items: center;
  gap: 14px;
}

.case-item-title-icon {
  width: 4px;
  height: 13px;
  background-color: rgba(0, 96, 255, 1);
  flex-shrink: 0;
}

.case-item-title {
  color: rgba(51, 51, 51, 1);
  font-size: 18px;
  font-family: PingFang-SC-Bold, sans-serif;
  font-weight: bold;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  display: block; /* 或者 inline-block */
}

.case-item-description {
  color: rgba(102, 102, 102, 1);
  font-size: 14px;
  font-family: PingFang-SC-Medium, sans-serif;
  line-height: 1.5;
  margin: 20px 20px 19px 20px;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 响应式设计 - 中等屏幕设备 (1920px - 1200px) */
@media screen and (max-width: 1920px) and (min-width: 1201px) {
  .main-content-area {
    width: 100%;
    max-width: 1600px;
    padding: 0 20px;
  }

  .page-title {
    font-size: 42px;
    margin: 60px 0;
  }

  .brand-logos-swiper {
    width: 90%;
    max-width: 1600px;
  }

  .featured-case-card {
    width: 90%;
    max-width: 1600px;
    padding: 40px;
    min-height: 400px;
  }

  .case-text-section {
    width: 58%;
  }

  .case-header-group {
    width: 100%;
    height: auto;
  }

  .case-title {
    font-size: 32px;
  }

  .case-description {
    font-size: 16px;
    line-height: 1.6;
  }

  .case-image-section {
    width: 38%;
    height: 320px;
  }

  .case-tabs-wrapper {
    width: 90%;
    max-width: 1600px;
  }

  .case-tab-item {
    padding: 18px 35px;
    font-size: 18px;
  }

  .case-list-container {
    width: 90%;
    max-width: 1600px;
    gap: 25px;
  }

  .case-list-item {
    width: calc((100% / 3) - 17px);
    height: 350px;
  }

  .case-item-title {
    font-size: 20px;
  }

  .case-item-description {
    font-size: 15px;
    margin: 22px 22px 20px 22px;
  }

  .feature-list-container {
    gap: 25px;
  }

  /* .feature-item {
      padding: 25px;
    } */

  .feature-title {
    font-size: 18px;
  }

  .feature-description {
    font-size: 15px;
  }

  .tag-text {
    font-size: 13px;
    padding: 6px 14px;
  }
}

/* 响应式设计 - 平板设备 */
@media screen and (max-width: 1200px) {
  .main-content-area {
    width: 90%;
    max-width: 1200px;
    padding: 0 15px;
  }

  .page-title {
    font-size: 36px;
    margin: 50px 0;
  }

  .brand-logos-swiper {
    width: 90%;
    max-width: 1200px;
  }

  .featured-case-card {
    width: 90%;
    max-width: 1200px;
    padding: 30px;
    min-height: auto;
  }

  .case-text-section {
    width: 60%;
  }

  .case-header-group {
    width: 100%;
    height: auto;
  }

  .case-image-section {
    width: 35%;
    height: 280px;
  }

  .case-tabs-wrapper {
    width: 90%;
    max-width: 1200px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .case-tab-item {
    padding: 15px 30px;
    font-size: 16px;
  }

  .case-list-container {
    width: 90%;
    max-width: 1200px;
    gap: 20px;
  }

  .case-list-item {
    width: calc((100% / 3) - 14px);
  }
}

/* 响应式设计 - 小屏幕设备 */
@media screen and (max-width: 768px) {
  .main-content-area {
    padding: 0 10px;
  }

  .page-title {
    font-size: 28px;
    margin: 30px 0;
  }

  .brand-logos-swiper .swiper-slide {
    width: 100px;
    height: 70px;
    padding: 15px;
  }

  .featured-case-card {
    padding: 20px;
    flex-direction: column;
  }

  .case-text-section {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .case-title {
    font-size: 24px;
  }

  .case-description {
    font-size: 14px;
  }

  .case-image-section {
    width: 100%;
    height: 200px;
  }

  .case-tabs-wrapper {
    flex-wrap: wrap;
    justify-content: flex-start;
    border-bottom: none;
  }

  .case-tab-item {
    padding: 10px 15px;
    font-size: 14px;
    margin-bottom: 10px;
    border: 1px solid rgba(15, 16, 18, 0.1);
    border-radius: 20px;
    margin-right: 10px;
  }

  .case-tab-item.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
  }

  .case-tab-item.active::before {
    display: none;
  }

  .case-list-container {
    gap: 15px;
  }

  .case-list-item {
    width: calc((100% / 2) - 8px);
    height: auto;
  }

  .case-item-title {
    font-size: 16px;
  }

  .case-item-description {
    font-size: 12px;
    margin: 15px 15px 15px 15px;
    -webkit-line-clamp: 3;
  }
}

/* 响应式设计 - 移动端设备 */
@media screen and (max-width: 480px) {
  .main-content-area {
    padding: 0 5px;
  }

  .page-title {
    font-size: 22px;
    margin: 20px 0;
  }

  .brand-logos-swiper .swiper-slide {
    width: 80px;
    height: 60px;
    padding: 10px;
  }

  .featured-case-card {
    padding: 15px;
    margin: 0 5px;
  }

  .case-title {
    font-size: 20px;
  }

  .case-description {
    font-size: 13px;
  }

  .case-image-section {
    height: 150px;
  }

  .case-tabs-wrapper {
    padding: 0 5px;
  }

  .case-tab-item {
    padding: 8px 12px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
  }

  .case-list-container {
    gap: 10px;
    margin: 20px auto;
  }

  .case-list-item {
    width: 100%;
    height: auto;
  }

  .case-item-image-wrapper {
    height: 150px;
  }

  .case-item-title-wrapper {
    margin: 15px 12px 0 12px;
  }

  .case-item-title {
    font-size: 14px;
  }

  .case-item-description {
    font-size: 11px;
    margin: 12px 12px 12px 12px;
    -webkit-line-clamp: 2;
  }

  .feature-list-container {
    margin: 15px 0;
  }

  .feature-item {
    margin: 8px 0;
  }

  .feature-title {
    font-size: 14px;
  }

  .feature-description {
    font-size: 12px;
    padding-left: 20px;
  }

  .tag-text {
    font-size: 12px;
    padding: 4px 12px;
  }
}
