.terms-hero {
  background: linear-gradient(135deg, #0a0e27 0%, #121829 100%);
  padding: 120px 0 48px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terms-hero .page-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.terms-hero .page-subtitle {
  color: rgba(255, 255, 255, 0.65);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.terms-meta {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
}

.terms-content {
  padding: 48px 0 96px;
}

.terms-document {
  max-width: 820px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  font-size: 1rem;
}

.terms-intro {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.75);
}

.terms-section {
  margin-bottom: 2.5rem;
}

.terms-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(91, 141, 217, 0.35);
}

.terms-section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #c8d6ea;
  margin: 1.5rem 0 0.75rem;
}

.terms-section p {
  margin: 0 0 1rem;
}

.terms-section ul,
.terms-section ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.terms-section li {
  margin-bottom: 0.5rem;
}

.terms-section a {
  color: #5b8dd9;
  text-decoration: none;
}

.terms-section a:hover {
  text-decoration: underline;
}

.terms-callout {
  background: rgba(224, 90, 90, 0.08);
  border: 1px solid rgba(224, 90, 90, 0.25);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.25rem;
}

.terms-callout strong {
  color: #ffb4b4;
}

.terms-note {
  background: rgba(91, 141, 217, 0.08);
  border: 1px solid rgba(91, 141, 217, 0.2);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.25rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
  .terms-hero {
    padding-top: 100px;
  }

  .terms-document {
    font-size: 0.975rem;
  }
}
