* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
a {
  cursor: pointer;
}
img {
  object-fit: contain;
  width: 100%;
}

/* 隐藏滚动条但保持滚动功能 */
html {
  overflow-y: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

body {
  padding-top: 60px;
  background: #fff;
  overflow-x: hidden;
  max-width: 100%;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.section {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 64px;
  font-weight: 600;
  margin: 0 auto;
}
.title .text {
  margin: 0 40px;
}
.des {
  font-size: 22px;
  font-weight: 500;
}
.t-b {
  color: #5f9ac2;
}
.btn {
  width: 300px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  border-radius: 100px;
  z-index: 2;
}
.btn-b {
  background: #82b8e2;
  color: #fff;
}
.btn-w {
  border: 2px solid #5f9ac2;
  color: #5f9ac2;
}
/* ========== 导航栏样式重写 ========== */
.header {
  height: 100px;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo 区域 */
.header .flex.items-center {
  gap: 12px;
  transition: opacity 0.3s ease;
}

.header .flex.items-center:hover {
  opacity: 0.8;
}

.header .flex.items-center img {
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.05));
}

/* 导航链接样式 */
.header nav {
  gap: 8px;
}

.header nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
}

/* 导航链接悬停效果 */
.header nav a:hover {
  color: #5f9ac2;
  background: rgba(95, 154, 194, 0.08);
  transform: translateY(-1px);
}

.header nav a:active {
  transform: translateY(0);
}

/* 导航链接底部指示器 */
.header nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #5f9ac2, #82b8e2);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header nav a:hover::after {
  width: 60%;
}

/* 滚动时的导航栏效果 */
.header.scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 1) !important;
}

/* 响应式优化 */
@media (max-width: 640px) {
  .header {
    height: auto;
    padding: 12px 0;
  }
  
  .header .flex.items-center {
    font-size: 17px;
  }
  
  .header .flex.items-center img {
    width: 55px !important;
    height: 55px !important;
  }
  
  .header nav a {
    padding: 8px 14px;
    font-size: 15px;
  }
  
  .header nav a::after {
    display: none;
  }
}

/* 平板优化 */
@media (min-width: 641px) and (max-width: 1024px) {
  .header nav a {
    padding: 9px 14px;
    font-size: 15px;
  }
}

/* ========== 回到顶部按钮 ========== */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #5f9ac2 0%, #82b8e2 100%);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(95, 154, 194, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(95, 154, 194, 0.5);
}

.back-to-top:active {
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* 移动端回到顶部按钮优化 */
@media (max-width: 640px) {
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
  
  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* ========== 现代化页脚样式 ========== */
.footer-modern {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 154, 194, 0.3), transparent);
}

/* 主要内容区域 */
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

/* 品牌区域 */
.footer-brand h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

/* 联系方式区域 */
.footer-contact h3 {
  font-size: 18px;
  font-weight: 600;
  color: #f1f5f9;
}

/* 下载区域 */
.footer-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-download h3 {
  font-size: 18px;
  font-weight: 600;
  color: #f1f5f9;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #5f9ac2 0%, #82b8e2 100%);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(95, 154, 194, 0.3);
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(95, 154, 194, 0.4);
}

.download-btn:active {
  transform: translateY(0);
}

/* 分隔线 */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 0 auto 40px;
}

/* 底部信息 */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

/* 社交媒体图标 */
.footer-social {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-icon img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social-icon:hover {
  background: rgba(95, 154, 194, 0.2);
  transform: translateY(-3px);
}

.social-icon:hover img {
  opacity: 1;
}

/* 语言选择器 */
.language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  color: #e2e8f0;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.language-selector:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-brand,
  .footer-contact {
    max-width: 100%;
  }
  
  .footer-download {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .footer-modern {
    padding: 60px 0 30px;
  }
  
  .footer-main {
    gap: 32px;
    margin-bottom: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .download-btn {
    width: 100%;
    justify-content: center;
  }
}
.first {
  padding: 60px;
  position: relative;
  text-align: center;
  max-width: 100%;
  background: url("img/bg/bg1.png") no-repeat top center;
  background-size: 100% 840px;
  max-height: 845px;
  overflow: hidden;
}
.first .p1 {
  width: 100%;
  max-width: 1046px;
  height: 60%;
  margin: 0 auto;
  transform: translateY(-20px);
}
.second {
  max-height: 825px;
  padding-top: 120px;
  max-width: 100%;
}
.box {
  display: flex;
  max-height: 600px;
  margin: 72px;
  align-items: center;
}
.box-t {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.box-title-box {
  position: relative;
  height: 200px;
}
.box-title-box img {
  z-index: 1;
}
.box-title-box .text {
  z-index: 2;
  transform: translate(70px, -149.4px);
  font-size: 36px;
  font-weight: 600;
}
.box-t {
  flex: 1;
  margin-left: 50px;
  transform: translateY(-70px);
}
.box-title-box .text .text-des {
  margin-top: 50px;
  font-size: 24px;
  font-weight: 300;
  width: 525px;
  word-break: break-word;
  line-break: strict;
  word-wrap: break-word;
}
.d-btn {
  width: 300px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
  border-radius: 20px;
  font-size: 24px;
  font-weight: 600;
   cursor: pointer;
}
.download {
  margin-top: 40px;
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("img/bg/bg2.png") no-repeat top center;
  background-size: 100% 100%;
}

@media (max-width: 768px) {
  .title {
    font-size: 32px;
    flex-direction: column;
    text-align: center;
  }

  .title .text {
    margin: 16px 0;
  }

  .des {
    font-size: 16px;
    padding: 0 20px;
  }

  .btn {
    width: 80%;
    height: 56px;
    font-size: 18px;
  }

  .box {
    flex-direction: column;
    margin: 20px;
  }

  .box-t {
    margin-left: 0;
    transform: translateY(0);
    align-items: center;
    margin-bottom: 24px;
    margin-top: 24px;
  }

  .box-title-box .text {
    transform: translate(20px, -200px);
    font-size: 24px;
    text-align: left;

  }

  .box-title-box .text .text-des {
    width: 100%;
    font-size: 16px;
    padding: 0 10px;
    margin-top: 20px;
  }

  .first {
    padding: 20px;
    background-size: cover;
    height: auto;
  }

  .first .p1 {
    max-width: 100%;
    height: auto;
    margin-top: 24px;
  }

  .d-btn {
    width: 90%;
    height: 60px;
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    justify-content: start;
    padding-left: 25%;
  }

  .download {
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
  }

  .modal-content {
    margin: 20px;
    max-width: 90%;
    padding: 40px 30px;
  }

  .modal-title {
    font-size: 24px;
  }

  .modal-text {
    font-size: 16px;
  }

  .contact-email {
    font-size: 14px;
  }
}

/* 模态弹窗样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  padding: 50px 40px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  text-align: center;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #5f9ac2 0%, #82b8e2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(95, 154, 194, 0.7);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(95, 154, 194, 0);
  }
}

.icon-telegram {
  width: 40px;
  height: 40px;
  color: white;
}

.modal-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.modal-text {
  font-size: 18px;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.6;
}

.modal-contact {
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.contact-label {
  font-size: 14px;
  color: #999;
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-email {
  font-size: 16px;
  color: #5f9ac2;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
  display: inline-block;
  transition: all 0.3s ease;
}

.contact-email:hover {
  color: #82b8e2;
  transform: translateY(-2px);
}

.modal-close-btn {
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, #5f9ac2 0%, #82b8e2 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(95, 154, 194, 0.3);
}

.modal-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(95, 154, 194, 0.4);
}

.modal-close-btn:active {
  transform: translateY(0);
}