/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Microsoft YaHei", sans-serif;
}

body {
  color: #333;
  background-color: #f5f7fa;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #165dff;
  color: #fff;
}

.btn-primary:hover {
  background-color: #0a4bdb;
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: #165dff;
  border: 1px solid #165dff;
}

.btn-outline:hover {
  background-color: rgba(22, 93, 255, 0.05);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.section-title p {
  font-size: 16px;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

/* 导航栏样式 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 999;
  transition: all 0.3s ease;
}

.header.scroll {
  padding: 8px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo span {
  font-size: 20px;
  font-weight: 700;
  color: #165dff;
}

.nav-list {
  display: flex;
  gap: 40px;
}

.nav-item a {
  font-size: 15px;
  font-weight: 500;
  color: #475569;
  transition: color 0.3s ease;
}

.nav-item a:hover,
.nav-item a.active {
  color: #165dff;
}

.login-bar {
  display: flex;
  gap: 16px;
}

/* 底部样式 */
.footer {
  background-color: #1e293b;
  color: #cbd5e1;
  padding: 60px 0 20px;
  margin-top: 100px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: #165dff;
}

.footer-link {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link a {
  font-size: 14px;
  color: #cbd5e1;
  transition: color 0.3s ease;
}

.footer-link a:hover {
  color: #165dff;
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #94a3b8;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .nav-list {
    gap: 20px;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
  }

  .section-title h2 {
    font-size: 26px;
  }
}
body {
  user-select: none; /* 禁止选中文字 */
  -webkit-user-select: none; /* 兼容Chrome/Safari */
  -moz-user-select: none; /* 兼容Firefox */
  -ms-user-select: none; /* 兼容IE/Edge */
}