/* ========== 数据与隐私政策 ========== */
.page-privacy {
  background:
    radial-gradient(ellipse at 80% -10%, rgba(168, 85, 247, 0.14) 0%, transparent 50%),
    var(--color-space);
  color: var(--color-meteor);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ---- 顶部区域 ---- */
.privacy-hero {
  position: relative;
  padding: 2rem 0 2.5rem;
  background: var(--gradient-cosmic);
  border-bottom: 1px solid rgba(168, 85, 247, 0.35);
}

.privacy-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 38%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-orange), var(--color-purple));
  opacity: 0.7;
}

.privacy-hero .breadcrumbs {
  margin-bottom: 2rem;
}

.privacy-hero .breadcrumb-list {
  gap: 0.5rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.privacy-hero .breadcrumb-link {
  color: var(--color-starlight);
  text-decoration: none;
  transition: color 0.2s ease;
}

.privacy-hero .breadcrumb-link:hover {
  color: var(--color-orange);
}

.privacy-hero .breadcrumb-current {
  color: var(--color-meteor);
}

.privacy-hero-inner {
  max-width: 820px;
}

.privacy-eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange);
}

.privacy-hero-inner h1 {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--color-meteor);
}

.privacy-hero-mark {
  color: var(--color-purple);
}

.privacy-intro {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-starlight);
  max-width: 680px;
}

.privacy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.privacy-meta-item {
  display: inline-block;
  padding: 0.35rem 0.875rem;
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 999px;
  background: rgba(10, 20, 40, 0.35);
  color: var(--color-meteor);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.privacy-hero-figure {
  margin: 2rem 0 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.14);
  box-shadow: 0 16px 48px rgba(9, 9, 11, 0.35);
}

.privacy-hero-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
}

/* ---- 主体双栏 ---- */
.privacy-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 2.5rem;
  padding-bottom: 4.5rem;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
}

/* ---- 目录 ---- */
.privacy-toc {
  min-width: 0;
}

.privacy-toc-inner {
  padding: 1.5rem;
  border: 1px solid rgba(168, 85, 247, 0.24);
  border-radius: 14px;
  background: rgba(26, 43, 77, 0.72);
  backdrop-filter: blur(6px);
}

.privacy-toc-title {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-purple);
}

.privacy-toc-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.375rem;
}

.privacy-toc-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: var(--color-starlight);
  font-size: 0.875rem;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.privacy-toc-list a::before {
  content: "";
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-purple);
}

.privacy-toc-list a:hover {
  background: rgba(168, 85, 247, 0.16);
  color: var(--color-meteor);
}

.privacy-toc-note {
  padding-top: 1rem;
  border-top: 1px solid rgba(168, 85, 247, 0.2);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-starlight);
}

.privacy-toc-note p {
  margin: 0;
}

/* ---- 正文内容 ---- */
.privacy-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.privacy-section {
  padding: 1.75rem 1.25rem;
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 16px;
  background: var(--color-nebula);
  scroll-margin-top: 90px;
}

.privacy-section-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-bottom: 0.875rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(203, 213, 225, 0.12);
}

.privacy-section-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.625rem;
  border: 1px solid rgba(255, 107, 53, 0.45);
  border-radius: 6px;
  background: rgba(255, 107, 53, 0.08);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-orange);
}

.privacy-section-head h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-meteor);
}

.privacy-section-body p {
  margin: 0 0 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-starlight);
}

.privacy-section-body strong {
  font-weight: 600;
  color: var(--color-meteor);
}

.privacy-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.privacy-list li {
  position: relative;
  padding-left: 1.625rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-starlight);
}

.privacy-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--color-orange);
}

.privacy-list--ordered {
  counter-reset: privacy-order;
}

.privacy-list--ordered li {
  counter-increment: privacy-order;
  padding-left: 2rem;
}

.privacy-list--ordered li::before {
  content: counter(privacy-order) ".";
  top: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-purple);
}

.privacy-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 1rem 1.125rem;
  border-left: 3px solid var(--color-orange);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 107, 53, 0.08);
}

.privacy-callout-icon {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-orange);
  flex-shrink: 0;
}

.privacy-callout p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-starlight);
}

/* ---- 表格 ---- */
.privacy-table-wrap {
  margin: 0 0 1.25rem;
  overflow-x: auto;
  border: 1px solid rgba(203, 213, 225, 0.12);
  border-radius: 10px;
  background: rgba(26, 43, 77, 0.6);
}

.privacy-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.5;
}

.privacy-table th {
  padding: 0.75rem 1rem;
  background: rgba(168, 85, 247, 0.16);
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: left;
  color: var(--color-meteor);
  white-space: nowrap;
}

.privacy-table td {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(203, 213, 225, 0.08);
  color: var(--color-starlight);
}

.privacy-table tr:hover td {
  background: rgba(168, 85, 247, 0.06);
}

/* ---- 用户权利卡片 ---- */
.privacy-rights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  margin: 0 0 1.25rem;
}

.privacy-right-card {
  padding: 1.125rem 1.25rem;
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.privacy-right-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.45);
}

.privacy-right-icon {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  color: var(--color-purple);
}

.privacy-right-card h3 {
  margin: 0 0 0.375rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-meteor);
}

.privacy-right-card p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--color-starlight);
}

/* ---- 联系与底部链接 ---- */
.privacy-contact-block {
  margin: 0 0 1.5rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid rgba(203, 213, 225, 0.14);
  border-radius: 12px;
  background: rgba(10, 20, 40, 0.4);
}

.privacy-contact-block p {
  margin-bottom: 0.625rem;
}

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

.privacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* ---- 响应式 ---- */
@media (min-width: 768px) {
  .privacy-hero {
    padding: 3rem 0 3.5rem;
  }

  .privacy-section {
    padding: 2.25rem 2rem;
  }

  .privacy-rights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .privacy-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 3rem;
    padding-top: 3.5rem;
    padding-bottom: 5.5rem;
  }

  .privacy-toc-inner {
    position: sticky;
    top: 96px;
  }

  .privacy-toc-list {
    grid-template-columns: 1fr;
  }

  .privacy-content {
    gap: 2rem;
  }
}
