﻿/* ==========================================================================
   Legal Pages — Privacy Policy & Terms of Service
   ========================================================================== */

/* Back nav link in header */
.legal-nav {
  margin-left: auto;
}

.legal-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #184e34;
  text-decoration: none;
  padding: 8px 20px;
  border: 1.5px solid #184e34;
  border-radius: 40px;
  transition: all 0.25s ease;
}

.legal-nav-link:hover {
  background: #184e34;
  color: #ffffff;
}

/* Main content area */
.legal-main {
  padding: 80px 5vw 120px;
  background: #f8fafc;
  min-height: 80vh;
}

.legal-container {
  max-width: 860px;
  margin: 0 auto;
}

/* Hero */
.legal-hero {
  text-align: center;
  padding-bottom: 60px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 64px;
}

.legal-badge {
  display: inline-block;
  background: rgba(24, 78, 52, 0.1);
  color: #184e34;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 20px;
}

.legal-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.legal-effective {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.legal-intro {
  font-size: 1.2rem;
  color: #475569;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
  font-style: italic;
}

/* Body content */
.legal-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.legal-section {
  padding: 40px 0;
  border-bottom: 1px solid #e2e8f0;
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.legal-section p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 14px;
}

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

.legal-section ul {
  padding-left: 0;
  margin: 14px 0 14px 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-section ul li {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  padding-left: 24px;
  position: relative;
}

.legal-section ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #184e34;
  font-weight: 700;
  font-size: 0.9rem;
}

.legal-section a {
  color: #184e34;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.legal-section a:hover {
  opacity: 0.75;
}

/* Contact Box */
.legal-contact-box {
  margin-top: 60px;
  padding: 48px;
  background: linear-gradient(135deg, #184e34 0%, #1e6b46 100%);
  border-radius: 24px;
  text-align: center;
  color: #ffffff;
}

.legal-contact-box h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.legal-contact-box p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 28px;
}

.legal-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #184e34;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 40px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.legal-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.legal-contact-note {
  margin-top: 20px !important;
  font-size: 0.9rem !important;
  opacity: 0.65 !important;
}

/* Legal Footer */
.legal-footer {
  background: #0f172a;
  padding: 32px 5vw;
}

.legal-footer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-footer p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.legal-footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-footer a:hover {
  color: #ffffff;
}

/* Footer legal link styles on main page */
.footer-legal-links a {
  color: inherit;
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal-links a:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-title { font-size: 2.4rem; }
  .legal-contact-box { padding: 36px 24px; }
  .legal-contact-box h3 { font-size: 1.5rem; }
  .legal-footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .legal-main { padding: 60px 20px 80px; }
  .legal-title { font-size: 2rem; }
  .legal-section h2 { font-size: 1.2rem; }
}
