/* ============================================================
   vs-index.css — Comparison hub page /vs/
   ============================================================ */


/* ── Hero ── */
.vsi-hero {
  padding: var(--s-20) 0 var(--s-16);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-sub);
}

.vsi-hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--s-14);
  align-items: start;
}

.vsi-hero-copy {
  max-width: 620px;
}

.vsi-hero-copy h1 {
  font-size: var(--t-hero-page);
  font-weight: var(--w-xbold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-snug);
  color: var(--text);
  margin: var(--s-3) 0 var(--s-5);
}

.vsi-hero-sub {
  font-size: var(--t-lead);
  color: var(--text-sec);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--s-6);
}

/* Pills */
.vsi-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.vsi-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-sm);
  font-weight: var(--w-semibold);
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid var(--green-border);
  border-radius: var(--r-full);
  padding: 5px var(--s-3);
  white-space: nowrap;
}

.vsi-pill svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}


/* ── Pricing snapshot card (hero right) ── */
.vsi-pricing-card {
  background: var(--bg);
  border: 2px solid var(--green-border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-green);
  overflow: hidden;
  position: sticky;
  top: 80px;
}

.vsi-pricing-head {
  background: var(--green);
  padding: var(--s-3) var(--s-5);
  display: flex;
  align-items: center;
  gap: var(--s-2);
  -webkit-font-smoothing: antialiased;
}

.vsi-pricing-head svg {
  width: 16px;
  height: 16px;
  color: #fff;
  flex-shrink: 0;
}

.vsi-pricing-head span {
  font-size: var(--t-sm);
  font-weight: var(--w-bold);
  color: #fff;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.vsi-pricing-tiers {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vsi-pricing-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-5);
  border-bottom: 1px solid var(--border-sub);
}

.vsi-pricing-tier:last-of-type {
  border-bottom: none;
}

.vsi-pricing-tier--featured {
  background: var(--green-soft);
}

.vsi-pricing-tier-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.vsi-pricing-tier-flag {
  font-size: 10px;
  font-weight: var(--w-bold);
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  line-height: 1;
  margin-bottom: 3px;
}

.vsi-pricing-tier-name {
  font-size: var(--t-base);
  font-weight: var(--w-bold);
  color: var(--text);
  line-height: var(--lh-snug);
}

.vsi-pricing-tier-users {
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: var(--lh-snug);
}

.vsi-pricing-tier-price {
  font-size: var(--t-card);
  font-weight: var(--w-xbold);
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.vsi-pricing-tier-per {
  font-size: var(--t-sm);
  font-weight: var(--w-medium);
  color: var(--text-muted);
}

.vsi-pricing-foot {
  font-size: var(--t-sm);
  color: var(--text-muted);
  text-align: center;
  padding: var(--s-3) var(--s-5);
  border-top: 1px solid var(--border-sub);
  background: var(--bg-subtle);
  margin: 0;
  line-height: var(--lh-snug);
}

.vsi-pricing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-5);
  background: var(--green);
  color: #fff;
  font-size: var(--t-sm);
  font-weight: var(--w-bold);
  text-decoration: none;
  transition: background 0.15s;
  -webkit-font-smoothing: antialiased;
}

.vsi-pricing-cta:hover {
  background: var(--green-hover);
}

.vsi-pricing-cta svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.vsi-pricing-calc-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  padding: var(--s-3) var(--s-5);
  background: var(--bg);
  border-top: 1px solid var(--border-sub);
  font-size: var(--t-sm);
  font-weight: var(--w-semibold);
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.vsi-pricing-calc-link svg {
  width: 12px;
  height: 12px;
  transition: transform 0.15s;
}

.vsi-pricing-calc-link:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.vsi-pricing-calc-link:hover svg {
  transform: translateX(2px);
}


/* ── Quick-jump nav ── */
.vsi-jumpnav-section {
  background: var(--bg);
  border-bottom: 1px solid var(--border-sub);
  padding: var(--s-5) 0;
}

.vsi-jumpnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2);
}

.vsi-jumpnav-label {
  font-size: var(--t-sm);
  font-weight: var(--w-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--text-muted);
  margin-right: var(--s-2);
}

.vsi-jump-pill {
  display: inline-flex;
  align-items: center;
  font-size: var(--t-sm);
  font-weight: var(--w-semibold);
  color: var(--text-sec);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 5px var(--s-3);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
}

.vsi-jump-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}


/* ── All comparisons section heading ── */
.vsi-comparisons-heading {
  font-size: var(--t-base);
  font-weight: var(--w-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--text-muted);
  margin-bottom: var(--s-8);
}


/* ── BIY featured card ── */
.vsi-biy-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-10);
  align-items: center;
  background: var(--bg);
  border: 1.5px solid var(--blue-soft2);
  border-left: 4px solid var(--blue);
  border-radius: var(--r-lg);
  padding: var(--s-8) var(--s-10);
  margin-bottom: var(--s-10);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--sh-blue);
  transition: box-shadow 0.18s, transform 0.18s;
}

.vsi-biy-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,95,172,.18);
  color: var(--text);
}

.vsi-biy-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-sm);
  font-weight: var(--w-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--blue);
  margin-bottom: var(--s-3);
}

.vsi-biy-eyebrow svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.vsi-biy-title {
  font-size: var(--t-2xl);
  font-weight: var(--w-xbold);
  color: var(--text);
  line-height: var(--lh-snug);
  margin: 0 0 var(--s-3);
  letter-spacing: var(--ls-snug);
}

.vsi-biy-desc {
  font-size: var(--t-base);
  color: var(--text-sec);
  line-height: var(--lh-relaxed);
  margin: 0 0 var(--s-5);
  max-width: 520px;
}

.vsi-biy-link {
  font-size: var(--t-sm);
  font-weight: var(--w-bold);
  color: var(--blue);
}

.vsi-biy-stats {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  flex-shrink: 0;
  border-left: 1px solid var(--border-sub);
  padding-left: var(--s-10);
}

.vsi-biy-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--border-sub);
}

.vsi-biy-stat:last-child {
  border-bottom: none;
}

.vsi-biy-stat-val {
  font-size: var(--t-lead);
  font-weight: var(--w-xbold);
  color: #C53030;
  line-height: 1.2;
  white-space: nowrap;
}

.vsi-biy-stat-good .vsi-biy-stat-val {
  color: var(--green);
}

.vsi-biy-stat-label {
  font-size: var(--t-sm);
  color: var(--text-muted);
  font-weight: var(--w-medium);
  white-space: nowrap;
}


/* ── Category header ── */
.vsi-cat-header {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-3);
  border-bottom: 2px solid var(--border-sub);
}

.vsi-cat-label {
  font-size: var(--t-base);
  font-weight: var(--w-bold);
  color: var(--text);
}

.vsi-cat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  background: var(--bg-muted);
  border-radius: var(--r-full);
  font-size: var(--t-caption);
  font-weight: var(--w-bold);
  color: var(--text-muted);
  line-height: 1;
}

.vsi-cat-sub {
  font-size: var(--t-base);
  color: var(--text-muted);
  font-weight: var(--w-medium);
}


/* ── Compare card grid ── */
.vsi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-bottom: var(--s-12);
}

.vsi-card {
  display: flex;
  flex-direction: column;
  padding: var(--s-6);
  background: var(--bg);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.vsi-card:hover {
  border-color: var(--blue);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
  color: var(--text);
}

.vsi-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}

.vsi-card-name {
  font-size: var(--t-body);
  font-weight: var(--w-bold);
  color: var(--text);
  line-height: var(--lh-snug);
}

/* Metadata strip — replaces tagline paragraph */
.vsi-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px var(--s-2);
  margin-bottom: var(--s-3);
}

.vsi-card-meta span {
  display: inline-flex;
  align-items: center;
  font-size: var(--t-sm);
  font-weight: var(--w-medium);
  color: var(--text-muted);
}

.vsi-card-meta span:not(:last-child)::after {
  content: "·";
  margin-left: var(--s-2);
  color: var(--border);
  font-weight: var(--w-bold);
}

/* The sharp one-liner — primary card text */
.vsi-card-line {
  font-size: var(--t-base);
  color: var(--text-sec);
  line-height: var(--lh-relaxed);
  flex: 1;
  padding-left: var(--s-3);
  border-left: 2px solid var(--blue-soft2);
  margin: 0 0 var(--s-4);
}

.vsi-card:hover .vsi-card-line {
  border-left-color: var(--blue);
}

.vsi-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px solid var(--border-sub);
}

.vsi-card-cta {
  font-size: var(--t-sm);
  font-weight: var(--w-semibold);
  color: var(--blue);
}

.vsi-card-arrow {
  width: 16px;
  height: 16px;
  color: var(--blue);
  transition: transform 0.15s;
  flex-shrink: 0;
}

.vsi-card:hover .vsi-card-arrow {
  transform: translateX(3px);
}


/* ── Mid-page conversion strip ── */
.vsi-talk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
  padding: var(--s-7) var(--s-8);
  background: var(--bg-subtle);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-lg);
  margin: 0 0 var(--s-12);
}

.vsi-talk-copy h3 {
  font-size: var(--t-card);
  font-weight: var(--w-xbold);
  color: var(--text);
  margin: 0 0 4px;
  letter-spacing: var(--ls-snug);
  line-height: var(--lh-snug);
}

.vsi-talk-copy p {
  font-size: var(--t-base);
  color: var(--text-sec);
  margin: 0;
  line-height: var(--lh-relaxed);
}

.vsi-talk-ctas {
  display: flex;
  gap: var(--s-3);
  flex-shrink: 0;
}


/* ── Honest approach section ── */
.vsi-honest-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-sub);
}

.vsi-honest-body {
  font-size: var(--t-lead);
  color: var(--text-sec);
  line-height: var(--lh-relaxed);
  max-width: 700px;
  margin: 0 auto var(--s-4);
  text-align: center;
}

.vsi-honest-note {
  font-size: var(--t-base);
  color: var(--text-muted);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}


/* ── Responsive ── */
@media (max-width: 1100px) {
  .vsi-hero-inner {
    grid-template-columns: 1fr;
    gap: var(--s-8);
  }
  .vsi-pricing-card {
    position: static;
    max-width: 560px;
  }
}

@media (max-width: 960px) {
  .vsi-biy-card {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .vsi-biy-stats {
    flex-direction: row;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-sub);
    padding-top: var(--s-5);
    gap: var(--s-6);
  }
  .vsi-biy-stat {
    border-bottom: none;
    padding: 0;
  }
}

@media (max-width: 900px) {
  .vsi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .vsi-talk {
    flex-direction: column;
    align-items: flex-start;
  }
  .vsi-talk-ctas {
    width: 100%;
  }
  .vsi-talk-ctas .btn {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .vsi-hero-pills {
    gap: var(--s-2);
  }
  .vsi-pill {
    font-size: var(--t-caption);
  }
  .vsi-grid {
    grid-template-columns: 1fr;
  }
  .vsi-biy-card {
    padding: var(--s-6) var(--s-6);
  }
  .vsi-biy-stats {
    flex-direction: column;
    gap: var(--s-3);
  }
  .vsi-biy-stat {
    border-bottom: 1px solid var(--border-sub);
    padding-bottom: var(--s-3);
  }
  .vsi-jumpnav-label {
    width: 100%;
    margin-bottom: var(--s-1);
  }
}
