/* ==========================================================================
   TextCRM Value Props Widget
   Mirrors demo-html/home page.html → "Real Benefits. Real Growth. /
   How Your Business Wins" section (data-purpose="value-propositions").
   ========================================================================== */

.textcrm-value-props {
	position: relative;
	width: 100%;
	padding-top: 96px;                 /* py-24 */
	padding-bottom: 96px;
	/* Reference uses bg-[#131b2e]/50 over bg-[#0b1326]; the resulting solid color
	   is #0f172a. We use the solid result so the section never washes out on
	   pages with a non-dark body background. */
	background-color: #0f172a;
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: #f3f4f6;
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;

	/* Tunables driven by the Style tab. */
	--vp-card-bg: rgba(255, 255, 255, 0.03);
	--vp-card-border: rgba(255, 255, 255, 0.05);
	--vp-card-border-hover: rgba(0, 245, 160, 0.3);
	--vp-card-radius: 16px;
	--vp-card-padding: 32px;
	--vp-card-blur: 10px;
	--vp-icon-size: 48px;
	--vp-icon-radius: 8px;
	--vp-icon-inner: 24px;
	--vp-icon-bg-pct: 10%;
	--vp-icon-hover-scale: 1.1;
	--vp-transition: 250ms;
}

.textcrm-value-props *,
.textcrm-value-props *::before,
.textcrm-value-props *::after {
	box-sizing: border-box;
}

.textcrm-value-props__container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* --------------------------------------------------------------------------
   Header (eyebrow + heading)
   -------------------------------------------------------------------------- */
.textcrm-value-props__header {
	text-align: center;
	margin-bottom: 64px;              /* mb-16 */
}

.textcrm-value-props__eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 16px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #00f5a0;
}

.textcrm-value-props__eyebrow-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: currentColor;
}

.textcrm-value-props__eyebrow-icon svg,
.textcrm-value-props__eyebrow-icon i {
	width: 100%;
	height: 100%;
	font-size: 16px;
	line-height: 1;
}

.textcrm-value-props__title {
	margin: 0;
	font-size: 36px;                  /* text-4xl */
	line-height: 1.1;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: -0.01em;
}

.textcrm-value-props__title-accent {
	color: #00f5a0;
}

/* --------------------------------------------------------------------------
   Grid
   -------------------------------------------------------------------------- */
.textcrm-value-props__grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 24px;                        /* gap-6 */
}

/* --------------------------------------------------------------------------
   Card
   -------------------------------------------------------------------------- */
.textcrm-value-props__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: var(--vp-card-padding, 32px);
	background: var(--vp-card-bg, rgba(255, 255, 255, 0.03));
	border: 1px solid var(--vp-card-border, rgba(255, 255, 255, 0.05));
	border-radius: var(--vp-card-radius, 16px);
	backdrop-filter: blur(var(--vp-card-blur, 10px));
	-webkit-backdrop-filter: blur(var(--vp-card-blur, 10px));
	text-decoration: none;
	color: inherit;
	transition:
		border-color var(--vp-transition, 250ms) ease,
		background-color var(--vp-transition, 250ms) ease,
		transform var(--vp-transition, 250ms) ease;
}

.textcrm-value-props__card:hover,
.textcrm-value-props__card:focus-visible {
	border-color: var(--vp-card-border-hover, rgba(0, 245, 160, 0.3));
	outline: none;
}

/* Icon block */
.textcrm-value-props__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--vp-icon-size, 48px);
	height: var(--vp-icon-size, 48px);
	border-radius: var(--vp-icon-radius, 8px);
	margin-bottom: 24px;              /* mb-6 */
	background-color: rgba(0, 245, 160, 0.1); /* fallback */
	background-color: color-mix(in srgb, var(--vp-icon-color, #00f5a0) var(--vp-icon-bg-pct, 10%), transparent);
	color: var(--vp-icon-color, #00f5a0);
	transition: transform var(--vp-transition, 250ms) ease;
}

.textcrm-value-props__icon svg {
	display: block;
	width: var(--vp-icon-inner, 24px);
	height: var(--vp-icon-inner, 24px);
	color: currentColor;
}

.textcrm-value-props__icon i {
	font-size: var(--vp-icon-inner, 24px);
	line-height: 1;
	color: currentColor;
}

.textcrm-value-props__card:hover .textcrm-value-props__icon,
.textcrm-value-props__card:focus-visible .textcrm-value-props__icon {
	transform: scale(var(--vp-icon-hover-scale, 1.1));
}

/* Card text */
.textcrm-value-props__card-title {
	margin: 0 0 12px;                 /* mb-3 */
	font-size: 20px;                  /* text-xl */
	line-height: 1.3;
	font-weight: 700;
	color: #ffffff;
}

.textcrm-value-props__card-desc {
	margin: 0 0 24px;                 /* mb-6 */
	font-size: 14px;                  /* text-sm */
	line-height: 1.6;                 /* leading-relaxed */
	color: #9ca3af;                   /* text-gray-400 */
}

.textcrm-value-props__stat {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;                 /* pin to bottom on equal-height cards */
	font-size: 12px;                  /* text-xs */
	font-weight: 700;
	color: #00f5a0;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	line-height: 1.4;
}

.textcrm-value-props__stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	color: currentColor;
}

.textcrm-value-props__stat-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

/* When the card itself is a link, keep heading/desc colors intact. */
a.textcrm-value-props__card,
a.textcrm-value-props__card:visited {
	color: inherit;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

/* sm+ → 2 columns */
@media (min-width: 640px) {
	.textcrm-value-props__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* md+ → 4 columns + larger heading (matches md:grid-cols-4 / md:text-5xl) */
@media (min-width: 768px) {
	.textcrm-value-props__title {
		font-size: 48px;
	}
	.textcrm-value-props__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Phones — tighten padding */
@media (max-width: 480px) {
	.textcrm-value-props {
		padding-top: 64px;
		padding-bottom: 64px;
	}
	.textcrm-value-props__container {
		padding-left: 16px;
		padding-right: 16px;
	}
	.textcrm-value-props__title {
		font-size: 30px;
	}
	.textcrm-value-props__header {
		margin-bottom: 48px;
	}
	.textcrm-value-props {
		--vp-card-padding: 24px;
	}
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.textcrm-value-props__card,
	.textcrm-value-props__icon {
		transition: none;
	}
}
