/**
 * Legal Pages Styles
 */

.legals-section {
  padding: 60px 0;
  background: linear-gradient(
    180deg,
    rgba(35, 74, 218, 0.03) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}

.legals-header {
  margin-bottom: 40px;
  text-align: center;
}

.legals-header h1 {
  margin-bottom: 15px;
  color: #141752;
  font-size: 36px;
  font-weight: 700;
}

.legals-header p {
  font-size: 18px;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.legals-content {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(20, 23, 82, 0.08);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.legals-content h1,
.legals-content h2 {
  color: #141752;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.legals-content h1 {
  font-size: 32px;
  border-bottom: 2px solid rgba(76, 110, 245, 0.1);
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.legals-content h2 {
  font-size: 24px;
  margin-top: 40px;
}

.legals-content h2:first-of-type {
  margin-top: 0;
}

.legals-content p {
  margin-bottom: 16px;
  color: #444;
  font-size: 16px;
  line-height: 1.7;
}

.legals-content ul,
.legals-content ol {
  margin-bottom: 20px;
  margin-left: 20px;
  color: #444;
}

.legals-content li {
  margin-bottom: 10px;
  padding-left: 5px;
  line-height: 1.6;
}

.legals-content a {
  color: #4c6ef5;
  text-decoration: none;
  transition: all 0.2s ease;
}

.legals-content a:hover {
  color: #364fc7;
  text-decoration: underline;
}

.legals-content .disclaimer {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  font-style: italic;
  color: #555;
}

.legals-content .disclaimer p:last-child {
  margin-bottom: 0;
}

.legals-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
  gap: 15px;
}

.legals-navigation a {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgba(76, 110, 245, 0.08);
  color: #4c6ef5;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.legals-navigation a:hover {
  background-color: rgba(76, 110, 245, 0.15);
  color: #364fc7;
  transform: translateY(-2px);
  text-decoration: none;
}

@media (max-width: 767px) {
  .legals-section {
    padding: 40px 0;
  }

  .legals-content {
    padding: 25px;
    border-radius: 15px;
  }

  .legals-header h1 {
    font-size: 28px;
  }

  .legals-content h1 {
    font-size: 26px;
  }

  .legals-content h2 {
    font-size: 20px;
  }
}
