/* Terms Page Styling */
.terms-content {
  color: var(--text-primary);
  line-height: 1.8;
}

.terms-content h1 {
  color: var(--text-primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 1rem;
}

.terms-content h2 {
  color: var(--text-primary);
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--primary);
}

.terms-content h3 {
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.terms-content h4 {
  color: var(--text-muted);
  font-size: 1.15rem;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.terms-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.terms-content ul,
.terms-content ol {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.terms-content ul li,
.terms-content ol li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.terms-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.last-updated {
  background: var(--dark-card);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 4px;
}

.last-updated p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.important-notice {
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid var(--primary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 6px;
}

.important-notice p {
  margin: 0;
  color: var(--text-primary);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .terms-content h1 {
    font-size: 2rem;
  }
  
  .terms-content h2 {
    font-size: 1.5rem;
  }
  
  .terms-content h3 {
    font-size: 1.25rem;
  }
}