/* 全局重置 & 必应SEO基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  scroll-behavior: smooth; /* 锚点平滑滚动 */
}
body {
  line-height: 1.6;
  color: #333;
  background-color: #f5f7fa;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 固定导航栏（锚点跳转核心） */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 999;
  padding: 12px 0;
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: bold;
  color: #0088cc;
}
.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.nav-menu {
  display: flex;
  gap: 30px;
}
.nav-menu a {
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
  transition: 0.3s;
  position: relative;
}
.nav-menu a:hover, .nav-menu a.active {
  color: #0088cc;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #0088cc;
  transition: 0.3s;
}
.nav-menu a:hover::after, .nav-menu a.active::after {
  width: 100%;
}

/* 通用页面间距（长页面核心） */
.section {
  padding: 100px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.section-top {
  padding-top: 140px;
}
.title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  color: #222;
  line-height: 1.3;
}
.title span {
  color: #0088cc;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 14px 35px;
  background: #0088cc;
  color: #fff;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn:hover {
  background: #0077b3;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,136,204,0.3);
}
.btn-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* 卡片样式 */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* 网格布局 */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* 底部 */
.footer {
  background: #222;
  color: #fff;
  padding: 60px 0 20px;
  margin-top: 50px;
}
.footer-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}
.footer-col h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #0088cc;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a:hover {
  color: #0088cc;
}
.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #444;
  font-size: 14px;
  color: #999;
}

/* 响应式 */
@media (max-width: 768px) {
  .nav-menu {
    gap: 15px;
  }
  .title {
    font-size: 28px;
  }
  .section {
    padding: 60px 0;
  }
}