/**
 * biz.nl — feature-v2.css
 *
 * Adds layout + polish for the expanded feature detail pages. Loaded by
 * biznl_assets() on any page whose slug matches a feature. Sits on top of
 * site-v2.css so it can rely on the shared design tokens
 * (--primary, --muted, --text, spacing scale, cards, buttons).
 */

/* ============================================================
 * SECTION 1 — Intro (hook + long-intro paragraphs)
 * ==========================================================*/
.feat-intro {
	padding-top: 3rem;
	padding-bottom: 3rem;
}
.feat-intro__hook {
	max-width: 46rem;
	margin: 0 auto 1.75rem;
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(1.35rem, 2.4vw, 1.8rem);
	line-height: 1.4;
	text-align: center;
	color: var(--text, #111827);
	font-weight: 500;
	letter-spacing: -0.01em;
}
.feat-intro__body {
	max-width: 44rem;
	margin: 0 auto;
	text-align: center;
}
.feat-intro__body p {
	font-size: 1.15rem;
	line-height: 1.75;
	color: #2a3038;
	margin-bottom: 1.25rem;
	font-weight: 400;
}
.feat-intro__body p:last-child { margin-bottom: 0; }
.feat-intro__cta {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 2rem;
}

/* ============================================================
 * SECTION 2 — Capability showcases (alternating zebra blocks)
 * ==========================================================*/
.feat-showcase-wrap { padding-bottom: 0; }
.feat-showcase {
	padding: 4.5rem 0;
	border-top: 1px solid color-mix(in srgb, var(--text, #111827) 6%, transparent);
}
.feat-showcase:first-of-type { border-top: 0; padding-top: 3rem; }

.feat-showcase__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}
.feat-showcase--reverse .feat-showcase__grid {
	direction: rtl;
}
.feat-showcase--reverse .feat-showcase__grid > * {
	direction: ltr;
}

.feat-showcase__eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--primary, #4353FF);
	margin-bottom: 0.75rem;
}
.feat-showcase__title {
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(1.6rem, 2.8vw, 2.35rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-weight: 500;
	margin: 0 0 1.25rem;
	color: var(--text, #111827);
}
.feat-showcase__text {
	font-size: 1.075rem;
	line-height: 1.7;
	color: #2a3038;
	margin-bottom: 1.5rem;
}
.feat-showcase__list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.feat-showcase__list li {
	display: flex;
	gap: 0.75rem;
	padding: 0.5rem 0;
	font-size: 1rem;
	line-height: 1.55;
	color: #1a1f26;
	font-weight: 500;
}
.feat-showcase__list li svg,
.feat-showcase__list li .icon {
	flex-shrink: 0;
	color: var(--primary, #4353FF);
	margin-top: 0.15rem;
}

/* Visual mock block on the other side */
.feat-showcase__art {
	position: relative;
	aspect-ratio: 4 / 3;
}
.feat-showcase__mock {
	position: relative;
	height: 100%;
	background: linear-gradient(160deg,
		color-mix(in srgb, var(--primary, #4353FF) 12%, #fff),
		color-mix(in srgb, var(--primary, #4353FF) 3%, #fff));
	border: 1px solid color-mix(in srgb, var(--primary, #4353FF) 20%, transparent);
	border-radius: 20px;
	box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--primary, #4353FF) 30%, transparent);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.feat-showcase__mock-bar {
	display: flex;
	gap: 0.4rem;
	padding: 0.75rem 1rem;
	background: rgba(255,255,255,0.5);
	border-bottom: 1px solid color-mix(in srgb, var(--primary, #4353FF) 10%, transparent);
}
.feat-showcase__mock-bar span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--primary, #4353FF) 25%, #fff);
}
.feat-showcase__mock-bar span:first-child { background: #ff5f57; opacity: 0.6; }
.feat-showcase__mock-bar span:nth-child(2) { background: #febc2e; opacity: 0.6; }
.feat-showcase__mock-bar span:nth-child(3) { background: #28c840; opacity: 0.6; }
.feat-showcase__mock-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 2rem;
	text-align: center;
}
.feat-showcase__mock-body .icon-tile {
	background: #fff;
	box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--primary, #4353FF) 40%, transparent);
}
.feat-showcase__mock-label {
	font-weight: 700;
	font-size: 1rem;
	color: var(--text, #111827);
	letter-spacing: -0.01em;
}
.feat-showcase__mock-lines {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	width: 80%;
	max-width: 220px;
	margin-top: 0.5rem;
}
.feat-showcase__mock-line {
	height: 6px;
	background: rgba(255,255,255,0.7);
	border-radius: 3px;
}
.feat-showcase__mock-line:nth-child(2) { width: 85%; }
.feat-showcase__mock-line:nth-child(3) { width: 65%; }

/* ============================================================
 * SECTION 3 — Steps grid (4-up)
 * ==========================================================*/
.feat-steps.grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}
.feat-step {
	position: relative;
	padding: 1.5rem;
}
.feat-step__n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--primary, #4353FF) 15%, #fff);
	color: var(--primary, #4353FF);
	font-weight: 800;
	font-size: 0.95rem;
	margin-bottom: 1rem;
}
.feat-step h3 {
	font-size: 1.05rem;
	font-weight: 800;
	margin: 0 0 0.5rem;
	color: var(--text, #111827);
}

/* ============================================================
 * SECTION 4 — Pillars (2x2 quality/trust grid)
 * ==========================================================*/
.feat-pillars__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem 3rem;
	margin-top: 3rem;
}
.feat-pillar {
	display: flex;
	gap: 1.25rem;
	padding: 1.5rem 0;
	border-top: 1px solid color-mix(in srgb, var(--text, #111827) 8%, transparent);
}
.feat-pillar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 12px;
	background: color-mix(in srgb, var(--primary, #4353FF) 12%, transparent);
	color: var(--primary, #4353FF);
}
.feat-pillar__title {
	font-size: 1.15rem;
	font-weight: 800;
	margin: 0 0 0.35rem;
	color: var(--text, #111827);
	letter-spacing: -0.01em;
}
.feat-pillar__text {
	font-size: 0.98rem;
	line-height: 1.6;
	color: #3a424c;
	margin: 0;
}

/* ============================================================
 * SECTION 5 — Included proof line
 * ==========================================================*/
.feat-included__proof {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
	padding: 0.65rem 1rem;
	background: color-mix(in srgb, var(--primary, #4353FF) 10%, transparent);
	border-radius: 999px;
	font-size: 0.92rem;
	color: var(--primary, #4353FF);
	font-weight: 600;
}
.feat-included__proof svg,
.feat-included__proof .icon { color: var(--primary, #4353FF); }

/* ============================================================
 * SECTION 6 — Use cases (3 persona cards)
 * ==========================================================*/
.feat-usecase {
	position: relative;
	padding: 1.75rem 1.5rem;
}
.feat-usecase__badge {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--primary, #4353FF);
	background: color-mix(in srgb, var(--primary, #4353FF) 12%, transparent);
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
}
.feat-usecase h3 {
	font-size: 1.15rem;
	font-weight: 800;
	margin: 0 0 0.5rem;
	color: var(--text, #111827);
}

/* ============================================================
 * SECTION 7 — FAQ (narrow container, more room per Q/A)
 * ==========================================================*/
.container--narrow { max-width: 780px; }
.feat-faq__list details {
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--text, #111827) 10%, transparent);
	border-radius: 12px;
	margin-bottom: 0.75rem;
	transition: border-color 0.15s ease;
}
.feat-faq__list details[open] {
	border-color: color-mix(in srgb, var(--primary, #4353FF) 40%, transparent);
}
.feat-faq__list summary {
	cursor: pointer;
	padding: 1.25rem 1.5rem;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-weight: 600;
	font-size: 1rem;
	color: var(--text, #111827);
}
.feat-faq__list summary::-webkit-details-marker { display: none; }
.feat-faq__list summary::after {
	content: "+";
	margin-left: auto;
	font-size: 1.4rem;
	font-weight: 300;
	color: var(--primary, #4353FF);
	transition: transform 0.15s ease;
}
.feat-faq__list details[open] summary::after {
	content: "−";
}
.faq__q-icon { color: var(--primary, #4353FF); display: inline-flex; }
.faq__answer {
	padding: 0 1.5rem 1.5rem 3.25rem;
	color: #3a424c;
	line-height: 1.7;
	font-size: 0.98rem;
}
.feat-faq__more { font-size: 0.95rem; }
.feat-faq__more a {
	color: var(--primary, #4353FF);
	font-weight: 600;
	text-decoration: none;
	margin-left: 0.25rem;
}
.feat-faq__more a:hover { text-decoration: underline; }

/* ============================================================
 * SECTION 8 — Final CTA meta line
 * ==========================================================*/
.feat-cta__meta {
	font-size: 0.9rem !important;
	color: color-mix(in srgb, #fff 55%, transparent) !important;
}

/* ============================================================
 * SECTION 9 — Readability overrides (scoped to feature sections)
 *
 * The site-wide .text-muted class is a light gray that works for
 * small meta text but is too pale for body paragraphs in cards.
 * We darken it only inside feature-page sections so nothing else
 * on the site is affected.
 * ==========================================================*/
.feat-steps .text-muted,
.feat-benefits .text-muted,
.feat-usecases .text-muted,
.feat-included .text-muted,
.feat-pillars .text-muted,
.feat-faq .text-muted,
.feat-related .text-muted {
	color: #3a424c !important;
}

/* Card body text: give paragraphs inside step/benefit/usecase cards
 * a slightly bigger, better-leaded body scale. */
.feat-step p,
.feat-benefit p,
.feat-usecase p {
	font-size: 0.98rem;
	line-height: 1.6;
}

/* Section eyebrow labels ("hoe werkt het", "voorbeelden" etc.)
 * that render above the section titles should also be readable. */
.feat-showcase-wrap + section .text-muted,
section.section .text-muted {
	color: #3a424c;
}

/* FAQ answer text was still a hair light against white cards. */
.faq__answer { color: #2a3038; }

/* Step numbers and titles: make the label sit stronger. */
.feat-step h3 { font-size: 1.1rem; }
.feat-step__n {
	width: 36px;
	height: 36px;
	font-size: 1rem;
}

/* Pillar/usecase headings — bump one size up. */
.feat-pillar__title,
.feat-usecase h3 { font-size: 1.2rem; }

/* ============================================================
 * RESPONSIVE
 * ==========================================================*/
@media (max-width: 960px) {
	.feat-showcase { padding: 3rem 0; }
	.feat-showcase__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.feat-showcase--reverse .feat-showcase__grid { direction: ltr; }
	.feat-showcase__art { aspect-ratio: 16 / 10; max-width: 480px; margin: 0 auto; }

	.feat-steps.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.feat-pillars__grid {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}
}

@media (max-width: 640px) {
	.feat-intro { padding-top: 2rem; padding-bottom: 2rem; }
	.feat-intro__hook { font-size: 1.2rem; }
	.feat-intro__cta { flex-direction: column; }
	.feat-intro__cta .btn { width: 100%; justify-content: center; }

	.feat-showcase { padding: 2.5rem 0; }
	.feat-showcase__title { font-size: 1.5rem; }

	.feat-steps.grid-4 { grid-template-columns: 1fr; }

	.feat-pillar { flex-direction: column; gap: 0.75rem; padding: 1.25rem 0; }
	.feat-pillar__icon { width: 40px; height: 40px; }

	.feat-usecase__badge {
		position: static;
		display: inline-block;
		margin-bottom: 0.75rem;
	}

	.faq__answer { padding-left: 1.5rem; }
	.feat-faq__list summary { padding: 1rem 1.25rem; font-size: 0.98rem; }
}