/*
 * vs.css — conversiegerichte vs-pagina's (templates/page-vs.php).
 * Bouwt voort op home.css (kpi's, flows, voordelen, stappen, prijzen, faq, eind-cta);
 * hier staan alleen de onderdelen die alleen op vs-pagina's voorkomen.
 * Alles onder .is-vs; geen eigen merk-kleuren, fonts of radii (tokens uit tokens-base /
 * tokens-instantfilter / home.css).
 *
 * Breakpoints (zelfde als de rest van de site): 1100 / 991 / 767 / 478.
 */

/* Gedeelde status-iconen (vergelijkingstabel + kies/blijf) -------------------- */

.is-vs .is-vs-ico {
	display: inline-grid;
	place-items: center;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	font-size: 14px;
	line-height: 1;
}

.is-vs .is-vs-ico--yes {
	color: var(--grad-from);
	background: rgba(128, 232, 97, 0.14);
}

.is-vs .is-vs-ico--no {
	color: var(--text-subtle);
	background: var(--surface-elev-2);
}

.is-vs .is-vs-ico--neutral {
	color: var(--text-subtle);
	background: var(--surface-elev-2);
	font-weight: 700;
}

/* Hero --------------------------------------------------------------------- */

@media (max-width: 767px) {
	/*
	 * Mobiele hero: pill en titel hoger, ruime afstanden tussen de blokken, en de
	 * benchmark-kaart begint pas aan de vouw (alleen een randje als scroll-hint),
	 * zodat de eerste viewport rustig blijft: pill, titel, uitleg, knoppen, trust.
	 */
	.is-vs .is-vs-hero.is-home-hero {
		padding-top: calc(var(--header-height, 68px) + var(--space-4));
	}

	.is-vs .is-vs-hero .is-home-hero__grid {
		gap: var(--space-7);
	}

	/* 84px hero-padding + 48px grid-gap + ~100px zichtbaar deel van de kaart = 232px */
	.is-vs .is-vs-hero .is-home-hero__copy {
		min-height: calc(100vh - 232px);
		min-height: calc(100svh - 232px);
	}

	.is-vs .is-vs-hero .is-vs-badge {
		max-width: 100%;
		margin-bottom: var(--space-5);
		padding: 6px 12px;
		font-size: 12px;
	}

	.is-vs .is-vs-hero .is-home-hero__title {
		font-size: clamp(32px, 9.4vw, 38px);
		line-height: 1.1;
		margin-bottom: var(--space-5);
	}

	.is-vs .is-vs-hero .is-home-hero__lead {
		margin-bottom: var(--space-7);
	}
}


.is-vs .is-vs-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 var(--space-5);
	padding: 7px 14px;
	border-radius: var(--radius-pill);
	background: var(--home-glass-strong);
	border: 1px solid var(--border);
	font-size: var(--fs-small);
	font-weight: 600;
	line-height: 1.2;
}

.is-vs .is-vs-badge svg {
	color: var(--grad-from);
	flex-shrink: 0;
}

.is-vs .is-vs-bench {
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	padding: var(--space-6);
	border-radius: var(--radius-lg);
	background: var(--home-panel);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: var(--shadow-lg);
}

.is-vs .is-vs-bench__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
}

.is-vs .is-vs-bench__title svg {
	color: var(--grad-from);
}

.is-vs .is-vs-bench__row {
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}

.is-vs .is-vs-bench__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
}

.is-vs .is-vs-bench__who {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: var(--text-muted);
}

.is-vs .is-vs-bench__row--if .is-vs-bench__who {
	color: var(--text);
}

.is-vs .is-vs-bench__row--if .is-vs-bench__who svg {
	color: var(--grad-from);
}

.is-vs .is-vs-bench__time {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	white-space: nowrap;
}

.is-vs .is-vs-bench__row small {
	font-size: 13px;
	color: var(--text-subtle);
}

.is-vs .is-vs-bench__source {
	margin: 0;
	padding-top: var(--space-4);
	border-top: 1px solid var(--border);
	font-size: 13px;
	color: var(--text-subtle);
}

/* Vergelijkingstabel ------------------------------------------------------- */

.is-vs .is-vs-table {
	max-width: 1000px;
	margin-inline: auto;
	border-radius: var(--radius-lg);
	background: var(--home-panel);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}

.is-vs .is-vs-table table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	margin: 0;
}

.is-vs .is-vs-table__caption {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.is-vs .is-vs-table th,
.is-vs .is-vs-table td {
	padding: var(--space-4) var(--space-5);
	text-align: left;
	vertical-align: middle;
	border: 0;
	background: transparent;
}

.is-vs .is-vs-table .is-vs-table__feature {
	width: 28%;
}

.is-vs .is-vs-table thead th {
	padding-block: var(--space-5);
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 700;
}

.is-vs .is-vs-table thead .is-vs-table__feature {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-subtle);
}

.is-vs .is-vs-table tbody th {
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
}

/* Gemarkeerde InstantFilter-kolom */
.is-vs .is-vs-table .is-vs-table__if {
	background: var(--home-glass-strong);
}

.is-vs .is-vs-table__brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: var(--space-2);
}

.is-vs .is-vs-table__mark {
	display: inline-flex;
	height: 20px;
}

.is-vs .is-vs-table__mark svg {
	height: 100%;
	width: auto;
}

.is-vs .is-vs-table tbody td {
	font-size: 15px;
}

.is-vs .is-vs-table tbody td > span:last-child {
	margin-left: var(--space-3);
}

.is-vs .is-vs-table tbody tr + tr > * {
	border-top: 1px solid var(--border);
}

.is-vs .is-vs-table tfoot td {
	padding-top: var(--space-5);
	padding-bottom: var(--space-5);
}

.is-vs .is-vs-table__cta {
	text-align: center;
}

.is-vs .is-vs-table__cta .is-btn-primary {
	display: flex;
	justify-content: center;
	width: 100%;
}

.is-vs .is-vs-table__cta small {
	display: block;
	margin-top: var(--space-2);
	font-size: 13px;
	color: var(--text-subtle);
}

@media (max-width: 767px) {
	/*
	 * Mobiel: twee kolommen naast elkaar (InstantFilter | concurrent) met één
	 * plakkende kop. Per kenmerk eerst een kopregel over de volle breedte, daaronder
	 * de twee waarden (icoon boven, tekst eronder). De InstantFilter-kolom loopt als
	 * kleurbaan door, zodat altijd duidelijk is wat bij wie hoort.
	 */
	.is-vs .is-vs-table {
		/* clip i.p.v. hidden: behoudt de afgeronde hoeken maar laat position: sticky werken */
		overflow: clip;
	}

	.is-vs .is-vs-table table,
	.is-vs .is-vs-table tbody,
	.is-vs .is-vs-table tfoot {
		display: block;
		width: 100%;
	}

	/* Plakkende kolomkop */
	.is-vs .is-vs-table thead {
		display: block;
		position: sticky;
		top: calc(var(--header-height-scrolled, 58px) - 1px); /* header is gekrompen zodra er gescrold is */
		z-index: 2;
		background: #0d0128; /* volledig dekkend: rijen mogen er niet doorheen schemeren */
		border-bottom: 1px solid var(--border);
		box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
	}

	.is-vs .is-vs-table thead tr,
	.is-vs .is-vs-table tbody tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.is-vs .is-vs-table thead .is-vs-table__feature {
		display: none;
	}

	.is-vs .is-vs-table thead th {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 6px;
		width: auto;
		padding: var(--space-3) var(--space-4);
		font-size: 15px;
		line-height: 1.2;
	}

	.is-vs .is-vs-table thead .is-vs-table__brand {
		margin-right: 0;
	}

	/* Kenmerk als kopregel over beide kolommen */
	.is-vs .is-vs-table tbody tr {
		border-top: 1px solid var(--border);
	}

	.is-vs .is-vs-table tbody tr:first-child {
		border-top: 0;
	}

	.is-vs .is-vs-table tbody tr + tr > * {
		border-top: 0;
	}

	.is-vs .is-vs-table tbody th.is-vs-table__feature {
		display: block;
		grid-column: 1 / -1;
		width: 100%;
		padding: var(--space-3) var(--space-4) var(--space-2);
		font-size: 14px;
		line-height: 1.3;
		background: var(--home-glass);
	}

	/* Waarde: icoon boven, tekst eronder, in de eigen kolom */
	.is-vs .is-vs-table tbody td {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-2);
		width: auto;
		padding: var(--space-3) var(--space-4) var(--space-4);
		font-size: 14px;
		line-height: 1.4;
	}

	.is-vs .is-vs-table tbody td::before {
		content: none;
	}

	.is-vs .is-vs-table tbody td > span:last-child {
		margin-left: 0;
	}

	/* Scheiding tussen de twee kolommen */
	.is-vs .is-vs-table tbody .is-vs-table__them,
	.is-vs .is-vs-table thead .is-vs-table__them {
		border-left: 1px solid var(--border);
	}

	/* CTA onderaan: alleen onder de InstantFilter-kolom, over de volle breedte */
	.is-vs .is-vs-table tfoot tr {
		display: block;
	}

	.is-vs .is-vs-table tfoot .is-vs-table__feature,
	.is-vs .is-vs-table tfoot .is-vs-table__them {
		display: none;
	}

	.is-vs .is-vs-table tfoot td {
		display: block;
		width: 100%;
		padding: var(--space-4);
		border-top: 1px solid var(--border);
	}
}

/* Demo-link onder de flows -------------------------------------------------- */

.is-vs .is-vs-demo-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--space-4);
	margin-top: var(--space-7);
	color: var(--text-muted);
}

@media (max-width: 478px) {
	.is-vs .is-vs-demo-cta .is-btn-secondary {
		width: 100%;
	}
}

/* Kies InstantFilter / Blijf bij concurrent ----------------------------------- */

.is-vs .is-vs-choose {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: var(--space-6);
	align-items: start;
}

.is-vs .is-vs-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
	padding: var(--space-7) var(--space-6);
	border-radius: var(--radius-lg);
}

.is-vs .is-vs-panel h3 {
	margin: 0;
	font-size: clamp(22px, 2.2vw, 28px);
}

.is-vs .is-vs-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: var(--space-3);
}

.is-vs .is-vs-panel__list {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.is-vs .is-vs-panel__list li {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	line-height: 1.4;
}

/* Aanbevolen kaart: gradient-rand + glow (zelfde mask-trick als .is-flow--hl). */
.is-vs .is-vs-panel--hl {
	background: var(--home-glass-strong);
	box-shadow: 0 0 60px rgba(80, 16, 184, 0.45);
}

.is-vs .is-vs-panel--hl::before {
	content: "";
	position: absolute;
	inset: 0;
	padding: 1px;
	border-radius: inherit;
	background: var(--brand-gradient);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.is-vs .is-vs-panel__cta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--space-4);
	margin-top: var(--space-2);
}

.is-vs .is-vs-panel__cta small {
	font-size: 13px;
	color: var(--text-subtle);
}

/* Muted kaart: bewust wat terughoudend. */
.is-vs .is-vs-panel--muted {
	background: var(--home-panel);
	color: var(--text-muted);
}

.is-vs .is-vs-panel--muted h3 {
	color: var(--text-muted);
	font-size: clamp(20px, 2vw, 24px);
}

.is-vs .is-vs-panel--muted .is-tag {
	gap: 6px;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
}

.is-vs .is-vs-panel__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 22px;
	color: var(--text-subtle);
}

.is-vs .is-vs-panel__note {
	margin: auto 0 0;
	padding-top: var(--space-5);
	border-top: 1px solid var(--border);
	font-size: var(--fs-small);
	color: var(--text-subtle);
}

@media (max-width: 991px) {
	.is-vs .is-vs-choose {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 478px) {
	.is-vs .is-vs-panel {
		padding: var(--space-6) var(--space-4);
	}

	.is-vs .is-vs-panel__cta .is-btn-primary {
		width: 100%;
	}
}

/* Stappen met pijltjes ertussen (desktop) ------------------------------------ */

@media (min-width: 992px) {
	.is-vs .is-steps {
		gap: var(--space-6);
	}

	.is-vs .is-steps > li {
		position: relative;
	}

	.is-vs .is-steps > li:not(:last-child)::after {
		content: "\2192";
		position: absolute;
		top: 50%;
		right: calc(-1 * var(--space-6));
		width: var(--space-6);
		text-align: center;
		transform: translateY(-50%);
		color: var(--text-subtle);
		font-size: 18px;
		line-height: 1;
	}
}

/* SEO-achtergrond (ingetogen; lange tekst inklapbaar) ------------------------ */

.is-vs .is-vs-seo__prose {
	margin-inline: auto;
}

.is-vs .is-vs-seo__prose > h2 {
	font-size: clamp(22px, 2.2vw, 28px);
}

.is-vs .is-vs-seo__prose .is-prose__lead {
	color: var(--text-muted);
}

.is-vs .is-vs-seo__more {
	margin-top: var(--space-5);
}

.is-vs .is-vs-seo__more > summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	list-style: none;
	width: fit-content;
	font-weight: 600;
	color: var(--text);
	border-bottom: 1px solid var(--border-strong);
	padding-bottom: 2px;
	transition: border-color var(--dur-base) var(--ease);
}

.is-vs .is-vs-seo__more > summary::-webkit-details-marker {
	display: none;
}

.is-vs .is-vs-seo__more > summary:hover {
	border-color: var(--grad-to);
}

.is-vs .is-vs-seo__more > summary svg {
	flex-shrink: 0;
	transition: transform var(--dur-base) var(--ease);
}

.is-vs .is-vs-seo__more[open] > summary svg {
	transform: rotate(180deg);
}

.is-vs .is-vs-seo__body {
	margin-top: var(--space-5);
}

.is-vs .is-vs-seo__body h3 {
	font-size: clamp(17px, 1.6vw, 20px);
}

.is-vs .is-vs-seo__body a {
	border-bottom: 1px solid var(--border-strong);
}

.is-vs .is-vs-seo__body a:hover {
	border-color: var(--grad-to);
}

/* Reviews (alleen zichtbaar met echte quotes) -------------------------------- */

.is-vs .is-vs-quotes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--home-gap);
}

.is-vs .is-vs-quote {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: var(--space-5);
}

.is-vs .is-vs-quote blockquote {
	margin: 0;
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.45;
}

.is-vs .is-vs-quote figcaption {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.is-vs .is-vs-quote small {
	color: var(--text-subtle);
}

@media (max-width: 767px) {
	.is-vs .is-vs-quotes {
		grid-template-columns: minmax(0, 1fr);
	}
}
