/* ============================================================
   vibeship.eu — comparison hub + competitor pages
   Extends the shared dark devtool system in styles.css.
   ============================================================ */

.compare-main {
  overflow: hidden;
}

.compare-hero {
  padding: 88px 0 64px;
  position: relative;
}

.compare-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -210px;
  top: -210px;
  border: 1px solid rgba(124, 92, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(124, 92, 255, 0.025),
    0 0 0 180px rgba(91, 141, 239, 0.018);
  pointer-events: none;
}

.compare-kicker,
.compare-updated,
.product-label,
.table-kicker {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.compare-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
}

.compare-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(124, 92, 255, 0.85);
}

.compare-hero h1 {
  max-width: 15ch;
  margin: 0 0 22px;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.compare-hero h1 .grad {
  background: linear-gradient(120deg, #fff 10%, #aa95ff 60%, #6ea2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.compare-hero .lede {
  max-width: 67ch;
  margin: 0 0 30px;
  color: var(--text-dim);
  font-size: 19px;
  text-wrap: pretty;
}

.compare-hero .lede strong {
  color: var(--text);
  font-weight: 600;
}

.compare-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.compare-updated {
  margin-top: 22px;
  color: var(--text-mute);
  font-size: 11px;
}

.compare-section {
  padding: 76px 0;
  border-top: 1px solid var(--border);
}

.compare-section h2 {
  max-width: 18ch;
  margin: 0 0 12px;
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.compare-section > .wrap > p,
.compare-section .section-intro {
  max-width: 65ch;
  margin: 0 0 38px;
  color: var(--text-dim);
  font-size: 17px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card,
.decision-card,
.fit-card,
.use-together,
.fact-card {
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: var(--radius);
}

.product-card {
  min-height: 330px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 92, 255, 0.48);
  background: rgba(124, 92, 255, 0.035);
}

.product-card.vibeship {
  border-color: rgba(124, 92, 255, 0.48);
  box-shadow: 0 18px 60px -38px rgba(124, 92, 255, 0.75);
}

.product-label {
  margin-bottom: 15px;
  color: var(--text-mute);
  font-size: 11px;
}

.product-card.vibeship .product-label {
  color: var(--accent);
}

.product-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--border-2);
  border-radius: 9px;
  background: var(--code-bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.product-card.vibeship .product-mark {
  border-color: rgba(124, 92, 255, 0.5);
  color: #b8a8ff;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.product-card p {
  margin: 0 0 22px;
  color: var(--text-dim);
  font-size: 14px;
}

.product-card .best-for {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
}

.product-card .best-for strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card .text-link,
.source-list a,
.inline-link {
  color: #aa95ff;
}

.product-card .text-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
}

.product-card .text-link:hover,
.source-list a:hover,
.inline-link:hover {
  color: #c4b8ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.verdict-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
  margin: 0 0 34px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.10), rgba(91, 141, 239, 0.035));
  border: 1px solid rgba(124, 92, 255, 0.38);
  border-radius: var(--radius);
}

.verdict-badge {
  min-width: 82px;
  padding: 8px 10px;
  border: 1px solid rgba(124, 92, 255, 0.5);
  border-radius: 6px;
  color: #c4b8ff;
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.verdict-strip p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
}

.verdict-strip strong {
  color: var(--text);
}

.table-shell {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table thead th {
  position: sticky;
  top: 0;
  background: #101014;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.compare-table thead th:first-child {
  color: var(--text-mute);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.compare-table tbody th {
  width: 22%;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

.compare-table td {
  color: var(--text-dim);
  font-size: 13px;
}

.compare-table .featured-col {
  background: rgba(124, 92, 255, 0.035);
}

.status-yes,
.status-partial,
.status-no {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.status-yes::before,
.status-partial::before,
.status-no::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
}

.status-yes::before { background: var(--green); }
.status-partial::before { background: var(--amber); }
.status-no::before { background: var(--text-mute); }

.decision-grid,
.fit-grid,
.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.decision-card,
.fit-card,
.fact-card {
  padding: 24px;
}

.decision-card h3,
.fit-card h3,
.fact-card h3 {
  margin: 0 0 9px;
  font-size: 18px;
}

.decision-card p,
.fit-card p,
.fact-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}

.decision-card .choose {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.use-together {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-color: rgba(124, 92, 255, 0.38);
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.085), rgba(91, 141, 239, 0.025)),
    rgba(255, 255, 255, 0.015);
}

.together-side h3 {
  margin: 0 0 7px;
  font-size: 18px;
}

.together-side p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}

.together-plus {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(124, 92, 255, 0.45);
  border-radius: 50%;
  color: #c4b8ff;
  font-family: var(--mono);
}

.source-note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.source-note h3 {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.source-note p {
  margin: 0 0 12px;
  color: var(--text-mute);
  font-size: 13px;
}

.source-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-dim);
  font-size: 13px;
}

.source-list li + li {
  margin-top: 7px;
}

.compare-cta {
  padding: 78px 0;
  border-top: 1px solid var(--border);
}

.compare-cta-inner {
  padding: 44px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.12), rgba(91, 141, 239, 0.045));
  border: 1px solid rgba(124, 92, 255, 0.42);
  border-radius: var(--radius);
  text-align: center;
}

.compare-cta-inner h2 {
  max-width: none;
  margin: 0 0 12px;
}

.compare-cta-inner p {
  max-width: 62ch;
  margin: 0 auto 24px;
  color: var(--text-dim);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  color: var(--text-mute);
  font-family: var(--mono);
  font-size: 11px;
}

.breadcrumbs a:hover {
  color: var(--text-dim);
}

.breadcrumbs span::before {
  content: "/";
  margin-right: 8px;
  color: var(--border-2);
}

.disclosure {
  padding: 13px 16px;
  margin-top: 28px;
  border-left: 2px solid var(--border-2);
  color: var(--text-mute);
  font-size: 12px;
}

.disclosure strong {
  color: var(--text-dim);
}

@media (max-width: 880px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .use-together {
    grid-template-columns: 1fr;
  }

  .together-plus {
    transform: rotate(90deg);
  }
}

@media (max-width: 760px) {
  .compare-hero {
    padding: 58px 0 46px;
  }

  .compare-hero::after {
    display: none;
  }

  .compare-section,
  .compare-cta {
    padding: 54px 0;
  }

  .compare-hero .lede {
    font-size: 17px;
  }

  .decision-grid,
  .fit-grid,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .verdict-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .verdict-badge {
    width: fit-content;
  }

  .compare-cta-inner,
  .use-together {
    padding: 26px 22px;
  }

  .compare-actions .btn {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .btn {
    transition: none;
  }

  .product-card:hover {
    transform: none;
  }
}
