/* vs.css — Styles for /vs/:slug head-to-head comparison pages */

/* ── Hero badge row ── */
.vs-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.vs-badge {
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.vs-badge-briefly {
  background: #6366f1;
  color: #fff;
}

.vs-badge-competitor {
  background: #1e1e2e;
  color: #a1a1aa;
  border: 1px solid #2d2d3f;
}

.vs-badge-vs {
  font-size: 13px;
  color: #52525b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── TL;DR box ── */
.vs-tldr-section {
  margin-bottom: 36px;
}

.vs-tldr-box {
  background: #0f0f1a;
  border: 1px solid #2d2d3f;
  border-left: 4px solid #6366f1;
  border-radius: 10px;
  padding: 24px 28px;
}

.vs-tldr-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: 14px;
}

.vs-tldr-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vs-tldr-list li {
  font-size: 14px;
  color: #d4d4d8;
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.vs-tldr-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #6366f1;
  font-weight: 700;
}

/* ── Comparison table with column highlights ── */
.vs-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.vs-comparison-table th,
.vs-comparison-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid #1e1e2e;
}

.vs-comparison-table thead th {
  background: #0f0f1a;
  color: #a1a1aa;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vs-comparison-table tbody tr:hover {
  background: rgba(99, 102, 241, 0.04);
}

.vs-col-briefly {
  color: #6366f1 !important;
}

.vs-feature-cell {
  color: #a1a1aa;
  font-weight: 500;
}

.vs-briefly-cell {
  color: #e4e4e7;
  font-weight: 600;
}

/* ── When each wins ── */
.vs-wins-section {
  margin-bottom: 36px;
}

.vs-wins-section h2 {
  font-size: 18px;
  color: #e4e4e7;
  margin: 0 0 16px 0;
}

.vs-honesty-note {
  font-size: 13px;
  color: #71717a;
  margin: -8px 0 14px 0;
  font-style: italic;
}

.vs-wins-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vs-wins-list li {
  font-size: 14px;
  color: #d4d4d8;
  line-height: 1.5;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 16px;
  border-radius: 8px;
  background: #0a0a0f;
  border: 1px solid #1e1e2e;
}

.vs-briefly-wins li {
  border-left: 3px solid #6366f1;
}

.vs-competitor-wins li {
  border-left: 3px solid #3f3f46;
}

.vs-check {
  color: #6366f1;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.vs-x {
  color: #71717a;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Pricing deep-dive ── */
.vs-pricing-section {
  margin-bottom: 36px;
}

.vs-pricing-section h2 {
  font-size: 18px;
  color: #e4e4e7;
  margin: 0 0 20px 0;
}

.vs-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.vs-pricing-card {
  background: #0f0f1a;
  border: 1px solid #2d2d3f;
  border-radius: 10px;
  padding: 20px;
}

.vs-pricing-card-briefly {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.05);
}

.vs-pricing-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 8px;
}

.vs-pricing-card-briefly .vs-pricing-label {
  color: #6366f1;
}

.vs-pricing-price {
  font-size: 24px;
  font-weight: 800;
  color: #e4e4e7;
  margin-bottom: 4px;
}

.vs-pricing-annual {
  font-size: 12px;
  color: #71717a;
  margin-bottom: 12px;
}

.vs-pricing-notes {
  font-size: 13px;
  color: #a1a1aa;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.vs-pricing-cta {
  display: inline-block;
  background: #6366f1;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.vs-pricing-math {
  background: #0f0f1a;
  border: 1px solid #1e1e2e;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 13px;
  color: #a1a1aa;
  line-height: 1.6;
}

.vs-pricing-math strong {
  color: #e4e4e7;
}

/* ── Index grid ── */
.vs-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.vs-index-card {
  display: block;
  background: #0f0f1a;
  border: 1px solid #1e1e2e;
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

.vs-index-card:hover {
  border-color: #6366f1;
  transform: translateY(-2px);
}

.vs-index-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.vs-index-briefly {
  font-size: 12px;
  font-weight: 700;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

.vs-index-vs {
  font-size: 11px;
  color: #52525b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vs-index-competitor {
  font-size: 12px;
  font-weight: 700;
  color: #a1a1aa;
  background: #1e1e2e;
  padding: 3px 8px;
  border-radius: 4px;
}

.vs-index-desc {
  font-size: 13px;
  color: #71717a;
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.vs-index-category {
  font-size: 11px;
  color: #52525b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.vs-index-cta {
  font-size: 13px;
  color: #6366f1;
  font-weight: 600;
}

/* ── Briefly pitch box (c2c pages) ── */
.vs-briefly-pitch {
  border-left: 4px solid #6366f1 !important;
  background: rgba(99, 102, 241, 0.06) !important;
}

.vs-pitch-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: 12px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .vs-badge-row {
    flex-wrap: wrap;
  }

  .vs-pricing-grid {
    grid-template-columns: 1fr;
  }

  .vs-index-grid {
    grid-template-columns: 1fr;
  }
}
