/* =====================================================================
 * legal.css — 法律页面样式 (Privacy Policy, Terms of Service, etc.)
 * ===================================================================== */

.legal-page {
  margin-top: 65px;
}

/* Hero Section */
.legal-hero {
  position: relative;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  padding: 30px 0 80px 0;
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.legal-hero .section-content {
  position: relative;
  z-index: 1;
}

.legal-hero .hero-content {
  color: #fff;
}

.legal-hero h1 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 42px;
  font-weight: 700;
}

.legal-hero .hero-subtitle {
  font-size: 18px;
  margin-bottom: 24px;
  opacity: 0.95;
  color: #fff;
}

.legal-meta {
  font-size: 14px;
  line-height: 1.8;
  color: #fff;
}

/* Breadcrumb */
.hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.hero-breadcrumb .separator {
  color: rgba(255, 255, 255, 0.6);
  user-select: none;
}

.hero-breadcrumb .current {
  color: #fff;
  font-weight: 500;
}

/* Content Section */
.legal-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 0;
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

.legal-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 24px 0 16px;
}

.legal-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 16px;
}

.legal-section ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-section ul li {
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 12px;
  list-style: disc;
}

.legal-section ul li strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Contact Box */
.contact-box {
  background: #f9fafb;
  border-left: 4px solid var(--primary);
  padding: 24px;
  margin-top: 20px;
  border-radius: 4px;
}

.contact-box p {
  margin-bottom: 12px;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.contact-box a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-box a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-hero h1 {
    font-size: 32px;
  }

  .legal-hero .hero-subtitle {
    font-size: 16px;
  }

  .legal-content {
    padding: 40px 0;
  }

  .legal-section {
    margin-bottom: 40px;
  }

  .legal-section h2 {
    font-size: 24px;
  }

  .legal-section h3 {
    font-size: 18px;
  }

  .legal-section p,
  .legal-section ul li {
    font-size: 15px;
  }

  .contact-box {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .legal-hero {
    padding: 20px 0 60px 0;
  }

  .legal-hero h1 {
    font-size: 28px;
  }

  .legal-content {
    padding: 30px 0;
  }

  .legal-section h2 {
    font-size: 22px;
  }
}
