/* ═══════════════════════════════════════════
   Xevendra — Comparison Page Styles
   ═══════════════════════════════════════════ */

/* ═══ HERO ═══ */
.cmp-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(170deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: white;
}
.cmp-hero h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.18;
  margin: 16px 0 24px;
  color: white;
}
.cmp-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cmp-hero .hero-cta-row {
  justify-content: center;
}

/* ═══ PROBLEM ═══ */
.cmp-problem {
  padding: 100px 0;
  background: var(--white);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.problem-card {
  padding: 32px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.problem-card:hover {
  border-color: var(--indigo-600);
}
.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fef2f2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.problem-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 10px;
}
.problem-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ═══ COMPARISON TABLE ═══ */
.cmp-table-section {
  padding: 100px 0;
  background: var(--slate-50);
}
.cmp-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
  background: var(--white);
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 700px;
}
.cmp-table th,
.cmp-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--slate-200);
}
.cmp-table thead th {
  background: var(--navy-900);
  color: white;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: sticky;
  top: 0;
}
.cmp-table thead th:first-child {
  border-radius: var(--radius) 0 0 0;
}
.cmp-table thead th:last-child {
  border-radius: 0 var(--radius) 0 0;
}
.cmp-table thead th.cmp-col-pulse {
  background: var(--blue-600);
}
.cmp-table td.cmp-col-pulse {
  background: #eff6ff;
  font-weight: 600;
  color: var(--blue-600);
}
.cmp-table td .bi-check-lg {
  color: var(--green-600);
  font-weight: 700;
}
.cmp-table td .bi-x-lg {
  color: var(--red-500);
  font-size: 12px;
}
.cmp-table td .bi-dash {
  color: var(--amber-500);
}
.cmp-category td {
  background: var(--slate-100);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--slate-700);
  border-bottom: 2px solid var(--slate-300);
}
.cmp-table tbody tr:hover td {
  background: #f8fafc;
}
.cmp-table tbody tr:hover td.cmp-col-pulse {
  background: #dbeafe;
}
.cmp-table tbody tr.cmp-category:hover td {
  background: var(--slate-100);
}

/* ═══ HONEST NOTE ═══ */
.cmp-honest-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
}
.cmp-honest-note i {
  color: var(--blue-600);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.cmp-honest-note p {
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.7;
  margin: 0;
}

/* ═══ WHY SWITCH ═══ */
.cmp-why {
  padding: 100px 0;
  background: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  padding: 32px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.why-card:hover {
  border-color: var(--indigo-600);
}
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.why-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ═══ CTA ═══ */
.cmp-cta {
  padding: 80px 0;
  background: var(--ink);
}
.cmp-cta-content {
  text-align: center;
}
.cmp-cta-content h2 {
  font-size: 36px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}
.cmp-cta-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cmp-cta-content .btn-primary {
  font-size: 16px;
  padding: 14px 32px;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .cmp-hero h1 { font-size: 32px; }
  .cmp-hero-sub { font-size: 15px; }
  .problem-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cmp-cta-content h2 { font-size: 28px; }
}
