/* ─────────────────────────────────────────────────────────────
   15-section-comparison.css
   Section: The Comparison
   ConvertizeAI vs. alternatives — styled comparison table.
   Sits between Deliverables and Offer.
───────────────────────────────────────────────────────────── */

#comparison {
  background-color: #111111;
}

#comparison .inner {
  max-width: 900px;
  margin: 0 auto;
}

/* ── Scroll wrapper — on mobile this becomes the scroll container ── */
.comparison__scroll {
  width: 100%;
}

/* ── Comparison table wrapper ── */
.comparison__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

/* ── Header row ── */
.comparison__table thead tr {
  border-bottom: 1px solid #2a2a2a;
}

.comparison__table th {
  padding: 16px 20px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #555;
}

/* ── Highlighted "us" column header ── */
.comparison__table th.col--us {
  color: #C8F04A;
  background-color: rgba(200, 240, 74, 0.04);
  border-left: 1px solid rgba(200, 240, 74, 0.2);
  border-right: 1px solid rgba(200, 240, 74, 0.2);
}

/* ── Criteria label column ── */
.comparison__table th:first-child,
.comparison__table td:first-child {
  text-align: left;
  padding-left: 0;
  color: #666;
  width: 28%;
}

/* ── Data rows ── */
.comparison__table tbody tr {
  border-bottom: 1px solid #181818;
  transition: background-color 0.2s ease;
}

.comparison__table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.015);
}

.comparison__table td {
  padding: 20px 20px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* ── "Us" column in body ── */
.comparison__table td.col--us {
  color: #ddd;
  font-weight: 500;
  background-color: rgba(200, 240, 74, 0.03);
  border-left: 1px solid rgba(200, 240, 74, 0.12);
  border-right: 1px solid rgba(200, 240, 74, 0.12);
}

/* ── Checkmark / cross icons in cells ── */
.cell--yes {
  color: #C8F04A;
  font-size: 16px;
}

.cell--no {
  color: #444;
  font-size: 16px;
}

/* ── Bottom note ── */
.comparison__note {
  margin-top: 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #3a3a3a;
  text-align: center;
  font-style: italic;
}
