@font-face {
  font-family: "Alimama FangYuanTi VF"; 
  src: url("../font/ALiMaMaFangYuanTi/AlimamaFangYuanTiVF-Thin-2.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "微软雅黑", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* 核心样式：图片下划线 */
.custom-underline {
  margin-top: 19px;
  text-decoration: none;
  padding-bottom: 19px;
  background-image: url('../image/index/xhx.png');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 26.5px 13.03px;
}

/* 汉堡菜单样式 */
.menu-toggle {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  z-index: 100;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #f8f6f6;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
  top: 0px;
}

.menu-toggle span:nth-child(2) {
  top: 10px;
}

.menu-toggle span:nth-child(3) {
  top: 20px;
}

/* 汉堡菜单动画类 */
.transform-rotate-45 {
  transform: rotate(45deg) !important;
  top: 10px !important;
}

.opacity-0 {
  opacity: 0 !important;
}

.transform-rotate--45 {
  transform: rotate(-45deg) !important;
  top: 10px !important;
}

/* 移动端导航样式 */
.mobile-nav {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  z-index: 99;
}

.mobile-nav a {
  display: block;
  padding: 15px 0;
  width: 100%;
  text-align: center;
  font-size: 18px;
  color: #f8f6f6;
}

/* 背景图动画 */
@keyframes bgAnimation {
  0% {
    background-position: center center;
    background-size: 100% cover;
  }
  50% {
    background-position: center 10%;
    background-size: 105% cover;
  }
  100% {
    background-position: center center;
    background-size: 100% cover;
  }
}

/* 顶部导航 */
.banner-top {
  background: url('../image/index/banner-bg.png') no-repeat center/cover;
  background-color: rgba(26, 22, 22, 0.7);
  height: auto;
  min-height: 740px;
  /* 让背景图和颜色叠加 */
  background-blend-mode: multiply; 
  padding: 20px;
  /* 应用动画 */
  animation: bgAnimation 20s ease-in-out infinite;
}



.top {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 10px 20px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 20px;
}

.top-nav a {
  font-family: PingFang SC;
  font-size: 20px;
  font-weight: normal;
  line-height: 100%;
  letter-spacing: 0px;
  margin-left: 20px;
  color: #F7F7F7;
  font-variation-settings: "opsz" auto;
}

/* 横幅 */
.banner {
  width: 100%;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.banner h1 {
  font-family: Alimama FangYuanTi VF;
  font-size: 62px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0em;
  margin-bottom: 20px;
  font-variation-settings: "opsz" auto;
  color: #FAFDFC;
}

.banner_p {
  font-family: Alimama FangYuanTi VF;
  font-size: 30px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 2.56px;
  margin-bottom: 29px;
  font-variation-settings: "opsz" auto;
  color: #FAFDFC;
}

.banner img {
  display: inline-block;
  margin-bottom: 20px;
  text-align: center;
  max-width: 100%;
  height: auto;
}

.banner .btn {
  display: block;
  margin: 122px auto;
  width: 204px;
  height: 64px;
  padding: 12px 30px;
  background-color: #ffc107;
  color: #333;
  border-radius: 30px;
  font-family: PingFang SC;
  font-size: 26px;
  font-weight: 600;
  line-height: 100%;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.banner .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

.banner .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 193, 7, 0.4);
}

.banner .btn:hover::before {
  left: 100%;
}

/* 滚动渐入动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  font-family: Alimama FangYuanTi VF;
  font-size: 64px;
  font-weight: bold;
  line-height: 100%;
  letter-spacing: 0em;
  font-variation-settings: "opsz" auto;
  color: #FAFDFC;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

/* 客户案例区域 */
.customer-cases {
  padding: 80px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}
.customer-content{
  text-align: center;
  margin-top: 80px;
}
.customer-content h2{
    background-image: url('../image/index/hxys.png');
    background-repeat: no-repeat;
    background-position: center top;
    padding: 27px 20px;
    font-family: PingFang SC;
    font-size: 42px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0px;
    font-variation-settings: "opsz" auto;
    color: #333333;
    margin-bottom: 50px;
}
.cw-container {
  width: 480px;
  height: 591px;
  background-image: url('../image/customer/cw.png');
  background-size: cover;
}

.cs-container {
  width: 480px;
  height: 591px;
  background-image: url('../image/customer/cs.png');
  background-size: cover;
}

.case-item {
  position: relative;
  padding: 0 0 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  box-sizing: border-box;
  align-items: flex-start;
}

.case-item h1 {
  font-family: Alimama FangYuanTi VF;
  font-size: 28px;
  font-weight: bold;
  color: #333333;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.case-item h1:first-child {
  margin-bottom: 14px;
}

/* case-dian styles */
.case-dian {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.case-dian img {
  object-fit: contain;
}


.case-dian-text img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.case-dian-text span {
  font-family: PingFang SC;
  font-size: 14px;
  font-weight: normal;
  line-height: 100%;
  letter-spacing: 0px;

  font-variation-settings: "opsz" auto;
  color: #333333;
}
.case-dian-text p {
  font-family: PingFang SC;
  font-size: 32px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0px;
  margin-top: 18px;
  font-variation-settings: "opsz" auto;
  color: #333333;
}
.case-dian-text span:last-child {
  font-weight: bold;
  font-size: 20px;
}

/* 选项卡样式 */
.tabs {
  display: flex;
  justify-content: center;
  margin: 30px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  padding: 12px 24px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: PingFang SC;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.tab-btn.active {
  background-color: #ffc107;
  color: #fff;
  border-color: #ffc107;
  box-shadow: 0 4px 6px rgba(255, 193, 7, 0.2);
}

.tab-btn:hover:not(.active) {
  background-color: #f5f5f5;
}

.tab-content {
  margin-top: 140px;
  margin-bottom: 80px;
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 解决方案列表样式 */
.solutions-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  max-width: 1200px;
  padding: 0 15px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* 大屏幕适配 */
@media (min-width: 1281px) {
  .solutions-list {
    max-width: 1200px;
  }
}

.solution-item {
  flex: 0 0 calc(33.33% - 20px);
  max-width: calc(33.33% - 20px);
  height: 310px;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  border: 1px solid;
  border-image: linear-gradient(180deg, #FEBE3F 0%, rgba(254, 190, 63, 0) 100%) 1;
  box-shadow: inset 0px 0px 10px 0px #FFF2D8;
}

.solution-item img {
  width: 100%;
  max-width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
  box-sizing: border-box;
}

.solution-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.solution-item:hover img {
  transform: scale(1.1);
}

.solution-item p {
  font-size: 16px;
  margin: 15px 0;
}

/* 响应式调整 */
@media (max-width: 1280px) {
  .solutions-list {
    max-width: 820px;
  }
}

@media (max-width: 992px) {
  .solution-item {
    width: calc(50% - 15px);
    height: auto;
  }
  .solution-item img {
    height: 220px;
  }
}

@media (max-width: 650px) {
  .solution-item {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .solution-item {
    flex: 0 0 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }
}

@media (max-width: 650px) {
  .solution-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 500px) {
  .solution-item {
    width: 100%;
  }
  .solution-item img {
    height: 180px;
  }
}

/* 响应式适配 */
@media (max-width: 768px) {
  /* 显示汉堡菜单，隐藏桌面导航 */
  .menu-toggle {
    display: block;
  }

  .top-nav {
    display: none;
  }

  /* 展开的移动菜单样式 */
  .mobile-nav.active {
    display: flex;
  }

  .banner h1 {
    font-size: 24px;
  }

  .banner img {
    max-width: 80%;
  }

  .top-nav a {
    font-size: 16px;
    margin-left: 10px;
  }

  .banner-top {
    min-height: 500px;
    padding: 10px;
  }

  .case-item {
    width: 100%;
    max-width: 350px;
  }
}
/* 底部咨询样式 */
.bottom-cta {
  background: url('../image/index/image@1x.png') no-repeat center/cover;
  height: 330px;
  padding: 0px 20px;
  text-align: center;
  background-color: #fff;
  position: relative;
}

.bottom-cta span {
  display: block;
  padding-top: 86px !important;
  font-family: Alimama FangYuanTi VF;
  font-size: 32px;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0px;
  font-variation-settings: "opsz" auto;
  color: #333333;
}

.bottom-cta .btn {
  display: inline-block;
  height: 64px;
  padding: 19px 30px;
  background-color: #ffc107;
  border-radius: 52px;
  font-family: PingFang SC;
  font-size: 26px;
  font-weight: 600;
  line-height: 100%;
  text-align: center;
  letter-spacing: 0.1em;
  font-variation-settings: "opsz" auto;
  color: #333333;
  transition: all 0.3s ease;
}

.bottom-cta .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 193, 7, 0.4);
}

/* 底部咨询响应式适配 */
@media (max-width: 768px) {
  .bottom-cta {
    height: auto;
    min-height: 300px;
    padding: 20px 10px;
  }

  .bottom-cta span {
    font-size: 20px !important;
    padding: 0 10px;
    padding-top: 40px !important;
    line-height: 1.3;
  }

  .bottom-cta .btn {
    font-size: 18px;
    height: 50px;
    padding: 12px 20px;
  }
}

.cw-container {
  width: 480px;
  height: 591px;
  background-image: url('../image/customer/cw.png');
  background-size: cover;
}

.cs-container {
  width: 480px;
  height: 591px;
  background-image: url('../image/customer/cs.png');
  background-size: cover;
}

@media (max-width: 768px) {
      /* 页脚移动端适配 */
      footer {
        padding: 30px 20px;
      }
      
      .footer-top {
        flex-direction: column;
        gap: 20px;
      }
      
      .footer-section {
        flex: 1 1 100%;
        margin-bottom: 15px;
      }
      
      .qr-code-container {
        margin-right: 15px;
        margin-bottom: 10px;
      }
      
      .qr-code {
        width: 100px;
        height: 100px;
      }
      
      /* 显示汉堡菜单，隐藏桌面导航 */
      .menu-toggle {
        display: block;
      }

      .top-nav {
        display: none;
      }

      /* 展开的移动菜单样式 */
      .mobile-nav.active {
        display: flex;
      }
      .banner h1 {
        font-size: 24px;
      }

      .banner img {
        max-width: 80%;
      }

      .top-nav a {
        font-size: 16px;
        margin-left: 10px;
      }

      .banner-top {
        min-height: 500px;
        padding: 10px;
      }

      .core-advantages h2,
      .platforms h2,
      .solutions h2,
      .hardware-software h2,
      .customer-cases h2,
      .partners h2 {
        font-size: 20px;
      }

      /* 合作伙伴移动端适配 */
      .partners-logos {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        padding: 0 10px;
        gap: 10px;
      }

      .partners-logos img {
        width: 100%;
        height: auto;
        max-height: 70px;
      }

      /* 底部咨询移动端适配 */
      .bottom-cta {
        height: auto;
        min-height: 300px;
        padding: 20px 10px;
      }

      .bottom-cta span {
        font-size: 20px !important;
        padding: 0 10px;
        padding-top: 40px !important;
        line-height: 1.3;
      }

      .bottom-cta .btn {
        font-size: 18px;
        height: 50px;
        padding: 12px 20px;
        margin-top: 20px !important;
      }

      /* 小屏幕适配 */
      @media (max-width: 375px) {
        .partners-logos {
          grid-template-columns: 1fr;
        }
      }
    }
