/* ============================================================
   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);
}

/* Pill strip */
.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;
}


/* ── Yurbi positioning card (hero right) ── */
.vsi-yurbi-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-yurbi-head {
  background: var(--green);
  padding: var(--s-4) var(--s-6);
  display: flex;
  align-items: center;
  gap: var(--s-2);
  -webkit-font-smoothing: antialiased;
}

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

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

.vsi-yurbi-row {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-6);
  border-bottom: 1px solid var(--border-sub);
  transition: background 0.12s;
}

.vsi-yurbi-row:hover { background: var(--green-soft); }

.vsi-yurbi-icon {
  width: 34px;
  height: 34px;
  background: var(--green-soft);
  border: 1px solid var(--green-border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.vsi-yurbi-icon svg {
  width: 17px;
  height: 17px;
  color: var(--green);
}

.vsi-yurbi-content { flex: 1; min-width: 0; }

.vsi-yurbi-content strong {
  display: block;
  font-size: var(--t-sm);
  font-weight: var(--w-bold);
  color: var(--text);
  margin-bottom: 2px;
  line-height: var(--lh-snug);
}

.vsi-yurbi-content span {
  font-size: var(--t-caption);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

.vsi-yurbi-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-6);
  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-yurbi-cta:hover { background: var(--green-hover); }

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


/* ── All comparisons section heading ── */
.vsi-comparisons-heading {
  font-size: var(--t-sm);
  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-caption);
  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);
}

/* Stats column */
.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-caption);
  color: var(--text-muted);
  font-weight: var(--w-medium);
  white-space: nowrap;
}


/* ── Category section 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-sub {
  font-size: var(--t-sm);
  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);
}

.vsi-card-tagline {
  font-size: var(--t-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--s-3);
}

/* The sharp one-liner — replaces the gray attack box */
.vsi-card-line {
  font-size: var(--t-sm);
  color: var(--text-sec);
  line-height: var(--lh-relaxed);
  flex: 1;
  padding-left: var(--s-3);
  border-left: 2px solid var(--blue-soft2);
  margin-bottom: var(--s-4);
  font-style: italic;
}

.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);
}


/* ── Pricing calculator block ── */
.vsi-calc-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-10);
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-xl);
  padding: var(--s-10) var(--s-12);
  margin-bottom: var(--s-4);
}

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

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

.vsi-calc-preview {
  background: var(--bg);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-lg);
  padding: var(--s-5) var(--s-6);
}

.vsi-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--border-sub);
  font-size: var(--t-sm);
}

.vsi-calc-row:last-of-type {
  border-bottom: none;
  font-weight: var(--w-bold);
  color: var(--text);
  font-size: var(--t-base);
  padding-top: var(--s-4);
}

.vsi-calc-plan { color: var(--text-muted); }

.vsi-calc-price {
  font-weight: var(--w-semibold);
  color: var(--text);
}

.vsi-calc-note {
  font-size: var(--t-caption);
  color: var(--text-muted);
  margin-top: var(--s-4);
  text-align: center;
  border-top: 1px solid var(--border-sub);
  padding-top: var(--s-3);
}


/* ── 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-sm);
  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-yurbi-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); }
  .vsi-calc-block   { grid-template-columns: 1fr; }
}

@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-calc-block   { padding: var(--s-8); }
  .vsi-anchor       { padding: var(--s-8); }
}
