/* Legal Pages CSS - legal.css */

/* Legal Container */
body{
    cursor: auto;
}
.legal-container {
  max-width: 1000px;
  margin: 100px auto 60px;
  padding: 0 20px;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Legal Header */
.legal-header {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 30px;
  border-bottom: 3px solid #06b6d4;
}

.legal-header h1 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.last-updated {
  font-size: 1rem;
  color: #666;
  font-style: italic;
}

body.dark-mode .last-updated {
  color: #aaa;
}

/* Legal Content */
.legal-content {
  line-height: 1.8;
  color: #333;
}

body.dark-mode .legal-content {
  color: #e0e0e0;
}

.legal-section {
  margin-bottom: 50px;
  padding: 30px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

body.dark-mode .legal-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.legal-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.legal-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #06b6d4;
}

body.dark-mode .legal-section h2 {
  color: #06b6d4;
}

.legal-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #0891b2;
  margin-top: 25px;
  margin-bottom: 15px;
}

body.dark-mode .legal-section h3 {
  color: #06b6d4;
}

.legal-section p {
  font-size: 1.05rem;
  margin-bottom: 15px;
  color: #555;
}

body.dark-mode .legal-section p {
  color: #cccccc;
}

.legal-section ul {
  margin: 15px 0 20px 30px;
  list-style: none;
}

.legal-section ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: #555;
}

body.dark-mode .legal-section ul li {
  color: #cccccc;
}

.legal-section ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #06b6d4;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Contact Info Box */
.contact-info {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  padding: 25px;
  border-radius: 10px;
  margin-top: 20px;
  color: #ffffff;
}

.contact-info p {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.contact-info strong {
  font-weight: 700;
  margin-right: 10px;
}

/* Acknowledgment */
.acknowledgment {
  background: #f8f9fa;
  padding: 20px;
  border-left: 4px solid #06b6d4;
  border-radius: 5px;
  font-size: 1.1rem;
  margin-top: 30px;
}

body.dark-mode .acknowledgment {
  background: rgba(6, 182, 212, 0.1);
  color: #ffffff;
}

/* Simple Footer for Legal Pages */
.simple-footer {
  background: #1a1a2e;
  color: #ffffff;
  text-align: center;
  padding: 40px 20px;
  margin-top: 80px;
}

.simple-footer p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.simple-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.simple-footer .footer-links a {
  color: #06b6d4;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.simple-footer .footer-links a:hover {
  color: #ffffff;
}

/* Table of Contents (optional enhancement) */
.toc {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 40px;
  border-left: 4px solid #06b6d4;
}

body.dark-mode .toc {
  background: rgba(6, 182, 212, 0.1);
}

.toc h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #1a1a2e;
}

body.dark-mode .toc h3 {
  color: #06b6d4;
}

.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc ul li {
  margin-bottom: 10px;
  padding-left: 0;
}

.toc ul li::before {
  display: none;
}

.toc a {
  color: #0891b2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.toc a:hover {
  color: #06b6d4;
  text-decoration: underline;
}

body.dark-mode .toc a {
  color: #06b6d4;
}

/* Responsive Design */
@media (max-width: 768px) {
  .legal-container {
    margin: 80px auto 40px;
  }

  .legal-header h1 {
    font-size: 2rem;
  }

  .legal-section {
    padding: 20px;
  }

  .legal-section h2 {
    font-size: 1.5rem;
  }

  .legal-section h3 {
    font-size: 1.2rem;
  }

  .legal-section p,
  .legal-section ul li {
    font-size: 1rem;
  }

  .simple-footer .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .simple-footer {
    display: none;
  }

  .legal-container {
    margin: 0;
    max-width: 100%;
  }

  .legal-section {
    box-shadow: none;
    page-break-inside: avoid;
  }
}