/* 首页 Style */


/* ------ 产品介绍 Style ------ */
.sn-about-section {
  padding:100px 0 120px 0 !important;
  background: #f7faff;
}

.sn-what-we-do {
  display: flex;
  flex-wrap: wrap;
}

.sn-about-header {
  margin-bottom: 8px !important;
}

.about-box {
  width: 100%;
  display: flex;
  justify-content: center;
}

.about-sub {
  font-family: 'Raleway', sans-serif;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #666666;
  margin-top: 20px;
  margin-bottom: 50px;
}

.sn-blurb-round-icon .sn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  text-align: center;
  margin: 0 auto 16px;
  -webkit-border-radius: 50%;
  moz-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
}

.sn-blurb-round-icon .sn-icon {
  -webkit-transition: all 0.35s linear;
  -moz-transition: all 0.35s linear;
  -ms-transition: all 0.35s linear;
  -o-transition: all 0.35s linear;
  transition: all 0.35s linear;
}

.sn-blurb-round-icon h3 {
  text-align: center;
  font-size: 18px;
  color: #000000;
  margin-top: 0;
  margin-bottom: 8px;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.sn-blurb-round-icon p {
  color:#676767;
  margin-bottom: 0;
  text-align: center;
}

/* ------ 增强共功能 Style ------ */

.sn-features-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  height: 60px;
  border-radius: 60px;
  background: #dee2fd;
  cursor: pointer;
}

.sn-features-tabs h4 {
  width: 100%;
  font-size: 20px;
  text-align: center;
  color: #000000;
}

.selected {
  background: linear-gradient(180deg, #5551fc 0%, #837ffa 96%);
}

.selected h4 {
  color: #ffffff;
}

.sn-features-content {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
}

.sn-features-content-right {
  margin-top: 30px;
  height: 300px;
  position: relative;
}

.sn-features-content-left {
  text-align: right;
}

.sn-blurb-title {
  position: absolute;
  width: auto;
  padding: 20px 45px 30px 32px;
  border-radius: 20px;
  background: linear-gradient(181deg, rgba(255, 255, 255, 0.8) -3%, rgba(198, 211, 252, 0.8) 97%);
  backdrop-filter: blur(6px);
  box-shadow: inset 0px 0px 4px 0px #c6d3fc;
  z-index: 1;
}

.sn-blurb-title p {
  font-size: 18px;
  margin: 10px 0 0 0;
  white-space: nowrap;
}

.sn-blurb-text {
  width: 100%;
  position: absolute;
  top: 40px;
  padding:100px 45px 60px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
  border-radius: 25px;
  background: linear-gradient(180deg, rgba(106, 141, 253, 0.24) 0%, #5f84ff 100%);
}

.sn-blurb-text p {
  margin: 6px 0 0 0;
}

.sn-blurb-text p:first-child {
  margin-top: 10px;
}


/* 窄屏幕（小于 md 断点，即 <768px） */
@media (max-width: 767.98px) {
  .sn-blurb-title {
      width: auto;
  }
}

@media (max-width:991.98px) {
   .sn-blurb-title {
      width: 80% ;
  }
  .sn-blurb-text {
      width: 100% ;
  }
}

@media (min-width:992px) {
   .sn-blurb-title {
      width: 60% ;
  }
  .sn-blurb-text {
      width: 80% ;
  }
}

@media (min-width:1199.98px) {
   .sn-blurb-title {
      width: 80% ;
  }
  .sn-blurb-text {
      width: 100% ;
  }
}

/*  ---- 解决方案 Style ----- */
.sn-scheme-section {
  overflow: visible !important;
  background:#f7faff;
  padding-bottom: 0 !important;
}

.sn-scheme-section .sn-section-header {
  margin-bottom: 8px;
}

.scheme-container {
  width: 100%;
  height:100%;
  position: relative;
  transform-style: preserve-3d;
}
.scheme-container::before {
	position: absolute;
	right:0;
	bottom:0;
	left:0;
	content:'';
	width:100%;
	height:200px;
	background:#ffffff;
	transform: translateZ(-1px);  
}
@media (max-width: 1199.98px) {
  .sn-scheme-section {
     background:#F7FAFF;
  }
}

@media (min-width: 1200px) {
  .scheme-container {
     background: url('/assets/home/images/img-header/background.png') no-repeat;
    background-size: 100% 100%;
  }
}


.scheme-core {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.scheme-core > p {
  font-family: 'Raleway', sans-serif;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #666666;
  margin-top: 20px;
  margin-bottom: 50px;
}

.scheme-item-box {
  display: flex;
  flex-wrap: wrap; 
}

.scheme-item {
  border-radius: 30px;
  background: linear-gradient(180deg, #c0cffe 3%, #ffffff 24%);
}

.scheme-item .scheme-item-title {
  min-height: 220px;
  text-align: center;
}

.scheme-item .scheme-item-title h2 {
  font-size: 48px;
  font-weight: 500;
  height: 120px;
  line-height: 120px;
  color: #635ff3;
}

.scheme-item .scheme-item-title h3 {
  font-size: 20px;
  font-weight: 500;
  color: #000000;
  padding: 0 0 15px 0;
}

.scheme-item .scheme-item-title p {
  font-size: 16px;
  text-align: center;
  color: #676767;
  margin-bottom: 0;
}

.scheme-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
}

.scheme-bottom {
  margin-top: 40px;
  padding: 30px;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
}

.scheme-bottom-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom:20px;
}

.scheme-bottom-title h2 {
  color: #373b60;
  height: 60px;
  line-height: 60px;
}

.scheme-bottom-title > p {
  font-size: 16px;
  color:#666666;
  margin-bottom: 0;
}

.scheme-bottom-box {
  display: flex;
  flex-wrap: wrap; 
}

.scheme-bottom-item {
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 窄屏幕（小于 md 断点，即 <768px）：隐藏线条 */
@media (max-width: 767.98px) {
  .scheme-bottom-item {
    border-right: none;
    border-bottom: 2px solid #8d8afd;
  }
}

/* 宽屏幕（大于等于 md 断点，即 ≥768px）：显示线条（默认已显示，可省略） */
@media (min-width: 768px) {
  .scheme-bottom-item {
    margin:30px 0;
    padding: 0;
    border-bottom: none;
    border-right: 2px solid #8d8afd;
  }
}

.scheme-bottom-item:last-child {
  border-right: none;
  border-bottom: none;
}

.scheme-bottom-item h4 {
  margin-bottom: 8px;
}

.scheme-bottom-item p {
  font-size: 16px;
  font-weight: 300;
  color: #000000;
  margin-bottom: 0;
}

/* ----- 合作伙伴 Style ----- */
.sn-our-skills .charts {
  padding-left:30px;
}

/* ----- 新闻资讯 Style ----- */
.sn-featured-wrapper{
   background:#f7faff;
}
.sn-news-wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* 添加过渡效果，使暂停/开始更平滑 */
  transition: transform 0.3s ease-out;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.sn-news-item {
  width: calc(33.333% - 10px);
  min-width: 480px;
  height: 130px;
  flex-shrink: 0;
  box-sizing: border-box;
  border-radius: 30px;
  background: #ffffff;
  opacity: 1;
  padding: 12px 10px 18px 30px;
  /* 添加卡片悬停效果 */
  transition: transform 0.2s;
}

.sn-news-item2:first-child {
  margin-left: 120px;
}

.sn-news-item p {
  padding-top: 8px;
  font-size: 18px;
  font-weight: 350;
  color: #5e5e5e;
  margin-bottom: 0;
  white-space: wrap;
}

.sn-news-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sn-news-title .title {
  height: 30px;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0;
  color: #0c0c0c;
}

.sn-news-title .tabs {
  margin:0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 26px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}
.sn-news-title .tabs-purple {
  background: linear-gradient(180deg, #5652fc 0%, #8d8af9 100%);
}

.sn-news-title .tabs-orange {
  background: linear-gradient(180deg, #ff9432 0%, #fdd39b 100%);
}

.sn-portfolio-work-item {
  height: 280px;
  position: relative;
}

/* ----- 选择迅付的理由 Style ------- */
.sn-portfolio-section {
  padding-top: 80px;
  margin-bottom: 70px;
}

.sn-portfolio-works {
  display: flex;
  flex-wrap: wrap;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 2%, #cad7fe 100%);
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.08);
}

.sn-works-item {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 30px 60px;
  border: 0 solid  transparent;
}


/* 窄屏幕（小于 md 断点，即 <768px）：隐藏线条 */
@media (max-width: 767.98px) {
  .sn-works-item {
    border-right: none;
  }
  .number-title{
      display: none;
  }
}

@media (max-width:992px) {
  .sn-works-item {
    border-right: none;
    border-top: 2px solid #d2d0ff;
  }
  .sn-works-item:first-child {
      border-top: none;
  }
}

@media (min-width: 992px) {
  .sn-works-item {
    border-right: 2px solid #d2d0ff;
    border-top: 2px solid #d2d0ff;
  }
  
  .sn-works-item:nth-child(2n) {
    border-right: 0 none;
   }
   
   .sn-works-item:nth-child(-n + 2) {
     border-top: 0 none;
    }
    
    .number-title {
      display: block;
    }
}

.sn-works-item .right {
  /*height: 180px;*/
  /*min-height: 180px;*/
}

.sn-works-item .right h4 {
  font-size: 20px;
  padding-top: 16px;
  font-weight: 500;
}

.sn-works-item .right p {
  padding-top: 8px;
  font-size: 16px;
  font-weight: 350;
  line-height: normal;
  color: #565555;
}

.sn-works-item .number-title {
  padding: 0 0 30px 60px;

  font-family: PingFang SC sans-serif;
  font-size: 144px;
  color: rgba(99, 95, 243, 0.09);
}

/* ----- 悬浮按钮 Style ------- */

.floating-button {
  position: fixed;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.floating-button:hover {
  transform: scale(1.1);
}

.floating-button:active {
  transform: scale(0.95);
}

.floating-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

/* 联系客服按钮 */
#contactBtn {
  bottom: 200px;
  right: 24px;
}

/* 返回顶部按钮 */
#backToTopBtn {
  bottom: 120px;
  right: 24px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

#backToTopBtn.visible {
  opacity: 1;
  visibility: visible;
}

#contactBtn:hover + .contact-dialog {
  opacity: 1;
  visibility: visible;
}

#contactBtn:hover + .contact-dialog,
.contact-dialog:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.contact-dialog {
  position: fixed;
  bottom: 200px;
  right: 100px;
  width: 210px;
  height: 300px;
  border-radius: 3px;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
  z-index: 100;
}

.floating-item {
  display: flex;
}
.floating-item:nth-child(2) {
  margin: 16px 0;
}

.floating-item > img {
  margin-right: 6px;
}

.floating-item p {
  font-size: 12px;
  font-weight: 350;
  margin-bottom: 6px;
}

.floating-item span {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0;
  text-wrap: nowrap;
}
