* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f5f7fb;
  color: #1f2d3d;
  overflow-x: hidden;
}

/* ===== LOGO ===== */
.logo {
  text-align: center;
  padding: 15px;
  font-weight: 600;
  color: #4f8dfd;
  font-size: 24px;
}

/* ===== 提醒 ===== */
.notice-container {
  position: relative;
  max-width: 1100px;
  margin: 10px auto;
}

.notice {
  background: #ffecec;
  padding: 20px;
  border-radius: 12px;
  color: #d33;
  line-height: 1.7;
  position: relative;
}

.notice-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #d33;
}

/* ===== HERO ===== */
.hero {
  max-width: 1100px;
  margin: 20px auto;
  padding: 40px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.4), transparent 60%),
    #e9edf5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-left {
  max-width: 480px;
}

.hero-left h1 {
  font-size: 34px;
  margin-bottom: 15px;
}

.hero-left p {
  line-height: 1.8;
  font-weight: 600;
}

/* 优惠卡 */
.card {
  background: #163d6b;
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
}

/* 下载按钮 */
.downloads {
  display: flex;
  gap: 18px;
  margin-top: 25px;
}

.circle-btn {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2px solid #4f8dfd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 12px;
  cursor: pointer;
  transition: .3s;
  text-decoration: none;
  color: inherit;
}

.circle-btn:hover {
  background: #4f8dfd;
  color: #fff;
  text-decoration: none;
}

.circle-btn i {
  font-size: 24px;
  margin-bottom: 5px;
}

/* ===== 横幅 ===== */
.banner {
  max-width: 1100px;
  margin: 30px auto;
  padding: 40px;
  border-radius: 20px;
  background:
    radial-gradient(#60a5fa 1px, transparent 1px),
    linear-gradient(135deg, #dbeafe, #e0f2fe);
  background-size: 10px 10px, cover;
  text-align: center;
}

.banner button {
  background: #4f8dfd;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: .3s;
}

.banner button:hover {
  background: #3b7bfd;
  transform: translateY(-2px);
}

.highlight {
  background: #ffd54f;
  padding: 3px 6px;
}

/* ===== 功能 ===== */
.features {
  max-width: 1100px;
  margin: 40px auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.item {
  background: #f1f3f7;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: .3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.item i {
  font-size: 40px;
  margin-bottom: 15px;
}

.item:hover {
  transform: translateY(-5px);
}

/* ===== 下载列表 ===== */
.download-list {
  max-width: 1100px;
  margin: 40px auto;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.download-item {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
}

.download-item:hover {
  text-decoration: none;
  color: inherit;
}

.download-item i {
  font-size: 24px;
  margin-right: 10px;
  color: #4f8dfd;
}

.download-item-content {
  display: flex;
  align-items: center;
}

/* ===== footer ===== */
.footer {
  background: #0b2a4a;
  color: #fff;
  text-align: center;
  padding: 40px;
}

/* ===== 移动端适配 ===== */
@media(max-width:768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .hero img {
    max-width: 100% !important;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .downloads {
    justify-content: center;
    flex-wrap: wrap;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 15px;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 15px;
  }

  .notice-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    z-index: 1000;
    max-width: 100%;
    max-height: 50vh;
    overflow-y: auto;
  }

  .notice {
    border-radius: 0;
  }
}

/* ... 前面的基础样式保持不变 ... */

/* ===== 移动端适配 (核心修改) ===== */
@media(max-width:768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 20px 10px;
  }

  .hero img {
    max-width: 100% !important;
    margin: 20px 0;
  }

  /* 重点：Hero 区域的四个圆圈按钮排成一行 */
  .downloads {
    justify-content: space-between;
    /* 均匀分布 */
    gap: 8px;
    /* 缩小间距 */
    margin-top: 25px;
  }

  .circle-btn {
    width: 65px;
    /* 缩小圆圈尺寸以适应屏幕宽度 */
    height: 65px;
    font-size: 10px;
    /* 缩小文字 */
    flex-shrink: 0;
    /* 防止被挤压变形 */
  }

  .circle-btn i {
    font-size: 18px;
    /* 缩小图标 */
    margin-bottom: 3px;
  }

  /* 重点：下方下载列表也改为一行四个 */
  .download-grid {
    grid-template-columns: repeat(4, 1fr);
    /* 强制四列 */
    gap: 8px;
    padding: 0 10px;
  }

  .download-item {
    flex-direction: column;
    /* 竖向排列图标和文字 */
    align-items: center;
    padding: 15px 5px;
    text-align: center;
  }

  .download-item-content {
    flex-direction: column;
    gap: 5px;
  }

  .download-item i {
    margin-right: 0;
    /* 移除图标右边距 */
    font-size: 20px;
  }

  .download-item span:last-child {
    display: none;
    /* 隐藏箭头 › 以节省空间 */
  }

  .download-item span {
    font-size: 11px;
  }

  /* 提醒弹窗适配 */
  .notice-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }

  .notice {
    border-radius: 0;
  }
}