/* Shared Styles for Secondary Pages (Privacy, Terms, etc.) */

/* Page Layout */
.page-container {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Content Styling */
.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.content-card h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--text-main);
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-main);
}

.content-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.content-card ul,
.content-card ol {
  color: var(--text-muted);
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.content-card li {
  margin-bottom: 0.5rem;
}

.content-card a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-card a:hover {
  color: var(--accent);
}

.content-card strong {
  color: var(--text-main);
}

/* Back Navigation */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--primary);
}

.back-link svg {
  width: 18px;
  height: 18px;
}

/* Last Updated Text */
.last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

/* 404 Page Specific */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
  margin-bottom: 1rem;
}

.error-page h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.error-page p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 400px;
}

/* Delete Data Steps */
.steps-list {
  counter-reset: step;
  list-style: none;
  margin-left: 0 !important;
}

.steps-list li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem !important;
}

.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
}

/* Contact Box */
.contact-box {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--primary);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.contact-box h3 {
  margin-top: 0 !important;
  color: var(--primary) !important;
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 4rem 0;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.02);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  color: var(--text-main);
  position: relative;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  padding-left: 2rem;
  font-weight: 500;
  color: var(--text-main);
  width: 30%;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .feature-icon {
  color: var(--success);
  display: inline-flex;
}

.comparison-table .feature-no {
  color: var(--text-muted);
  opacity: 0.3;
}

.table-highlight {
  color: var(--primary) !important;
  font-weight: 700;
}

/* Featured Column */
.comparison-table th.featured-col {
  color: var(--primary);
}

.comparison-table td.featured-col {
  background: rgba(99, 102, 241, 0.03);
}

/* Feature category row */
.category-row {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.category-row td {
  padding: 1rem 2rem;
  text-align: left;
}

/* Mobile Responsive for Pages */
@media (max-width: 768px) {
  .page-container {
    padding-top: calc(var(--header-height) + 2rem);
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .content-card {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .content-card h2 {
    font-size: 1.3rem;
  }

  .error-code {
    font-size: 5rem;
  }

  .error-page h1 {
    font-size: 1.5rem;
  }
}