/* ===== 页面专属样式 ===== */

/* Banner - 简洁合规头 */
.banner-wrapper {
  position: relative;
  padding: 40px 0 30px;
  background: linear-gradient(145deg, #f0f4fc 0%, #dce6f5 60%, #c8d8ee 100%);
  overflow: hidden;
}
.banner-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(44, 75, 116, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(44, 75, 116, 0.03) 0%, transparent 40%);
  z-index: 1;
}
.banner-wrapper .banner-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.banner-wrapper .banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(44, 75, 116, 0.06);
  color: #2c4b74;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 20px 6px 16px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.banner-wrapper .banner-badge .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #2c4b74;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}
.banner-wrapper h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: #1a2a3a;
  margin: 14px 0 10px;
  letter-spacing: -0.5px;
}
.banner-wrapper h1 .highlight {
  color: #2c4b74;
}
.banner-wrapper .banner-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a5f7a;
  max-width: 700px;
  margin: 0 auto;
}

/* 合规标识 */
.banner-wrapper .compliance-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 40px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(44, 75, 116, 0.06);
}
.banner-wrapper .compliance-badges .badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4a5f7a;
  font-size: 13px;
  font-weight: 500;
}
.banner-wrapper .compliance-badges .badge-item .check {
  color: #2c4b74;
  font-weight: 700;
  font-size: 16px;
}

/* ===== 文档内容样式 ===== */
.policy-section {
  padding: 12px 0;
  border-bottom: 1px solid #eef2f7;
}
.policy-section:last-child {
  border-bottom: none;
}
.policy-section .section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.policy-section .section-title .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #e8edf5;
  color: #2c4b74;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.policy-section .section-content {
  padding-left: 40px;
}
.policy-section .section-content p {
  font-size: 15px;
  color: #4a5f7a;
  line-height: 1.8;
  margin-bottom: 10px;
}
.policy-section .section-content ul,
.policy-section .section-content ol {
  padding-left: 20px;
  margin: 8px 0 12px;
}
.policy-section .section-content ul li,
.policy-section .section-content ol li {
  font-size: 15px;
  color: #4a5f7a;
  line-height: 1.8;
  margin-bottom: 4px;
}
.policy-section .section-content ul li strong,
.policy-section .section-content ol li strong {
  color: #1a2a3a;
}
.policy-section .section-content .sub-list {
  padding-left: 24px;
  list-style: circle;
}
.policy-section .section-content .sub-list li {
  font-size: 14px;
  color: #5a6f8a;
}
.policy-section .section-content .highlight-box {
  background: #f4f8fe;
  border-left: 4px solid #2c4b74;
  padding: 14px 20px;
  border-radius: 0 8px 8px 0;
  margin: 12px 0;
}
.policy-section .section-content .highlight-box p {
  margin-bottom: 0;
  font-size: 14px;
  color: #2c4b74;
}
.policy-section .section-content .highlight-box.warning {
  border-left-color: #c0392b;
  background: #fdf2f0;
}
.policy-section .section-content .highlight-box.warning p {
  color: #c0392b;
}
.policy-section .section-content a {
  color: #2c4b74;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(44, 75, 116, 0.2);
  transition: border-color 0.2s;
}
.policy-section .section-content a:hover {
  border-color: #2c4b74;
}

/* 侧边导航 - 桌面 */
.policy-sidebar {
  position: sticky;
  top: 100px;
}
.policy-sidebar .sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8edf5;
}
.policy-sidebar ul {
  list-style: none;
  padding: 0;
}
.policy-sidebar ul li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f2f5;
}
.policy-sidebar ul li:last-child {
  border-bottom: none;
}
.policy-sidebar ul li a {
  font-size: 14px;
  color: #4a5f7a;
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.policy-sidebar ul li a:hover {
  color: #2c4b74;
}
.policy-sidebar ul li a .indicator {
  width: 4px;
  height: 4px;
  background: #d7e1ed;
  border-radius: 50%;
  transition: background 0.2s;
}
.policy-sidebar ul li a:hover .indicator {
  background: #2c4b74;
}

/* 最后更新 */
.last-updated {
  font-size: 13px;
  color: #7f8fa0;
  text-align: right;
  padding-top: 16px;
  border-top: 1px solid #eef2f7;
  margin-top: 16px;
}

@media (max-width: 1024px) {
  .policy-section .section-content {
    padding-left: 20px;
  }
}
@media (max-width: 768px) {
  .banner-wrapper {
    padding: 24px 0 20px;
  }
  .banner-wrapper .banner-desc {
    max-width: 100%;
  }
  .banner-wrapper .compliance-badges {
    gap: 12px 24px;
  }
  .banner-wrapper .compliance-badges .badge-item {
    font-size: 12px;
  }
  .policy-sidebar {
    display: none;
  }
  .policy-section .section-title {
    font-size: 17px;
  }
  .policy-section .section-content {
    padding-left: 0;
  }
  .policy-section .section-content p,
  .policy-section .section-content ul li,
  .policy-section .section-content ol li {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .banner-wrapper h1 {
    font-size: 1.8rem;
  }
  .banner-wrapper .compliance-badges {
    flex-direction: column;
    gap: 8px;
  }
  .policy-section .section-title .num {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  .last-updated {
    text-align: center;
  }
}
