/* ══════════════════════════════════════════════════════════════
   Compare Page — styles specific to the comparison page
   ══════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.compare-hero {
  padding: 160px 0 80px;
  text-align: center;
}

.compare-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-top: 16px;
  margin-bottom: 20px;
}

.compare-hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto;
}

/* ── Comparison Table ── */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-dark);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 800px;
}

.compare-table thead {
  background: rgba(255, 255, 255, 0.03);
}

.compare-table th {
  padding: 16px 18px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-inv-3);
  border-bottom: 1px solid var(--border-dark);
  white-space: nowrap;
}

.compare-feature-col {
  width: 240px;
}

.compare-netra-col {
  color: var(--blue-strong) !important;
  background: rgba(59, 130, 246, 0.05);
}

.compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-dark);
  vertical-align: top;
  color: var(--text-inv-2);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.compare-table td:nth-child(2) {
  background: rgba(59, 130, 246, 0.03);
}

.compare-table td strong {
  display: block;
  color: var(--text-inv);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.compare-desc {
  display: block;
  font-size: 11px;
  color: var(--text-inv-3);
  margin-top: 2px;
}

/* Cell indicators */
.cmp-yes,
.cmp-no,
.cmp-partial {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 12px;
}

.cmp-yes { color: #34d399; }
.cmp-yes::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
}

.cmp-no { color: #f87171; }
.cmp-no::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f87171;
  opacity: 0.6;
}

.cmp-partial { color: #fbbf24; }
.cmp-partial::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fbbf24;
}

.cmp-note {
  display: block;
  font-size: 11px;
  color: var(--text-inv-3);
  font-weight: 400;
  margin-top: 2px;
}

/* ── Pricing Grid ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.price-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.price-card--highlight {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-lg);
  position: relative;
}

.price-card--highlight::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.price-card--competitor {
  opacity: 0.7;
}

.price-card-header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.price-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.price-amount span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-3);
}

.price-amount--muted {
  font-size: 28px;
  color: var(--text-3);
}

.price-desc {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.5;
}

.price-features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}

.price-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.price-features--muted li::before {
  content: '·';
  color: var(--text-3);
}

.price-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ── Honesty Section ── */
.honesty-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 40px;
}

.honesty-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-inv);
  margin-bottom: 20px;
}

.honesty-list {
  list-style: none;
}

.honesty-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: 14px;
  color: var(--text-inv-2);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.honesty-list li:last-child {
  border-bottom: none;
}

.honesty-list li::before {
  content: '→';
  color: var(--yellow);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Code inline ── */
.feature-card code {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(59, 130, 246, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--blue);
}

.section--dark .feature-card code {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue-strong);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .price-card--competitor {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .compare-hero {
    padding: 120px 0 60px;
  }
  .compare-hero h1 {
    font-size: 2rem;
  }
  .compare-hero-sub {
    font-size: 16px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .price-card--competitor {
    grid-column: span 1;
  }
  .honesty-card {
    padding: 24px;
  }
}
