/* =========================================================
   TERMS & CONDITIONS PAGE STYLES
   ========================================================= */
.terms-hero {
  position: relative;
  padding: 1.75rem 3.5rem 4rem;
  background-color: #0e0624;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.terms-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 35%, rgba(36, 22, 224, 0.82) 0%, rgba(110, 34, 201, 0.55) 48%, rgba(14, 6, 36, 0.92) 100%),
    linear-gradient(120deg, rgba(28, 18, 195, 0.65) 0%, rgba(18, 6, 34, 0.88) 100%);
  z-index: 1;
}

.terms-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.12'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  z-index: 2;
  pointer-events: none;
}

.terms-hero .navbar {
  z-index: 10;
}

.terms-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 820px;
  margin: 3.5rem auto 0;
}

.terms-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

.terms-effective {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

/* Document Card */
.terms-section {
  padding-top: 4rem;
  padding-bottom: 5.5rem;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--accent-violet);
  border-radius: 20px;
  padding: 3.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.parties-block {
  background: rgba(9, 6, 20, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.parties-block p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.parties-block p:last-child {
  margin-bottom: 0;
}

.intro-block {
  background: rgba(91, 70, 246, 0.12);
  border-left: 3px solid var(--accent-violet);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  color: var(--color-white);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.legal-container h2 {
  color: var(--accent-violet);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-container > p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

.legal-container strong {
  color: var(--color-white);
}

.terms-footer-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 960px) {
  .terms-hero {
    padding: 1.5rem 1.75rem 3.25rem;
  }

  .terms-hero-content {
    margin-top: 2.5rem;
  }
}

@media (max-width: 720px) {
  .legal-container {
    padding: 2rem 1.35rem;
  }
}

@media (max-width: 540px) {
  .terms-hero {
    padding: 1.25rem 1.25rem 2.75rem;
  }
}