* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.7;
}
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
.section {
  padding: 70px 0;
}
.bg-light {
  background: #f7f9fc;
}
.bg-blue {
  background: #0099ff;
  color: #fff;
}
.sec-title {
  text-align: center;
  margin-bottom: 50px;
}
.sec-title h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.sec-title p {
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}
.sec-title.white p {
  color: #eef5ff;
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 500;
}
.btn.blue {
  background: #0099ff;
  color: #fff;
}
.btn.white {
  background: #fff;
  color: #0099ff;
  border: 1px solid #0099ff;
}

/* 顶部 */
.top-bar {
  background: #0099ff;
  color: #fff;
  padding: 6px 0;
  text-align: center;
  font-size: 13px;
}
.header {
  position: fixed;
  top: 32px;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 999;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo img {
  height: 40px;
}
.nav {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}
.nav a {
  font-size: 15px;
}
.btn-download {
  background: #0099ff;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
}
.mobile-menu {
  display: none;
  width: 26px;
  height: 2px;
  background: #333;
  position: relative;
}
.mobile-menu::before,
.mobile-menu::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 2px;
  background: #333;
}
.mobile-menu::before { top: -8px; }
.mobile-menu::after { top: 8px; }

/* 首页 */
.banner {
  padding: 150px 0 70px;
  background: linear-gradient(180deg, #eef6ff, #f7fcff);
}
.banner-wrap {
  display: flex;
  align-items: center;
  gap: 40px;
}
.banner-text {
  flex: 1;
}
.banner-text h1 {
  font-size: 38px;
  margin-bottom: 10px;
}
.banner-text .sub {
  font-size: 18px;
  color: #0099ff;
  margin-bottom: 15px;
}
.banner-text .desc {
  color: #666;
  margin-bottom: 25px;
}
.banner-btns {
  display: flex;
  gap: 15px;
}
.banner-img {
  flex: 1;
}

/* 核心优势 */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.adv-item {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}
.adv-item img {
  width: 50px;
  margin: 0 auto 15px;
}
.adv-item h3 {
  margin-bottom: 8px;
  font-size: 17px;
}
.adv-item p {
  color: #666;
  font-size: 14px;
}

/* 质押 */
.stake-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.stake-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  position: relative;
}
.stake-card.hot::before {
  content: "推荐";
  position: absolute;
  top: 10px;
  right: 10px;
  background: #0099ff;
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
}
.stake-card img {
  width: 60px;
  margin: 0 auto 15px;
}
.stake-card p {
  color: #666;
  margin-bottom: 12px;
}
.rate {
  display: inline-block;
  background: #eef5ff;
  color: #0099ff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
}

/* 公链 */
.chain-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.chain-item {
  background: rgba(255,255,255,0.15);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}
.chain-item img {
  width: 40px;
  margin: 0 auto 10px;
}
.chain-item p {
  font-size: 14px;
}

/* 教程 */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-item {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}
.step-num {
  width: 36px;
  height: 36px;
  background: #0099ff;
  color: #fff;
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-item img {
  width: 60px;
  margin: 0 auto 15px;
}
.step-item h3 {
  margin-bottom: 8px;
}
.step-item p {
  color: #666;
  font-size: 14px;
}

/* 资讯（带图） */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.news-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.news-item img {
  height: 160px;
  object-fit: cover;
  width: 100%;
}
.news-date {
  padding: 12px 15px 0;
  font-size: 13px;
  color: #0099ff;
}
.news-item h3 {
  padding: 8px 15px;
  font-size: 16px;
}
.news-item p {
  padding: 0 15px 15px;
  color: #666;
  font-size: 14px;
}

/* 安全（带图） */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.security-item {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
}
.security-item img {
  width: 50px;
  margin: 0 auto 15px;
}
.security-item h3 {
  margin-bottom: 8px;
}
.security-item p {
  color: #666;
  font-size: 14px;
}

/* FAQ */
.faq-item {
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.faq-item h3 {
  margin-bottom: 6px;
}
.faq-item p {
  color: #666;
  font-size: 14px;
}

/* 下载（带图） */
.download-box {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.download-left {
  flex: 1;
}
.download-right {
  flex: 1;
}
.download-right h2 {
  margin-bottom: 10px;
}
.download-right p {
  color: #666;
  margin-bottom: 25px;
}
.download-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.down-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f5f7fa;
  padding: 12px 20px;
  border-radius: 6px;
}
.down-btn img {
  width: 24px;
  height: 24px;
}

/* 页脚 */
.footer {
  background: #fff;
  padding: 30px 0;
  border-top: 1px solid #eee;
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-left img {
  height: 36px;
  margin-bottom: 10px;
}
.footer-left p {
  color: #666;
}
.footer-right p {
  color: #666;
}

/* 返回顶部 */
.back-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 45px;
  height: 45px;
  background: #0099ff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  cursor: pointer;
}
.back-top.show {
  opacity: 1;
  visibility: visible;
}

/* 响应式 */
@media (max-width: 992px) {
  .banner-wrap {
    flex-direction: column;
    text-align: center;
  }
  .adv-grid, .stake-wrap, .news-grid, .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .chain-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .download-box {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .chain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .adv-grid, .stake-wrap, .news-grid, .security-grid, .step-grid {
    grid-template-columns: 1fr;
  }
  .footer-wrap {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}