/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 14px;
  text-align: center;
}

.btn-primary {
  background-color: #a855f7;
  color: white;
}

.btn-primary:hover {
  background-color: #8b5cf6;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: #a855f7;
  border: 1px solid #a855f7;
}

.btn-outline:hover {
  background-color: #a855f7;
  color: white;
  transform: translateY(-2px);
}

/* 头部样式 */
.header {
  background-color: #956FF9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo h1 {
  font-size: 24px;
  font-weight: bold;
  color: #a855f7;
}

.nav ul {
  display: flex;
  list-style: none;
}

.nav ul li {
  margin: 0 15px;
}

.nav ul li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 16px;
  position: relative;
}

.nav ul li a:hover{
  color: red;
}

.header-buttons .btn {
  margin-left: 10px;
  padding: 8px 15px;
}

/* Banner 区域 */
/* Banner 区域 */
.banner {
  background: linear-gradient(180deg, #A479FA 0%, rgba(190, 169, 253, 0) 100%);
  padding: 160px 0 100px;
  color: white;
  position: relative;
  overflow: hidden;
}

.banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.banner-left {
  flex: 1;
  text-align: left;
  max-width: 400px;
}

.banner-left h1 {
  font-size: 45px;
  margin-bottom: 20px;
  font-weight: bold;
}

.banner-left p {
  font-size: 24px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.qr-codes {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.qr-item {
  text-align: center;
  width: 184px;
  height: 230px;
  display: flex;
  background-color: #B296FC;
  border-radius: 16px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-item .qr-img {
  width: 125px;
  height: 125px;
  border-radius: 8px;
  background: white;
  padding: 10px;
}

.qr-item span {
  display: block;
  font-size: 14px;
  margin-top: 10px;
  color: white;
}
.qr-item span img {
  height: 16px;
  vertical-align: middle;
  margin-right: 5px;
}
.banner-box{

  position: absolute;
  right:0;
  top: 68px;
  z-index: 9;
}
.banner-right {
  flex: 1;
  text-align: right;
  z-index: 9;
}

.mobile-img {
  height: 780px;
  object-fit: contain;
}

.mengBanBg {
  position: absolute;
  top: 0;
  right: 5%;
  height: 80%;
  z-index: 1;
  opacity: 0.3;
  pointer-events: none;
}
/* 我们的服务 */
.services {
   padding:50px 0 80px 0;
  background-color: white;
  width: 1400px;
  margin: 60px auto 0;
  position: relative;
  border-radius: 12px 100px 12px 12px;
}
.services .section-title {
  color: #000000;
  font-size: 45px;
}

.banner-images {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 80px;
  flex-wrap: wrap;
}

.banner-images img {
  height: 63px;
  object-fit: cover;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.tag {
  display: inline-block;
  background-color: #a855f7;
  color: white;
  width: 250px;
  height: 60px;
  line-height: 60px;
  border-radius: 60px;
  font-size: 28px;
  margin-bottom: 55px;
  position: relative;
  text-align: center;
}

.tag::before {
  content: '';
  position: absolute;
  left: 19px;
  bottom: -11px;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #a855f7;
  transform: rotate(15deg);
}
.service-item p {
  color: #333;
  line-height: 1.6;
  font-size: 15px;
}

/* 关于我们 */
.about {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.about .container .section-title{
  font-size: 45px;
  font-weight: bold;
  text-align: center;
}
.about-content {
  margin-top: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.about-text {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.about-text ul {
  list-style: none;
  padding-left: 20px;
}

.about-text ul li {
  margin-bottom: 30px;
  position: relative;
  padding-left: 20px;
  color: #000000;
}

.about-text ul li:before {
  content: '>';
  color: #a855f7;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  /* width: 200px; */
  height: 310px;
  object-fit: cover;
}

.hello-text {
  margin-top: 20px;
  text-align: center;
}

.hello-text h3 {
  font-size: 36px;
  color: #a855f7;
  margin-bottom: 5px;
}

.hello-text p {
  font-size: 18px;
  color: #333;
}

/* 合作与代理 */
.partner {
  padding: 120px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.partner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/bottom-bg.png');
  background-size: cover;
  z-index: 1;
}

.partner .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.partner-left {
  flex: 1;
  max-width: 500px;
}

.partner-text-img {
  width: 90%;
  height: auto;
  margin-bottom: 30px;
}

.partner-left h2 {
  font-size: 40px;
  font-weight: normal;
  margin-bottom: 30px;
  line-height: 1.4;
}

.contact-form {
  width: 100%;
}

.empty-content{
  height: 150px;
}
.contact-form input {
  width: 100%;
  padding: 25px 0;
  margin-bottom: 15px;
  border: none;
  /* border-radius: 8px; */
  border-bottom: 1px solid #ffffff;
  background-color: transparent;
  /* background-color: rgba(255, 255, 255, 0.1); */
  color: white;
  font-size: 20px;
  outline: none;
}

.contact-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form button {
  width: 150px;
  height: 50px;
  line-height: 50px;
  border: none;
  font-size: 20px;
  border-radius: 8px;
  background-color: white;
  color: #a855f7;
  font-weight: bold;
  cursor: pointer;
  margin-top: 50px;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.partner-right {
  flex: 1;
  text-align: center;
}

.partner-right h2 {
  font-size: 42px;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-download.apple {
  background-color: black;
  color: white;
}

.btn-download.android {
  background-color: #000;
  color: white;
}

.btn-download img {
  height: 20px;
}

/* 模态框样式 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border-radius: 12px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.modal-content h3 {
  font-size: 26px;
}

.modal-content p {
  font-size: 26px;
}
.close {
  color: #aaa;
  float: right;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: black;
}

#backToTop {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #a855f7;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: none;
  outline: none;
}

#backToTop svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#backToTop:hover {
  background-color: #8b5cf6;
  transform: translateY(-2px);
}


/* 底部 */
.footer {
  background-color: #111;
  color: #ccc;
  padding: 50px 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin: 0 20px;
}

.footer-column h4 {
  margin-bottom: 20px;
  font-size: 16px;
  color: #fff;
}

.policy-link {
  color: #ccc;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}


.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 14px;
}

.footer-column ul li a:hover {
  color: #a855f7;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #aaa;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left,
.footer-right {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
}


.privacy-modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.8);
      backdrop-filter: blur(10px);
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    .privacy-modal.show {
      opacity: 1;
    }
    
    .modal-content {
      background: rgba(26, 26, 46, 0.95);
      backdrop-filter: blur(20px);
      margin: 5% auto;
      padding: 2rem;
      border-radius: 15px;
      width: 90%;
      max-width: 800px;
      max-height: 80vh;
      overflow-y: auto;
      transform: scale(0.7) translateY(-50px);
      transition: all 0.3s ease;
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: #fff;
    }
    
    .privacy-modal.show .modal-content {
      transform: scale(1) translateY(0);
    }
    
    .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .close:hover {
      color: #3282b8;
      transform: rotate(90deg);
    }
/* 响应式设计 */
@media (max-width: 992px) {
  .partner {
    flex-direction: column;
    text-align: center;
  }

  .partner-left,
  .partner-right {
    flex: none;
    width: 100%;
  }

  .partner-right h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 32px;
  }

  .qr-codes {
    flex-direction: column;
    align-items: center;
  }

  .phone1,
  .phone2 {
    width: 200px;
    height: 400px;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    order: 2;
  }

  .about-image {
    order: 1;
    margin-bottom: 30px;
  }

  .contact-form input {
    padding: 10px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer-column {
    margin: 0 10px;
    text-align: center;
  }
}