/* ClapAssist Comparison Pages Stylesheet */
@import url('../tools.css');

/* ---------- Comparison Table ---------- */
.comp-table-wrap {
  overflow-x: auto;
  margin: 32px 0 48px;
  background: var(--surface);
  border: 1px solid var(--hair-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
}

.comp-table th, .comp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--hair);
}

.comp-table th {
  background: var(--paper-2);
  font-weight: 700;
  color: var(--ink);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.comp-table th.highlight-col, .comp-table td.highlight-col {
  background: rgba(79, 70, 229, 0.04);
  border-left: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.comp-table th.highlight-col {
  border-top: 2px solid var(--accent);
  color: var(--accent-ink);
}

.comp-table tr:last-child td.highlight-col {
  border-bottom: 2px solid var(--accent);
}

.check-yes {
  color: var(--ok);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.check-no {
  color: var(--bad);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.check-warn {
  color: var(--warn);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------- Versus Breakdown Cards ---------- */
.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

@media (max-width: 768px) {
  .vs-grid { grid-template-columns: 1fr; }
}

.vs-card {
  background: var(--surface);
  border: 1px solid var(--hair-2);
  border-radius: var(--r-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.vs-card.winner {
  border-color: var(--accent-line);
  box-shadow: 0 12px 32px -8px rgba(79, 70, 229, 0.12);
  position: relative;
}

.vs-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 12px;
}

.vs-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.feature-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}

.feature-list li strong {
  color: var(--ink);
}

/* ---------- Verdict Callout ---------- */
.verdict-box {
  background: linear-gradient(135deg, rgba(79, 70, 229, .06), rgba(99, 102, 241, .03));
  border: 1px solid var(--accent-line);
  border-radius: var(--r-md);
  padding: 32px;
  margin: 40px 0;
}

.verdict-box h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-ink);
  margin-bottom: 10px;
}

.verdict-box p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ---------- FAQ Section for Comparisons ---------- */
.faq-wrap {
  margin: 48px 0;
}

.faq-wrap h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 24px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--hair-2);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin-bottom: 14px;
}

.faq-q {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.faq-a {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
