/* ==========================================================
   UTILITIES AND GENERAL PAGE STYLES
   Shared across multiple pages (privacy, terms, etc.)
========================================================== */

/* ──── CONTAINER ──── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ──── SECTION ──── */
.section {
  padding: 100px 0;
}

.section-first {
  padding-top: 60px;
}

.bg-light {
  background: #d0f6fe;
}

.bg-dark {
  background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
  color: white;
}

/* ──── ANIMATE ON SCROLL ──── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

/* ──── CONTENT PAGE STYLES ──── */
.content-page {
  padding: 80px 0;
}

.content-sections {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.content-section {
  padding: 40px;
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--slate-200);
}

.content-section h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 16px;
}

.content-section h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 24px 0 12px;
}

.content-section p {
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-section ul,
.content-section ol {
  color: var(--slate-600);
  margin-left: 24px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-section li {
  margin-bottom: 8px;
}

.content-section strong {
  color: var(--slate-800);
  font-weight: 700;
}

.content-section a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  transition: color var(--tr);
}

.content-section a:hover {
  color: var(--primary-light);
}

/* ──── TABLE STYLES ──── */
.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.content-table thead {
  background: var(--green-50);
}

.content-table th {
  padding: 12px;
  text-align: left;
  font-weight: 700;
  color: var(--slate-900);
  border: 1px solid var(--slate-200);
}

.content-table td {
  padding: 12px;
  border: 1px solid var(--slate-200);
  color: var(--slate-600);
}

.content-table tr:hover {
  background: var(--green-50);
}

/* ──── UTILITY CLASSES ──── */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 8px;
}

.mt-2 {
  margin-top: 16px;
}

.mt-3 {
  margin-top: 24px;
}

.mt-4 {
  margin-top: 32px;
}

.mt-5 {
  margin-top: 40px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 8px;
}

.mb-2 {
  margin-bottom: 16px;
}

.mb-3 {
  margin-bottom: 24px;
}

.mb-4 {
  margin-bottom: 32px;
}

.mb-5 {
  margin-bottom: 40px;
}

.gap-1 {
  gap: 8px;
}

.gap-2 {
  gap: 16px;
}

.gap-3 {
  gap: 24px;
}

.gap-4 {
  gap: 32px;
}

/* ──── COLOR UTILITIES ──── */
.text-primary {
  color: var(--primary);
}

.text-success {
  color: var(--green-600);
}

.text-warning {
  color: var(--orange-600);
}

.text-danger {
  color: #EF4444;
}

.text-muted {
  color: var(--slate-500);
}

/* ──── RESPONSIVE ──– */
@media (max-width: 960px) {
  .section {
    padding: 80px 0;
  }

  .content-section {
    padding: 32px;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }

  .content-section h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .content-section {
    padding: 24px;
  }

  .content-sections {
    gap: 40px;
  }

  .content-section h2 {
    font-size: 1.3rem;
  }

  .content-section h3 {
    font-size: 1rem;
  }

  .content-section p {
    font-size: 0.95rem;
  }

  .content-table {
    font-size: 0.9rem;
  }

  .content-table th,
  .content-table td {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 40px 0;
  }

  .content-section {
    padding: 16px;
  }

  .content-sections {
    gap: 24px;
  }

  .content-section h2 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .content-section h3 {
    font-size: 0.95rem;
    margin: 16px 0 8px;
  }

  .content-section p,
  .content-section ul,
  .content-section ol {
    font-size: 0.9rem;
  }

  .content-section ul,
  .content-section ol {
    margin-left: 16px;
  }

  .content-table {
    font-size: 0.8rem;
    display: block;
    overflow-x: auto;
  }

  .content-table th,
  .content-table td {
    padding: 6px;
  }
}
