/**
 * Mafar Group - Legal Pages Styles
 * Privacy Policy & Terms of Service
 */

/* ============================================================
   LEGAL PAGE HERO
   ============================================================ */
.mafar-legal-hero {
  background: var(--background-dark);
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
}

.mafar-legal-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(212,175,55,0.3) 40%, rgba(212,175,55,0.3) 60%, transparent 90%);
}

.mafar-legal-hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.mafar-legal-hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.mafar-legal-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.mafar-legal-hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--mafar-gold);
  border-radius: 50%;
}

.mafar-legal-hero-eyebrow-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mafar-gold);
}

.mafar-legal-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--mafar-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.mafar-legal-hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 600px;
}

.mafar-legal-last-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 18px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--mafar-gold);
}

.mafar-legal-last-updated svg {
  width: 16px;
  height: 16px;
  color: var(--mafar-gold);
}

/* ============================================================
   LEGAL PAGE CONTENT
   ============================================================ */
.mafar-legal-content {
  background: var(--background-dark);
  padding: 0 5% 100px;
}

.mafar-legal-content-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Section Styles */
.mafar-legal-section {
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mafar-legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.mafar-legal-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mafar-gold);
  margin-bottom: 16px;
}

.mafar-legal-section h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--mafar-white);
  margin-bottom: 20px;
  line-height: 1.4;
}

.mafar-legal-section p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 16px;
}

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

/* Links in content */
.mafar-legal-section a {
  color: var(--mafar-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mafar-legal-section a:hover {
  color: var(--mafar-white);
  text-decoration: underline;
}

/* Lists */
.mafar-legal-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.mafar-legal-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.mafar-legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--mafar-gold);
  border-radius: 50%;
}

.mafar-legal-list-nested {
  list-style: none;
  margin: 12px 0;
  padding-left: 0;
}

.mafar-legal-list-nested li {
  padding-left: 20px;
  margin-bottom: 8px;
}

.mafar-legal-list-nested li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  color: var(--mafar-gold);
  font-size: 0.8rem;
}

/* Sub-sections */
.mafar-legal-subsection {
  margin: 24px 0;
}

.mafar-legal-subsection h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
}

/* Highlight boxes */
.mafar-legal-highlight {
  background: rgba(212,175,55,0.05);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.mafar-legal-highlight p {
  margin-bottom: 0;
  color: rgba(255,255,255,0.8);
}

/* Contact Box */
.mafar-legal-contact-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 28px;
  margin-top: 24px;
}

.mafar-legal-contact-box h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--mafar-white);
  margin-bottom: 16px;
}

.mafar-legal-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

.mafar-legal-contact-item:last-child {
  margin-bottom: 0;
}

.mafar-legal-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--mafar-gold);
  flex-shrink: 0;
}

.mafar-legal-contact-item a {
  color: var(--mafar-gold);
}

/* ============================================================
   LEGAL PAGE CTA
   ============================================================ */
.mafar-legal-cta {
  background: linear-gradient(180deg, var(--background-dark) 0%, rgba(20,20,20,1) 100%);
  padding: 80px 5%;
  text-align: center;
  position: relative;
}

.mafar-legal-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(212,175,55,0.2) 40%, rgba(212,175,55,0.2) 60%, transparent 90%);
}

.mafar-legal-cta-container {
  max-width: 600px;
  margin: 0 auto;
}

.mafar-legal-cta h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--mafar-white);
  margin-bottom: 16px;
}

.mafar-legal-cta p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  line-height: 1.7;
}

.mafar-legal-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--mafar-gold);
  color: var(--mafar-dark);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.mafar-legal-cta-button:hover {
  background: var(--mafar-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.25);
}

.mafar-legal-cta-button svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */
@media (max-width: 768px) {
  .mafar-legal-hero {
    padding: 80px 5% 48px;
  }

  .mafar-legal-hero h1 {
    font-size: 1.75rem;
  }

  .mafar-legal-content {
    padding: 0 5% 80px;
  }

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

  .mafar-legal-section h2 {
    font-size: 1.2rem;
  }

  .mafar-legal-section p,
  .mafar-legal-list li {
    font-size: 0.9rem;
  }

  .mafar-legal-cta {
    padding: 60px 5%;
  }

  .mafar-legal-cta h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .mafar-legal-hero {
    padding: 70px 5% 40px;
  }

  .mafar-legal-last-updated {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .mafar-legal-contact-box {
    padding: 20px;
  }
}
