/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

:root {
  --primary-color: #1f58a7;
  --secondary-color: #c4a777;
  --text-color: #333;
  --light-bg: #f5f5f5;
  --white: #fff;
}
/* 通用样式 */
body {
  margin: 0;
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  background: #f6f8fa;
  color: #222;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Banner 区域 */
.banner {
  position: relative;
  height: 600px;
  background: url('../img/background-1.png') no-repeat center center;
  background-size: cover;
  color: var(--white);
  overflow: hidden;
  margin: 0 auto;
}
.banner-bg {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  height: 600px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.banner-content {
  text-align: center;
}
.banner-content h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.banner-content p {
  font-size: 1rem;
  margin-bottom: 24px;
}
.banner-btn {
  background: #9db7dc;
  color: #ffffff;
  border: none;
  padding: 10px 32px;
  border-radius: 24px;
  font-size: 1rem;
  cursor: pointer;
  -webkit-transition: background 0.2s;
  -o-transition: background 0.2s;
  transition: background 0.2s;
}
.banner-btn:hover {
  background: #e0e7ff;
}
/* 基础样式 */

.banner-icon-wrapper {
  overflow: hidden;
  position: relative;
}

.banner-icon-slider {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-animation: scroll 30s linear infinite;
  animation: scroll 30s linear infinite;
  width: 1200px;
}

.banner-icon-item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0 15px;
  text-align: center;
  min-width: 80px;
}

.banner-icon-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
  -o-object-fit: contain;
  object-fit: contain;
}
.banner-icon-item span {
  color: rgb(0, 0, 0);
}

/* 移动端滚动动画 */
@-webkit-keyframes scroll {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}
@keyframes scroll {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}
/* 三大模块介绍 */
.modules {
  overflow: hidden;
  background: var(--white);
  padding: 40px 0;
  opacity: 0;
}

.module-box {
  display: -ms-grid;
  display: grid;
  margin-bottom: 40px;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  color: var(--white);
  text-align: center;
}
.module-box .title {
  margin-top: 60px;
  font-size: 28px;
  margin-bottom: 20px;
}
.module-box .text {
  margin: 0 auto;
  width: 10vw;
  line-height: 30px;
}
.module-row {
  position: relative;
}
.module-row:nth-child(1) {
  height: 35rem;
  background: url('../img/module-1.png') no-repeat;
  background-size: cover;
}
.module-row:nth-child(2) {
  height: 35rem;
  background: url('../img/module-3.png') no-repeat;
  background-size: cover;
}
.module-row:nth-child(3) {
  height: 35rem;
  background: url('../img/module-2.png') no-repeat;
  background-size: cover;
}
.module-box:has(.module-row:nth-child(1):hover) {
  -ms-grid-columns: 2fr 1fr 1fr;
  grid-template-columns: 2fr 1fr 1fr;
}
.module-box:has(.module-row:nth-child(2):hover) {
  -ms-grid-columns: 1fr 2fr 1fr;
  grid-template-columns: 1fr 2fr 1fr;
}
.module-box:has(.module-row:nth-child(3):hover) {
  -ms-grid-columns: 1fr 1fr 2fr;
  grid-template-columns: 1fr 1fr 2fr;
}
.module-row .open-text {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-color);
  color: #fff;
  opacity: 0;
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
  pointer-events: none;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: left;
}
.module-row .open-text .text {
  width: 20vw;
}
.module-row .open-text ul {
  padding: 0 0 0 20px;
}
.module-row .open-text li {
  text-align: left;
}

.module-row:hover .open-text {
  -webkit-transform: translateY(0%);
  -ms-transform: translateY(0%);
  transform: translateY(0%);
  opacity: 1;
  pointer-events: auto;
}

/* 流程图/系统结构图 */
.solution {
  background: #f6f8fa;
  padding: 40px 0 20px 0;
  opacity: 0;
  overflow: hidden;
}
.solution-title,
.clients-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 32px;
  font-weight: 600;
}
.solution-flow-chart {
  margin-bottom: 30px;
  img {
    width: 100%;
    height: 100%;
  }
}
.structural-diagram {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.structural-diagram .left {
  width: 50vw;
  margin-right: 10px;
}
.structural-diagram .left img {
  width: 100%;
  height: 100%;
}
.structural-diagram .right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}
.structural-diagram .right .top-text {
  line-height: 40px;
}
.structural-diagram .right .bottom-list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.structural-diagram .right .bottom-list .list-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.structural-diagram .right .bottom-list .icon {
  width: 100px;
  height: 100px;
  img {
    width: 100%;
    height: 100%;
  }
}
.structural-diagram .right .bottom-list .text {
  margin: 10px 0;
}
/* 功能模板区 */
.templates {
  background: var(--white);
  padding: 40px 0 20px 0;
  opacity: 0;
  overflow: hidden;
  img {
    width: 100%;
    height: 100%;
  }
}
.templates ul {
  padding: 0;
  list-style-type: none;
}

.templates-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 24px;
  font-weight: 600;
}
.templates-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  /* grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px; */
}
.templates-item {
  width: 230px;
  margin: 3px 3px;
  height: 300px;
  background-size: cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
}
.templates-item .text {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 30px;
}
.block-text-box {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  opacity: 0;
  -webkit-transform: translateX(0%);
  -ms-transform: translateX(0%);
  transform: translateX(0%);
  pointer-events: none;
  z-index: 2;
}
.block-text-box ul {
  /* width: 200px; */
  padding: 0;
  margin: 0 auto;
}
.block-text-box ul li {
  padding-left: 20px;
  position: relative;
  text-align: left;
  line-height: 40px;
}
.block-text-box ul li::before {
  content: '✓'; /* 或使用"\2713" */
  position: absolute;
  left: 0;
  width: 20px; /* 固定宽度 */
  text-align: center; /* 水平居中 */
  color: var(--primary-color); /* 对勾颜色 */
  font-weight: bold;
  /* 垂直居中方案 */
  top: 50%;
  font-size: 20px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.block-text-box .title {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 30px;
  text-align: center;
  width: calc(200px - 100px);
}
.block-text-box .block-icon {
  width: 15px;
  height: 15px;
}
.block-text-box .block-text {
  color: var(--primary-color);
  text-align: center;
  margin-left: 10px;
  text-align: left;
}
.templates-item:hover .block-text-box {
  -webkit-transform: translateY(0%);
  -ms-transform: translateY(0%);
  transform: translateY(0%);
  opacity: 1;
  pointer-events: auto;
}
.templates-item:hover .text {
  -webkit-transform: translateY(0%);
  -ms-transform: translateY(0%);
  transform: translateY(0%);
  opacity: 0;
  pointer-events: auto;
}
/* 分别为每个item设置不同背景 */
.templates-item:nth-child(1) {
  background-image: url('../img/templates-1.png');
}
.templates-item:nth-child(2) {
  background-image: url('../img/templates-2.png');
}
.templates-item:nth-child(3) {
  background-image: url('../img/templates-3.png');
}
.templates-item:nth-child(4) {
  background-image: url('../img/templates-4.png');
}
.templates-item:nth-child(5) {
  background-image: url('../img/templates-5.png');
}
.templates-item:nth-child(6) {
  background-image: url('../img/templates-6.png');
}
.templates-item:nth-child(7) {
  background-image: url('../img/templates-7.png');
}
.templates-item:nth-child(8) {
  background-image: url('../img/templates-8.png');
}
.templates-item:nth-child(9) {
  background-image: url('../img/templates-9.png');
}
.templates-item:nth-child(10) {
  background-image: url('../img/templates-10.png');
}

/* 客户logo区 */
.clients {
  padding: 40px 0 20px 0;
  opacity: 0;
  overflow: hidden;
  img {
    width: 100%;
    height: 100%;
  }
}
.client-markets {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.client-markets .client-markets-item {
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 5px 15px;
  height: 77px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: var(--white);
  margin-right: 10px;
  margin-bottom: 10px;
}
.client-markets .client-markets-item .left {
  width: 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.client-markets .client-markets-item .left .icon {
  width: 77px;
  height: 77px;
  img {
    width: 100%;
    height: 100%;
  }
}
.client-markets .client-markets-item .right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.client-markets .client-markets-item .right .title {
  font-weight: 500;
}
.client-markets .client-markets-item .right .text {
  font-size: 20px;
}
.clients .logo-list-container {
  overflow: hidden;
  -webkit-mask-image: -webkit-gradient(
    linear,
    left top,
    right top,
    from(transparent),
    color-stop(10%, #000),
    color-stop(90%, #000),
    to(transparent)
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: -webkit-gradient(
    linear,
    left top,
    right top,
    from(transparent),
    color-stop(10%, #000),
    color-stop(90%, #000),
    to(transparent)
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}
.clients-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 24px;
  font-weight: 600;
}
.clients-logos {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  white-space: nowrap;

  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100px;
  margin-bottom: 20px;
}
.client-logo {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 200px;
  height: 100px;
  margin: 0 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

@media (min-width: 769px) {
  .banner-icon-wrapper {
    overflow: visible;
  }

  .banner-icon-slider {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    transform: none !important;
    -webkit-animation: none !important;
    animation: none !important;
  }
}
/* 响应式布局 */
@media (max-width: 1211px) {
  .templates-item {
    width: calc(100% / 3 - 10px);
  }
  .client-markets .client-markets-item {
    width: 50%;
  }
}
@media (max-width: 900px) {
  .nav-menu a {
    width: auto;
  }
  .banner {
    height: 450px;
  }
  .banner-bg {
    height: 450px;
  }

  .module-row .text {
    width: auto;
  }
  .module-row .open-text .text {
    width: 80vw;
  }
  .module-box:has(.module-row:nth-child(1):hover) {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .module-box:has(.module-row:nth-child(2):hover) {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .module-box:has(.module-row:nth-child(3):hover) {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .structural-diagram {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .structural-diagram .left {
    width: auto;
    height: auto;
    margin-right: 0;
  }
  .structural-diagram .right .bottom-list {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .templates-list {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .templates-item {
    width: auto;
  }
  .templates-item .block-text-box .title {
    width: auto;
  }

  .banner-bg {
    left: 0;
  }
  .footer-contact-top {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .module-box {
    display: -ms-grid;
    display: grid;
    margin-bottom: 40px;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .module-box:has(.module-row:nth-child(1):hover) {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .module-box:has(.module-row:nth-child(2):hover) {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .module-box:has(.module-row:nth-child(3):hover) {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .client-markets {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .client-markets .client-markets-item {
    width: 40%;
  }
  .client-markets .client-markets-item .left {
    width: 40%;
  }
  .client-markets .client-markets-item .right {
    width: 60%;
  }
  .link-icon-item .code {
    left: 50%;
    top: -120px; /* 上方显示，数值根据二维码高度调整 */
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .link-icon-item:hover .code,
  .link-icon-item:active .code {
    display: block;
  }
  .address {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
  }
}
@media (max-width: 700px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(#1f58a7));
    background: -o-linear-gradient(top, #1f58a7);
    background: linear-gradient(to bottom, #1f58a7);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0;
    z-index: 99;
    gap: 0px;
  }
  .nav-menu.show {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100vw;
  }
  .nav-menu a {
    padding: 16px 0;
    text-align: center;
  }
  .nav-toggle {
    display: block;
  }
  .nav-contact {
    display: none;
  }

  .module-row,
  .module-row.reverse {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 12px;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
  .module-img {
    width: 100%;
    height: auto;
  }
  .footer-flex {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 12px;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .clients-logos {
    gap: 10px;
  }
  .client-markets .client-markets-item {
    width: 100%;
  }
  .client-markets .client-markets-item .left {
    width: 40%;
  }
  .client-markets .client-markets-item .right {
    width: 60%;
  }
}
