/* legal.css - Legal hub page styles */

/* ============================================
   PAGE WRAPPER
   ============================================ */
.legal-page {
  min-height: 100vh;
  padding-top: 70px;
}

/* ============================================
   HERO
   ============================================ */
.legal-hero {
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
}

.legal-hero-content {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.legal-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px rgba(180, 22, 22, 0.3));
}

.legal-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.25px;
  margin-bottom: 1.25rem;
  color: #fff;
}

.legal-subtitle {
  font-size: 1.1rem;
  color: #999;
  line-height: 1.75;
  max-width: 520px;
}

/* ============================================
   HUB SECTION
   ============================================ */
.legal-hub-section {
  padding: 4rem 2rem 6rem;
}

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

.legal-intro {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.section-description {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #aaa;
  max-width: 680px;
  margin: 0 auto;
}

/* ============================================
   LEGAL GRID
   ============================================ */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.legal-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
  text-decoration: none;
  /* transform IS included here — GSAP only animates opacity on these cards,
     so there is no conflict with the CSS hover lift. */
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.legal-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.legal-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(180, 22, 22, 0.08);
  border: 1px solid rgba(180, 22, 22, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #b41616;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.legal-card:hover .legal-card-icon {
  background: rgba(180, 22, 22, 0.12);
  border-color: rgba(180, 22, 22, 0.25);
}

.legal-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #fff;
  line-height: 1.3;
}

.legal-card-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #999;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.legal-card-link {
  font-size: 0.82rem;
  color: #b41616;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.2px;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  transition: gap 0.3s ease;
}

.legal-card-link svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.legal-card:hover .legal-card-link {
  gap: 0.65rem;
}

.legal-card:hover .legal-card-link svg {
  transform: translateX(4px);
}

/* ============================================
   BOTTOM INFO BOXES
   ============================================ */
.legal-footer-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.info-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: rgba(180, 22, 22, 0.08);
  border: 1px solid rgba(180, 22, 22, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b41616;
  margin-bottom: 1.25rem;
}

.info-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.info-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #aaa;
  margin-bottom: 1.5rem;
}

.info-text:last-child {
  margin-bottom: 0;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) and (min-width: 769px) {
  .legal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
  .legal-hero {
    padding: 4rem 1.5rem 3rem;
  }

  .legal-logo {
    width: 65px;
    height: 65px;
  }

  .legal-title {
    font-size: 2.1rem;
  }

  .legal-subtitle {
    font-size: 1rem;
  }

  .legal-hub-section {
    padding: 3rem 1.5rem 4rem;
  }

  .section-heading {
    font-size: 1.9rem;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .legal-card {
    padding: 1.75rem 1.5rem;
  }

  .legal-footer-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .info-box {
    padding: 1.75rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .legal-title {
    font-size: 1.85rem;
  }

  .section-heading {
    font-size: 1.65rem;
  }
}
