/* 全局重置 + SEO基础样式：统一样式盒模型，优化文本可读性，爬虫友好 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
}
html {
  scroll-behavior: smooth; /* 平滑滚动，提升用户体验 */
}
body {
  color: #333;
  background-color: #f5f7fa;
  font-size: 16px;
  line-height: 1.8; /* 行高优化，提升文本可读性 */
}
a {
  text-decoration: none;
  color: #0066cc; /* 主色调：科技蓝，适配钱包金融属性 */
  transition: all 0.3s ease;
}
a:hover {
  color: #004999;
  text-decoration: underline;
}
ul, li {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block; /* 消除图片默认间隙 */
}
/* 容器类：统一页面宽度，居中显示，适配多设备 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* 按钮类：企业级样式，突出下载按钮（核心转化） */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #0066cc;
  color: #fff !important;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none !important;
}
.btn:hover {
  background-color: #004999;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}
.btn-sm {
  padding: 8px 20px;
  font-size: 16px;
}
.btn-white {
  background-color: #fff;
  color: #0066cc !important;
  border: 1px solid #0066cc;
}
.btn-white:hover {
  background-color: #f0f7ff;
}
/* 标题类：SEO层级分明，H1-H3权重递减，样式统一 */
h1 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #222;
}
h2 {
  font-size: 30px;
  line-height: 1.4;
  margin-bottom: 18px;
  color: #222;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}
h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #0066cc;
  border-radius: 2px;
}
h3 {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 15px;
  color: #222;
}
h4 {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #222;
}
/* 卡片类：新闻/功能卡片，统一布局，适配响应式 */
.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}
.card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保持图片比例，不拉伸 */
}
.card-content {
  padding: 20px;
}
.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-time {
  font-size: 12px;
  color: #999;
}
/* 头部导航：企业级固定顶部，响应式适配，内链核心下载页 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 999; /* 最高层级，避免被遮挡 */
  padding: 15px 0;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 40px;
  margin-right: 10px;
}
.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #222;
}
.logo-text span {
  color: #0066cc;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-item a {
  font-size: 16px;
  font-weight: 500;
  color: #333 !important;
  text-decoration: none;
}
.nav-item a:hover {
  color: #0066cc !important;
}
.nav-item a.active {
  color: #0066cc !important;
  font-weight: 600;
}
/* 移动端导航开关（默认隐藏） */
.nav-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}
/* 英雄区：主页核心区域，强化TP官网正版/最新版本下载，视觉突出 */
.hero {
  margin-top: 80px;
  padding: 80px 0;
  background: url("../images/hero-bg.png") no-repeat center center;
  background-size: cover;
  color: #fff;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 20, 50, 0.7);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.hero-text {
  flex: 1;
  min-width: 300px;
}
.hero-title {
  font-size: 42px;
  color: #fff;
  margin-bottom: 25px;
  line-height: 1.2;
}
.hero-title span {
  color: #00ccff;
}
.hero-desc {
  font-size: 18px;
  color: #f0f7ff;
  margin-bottom: 30px;
  max-width: 600px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-img {
  flex: 0 0 400px;
  max-width: 100%;
}
.hero-img img {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 204, 255, 0.3);
}
/* 功能板块：核心功能入口，内链到对应页面，引导用户操作 */
.features {
  padding: 100px 0;
  background-color: #fff;
}
.features-desc {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #666;
}
.feature-card {
  text-align: center;
  padding: 30px 20px;
}
.feature-card img {
  height: 64px;
  margin: 0 auto 20px;
}
.feature-card h3 {
  margin-bottom: 15px;
}
.feature-card p {
  color: #666;
  font-size: 14px;
}
/* 新闻动态区：主页图片新闻介绍，高内链，提升收录频率 */
.news-section {
  padding: 100px 0;
  background-color: #f5f7fa;
}
/* 底部版权：企业级信息，强化官网正版，内链闭环，SEO必备 */
.footer {
  padding: 60px 0 30px;
  background-color: #222;
  color: #ccc;
}
.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #444;
}
.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
}
.footer-col ul li a {
  color: #ccc !important;
  text-decoration: none;
}
.footer-col ul li a:hover {
  color: #0066cc !important;
}
.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #444;
  font-size: 14px;
}
.copyright p {
  margin-bottom: 5px;
}
.copyright a {
  color: #0066cc !important;
}
/* 通用页面主体：除主页外，其他页面统一布局 */
.page-main {
  margin-top: 100px;
  padding: 60px 0;
}
.page-banner {
  width: 100%;
  height: 200px;
  background: url("../images/news-banner.png") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  margin-bottom: 40px;
}
.page-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 102, 204, 0.7);
}
.page-banner h2 {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}
.page-content {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  line-height: 2;
}
.page-content p {
  margin-bottom: 20px;
  color: #555;
}
.page-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
  list-style: disc;
  color: #555;
}
.page-content img {
  margin: 30px auto;
  border-radius: 8px;
}
/* 回到顶部按钮：提升用户体验，SEO间接优化（降低跳出率） */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #0066cc;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
  text-decoration: none !important;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background-color: #004999;
  color: #fff !important;
}
/* 响应式适配：移动端（768px以下），保证所有页面正常显示 */
@media (max-width: 768px) {
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 20px;
  }
  /* 移动端导航 */
  .nav-toggle {
    display: block;
  }
  .nav-list {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #fff;
    flex-direction: column;
    gap: 20px;
    padding-top: 40px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
  }
  .nav-list.show {
    left: 0;
  }
  /* 英雄区适配 */
  .hero {
    padding: 60px 0;
  }
  .hero-title {
    font-size: 30px;
  }
  .hero-img {
    flex: 1;
    margin: 0 auto;
  }
  /* 功能/新闻板块适配 */
  .features, .news-section {
    padding: 60px 0;
  }
  .card-list {
    grid-template-columns: 1fr;
  }
  /* 通用页面适配 */
  .page-main {
    margin-top: 90px;
    padding: 40px 0;
  }
  .page-content {
    padding: 20px;
  }
  /* 回到顶部按钮适配 */
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }
}
/* 小屏移动端（480px以下） */
@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .logo-text {
    font-size: 20px;
  }
}