/* Legal Pages Styling */

.legal-page {
  padding: 120px 24px 80px;
  min-height: calc(100vh - 200px);
  background: var(--bg-primary, #0a0a0a);
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-primary, #ffffff);
}

.legal-container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-updated {
  color: var(--text-muted, #888);
  font-size: 0.9rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color, #222);
}

.legal-container section {
  margin-bottom: 2.5rem;
}

.legal-container h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary, #ffffff);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.legal-container h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-secondary, #ccc);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.legal-container p {
  color: var(--text-secondary, #b0b0b0);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-container ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.legal-container ul li {
  color: var(--text-secondary, #b0b0b0);
  line-height: 1.7;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.legal-container ul li::before {
  content: "•";
  color: var(--accent-primary, #667eea);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.legal-container ul li strong {
  color: var(--text-primary, #ffffff);
}

.legal-container a {
  color: var(--accent-primary, #667eea);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-container a:hover {
  color: var(--accent-secondary, #764ba2);
  text-decoration: underline;
}

/* Footer for legal pages */
.legal-footer {
  background: var(--bg-secondary, #111);
  border-top: 1px solid var(--border-color, #222);
  padding: 2rem 24px;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-muted, #888);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary, #ffffff);
}

.footer-copyright {
  color: var(--text-muted, #666);
  font-size: 0.85rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-page {
    padding: 100px 16px 60px;
  }

  .legal-container h1 {
    font-size: 2rem;
  }

  .legal-container h2 {
    font-size: 1.3rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Ensure nav styling works on legal pages */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color, #222);
}
