/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  /* background-color: #121212; */
  background: linear-gradient(
      345deg,
      rgba(0, 0, 0, 0) 67.5%,
      rgba(213, 42, 248, 0.2) 102.69%
    ),
    linear-gradient(
      15deg,
      rgba(0, 78, 246, 0) 72.17%,
      rgba(33, 103, 255, 0.2) 99.42%
    ),
    linear-gradient(180deg, #2b2533 0%, #211e28 100%);
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 主容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 20px; */
}

/* 背景效果 */
.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(138, 43, 226, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 215, 0, 0.1) 0%,
      transparent 40%
    );
  z-index: -1;
  opacity: 0.6;
}

/* 动画类 */
.animate__animated.animate__delay-05s {
  animation-delay: 0.5s;
}

.animate__animated.animate__delay-1s {
  animation-delay: 1s;
}

.animate__animated.animate__delay-15s {
  animation-delay: 1.5s;
}

.animate__animated.animate__delay-2s {
  animation-delay: 2s;
}

/* 滚动显示动画类 */
.animate-on-scroll {
  opacity: 0;
}

/* 为移动设备优化动画 */
@media (prefers-reduced-motion) {
  .animate__animated {
    animation-duration: 0.5s !important;
  }
}

/* 顶部区域 */
.header {
  padding: 40px 0 20px;
  text-align: center;
  animation: fadeIn 1s ease-out;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  position: relative;
}

.logo-image {
  height: 120px; /* 调整高度更合适 */
  width: auto;
  display: block; /* 修改为block显示logo图片 */
  animation: fadeIn 1.2s ease-out, logoGlow 3s infinite alternate;
  object-fit: contain; /* 确保logo比例正确 */
}

.logo-text {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(90deg, #8a2be2, #ffd700);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.4);
  letter-spacing: 2px;
  display: none; /* 默认隐藏文字logo，显示图片logo */
  /* 当logo图片显示时，可以将这个隐藏 */
}

.logo-tagline {
  font-size: 18px;
  color: #e0e0e0;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* Banner轮播 */
.swiper-container {
  width: 100%;
  height: 500px;
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  /* 添加基于宽高比的设置 */
  aspect-ratio: 16 / 9;
  /* aspect-ratio兼容性后备方案 */
  position: relative;
}

/* 兼容Safari和旧版浏览器 */
@supports not (aspect-ratio: 16 / 9) {
  .swiper-container::before {
    content: "";
    float: left;
    padding-top: 56.25%; /* 16:9宽高比 */
  }
  .swiper-container::after {
    content: "";
    display: block;
    clear: both;
  }
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10%;
  background-size: cover;
  background-position: center;
  position: relative;
  width: 100%;
  height: 100%;
}

.swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%); */
}

.slide-content {
  position: relative;
  z-index: 1;
  max-width: 50%;
  animation: slideInLeft 1s ease-out;
}

.slide-title {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.slide-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #ffd700;
  transform: scale(1.2);
}

/* 导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.3);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(138, 43, 226, 0.7);
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
  transform: scale(1.1);
}

/* 在移动设备上缩小导航按钮 */
@media (max-width: 767px) {
  .swiper-button-next,
  .swiper-button-prev {
    width: 32px;
    height: 32px;
    opacity: 0.7; /* 移动端按钮稍微透明一些 */
    margin: 0 5px; /* 增加侧边距离 */
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 14px;
  }

  /* 触摸时增加不透明度 */
  .swiper-button-next:active,
  .swiper-button-prev:active {
    opacity: 1;
  }
}

/* 外部分页器容器 */
.swiper-pagination-wrapper {
  text-align: center;
  padding: 20px 0;
  margin-top: 5px;
  position: relative;
}

/* 添加分割线效果 */
.swiper-pagination-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(138, 43, 226, 0.3),
    transparent
  );
}

/* 外部分页器样式 */
.swiper-pagination-wrapper .swiper-pagination {
  position: static;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* 轮播提示文字 */
.swiper-hint {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* 提升外部分页器内的分页点大小 */
.swiper-pagination-wrapper .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: all 0.3s ease;
  cursor: pointer;
}

.swiper-pagination-wrapper .swiper-pagination-bullet-active {
  background: #1df6df;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(138, 43, 226, 0.7);
  animation: bulletPulse 1.5s infinite;
}

@keyframes bulletPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(138, 43, 226, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(138, 43, 226, 0);
  }
}

/* 下载区域 */
.download-section {
  padding: 80px 0;
  text-align: center;
  animation: fadeIn 1.2s ease-out;
}

.download-title {
  font-size: 32px;
  margin-bottom: 16px;
  color: #ffffff;
  text-align: center;
}
.download-subtitle {
  color: #36a1ff;
  leading-trim: both;
  text-edge: cap;
  font-family: "Source Han Sans SC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.3px;
  margin-bottom: 33px;
  display: none;
}

.download-options {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
  background: transparent;
  display: none;
}

.download-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  /* background: linear-gradient(45deg, #817197, #51475F); */

  border-radius: 50px;
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 240px;
  box-shadow: 0 5px 15px rgba(44, 62, 80, 0.4);
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  margin: 20px 0px;
}

.download-button.btn2 {
  /* background: linear-gradient(45deg, #FFB564, #FE4549); */
  background: url("../images/btn1.js") no-repeat center !important;
  background-size: cover;
  box-shadow: 0 5px 15px rgba(38, 208, 206, 0.3);
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
}
.download-button.btn3 {
  background: url("../images/btn3.js") no-repeat center !important;
  background-size: cover;
}
.download-button.btn4 {
  background: url("../images/btn2.js") no-repeat center !important;
  background-size: cover;
}

.download-button:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 20px rgba(44, 62, 80, 0.5);
  background: linear-gradient(45deg, #51475f, #817197) !important;
  cursor: pointer;
}

.download-button.btn2:hover {
  box-shadow: 0 10px 20px rgba(38, 208, 206, 0.4);
  background: linear-gradient(45deg, #fe4549, #ffb564) !important;
  cursor: pointer;
}
.download-button.btn3:hover {
  box-shadow: 0 10px 20px rgba(38, 208, 206, 0.4);
  background: linear-gradient(45deg, #ac5bf6, #6949f5) !important;
  cursor: pointer;
}
.download-button.btn4:hover {
  box-shadow: 0 10px 20px rgba(38, 208, 206, 0.4);
  background: linear-gradient(45deg, #71e3b4, #54b789) !important;
  cursor: pointer;
}

.download-icon {
  font-size: 24px;
  margin-right: 10px;
}

/* 二维码区域 */
.qrcode-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  padding: 30px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 350px;
  margin: 0 auto;
  display: none; /* 默认隐藏二维码区域 */
}

.qrcode-title {
  font-size: 20px;
  margin-bottom: 20px;
  color: #ffffff;
}

.qrcode {
  width: 180px;
  height: 180px;
  background-color: #ffffff;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
  animation: pulse 2s infinite;
}

.qrcode-hint {
  font-size: 14px;
  color: #cccccc;
  max-width: 250px;
  text-align: center;
}

/* 桌面端提示 */
.desktop-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  padding: 30px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 350px;
  margin: 0 auto;
}

.desktop-hint-title {
  font-size: 20px;
  margin-bottom: 20px;
  color: #ffffff;
}

.desktop-hint-text {
  font-size: 14px;
  color: #cccccc;
  max-width: 250px;
  text-align: center;
  margin-bottom: 20px;
}

.desktop-qrcode {
  width: 180px;
  height: 180px;
  animation: pulse 2s infinite;
}

/* 页脚 */
.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

.footer-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 20px; /* 添加顶部边距，使版权文本与链接间有明显间隔 */
}

.footer-links {
  margin-top: 20px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin: 0 10px;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ffd700;
}

/* 设备模型（手机外壳） */
.device-mockup {
  display: none;
  position: absolute;
  width: 40%;
  max-width: 400px;
  right: 10%;
  z-index: 2;
}

@media (min-width: 992px) {
  .device-mockup {
    display: block;
  }
}

/* 响应式调整 */
@media (max-width: 991px) {
  .slide-content {
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
  }

  .swiper-container {
    height: auto; /* 让高度自动根据宽高比计算 */
    aspect-ratio: 16 / 9; /* 保持16:9的宽高比 */
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 10px; /* 减少手机端的容器padding以增加可用空间 */
    width: 100%; /* 确保容器占满整个屏幕宽度 */
  }

  .header {
    padding: 30px 0 10px;
  }

  .logo-text {
    font-size: 36px;
  }

  .swiper-container {
    margin-top: 20px;
    height: auto; /* 高度自动计算 */
    aspect-ratio: 16 / 9; /* 保持16:9的宽高比 */
    border-radius: 8px; /* 手机端圆角稍小一些 */
    width: 100%; /* 确保轮播图占满容器宽度 */
    max-width: 100%; /* 不受max-width限制 */
  }

  .swiper-slide {
    padding: 0 8%; /* 稍微减小内边距 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
  }

  .slide-content {
    max-width: 90%; /* 在手机上占据更多宽度 */
    padding: 15px 0; /* 增加一些垂直内边距 */
  }

  .slide-title {
    font-size: 24px;
    margin-bottom: 10px; /* 减小标题下方间距 */
  }

  .slide-description {
    font-size: 15px !important;
    line-height: 1.4 !important; /* 稍微减小行高 */
    margin-bottom: 15px !important; /* 减小描述下方间距 */
    /* 确保小屏幕上文字不会太长 */
    max-width: 100% !important;
  }

  .swiper-pagination-wrapper {
    padding: 15px 0;
  }

  .swiper-pagination-wrapper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 3px;
  }

  .download-section {
    padding: 0px 0 30px; /* 减小底部内边距，从50px 0改为50px 0 30px */
  }

  .download-title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .download-options {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px; /* 从60px减少到30px */
  }
  .download-button {
    margin: 10px 0px;
  }

  .desktop-hint {
    display: none; /* 在移动端隐藏桌面提示 */
  }

  .footer {
    margin-top: 20px; /* 从40px减少到20px */
    padding: 30px 0; /* 从40px 0减少到30px 0 */
  }
}

@media (min-width: 600px) and (max-width: 1024px) {
  /* 平板电脑样式 */
  .download-options {
    display: flex;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 215, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
  }
}

/* Logo发光动画 */
@keyframes logoGlow {
  from {
    filter: drop-shadow(0 0 2px rgba(138, 43, 226, 0.5));
  }
  to {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
  }
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  /* background: linear-gradient(45deg, #8A2BE2, #7B68EE); */
  background: linear-gradient(290deg, #02abff 11.59%, #1df6df 90.51%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 100;
  text-decoration: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(138, 43, 226, 0.6);
}

/* 客服按钮与弹窗 */
.customer-service {
  position: fixed;
  bottom: 90px; /* 修改位置到TOP按钮上方 */
  right: 30px; /* 与TOP按钮对齐 */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ffd700, #ffa500);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
  cursor: pointer;
  z-index: 100;
  transition: transform 0.3s, box-shadow 0.3s;
  background: url("../images/customer.js") no-repeat center;
  background-size: contain;
}

.customer-service:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.customer-service-modal {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 300px;
  background: rgba(30, 30, 30, 0.95);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 200;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s, opacity 0.3s;
  color: white;
}

.customer-service-modal.show {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* 权限相关 */
.permission-modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  display: none;
  transition: transform 0.3s, opacity 0.3s;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.permission-modal-mask.show {
  transform: scale(1);
  opacity: 1;
  display: flex;
  pointer-events: auto;
}
.permiss-service-modal {
  /* position: fixed;
  left: 50%;
  top: 50%; */
  width: 300px;
  background: rgba(30, 30, 30, 0.95);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1001;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.9); /* 这里是关键 */
  color: white;
}
.permiss-service-modal .inputArea {
  display: flex;
  flex-direction: column;
}
.permiss-service-modal .permiss-tips {
  color: #b7b7b7;
  font-family: "PingFang SC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-top: 9px;
  margin-bottom: 15px;
}
.permiss-service-modal .inputArea .inputItem {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 50px;
  box-sizing: border-box;
  border-radius: 31px;
  background: #fff;
  margin-top: 10px;
  padding: 15px 27px;
}
.permiss-service-modal .inputArea .inputItem input {
  height: 20px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  border: none;
  align-items: center;
  padding-left: 12px;
  color: #000;
  font-size: 18px;
  font-weight: 500;
  box-sizing: border-box;
  overflow: hidden;
  width: 85%;
}
.permiss-service-modal .inputArea .inputItem input[type="number"] {
  -moz-appearance: textfield; /* Firefox */
  -webkit-appearance: none; /* Chrome, Safari, Edge */
  appearance: none; /* 其他浏览器 */
  border: none; /* 去掉边框 */
  outline: none; /* 去掉聚焦时的轮廓 */
  font-size: 18px; /* 自定义字体大小 */
}
.permiss-service-modal .inputArea .inputItem input:focus {
  outline: none; /* 去掉聚焦时的轮廓 */
  border: none; /* 如果需要，也可以去掉边框 */
}
.permiss-service-modal .inputArea .inputItem input::placeholder {
  color: #7c7c7c;
  font-family: "PingFang SC";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}
.permiss-service-modal .inputArea .topInputItem {
  margin-top: 15px;
}
.permiss-service-modal .inputArea .inputItem img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* 权限相关 */

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
  font-size: 18px;
  font-weight: bold;
  color: #1df6df;
}

.modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 30px;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #ffd700;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-item {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #ffd700;
}
.contact-icon img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.contact-info {
  flex: 1;
}

.contact-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 15px;
  color: white;
}

.contact-button {
  display: block;
  text-align: center;
  /* background: linear-gradient(45deg, #FFD700, #FFA500); */
  background: linear-gradient(90deg, #fe7761 0%, #fe3e46 100%),
    linear-gradient(110deg, #ffc904 9.49%, #ff9204 88.41%);
  color: white;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  width: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.confirm-button {
  display: block;
  text-align: center;
  /* background: linear-gradient(45deg, #FFD700, #FFA500); */
  background: linear-gradient(90deg, #fe7761 0%, #fe3e46 100%),
    linear-gradient(110deg, #ffc904 9.49%, #ff9204 88.41%);
  color: white;
  padding: 15px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  width: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.contact-button img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  margin-right: 15px;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 77, 0, 0.4);
}

@media (max-width: 767px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 12px;
    bottom: 20px;
    right: 20px;
  }

  .customer-service {
    width: 40px;
    height: 40px;
    bottom: 70px; /* 在移动设备上调整位置 */
    right: 20px; /* 与TOP按钮对齐 */
    font-size: 20px;
  }

  .customer-service-modal {
    width: calc(100% - 40px);
    right: 20px;
    bottom: 120px; /* 调整弹窗位置 */
  }
}

/* 安装指南弹窗样式 */
.install-guide-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.install-guide-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.install-guide-modal .modal-content {
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  background: rgba(30, 30, 30, 0.95);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  color: white;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  animation: modalFadeIn 0.3s forwards;
}

.install-guide-modal.show .modal-content {
  transform: translateY(0);
}

.install-guide-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.install-guide-modal .modal-title {
  font-size: 20px;
  font-weight: bold;
  color: #ffd700;
}

.install-guide-modal .modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s;
}

.install-guide-modal .modal-close:hover {
  color: #ffd700;
}

.install-guide-modal .modal-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 10px;
}

.install-guide-modal h3 {
  margin: 20px 0 15px;
  color: #ffd700;
  font-size: 18px;
}

.install-guide-modal h3:first-child {
  margin-top: 0;
}

.install-guide-modal ol {
  padding-left: 20px;
  margin-bottom: 25px;
}

.install-guide-modal li {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* 自定义滚动条 */
.install-guide-modal .modal-body::-webkit-scrollbar {
  width: 8px;
}

.install-guide-modal .modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.install-guide-modal .modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.3);
  border-radius: 10px;
}

.install-guide-modal .modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.5);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .install-guide-modal .modal-content {
    width: 95%;
    max-height: 85vh;
    padding: 20px 15px;
  }

  .install-guide-modal h3 {
    font-size: 16px;
  }

  .install-guide-modal li {
    font-size: 14px;
  }
}

/* 隐私政策弹窗样式 */
.privacy-policy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.privacy-policy-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.privacy-policy-modal .modal-content {
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  background: rgba(30, 30, 30, 0.95);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  color: white;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  animation: modalFadeIn 0.3s forwards;
}

.privacy-policy-modal.show .modal-content {
  transform: translateY(0);
}

.privacy-policy-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.privacy-policy-modal .modal-title {
  font-size: 20px;
  font-weight: bold;
  color: #ffd700;
}

.privacy-policy-modal .modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s;
}

.privacy-policy-modal .modal-close:hover {
  color: #ffd700;
}

.privacy-policy-modal .modal-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 10px;
}

.privacy-policy-modal h1 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #ffd700;
}

.privacy-policy-modal .policy-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.privacy-policy-modal h2 {
  font-size: 20px;
  margin: 25px 0 15px;
  color: #ffd700;
}

.privacy-policy-modal h2:first-of-type {
  margin-top: 15px;
}

.privacy-policy-modal h3 {
  font-size: 18px;
  margin: 20px 0 10px;
  color: rgba(255, 215, 0, 0.8);
}

.privacy-policy-modal p,
.privacy-policy-modal li {
  line-height: 1.6;
  margin-bottom: 10px;
}

.privacy-policy-modal ul,
.privacy-policy-modal ol {
  margin-bottom: 15px;
  padding-left: 20px;
}

/* 自定义滚动条 */
.privacy-policy-modal .modal-body::-webkit-scrollbar {
  width: 8px;
}

.privacy-policy-modal .modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.privacy-policy-modal .modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.3);
  border-radius: 10px;
}

.privacy-policy-modal .modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.5);
}

@media (max-width: 767px) {
  .privacy-policy-modal .modal-content {
    width: 95%;
    max-height: 85vh;
    padding: 20px 15px;
  }

  .privacy-policy-modal h1 {
    font-size: 20px;
  }

  .privacy-policy-modal h2 {
    font-size: 18px;
  }

  .privacy-policy-modal h3 {
    font-size: 16px;
  }

  .privacy-policy-modal p,
  .privacy-policy-modal li {
    font-size: 14px;
  }
}

/* 添加隐私政策关键部分 */

.privacy-policy-modal h2:nth-of-type(3) {
  margin-top: 25px;
}

.privacy-policy-modal h2:nth-of-type(4) {
  margin-top: 20px;
}

.privacy-policy-modal h2:nth-of-type(5) {
  margin-top: 15px;
}

.privacy-policy-modal h2:nth-of-type(6) {
  margin-top: 10px;
}

.privacy-policy-modal h2:nth-of-type(7) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(8) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(9) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(10) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(11) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(12) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(13) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(14) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(15) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(16) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(17) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(18) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(19) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(20) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(21) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(22) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(23) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(24) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(25) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(26) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(27) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(28) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(29) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(30) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(31) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(32) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(33) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(34) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(35) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(36) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(37) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(38) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(39) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(40) {
  margin-top: 5px;
}

.privacy-policy-modal h2:nth-of-type(41) {
  margin-top: 5px;
}

/* 关于我们弹窗样式 */
.about-us-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.about-us-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.about-us-modal .modal-content {
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  background: rgba(30, 30, 30, 0.95);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  color: white;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  animation: modalFadeIn 0.3s forwards;
}

.about-us-modal.show .modal-content {
  transform: translateY(0);
}

.about-us-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.about-us-modal .modal-title {
  font-size: 20px;
  font-weight: bold;
  color: #ffd700;
}

.about-us-modal .modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s;
}

.about-us-modal .modal-close:hover {
  color: #ffd700;
}

.about-us-modal .modal-body {
  flex: 1;
  overflow-y: auto;
  padding-right: 10px;
}

.about-us-modal p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.about-us-modal p:last-child {
  margin-bottom: 10px;
}

/* 自定义滚动条 */
.about-us-modal .modal-body::-webkit-scrollbar {
  width: 8px;
}

.about-us-modal .modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.about-us-modal .modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.3);
  border-radius: 10px;
}

.about-us-modal .modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.5);
}

@media (max-width: 767px) {
  .about-us-modal .modal-content {
    width: 95%;
    max-height: 85vh;
    padding: 20px 15px;
  }

  .about-us-modal p {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* 添加自定义动画 */
@keyframes floatAnimation {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animate-float {
  animation: floatAnimation 3s ease-in-out infinite;
}

/* 增强标题淡入效果 */
.title-animate {
  opacity: 0;
  animation: fadeIn 1.5s forwards;
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 为不同元素设置渐变背景色动画 */
.gradient-animate {
  background: linear-gradient(45deg, #8a2be2, #9370db, #6a5acd);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 添加点击波纹效果 */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.5s, opacity 1s;
}

.ripple:active:after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}

/* 修改按钮备注文字样式 */
.button-note {
  display: block;
  font-size: 12px;
  text-align: center;
  margin-top: 5px;
  opacity: 0.8;
}

/* 移除不再需要的按钮容器样式 */
.download-button-container {
  display: none;
}

/* 设备检测弹窗样式 */
.device-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.device-modal-content {
  background: #1a1a1a;
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.device-modal-title {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.device-modal-body {
  color: #cccccc;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.device-modal-body ol {
  padding-left: 20px;
  margin-top: 10px;
}

.device-modal-body li {
  margin-bottom: 10px;
}

.confirm-download {
  display: block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(45deg, #8a2be2, #9370db);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.confirm-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #cccccc;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}
