/**
 * Anti-counterfeiting — solutions marquee (ac-solutions)
 */

.se-ac-solutions.bento-section {
	background: var(--color-surface-soft);
	padding-block: var(--section-pad-industry, 120px);
	overflow-x: clip;
	max-width: 100%;
}

.se-ac-solutions .bento-inner {
	max-width: min(1200px, 100%);
	min-width: 0;
}

.se-ac-solutions .bento-header {
	margin-bottom: 56px;
	max-width: 680px;
}

.se-ac-solutions .bento-header .eyebrow {
	color: var(--color-primary);
	margin-bottom: 0.75rem;
}

.se-ac-solutions .bento-header h2 {
	font-family: var(--font-display);
	color: var(--color-ink);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 500;
	margin: 0 0 1rem;
	line-height: 1.15;
}

.se-ac-solutions .bento-header .ac-lede {
	margin: 0;
	font-size: 1.0625rem;
	color: var(--color-ink-soft, rgba(0, 0, 0, 0.6));
	line-height: 1.6;
	font-weight: 400;
}

.se-ac-solutions .bento-slider {
	display: block;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding-block: 40px;
	margin-block: -40px;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

.se-ac-solutions .bento-slider-track {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 1.5rem;
	width: max-content;
	animation: se-ac-marquee 40s linear infinite;
}

.se-ac-solutions .bento-slider-track:hover {
	animation-play-state: paused;
}

@keyframes se-ac-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(calc(-50% - 0.75rem));
	}
}

.se-ac-solutions .bento-card {
	box-sizing: border-box;
	flex: 0 0 300px;
	width: 300px;
	max-width: 300px;
	min-width: 300px;
	background: var(--color-surface);
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 20px;
	padding: 40px 32px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	transform-style: preserve-3d;
}

.se-ac-solutions .bento-card:hover {
	border-color: rgba(107, 98, 172, 0.4);
	box-shadow: 0 16px 40px rgba(15, 15, 37, 0.12);
}

.se-ac-solutions .bento-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: var(--color-primary-soft, rgba(107, 98, 172, 0.08));
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
	margin-bottom: 32px;
}

.se-ac-solutions .bento-icon .icon {
	display: block;
	width: 24px;
	height: 24px;
	max-width: 24px;
	max-height: 24px;
	filter: invert(42%) sepia(18%) saturate(1200%) hue-rotate(210deg) brightness(90%);
}

.se-ac-solutions .bento-title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--color-ink);
	margin: 0 0 12px;
}

.se-ac-solutions .bento-desc {
	font-size: 0.9375rem;
	color: var(--color-ink-soft, rgba(0, 0, 0, 0.6));
	line-height: 1.6;
	margin: 0 0 32px;
	flex: 1;
	font-weight: 400;
}

.se-ac-solutions .bento-impact {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	color: var(--color-primary);
	background: rgba(107, 98, 172, 0.06);
	padding: 8px 16px;
	border-radius: 8px;
	width: fit-content;
	max-width: 100%;
}

.se-ac-solutions .bento-impact .icon {
	display: block;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	flex-shrink: 0;
	color: var(--color-primary);
}

.se-ac-solutions .bento-impact .icon img,
.se-ac-solutions .bento-impact img.icon {
	filter: invert(42%) sepia(18%) saturate(1200%) hue-rotate(210deg) brightness(90%);
}

.se-ac-solutions .bento-cta {
	text-align: center;
	margin-top: 4.5rem;
}

.se-ac-solutions .bento-cta [data-magnetic] {
	display: inline-block;
	will-change: transform;
}

.se-ac-solutions .bento-cta .btn .icon {
	margin-left: 0.35em;
}

@media (max-width: 640px) {
	.se-ac-solutions .bento-cta {
		margin-top: 3.25rem;
	}

	.se-ac-solutions .bento-cta [data-magnetic] {
		transition: none;
		will-change: auto;
	}

	.se-ac-solutions .bento-header {
		margin-bottom: 40px;
	}

	.se-ac-solutions .bento-card {
		flex-basis: min(280px, 78vw);
		width: min(280px, 78vw);
		min-width: min(280px, 78vw);
		max-width: min(280px, 78vw);
		padding: 28px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.se-ac-solutions .bento-slider {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.se-ac-solutions .bento-slider-track {
		animation: none;
		width: max-content;
	}
}
