/* ============ 页面 Banner ============ */
.page-banner {
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8d 100%);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.page-banner h1 { font-size: 28px; margin-bottom: 8px; }
.page-banner p { color: #c8ddf0; font-size: 14px; }

/* ============ 面包屑 ============ */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid #eef2f7;
  padding: 12px 0;
  font-size: 13px;
  color: #7a8fa6;
}
.breadcrumb a { color: #5a6f85; }
.breadcrumb a:hover { color: #1a73e8; }
.breadcrumb span { margin: 0 8px; color: #c5d2e0; }

/* ============ 正文主体 ============ */
.terms-main { padding: 40px 0 60px; background: #f7f9fc; }

/* 版本信息 */
.terms-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 16px 22px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #7a8fa6;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.terms-meta span {
  display: inline-flex;
  align-items: center;
}

/* 目录导航 */
.terms-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 76px;
  z-index: 50;
}
.terms-toc a {
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  background: #f0f4f9;
  color: #5a6f85;
  transition: all 0.2s;
}
.terms-toc a:hover {
  background: #1a73e8;
  color: #fff;
}

/* 引言 */
.terms-intro {
  background: #fff;
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-left: 4px solid #1a73e8;
  font-size: 14px;
  color: #33475b;
  line-height: 1.9;
}
.terms-intro p { margin-bottom: 12px; }
.terms-intro p:last-child { margin-bottom: 0; }
.terms-intro strong { color: #1a3a5c; }

/* 条款分组 */
.terms-section {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
}
.terms-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 30px;
  border-bottom: 2px solid #f0f4f9;
}
.terms-num {
  font-size: 24px;
  font-weight: 700;
  color: #1a73e8;
  width: 40px;
  height: 40px;
  background: #e8f0fe;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.terms-head h2 { font-size: 20px; color: #1a3a5c; }
.terms-content {
  padding: 26px 32px 30px;
  font-size: 14px;
  color: #33475b;
  line-height: 1.9;
}
.terms-content h3 {
  font-size: 16px;
  color: #1a3a5c;
  margin: 24px 0 12px;
  padding-left: 12px;
  border-left: 3px solid #ff6b35;
}
.terms-content h3:first-child { margin-top: 0; }
.terms-content p { margin-bottom: 14px; }
.terms-content ul, .terms-content ol {
  margin: 12px 0 18px 22px;
}
.terms-content li {
  margin-bottom: 8px;
  line-height: 1.8;
}
.terms-content strong { color: #1a3a5c; }

.terms-note {
  font-size: 13px;
  color: #7a8fa6;
  background: #fafbfd;
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 3px solid #a0b0c2;
  margin: 14px 0 !important;
}

/* 表格 */
.terms-table-wrap {
  overflow-x: auto;
  margin: 16px 0 20px;
  border-radius: 10px;
  border: 1px solid #eef2f7;
}
.terms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 500px;
}
.terms-table th {
  background: #f7f9fc;
  color: #1a3a5c;
  font-weight: 600;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 2px solid #e8eef5;
  white-space: nowrap;
}
.terms-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eef2f7;
  color: #5a6f85;
  line-height: 1.7;
}
.terms-table tr:last-child td { border-bottom: none; }
.terms-table tr:hover td { background: #fafbfd; }

/* 步骤列表 */
.terms-steps {
  counter-reset: step;
  list-style: none;
  margin-left: 0 !important;
}
.terms-steps li {
  counter-increment: step;
  padding: 10px 0 10px 42px;
  position: relative;
  border-bottom: 1px dashed #eef2f7;
}
.terms-steps li:last-child { border-bottom: none; }
.terms-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 26px;
  height: 26px;
  background: #1a73e8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

/* 提示框 */
.terms-tip {
  background: #f0f6ff;
  border-left: 4px solid #1a73e8;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 18px 0;
  font-size: 13px;
  color: #33475b;
  line-height: 1.8;
}
.terms-tip strong { color: #1a3a5c; display: block; margin-bottom: 8px; }
.terms-tip p { margin-bottom: 0 !important; }

.terms-tip-warning {
  background: #fff8f0;
  border-left-color: #ff6b35;
}
.terms-tip-warning strong { color: #e85a2a; }

/* 用户权利网格 */
.terms-rights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}
.rights-item {
  background: #f7f9fc;
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid transparent;
}
.rights-item:hover {
  background: #fff;
  border-color: #1a73e8;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(26,115,232,0.1);
}
.rights-icon {
  font-size: 28px;
  margin-bottom: 10px;
}
.rights-item h4 {
  font-size: 15px;
  color: #1a3a5c;
  margin-bottom: 6px;
}
.rights-item p {
  font-size: 13px;
  color: #7a8fa6;
  margin-bottom: 0 !important;
  line-height: 1.6;
}

/* 联系网格 */
.terms-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}
.terms-contact-item {
  background: #f7f9fc;
  border-radius: 12px;
  padding: 22px;
  transition: all 0.3s;
  border: 1px solid transparent;
}
.terms-contact-item:hover {
  background: #fff;
  border-color: #1a73e8;
  box-shadow: 0 8px 20px rgba(26,115,232,0.08);
}
.terms-contact-item .contact-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1a73e8, #4a9eff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}
.terms-contact-item h4 {
  font-size: 15px;
  color: #1a3a5c;
  margin-bottom: 8px;
}
.terms-contact-item p {
  font-size: 14px;
  color: #5a6f85;
  margin-bottom: 5px !important;
  line-height: 1.6;
}
.terms-contact-item a { color: #1a73e8; }
.terms-contact-item a:hover { color: #1558b0; }

/* 结尾声明 */
.terms-footer {
  text-align: center;
  padding: 36px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-top: 10px;
}
.terms-footer p {
  font-size: 14px;
  color: #5a6f85;
  margin-bottom: 6px;
  line-height: 1.8;
}
.terms-footer p:first-child {
  font-size: 16px;
  color: #1a3a5c;
  margin-bottom: 12px;
}
.terms-footer-date {
  margin-top: 14px !important;
  font-size: 13px !important;
  color: #a0b0c2 !important;
}

/* 响应式 */
@media (max-width: 900px) {
  .terms-rights-grid { grid-template-columns: repeat(2, 1fr); }
  .terms-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .terms-meta { flex-direction: column; gap: 8px; }
  .terms-toc {
    position: static;
    padding: 12px;
    gap: 8px;
  }
  .terms-toc a { padding: 6px 12px; font-size: 12px; }
  .terms-head { padding: 18px 20px; gap: 12px; }
  .terms-num { font-size: 18px; width: 34px; height: 34px; }
  .terms-head h2 { font-size: 17px; }
  .terms-content { padding: 20px; }
  .terms-intro { padding: 22px 20px; }
  .terms-rights-grid { grid-template-columns: 1fr; }
  .terms-table { font-size: 12px; }
  .terms-table th, .terms-table td { padding: 10px; }
}