/* 全局重置 + SEO友好基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", Arial, sans-serif; /* 适配国内搜索引擎 */
}
html {
  scroll-behavior: smooth; /* 平滑滚动，提升体验且SEO友好 */
  font-size: 16px;
}
body {
  color: #333;
  background: url(../images/bg.jpg) no-repeat center center fixed;
  background-size: cover;
  line-height: 1.7; /* 行高符合SEO阅读体验 */
}
a {
  text-decoration: none;
  color: #0066cc; /* 主链接色，企业级视觉 */
  transition: all 0.3s ease;
}
a:hover {
  color: #004999;
  text-decoration: underline;
}
/* 核心SEO样式：语义化容器 + 抓取优先级 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  background: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
/* 隐藏元素（仅给搜索引擎看，非作弊） */
.seo-hidden {
  position: absolute;
  top: -9999px;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* 头部导航（企业级固定导航，响应式） */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  z-index: 9999; /* 最高层级，保证导航可见 */
  padding: 15px 0;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  box-shadow: none;
}
.logo {
  width: 200px;
  height: 60px;
  display: block;
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* 导航菜单（PC端） */
.nav {
  display: flex;
  gap: 30px;
}
.nav a {
  font-size: 18px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}
/* 导航激活态 + 下载按钮特殊样式（强化Token钱包下载） */
.nav a.active, .nav a.download-link {
  color: #e63946;
  font-weight: 700;
}
.nav a.download-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #e63946;
  border-radius: 3px;
}
/* 移动端导航按钮 */
.nav-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}
/* 主内容区（避开固定导航，SEO核心区域） */
.main {
  margin-top: 100px;
  padding: 60px 0;
}
/* 横幅区域（主页核心，强化Token钱包下载） */
.banner {
  width: 100%;
  height: 600px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner .banner-text {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
  color: #fff;
  /* 1. 增强文字阴影，让文字在任何背景上都更清晰 */
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.6);
  max-width: 600px;
  /* 2. 增加半透明背景，进一步提升对比度（可选，效果更稳） */
  background: rgba(0, 0, 0, 0.3);
  padding: 25px 35px;
  border-radius: 12px;
}

/* 同时优化标题和正文的字体权重 */
.banner .banner-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 900;
  /* 标题额外加一层阴影，强化识别 */
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.9), 0 3px 6px rgba(0, 0, 0, 0.7);
}

.banner .banner-text p {
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: 600;
}
.banner .banner-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
  /* SEO核心关键词强化 */
  font-weight: 900;
}
.banner .banner-text p {
  font-size: 24px;
  margin-bottom: 30px;
}
/* 下载按钮（企业级样式，视觉重点） */
.download-btn {
  display: inline-block;
  width: 200px;
  height: 60px;
  background: url(../images/download-btn.png) no-repeat center center;
  background-size: 100% 100%;
  text-align: center;
  line-height: 60px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
  transition: all 0.3s ease;
}
.download-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.6);
  text-decoration: none;
}
/* 核心模块（SEO分块，提升抓取效率） */
.module {
  margin-bottom: 60px;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}
.module h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #222;
  border-left: 8px solid #e63946;
  padding-left: 15px;
}
.module p {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
}
.module .module-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.module .module-item {
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.module .module-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.module .module-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #0066cc;
}
/* 新闻列表图片样式 */
.news-img {
  width: 100%;
  max-width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 20px;
  float: left;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.news-img:hover {
  transform: scale(1.05);
}
/* 新闻内容容器（清除浮动） */
.news-content {
  overflow: hidden;
}
/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #0066cc;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 24px;
  cursor: pointer;
  display: none;
  z-index: 9998;
  transition: all 0.3s ease;
}
.back-to-top:hover {
  background: #004999;
  transform: translateY(-3px);
}
/* 页脚（企业级，SEO备案/导航信息） */
.footer {
  background: #222;
  color: #ccc;
  padding: 60px 0 30px;
  margin-top: 60px;
}
.footer .container {
  background: transparent;
  box-shadow: none;
}
.footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.footer .footer-nav a {
  color: #ccc;
}
.footer .footer-nav a:hover {
  color: #fff;
}
.footer p {
  margin-bottom: 15px;
  font-size: 14px;
}
.footer .seo-keywords {
  margin-top: 20px;
  font-size: 12px;
  color: #666;
}
/* 响应式适配（平板/手机，SEO必备：移动端友好排名加分） */
@media (max-width: 992px) {
  .nav {
    gap: 20px;
  }
  .banner .banner-text h1 {
    font-size: 36px;
  }
  .banner .banner-text p {
    font-size: 20px;
  }
  .module h2 {
    font-size: 28px;
  }
}
@media (max-width: 768px) {
  .banner .banner-text {
    left: 20px;
    max-width: 85%;
    padding: 20px;
  }
  .banner .banner-text h1 {
    font-size: 28px;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
  }
  .banner .banner-text p {
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    top: 90px;
    left: -100%;
    top: 100px;
    flex-direction: column;
    gap: 0;
    background: #fff;
    width: 100%;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    padding: 20px 0;
    transition: left 0.3s ease;
  }
  .nav.active {
    left: 0;
  }
  .nav a {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
  }
  .banner {
    height: 400px;
  }
  .banner .banner-text {
    left: 20px;
    max-width: 80%;
  }
  .banner .banner-text h1 {
    font-size: 28px;
  }
  .banner .banner-text p {
    font-size: 18px;
  }
  .module {
    padding: 20px;
  }
  .module h2 {
    font-size: 24px;
  }
  .main {
    padding: 40px 0;
  }
}
@media (max-width: 576px) {
  .logo {
    width: 150px;
    height: 45px;
  }
  .banner {
    height: 300px;
  }
  .banner .banner-text h1 {
    font-size: 24px;
  }
  .download-btn {
    width: 180px;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
  }
  .back-to-top {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    bottom: 20px;
    right: 20px;
  }
}
/* 懒加载样式（SEO友好：避免图片阻塞抓取） */
.lazy {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.lazy.loaded {
  opacity: 1;
}