/* ================= LEGAL PAGES STYLES ================= */

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 20px 60px;
  animation: fadeIn 0.6s ease;
}

.legal-header {
  text-align: center;
  margin-bottom: 60px;
}

.legal-header h1 {
  font-size: 48px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.legal-date {
  color: var(--text-muted);
  font-size: 16px;
  opacity: 0.8;
}

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 40px;
}

.legal-section {
  margin-bottom: 40px;
}

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

.legal-section h2 {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.legal-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}

.legal-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.legal-section ul {
  margin: 20px 0;
  padding-left: 20px;
}

.legal-section li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 10px;
  list-style-type: none;
  position: relative;
  padding-left: 24px;
}

.legal-section li::before {
  content: '•';
  color: var(--accent);
  font-size: 20px;
  position: absolute;
  left: 0;
  top: -2px;
}

.legal-section .note {
  background: var(--bg-secondary);
  padding: 16px 20px;
  border-radius: 12px;
  border-left: 3px solid var(--accent);
  margin-top: 20px;
}

.legal-section a {
  color: var(--accent);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-footer {
  text-align: center;
}

.back-link {
  display: inline-block;
  padding: 12px 30px;
  background: var(--bg-card);
  color: var(--text-main);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.back-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(-4px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .legal-header h1 {
    font-size: 36px;
  }
  
  .legal-content {
    padding: 30px;
  }
  
  .legal-section h2 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .legal-header h1 {
    font-size: 28px;
  }
  
  .legal-content {
    padding: 24px;
  }
  
  .legal-section h2 {
    font-size: 20px;
  }
  
  .legal-section p,
  .legal-section li {
    font-size: 15px;
  }
}