/* Legal Pages (Privacy Policy & SMS Terms) */

/* Hero */
.legal-hero {
  position: relative;
  padding: 180px 0 90px;
  overflow: hidden;
  text-align: center;
}

.legal-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
  z-index: 0;
}

.legal-hero-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 102, 255, 0.08) 0%,
    transparent 60%
  );
  animation: rotateGradient 20s linear infinite;
  pointer-events: none;
}

.legal-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.service-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.legal-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.1;
}

.legal-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.legal-updated {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* Content */
.legal-section {
  padding: 80px 0 120px;
  background: #f8f8f8;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 56px 56px 64px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.legal-card h2 {
  font-size: 26px;
  font-weight: 700;
  color: #000;
  margin: 44px 0 16px;
  scroll-margin-top: 100px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  font-size: 19px;
  font-weight: 600;
  color: #111;
  margin: 28px 0 12px;
}

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

.legal-card ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.legal-card ul li {
  position: relative;
  padding-left: 28px;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
}

.legal-card a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
}

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

.legal-card strong {
  color: var(--text-color);
}

/* Highlight callout for the key SMS consent language */
.legal-callout {
  background: #f0f6ff;
  border: 1px solid #cfe0ff;
  border-left: 4px solid var(--accent-color);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 28px 0;
}

.legal-callout p {
  margin-bottom: 0;
  color: #1a3d7c;
}

/* Contact block */
.legal-contact {
  margin-top: 40px;
  padding: 28px 32px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 14px;
}

.legal-contact h3 {
  margin-top: 0;
}

.legal-contact p {
  margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 700px) {
  .legal-card {
    padding: 36px 24px 48px;
    border-radius: 16px;
  }

  .legal-section {
    padding: 60px 0 80px;
  }

  .legal-card h2 {
    font-size: 22px;
  }
}

/* Footer (matches site markup: .footer-content / .footer-brand / .footer-links / .footer-column) */
.footer {
  padding: 80px 0 40px;
  background: #0a0a0a;
  color: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: white;
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 40px;
  }
}
