/* ===== Comparison (vs) Page Styles ===== */

.vs-hero {
  padding: calc(var(--nav) + 60px) 0 60px;
  background: var(--bg);
  text-align: center;
}
.vs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.15);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 20px;
}
.vs-hero-title {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  color: var(--text);
}
.vs-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text3);
  max-width: 640px;
  margin: 0 auto 32px;
}
.vs-hero-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Quick Stats Row */
.vs-stats {
  padding: 0 0 60px;
  background: var(--bg);
}
.vs-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.vs-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}
.vs-stat-label {
  font-size: 13px;
  color: var(--text4);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  margin-bottom: 12px;
}
.vs-stat-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 24px;
}
.vs-stat-item {
  text-align: center;
}
.vs-stat-brand {
  font-size: 11px;
  font-weight: 600;
  color: var(--text4);
  margin-bottom: 4px;
}
.vs-stat-val {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.vs-stat-val.vs-highlight {
  color: var(--blue);
}
.vs-stat-vs {
  font-size: 13px;
  color: var(--text4);
  font-weight: 600;
}

/* ===== Best For Section ===== */
.vs-best-for {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.vs-best-for-header {
  text-align: center;
  margin-bottom: 48px;
}
.vs-best-for-title {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  color: var(--text);
}
.vs-best-for-sub {
  font-size: 15px;
  color: var(--text3);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.vs-best-for-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.vs-best-for-col {
  padding: 32px 28px;
  background: var(--white);
}
.vs-best-for-col:first-child {
  border-right: 1px solid var(--border);
}
.vs-best-for-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}
.vs-best-for-badge.vs-brand {
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.15);
  color: var(--blue);
}
.vs-best-for-badge.vs-competitor {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text3);
}
.vs-best-for-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vs-best-for-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text2);
}
.vs-best-for-list li::before {
  content: '\2713';
  flex-shrink: 0;
  font-weight: 700;
  font-size: 14px;
  margin-top: 1px;
}
.vs-best-for-col:first-child .vs-best-for-list li::before {
  color: var(--blue);
}
.vs-best-for-col:last-child .vs-best-for-list li::before {
  color: var(--text4);
}

/* ===== Comparison Table ===== */
.vs-table-section {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.vs-table-header {
  text-align: center;
  margin-bottom: 48px;
}
.vs-table-title {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  color: var(--text);
}
.vs-table-sub {
  font-size: 15px;
  color: var(--text3);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.vs-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.vs-table thead th {
  background: var(--bg);
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.vs-table thead th:not(:first-child) {
  text-align: center;
}
.vs-table thead th.vs-th-highlight {
  background: rgba(37,99,235,.04);
  color: var(--blue);
}
.vs-table tbody td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
}
.vs-table tbody td:not(:first-child) {
  text-align: center;
}
.vs-table tbody tr:last-child td {
  border-bottom: none;
}
.vs-table tbody tr:hover {
  background: rgba(37,99,235,.015);
}
.vs-table .vs-td-highlight {
  background: rgba(37,99,235,.03);
  font-weight: 600;
  color: var(--text);
}
.vs-check {
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
}
.vs-x {
  color: var(--text4);
  font-size: 16px;
}
.vs-table .feat-label {
  font-weight: 600;
  color: var(--text);
}

/* Category header rows in feature table */
.vs-category-row td {
  background: var(--bg) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text4) !important;
  padding: 12px 20px !important;
  border-bottom: 1px solid var(--border);
}
.vs-category-row:hover {
  background: transparent !important;
}

/* Feature description (small text below label) */
.feat-desc {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text4);
  margin-top: 3px;
  line-height: 1.4;
}

/* ===== Why Switch Section ===== */
.vs-why {
  padding: 80px 0;
  background: var(--bg);
}
.vs-why-header {
  text-align: center;
  margin-bottom: 48px;
}
.vs-why-title {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  color: var(--text);
}
.vs-why-sub {
  font-size: 15px;
  color: var(--text3);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.vs-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.vs-why-card {
  padding: 32px 24px;
  background: var(--white);
  border-right: 1px solid var(--border);
  transition: background .3s var(--ease);
}
.vs-why-card:last-child {
  border-right: none;
}
.vs-why-card:hover {
  background: var(--bg);
}
.vs-why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(37,99,235,.08);
}
.vs-why-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.3;
}
.vs-why-card p {
  font-size: 13px;
  color: var(--text3);
  line-height: 1.6;
}

/* Social Proof */
.vs-social-proof {
  text-align: center;
  padding: 32px 0 0;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text3);
  line-height: 1.6;
}
.vs-social-proof strong {
  color: var(--text);
  font-weight: 600;
}

/* ===== Testimonial ===== */
.vs-testimonial {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.vs-quote-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.vs-quote-text {
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text2);
  margin-bottom: 20px;
}
.vs-quote-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.vs-quote-role {
  font-size: 13px;
  color: var(--text4);
}

/* ===== FAQ Section ===== */
.vs-faq {
  padding: 80px 0;
  background: var(--bg);
}
.vs-faq-header {
  text-align: center;
  margin-bottom: 48px;
}
.vs-faq-title {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  color: var(--text);
}
.vs-faq-sub {
  font-size: 15px;
  color: var(--text3);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.vs-faq-list {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.vs-faq-item {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.vs-faq-item:last-child {
  border-bottom: none;
}
.vs-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  font-family: var(--font);
  transition: background .2s;
}
.vs-faq-q:hover {
  background: var(--bg);
}
.vs-faq-q svg {
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.27,0,.51,1);
}
.vs-faq-item.open .vs-faq-q svg {
  transform: rotate(45deg);
}
.vs-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.27,0,.51,1), padding .4s;
}
.vs-faq-item.open .vs-faq-a {
  max-height: 400px;
}
.vs-faq-a-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text3);
  line-height: 1.7;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .vs-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .vs-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vs-why-card:nth-child(2) {
    border-right: none;
  }
  .vs-why-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }
  .vs-why-card:last-child {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: none;
  }
}
@media (max-width: 768px) {
  .vs-stats-grid {
    grid-template-columns: 1fr;
  }
  .vs-why-grid {
    grid-template-columns: 1fr;
  }
  .vs-why-card {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }
  .vs-why-card:last-child {
    border-bottom: none;
    grid-column: auto;
  }
  .vs-table {
    font-size: 13px;
  }
  .vs-table thead th,
  .vs-table tbody td {
    padding: 10px 12px;
  }
  .vs-best-for-grid {
    grid-template-columns: 1fr;
  }
  .vs-best-for-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .vs-best-for-col {
    padding: 24px 20px;
  }
  .feat-desc {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .vs-category-row td {
    padding: 10px 12px !important;
  }
  .vs-faq-q {
    padding: 16px 18px;
    font-size: 14px;
  }
  .vs-faq-a-inner {
    padding: 0 18px 16px;
  }
}
