/* Legal Pages Styling */
.legal-content {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
  min-height: calc(100vh - 200px);
}

.legal-content .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.legal-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #1e3a8a;
  margin-bottom: 1rem;
  text-align: center;
}

.last-updated {
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 3rem;
  font-style: italic;
}

.policy-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.policy-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.policy-section h2 {
  color: #1e3a8a;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

.policy-section p {
  color: #334155;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.policy-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.policy-section ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: #334155;
  line-height: 1.7;
}

.policy-section ul li:before {
  content: "•";
  color: #1e3a8a;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.policy-section a {
  color: #1e3a8a;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.policy-section a:hover {
  border-bottom-color: #1e3a8a;
}

/* Table of Contents */
.toc {
  position: sticky;
  top: 2rem;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.toc h3 {
  color: #1e3a8a;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc ul li {
  margin-bottom: 0.5rem;
}

.toc ul li a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.toc ul li a:hover {
  color: #1e3a8a;
}

/* Responsive Design */
@media (max-width: 768px) {
  .legal-content {
    padding: 2rem 0;
  }

  .legal-content h1 {
    font-size: 2rem;
  }

  .policy-section {
    padding: 1.5rem;
  }

  .toc {
    position: static;
    margin-bottom: 2rem;
  }
}

/* Print Styles */
@media print {
  .legal-content {
    background: none;
    padding: 0;
  }

  .policy-section {
    box-shadow: none;
    page-break-inside: avoid;
  }

  .toc {
    display: none;
  }
} 