/* ============================================
   Privacy Policy Page Styles
   ============================================ */

/* Main Container */
.main-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.page-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.last-updated {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  font-style: italic;
}

/* Privacy Content */
.privacy-content {
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Policy Sections */
.policy-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

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

.policy-section h2 {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.policy-section h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

/* Policy Text */
.policy-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.policy-text p {
  margin-bottom: 1rem;
}

.policy-text ul {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.policy-text li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.policy-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.policy-text a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.policy-text a:hover {
  border-bottom-color: var(--primary-color);
}

/* Policy Note */
.policy-note {
  background: var(--bg-tertiary);
  border-left: 4px solid var(--warning-color);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
  font-size: 0.95rem;
}

/* Retention Table */
.retention-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.retention-table thead {
  background: var(--bg-tertiary);
}

.retention-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-color);
}

.retention-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.retention-table tbody tr:last-child td {
  border-bottom: none;
}

.retention-table tbody tr:hover {
  background: var(--bg-tertiary);
}

/* Changelog */
.changelog-section {
  background: var(--bg-tertiary);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.changelog-list {
  list-style: none;
  padding-left: 0;
}

.changelog-list li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.changelog-list strong {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Back to Top */
.back-to-top {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.btn-back-to-top {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  font-weight: 500;
}

.btn-back-to-top:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-container {
    padding: 1.5rem 1rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .privacy-content {
    padding: 1.5rem;
  }

  .policy-section h2 {
    font-size: 1.5rem;
  }

  .policy-section h3 {
    font-size: 1.1rem;
  }

  .policy-text {
    font-size: 0.95rem;
  }

  .policy-text ul {
    padding-left: 1.5rem;
  }

  .retention-table {
    font-size: 0.85rem;
  }

  .retention-table th,
  .retention-table td {
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 1.75rem;
  }

  .privacy-content {
    padding: 1rem;
  }

  .policy-section {
    margin-bottom: 2rem;
  }

  .policy-section h2 {
    font-size: 1.3rem;
  }

  .retention-table {
    font-size: 0.8rem;
  }

  .retention-table th,
  .retention-table td {
    padding: 0.5rem 0.25rem;
  }
}
