/* ===================================
   隐私政策 & 服务条款页面样式
   深色炫酷风格
   =================================== */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark-start: #0f172a;
  --bg-dark-mid: #1e293b;
  --bg-dark-end: #0f172a;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  --text-secondary: #64748b;
  --primary: #3b82f6;
  --primary-light: #60a5fa;
  --accent: #8b5cf6;
  --border-dark: #334155;
  
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--text-light);
  background: linear-gradient(135deg, var(--bg-dark-start) 0%, var(--bg-dark-mid) 50%, var(--bg-dark-end) 100%);
  min-height: 100vh;
}

/* ===================================
   导航栏
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  color: var(--primary-light);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-name {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.logo-sub {
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.nav-link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #fff;
}

/* ===================================
   背景粒子效果
   =================================== */
.particles-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(59, 130, 246, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
  animation: particleFloat 25s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 25s; }
.particle:nth-child(2) { left: 30%; animation-delay: 5s; animation-duration: 20s; }
.particle:nth-child(3) { left: 50%; animation-delay: 10s; animation-duration: 28s; }
.particle:nth-child(4) { left: 70%; animation-delay: 15s; animation-duration: 22s; }
.particle:nth-child(5) { left: 90%; animation-delay: 20s; animation-duration: 30s; }

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(90vh) scale(1);
  }
  90% {
    opacity: 1;
    transform: translateY(10vh) scale(1);
  }
  100% {
    transform: translateY(-10vh) scale(0);
    opacity: 0;
  }
}

/* ===================================
   主内容区域
   =================================== */
.main-content {
  position: relative;
  z-index: 1;
  padding-top: 64px;
  min-height: 100vh;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-3xl) var(--spacing-xl);
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--primary-light);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: var(--spacing-2xl);
}

.back-button:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateX(-4px);
}

.page-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.page-header h1 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.last-updated {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

/* ===================================
   内容主体
   =================================== */
.content-body {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--spacing-3xl);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.3);
}

.section {
  margin-bottom: var(--spacing-2xl);
  padding-bottom: var(--spacing-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.section h2 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-left: var(--spacing-lg);
}

.section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 2px;
}

.section p {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.info-list {
  list-style: none;
  margin-top: var(--spacing-md);
}

.info-list li {
  position: relative;
  padding-left: var(--spacing-xl);
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.info-list li strong {
  color: #fff;
  font-weight: 600;
}

/* ===================================
   联系信息
   =================================== */
.contact-info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

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

.contact-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-muted);
  min-width: 80px;
}

.contact-item a {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===================================
   Footer
   =================================== */
.footer {
  position: relative;
  z-index: 1;
  padding: var(--spacing-xl) 0;
  background: rgba(15, 23, 42, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.footer-content {
  text-align: center;
}

.footer-content p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

/* ===================================
   响应式
   =================================== */
@media (max-width: 768px) {
  .content-wrapper {
    padding: var(--spacing-xl) var(--spacing-md);
  }
  
  .content-body {
    padding: var(--spacing-xl);
  }
  
  .page-header h1 {
    font-size: var(--font-size-3xl);
  }
  
  .section h2 {
    font-size: var(--font-size-lg);
  }
  
  .section p,
  .info-list li {
    font-size: var(--font-size-sm);
  }
  
  .contact-info {
    padding: var(--spacing-md);
  }
  
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
  }
  
  .contact-label {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .content-wrapper {
    padding: var(--spacing-lg) var(--spacing-sm);
  }
  
  .content-body {
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
  }
  
  .page-header h1 {
    font-size: var(--font-size-2xl);
  }
  
  .section h2 {
    font-size: var(--font-size-base);
    padding-left: var(--spacing-md);
  }
  
  .section h2::before {
    width: 3px;
    height: 18px;
  }
}
