
/* Legal Page Styles */
.legal-content {
  padding: 120px 0 60px;
  flex: 1;
}

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

.legal-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.legal-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.legal-block {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px var(--shadow);
}

.legal-block p {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-block a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.legal-block svg {
  vertical-align: middle;
  margin-right: 0.5rem;
  color: var(--accent);
}

.legal-info {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  nav {
    padding: 1rem 5%;
  }
  
  .nav-controls {
    order: 3; /* Push controls to the right */
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    background-color: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 99;
    box-shadow: -5px 0 15px var(--shadow);
    padding: 4rem 2rem 2rem;
    gap: 2rem;
  }

  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.2rem;
  }
  
  .nav-links .cta-button {
    margin-top: 1rem;
    width: 100%;
    display: block;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
    z-index: 100;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    gap: 2rem;
  }

  .legal-content {
    padding: 100px 0 40px;
  }
  
  .legal-header {
    margin-bottom: 2rem;
  }
  
  .legal-section {
    margin-bottom: 2rem;
  }
  
  .legal-block {
    padding: 1.25rem;
  }
}

@media (max-width: 576px) {
  .logo {
    font-size: 1.25rem;
  }
  
  .nav-controls {
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .legal-header h1 {
    font-size: 2rem;
  }
  
  .legal-subtitle {
    font-size: 1rem;
  }
  
  .legal-section h2 {
    font-size: 1.25rem;
  }
  
  .legal-block {
    padding: 1rem;
  }
}