/* Privacy Policy Page */

.privacy-section {
  padding: 8rem 0 4rem;
  min-height: 60vh;
}

.privacy-header {
  text-align: center;
  margin-bottom: 3rem;
}

.privacy-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 1rem;
  color: var(--text-primary, #1a1a2e);
}

.privacy-effective {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted, #888);
}

.privacy-effective a {
  color: var(--accent, #2563eb);
  text-decoration: underline;
  text-underline-offset: 2px;
}


.privacy-content {
  max-width: 780px;
  margin: 0 auto;
  background: var(--surface, #ffffff);
  border-radius: 16px;
  border: 1px solid var(--border, #e8ecf0);
  padding: 3rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary, #444);
}

.privacy-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text-primary, #1a1a2e);
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--text-primary, #1a1a2e);
}

.privacy-content p {
  margin-bottom: 1rem;
}

.privacy-content ul {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.privacy-content ul li {
  margin-bottom: 0.35rem;
}

.privacy-content strong {
  color: var(--text-primary, #1a1a2e);
  font-weight: 600;
}

.privacy-content code {
  background: var(--bg-muted, #f4f5f7);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

.privacy-content a {
  color: var(--accent, #2563eb);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-content a:hover {
  color: var(--accent-hover, #1d4ed8);
}

/* Loading state */
.privacy-loading {
  text-align: center;
  padding: 4rem 0;
  color: var(--text-muted, #888);
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border, #e8ecf0);
  border-top-color: var(--accent, #2563eb);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Error state */
.privacy-error {
  text-align: center;
  padding: 4rem 0;
  color: var(--text-secondary, #444);
}

.privacy-error p {
  margin-bottom: 1.25rem;
}

/* Meta footer */
.privacy-meta {
  max-width: 780px;
  margin: 1.5rem auto 0;
  display: flex;
  gap: 2rem;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted, #888);
}

.privacy-meta p {
  margin: 0;
}

@media (max-width: 768px) {
  .privacy-section {
    padding: 6rem 0 3rem;
  }

  .privacy-header h1 {
    font-size: 1.8rem;
  }

  .privacy-content {
    padding: 1.5rem;
    border-radius: 12px;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .privacy-meta {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
  }
}
