/* Legal Pages Styles - 2025 Design Language */

/* Hero Section Styles */
.gj-legal-hero {
  position: relative;
  padding: calc(var(--space-16) + 80px) 0 var(--space-16); /* Account for navbar height */
  overflow: hidden;
  background-color: var(--color-background-light);
}

.gj-legal-hero__bg-accent {
  position: absolute;
  top: -50px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(217, 45, 39, 0.05) 0%, rgba(217, 45, 39, 0.01) 100%);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.7;
}

.gj-legal-hero__bg-accent--secondary {
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, rgba(17, 25, 40, 0.05) 0%, rgba(17, 25, 40, 0.01) 100%);
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  opacity: 0.7;
}

.gj-legal-hero__container {
  max-width: var(--container-max-width);
  padding: 0 var(--space-6);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.gj-legal-hero__content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.gj-legal-hero__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
  line-height: 1.2;
}

.gj-legal-hero__title-accent {
  color: var(--color-brand-primary);
  position: relative;
}

.gj-legal-hero__title-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-brand-primary);
  opacity: 0.4;
}

.gj-legal-hero__subtitle {
  font-size: var(--font-size-md);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

/* Legal Content Styles */
.gj-legal-content {
  padding: var(--space-12) 0 var(--space-16);
  background-color: var(--color-background-base);
}

.gj-legal-content__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.gj-legal-content__section {
  margin-bottom: var(--space-10);
  background-color: var(--color-background-light);
  padding: var(--space-8);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gj-legal-content__section:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gj-legal-content__heading {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  position: relative;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.gj-legal-content__heading::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--color-brand-primary);
  border-radius: var(--radius-full);
}

.gj-legal-content__subheading {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  margin: var(--space-6) 0 var(--space-3);
}

.gj-legal-content p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  font-size: var(--font-size-base);
}

.gj-legal-content__list {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.gj-legal-content__list li {
  margin-bottom: var(--space-3);
  position: relative;
}

.gj-legal-content__list li::marker {
  color: var(--color-brand-primary);
}

.gj-legal-content a {
  color: var(--color-brand-primary);
  text-decoration: none;
  transition: color var(--transition-duration-short);
  font-weight: var(--font-weight-medium);
}

.gj-legal-content a:hover {
  color: var(--color-brand-primary-hover);
  text-decoration: underline;
}

.gj-legal-content__contact {
  background-color: rgba(217, 45, 39, 0.05);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-brand-primary);
  margin-top: var(--space-4);
  font-style: normal;
}

.gj-legal-content__contact p {
  margin-bottom: var(--space-2);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .gj-legal-hero {
    padding-top: calc(var(--space-12) + 80px);
    padding-bottom: var(--space-10);
  }
  
  .gj-legal-hero__title {
    font-size: var(--font-size-2xl);
  }
  
  .gj-legal-content__section {
    padding: var(--space-6);
  }
  
  .gj-legal-content__heading {
    font-size: var(--font-size-lg);
  }
  
  .gj-legal-content__subheading {
    font-size: var(--font-size-md);
  }
}

@media (max-width: 480px) {
  .gj-legal-hero__title {
    font-size: var(--font-size-xl);
  }
  
  .gj-legal-content__section {
    padding: var(--space-4);
  }
}
