/* ===== 基础样式 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body,
html {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  background: linear-gradient(135deg, #1a2a6c, #2a4365, #4a6584);
  color: #333;
  line-height: 1.6;
}

/* ===== 导航栏样式 ===== */
.navbar {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
}

.logo i {
  margin-right: 10px;
  color: #4ea4dc;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #f0f0f0;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #4ea4dc;
}

/* ===== 主容器样式 ===== */
.container {
  max-width: 1200px;
  margin: 100px auto 40px;
  padding: 0 20px;
}

/* ===== 服务条款内容样式 ===== */
.terms-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 50px;
  margin-bottom: 40px;
  transition: transform 0.3s ease;
}

.terms-section:hover {
  transform: translateY(-5px);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #2a4365;
  position: relative;
  padding-bottom: 20px;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #4ea4dc, #6c5ce7);
  border-radius: 2px;
}

.last-updated {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-style: italic;
}

.terms-content {
  max-width: 900px;
  margin: 0 auto;
}

.term-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.term-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.term-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #2a4365;
  display: flex;
  align-items: center;
}

.term-title i {
  margin-right: 10px;
  color: #4ea4dc;
}

.term-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
}

.highlight {
  background-color: rgba(78, 164, 220, 0.1);
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #4ea4dc;
  margin: 20px 0;
}

.accept-section {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 12px;
}

.accept-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #2a4365;
}

.accept-text {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 25px;
  color: #555;
}

.accept-button {
  display: inline-block;
  padding: 12px 40px;
  background: linear-gradient(to right, #4ea4dc, #6c5ce7);
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
  cursor: pointer;
  border: none;
}

.accept-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
  background: linear-gradient(to right, #5db4ec, #7c6cf7);
}

/* ===== 页脚样式 ===== */
footer {
  background: rgba(0, 0, 0, 0.8);
  color: #f0f0f0;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  font-size: 2rem;
  margin-bottom: 15px;
  color: white;
}

.footer-links {
  display: flex;
  gap: 30px;
  margin: 20px 0;
}

.footer-links a {
  color: #f0f0f0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #4ea4dc;
}

.copyright {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #aaa;
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
  .terms-section {
    padding: 40px 30px;
  }

  .term-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
  }

  .container {
    margin-top: 150px;
  }

  .terms-section {
    padding: 30px 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .accept-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .term-title {
    font-size: 1.3rem;
  }

  .term-text {
    font-size: 1rem;
  }

  .accept-button {
    padding: 10px 30px;
    font-size: 1.1rem;
  }
}
