/*
 * Viewix Motion Layer
 *
 * Lightweight WordPress adaptation of the reveal, blur-text and spotlight
 * interaction patterns from https://github.com/DavidHDev/react-bits.
 * The site is server-rendered, so this layer keeps the same interaction model
 * without shipping a second React runtime to every page.
 */

.vx-rb-reveal {
	opacity: 0;
	transform: translate3d(0, 22px, 0);
	filter: blur(5px);
	transition:
		opacity 560ms cubic-bezier(.22, 1, .36, 1),
		transform 700ms cubic-bezier(.22, 1, .36, 1),
		filter 700ms cubic-bezier(.22, 1, .36, 1);
	will-change: opacity, transform, filter;
}

.vx-rb-reveal.is-visible {
	opacity: 1;
	transform: none;
	filter: none;
}

.vx-rb-blur-text {
	display: block;
}

.vx-rb-blur-text .vx-rb-word {
	display: inline-block;
	opacity: 0;
	transform: translate3d(0, .55em, 0);
	filter: blur(9px);
	transition:
		opacity 480ms cubic-bezier(.22, 1, .36, 1),
		transform 620ms cubic-bezier(.22, 1, .36, 1),
		filter 620ms cubic-bezier(.22, 1, .36, 1);
}

.vx-rb-blur-text.is-visible .vx-rb-word {
	opacity: 1;
	transform: none;
	filter: none;
}

.vx-rb-split-text {
	text-wrap: balance;
}

.vx-rb-rotating-text {
	display: inline-block;
	min-width: 14ch;
	transition: opacity 220ms ease, transform 220ms ease;
}

.vx-rb-rotating-text.is-changing {
	opacity: 0;
	transform: translateY(.35em);
}

.vx-rb-decrypted-text {
	font-variant-numeric: tabular-nums;
}

.vx-rb-spotlight {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.vx-rb-spotlight::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	content: '';
	pointer-events: none;
	background: radial-gradient(
		220px circle at var(--vx-rb-x, 50%) var(--vx-rb-y, 50%),
		rgba(37, 119, 255, .14),
		transparent 68%
	);
	opacity: 0;
	transition: opacity 260ms ease;
}

.vx-rb-spotlight:hover::before,
.vx-rb-spotlight:focus-within::before {
	opacity: 1;
}

.vx-rb-chroma-card {
	position: relative;
	isolation: isolate;
	transition: box-shadow 280ms ease;
}

.vx-rb-chroma-card:hover,
.vx-rb-chroma-card:focus-within {
	/* Kept as a named hook for the ChromaGrid pattern; the visible layer is a
	 * box-shadow so it can coexist with SpotlightCard and GlareHover pseudo-elements. */
	box-shadow: 0 0 0 1px rgba(56, 130, 246, .24), 0 18px 45px rgba(37, 99, 235, .12);
}

.vx-rb-tilted {
	transform: perspective(900px) rotateX(var(--vx-rb-tilt-x, 0deg)) rotateY(var(--vx-rb-tilt-y, 0deg));
	transition: transform 260ms cubic-bezier(.22, 1, .36, 1), box-shadow 260ms ease;
	will-change: transform;
}

.vx-rb-tilted.is-visible:hover,
.vx-rb-tilted.is-visible:focus-within {
	box-shadow: 0 18px 45px rgba(15, 34, 65, .14);
}

.vx-rb-glare-hover::after {
	position: absolute;
	inset: 0;
	content: '';
	pointer-events: none;
	border-radius: inherit;
	background: radial-gradient(180px circle at var(--vx-rb-glare-x, 50%) var(--vx-rb-glare-y, 50%), rgba(255,255,255,.32), transparent 68%);
	opacity: 0;
	transition: opacity 260ms ease;
}

.vx-rb-glare-hover:hover::after,
.vx-rb-glare-hover:focus-within::after {
	opacity: 1;
}

.vx-rb-shiny-text,
.vx-commercial-banner-cta a,
.vx-landing-cta a {
	background-image: linear-gradient(110deg, currentColor 0%, currentColor 42%, rgba(255,255,255,.9) 50%, currentColor 58%, currentColor 100%);
	background-size: 220% 100%;
	background-clip: text;
	-webkit-background-clip: text;
	animation: vx-rb-shine 5s ease-in-out infinite;
}

@keyframes vx-rb-shine {
	0%, 55% { background-position: 140% 0; }
	85%, 100% { background-position: -40% 0; }
}

.vx-rb-carousel {
	scroll-snap-type: x proximity;
	overscroll-behavior-inline: contain;
}

.vx-rb-carousel > * {
	scroll-snap-align: start;
}

.vx-rb-masonry {
	--vx-rb-masonry-gap: 1.25rem;
}





.vx-rb-gallery-hover {
	transition: box-shadow 260ms ease, border-color 260ms ease;
}

.vx-rb-gallery-hover:hover,
.vx-rb-gallery-hover:focus-within {
	box-shadow: 0 16px 38px rgba(19, 48, 91, .12);
}

.vx-rb-gallery-hover .vx-main-preview-img {
	transition: filter 260ms ease;
}

.vx-rb-gallery-hover:hover .vx-main-preview-img,
.vx-rb-gallery-hover:focus-within .vx-main-preview-img {
	filter: saturate(1.04) contrast(1.01);
}

.vx-rb-magnet,
.vx-rb-flying-button {
	position: relative;
	transform: translate3d(var(--vx-rb-magnet-x, 0), var(--vx-rb-magnet-y, 0), 0);
	transition: transform 220ms cubic-bezier(.22, 1, .36, 1), box-shadow 220ms ease;
}

.vx-rb-border-glow::before {
	position: absolute;
	inset: -2px;
	z-index: -1;
	content: '';
	border-radius: inherit;
	background: linear-gradient(120deg, rgba(0,95,255,.0), rgba(68,161,255,.9), rgba(0,95,255,.0));
	opacity: 0;
	transition: opacity 220ms ease;
}

.vx-rb-border-glow:hover::before,
.vx-rb-border-glow:focus-visible::before {
	opacity: 1;
}

.vx-rb-click-spark {
	overflow: visible;
}

.vx-rb-spark {
	position: absolute;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 2px rgba(255,255,255,.35);
	pointer-events: none;
	transform: translate(-50%, -50%) rotate(var(--vx-rb-spark-angle)) translateY(0);
	animation: vx-rb-spark .6s ease-out forwards;
}

@keyframes vx-rb-spark {
	to { opacity: 0; transform: translate(-50%, -50%) rotate(var(--vx-rb-spark-angle)) translateY(-28px); }
}

.vx-rb-card-nav {
	--vx-rb-nav-radius: 18px;
}

.vx-rb-gooey-nav .vx-mobile-nav-link,
.vx-rb-gooey-nav .vx-mobile-products-item,
.vx-rb-flowing-menu {
	transition: transform 240ms cubic-bezier(.22, 1, .36, 1), color 200ms ease, background-color 200ms ease;
}

.vx-rb-gooey-nav .vx-mobile-nav-link:hover,
.vx-rb-gooey-nav .vx-mobile-products-item:hover,
.vx-rb-flowing-menu:hover,
.vx-rb-flowing-menu:focus-visible {
	transform: translateX(8px);
}

.vx-rb-aurora,
.vx-rb-beams,
.vx-rb-dot-grid,
.vx-rb-color-bends,
.vx-rb-dark-veil {
	position: relative;
	isolation: isolate;
}

.vx-rb-aurora::before,
.vx-rb-beams::after,
.vx-rb-dot-grid::before,
.vx-rb-color-bends::after,
.vx-rb-dark-veil::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	content: '';
	pointer-events: none;
}

.vx-rb-aurora::before {
	background: radial-gradient(45% 70% at 18% 20%, rgba(69,163,255,.22), transparent 70%), radial-gradient(40% 55% at 84% 70%, rgba(122,92,255,.15), transparent 72%);
	filter: blur(24px);
	animation: vx-rb-aurora 12s ease-in-out infinite alternate;
}

@keyframes vx-rb-aurora {
	to { transform: translate3d(2%, -2%, 0) scale(1.04); }
}

.vx-rb-beams::after {
	background: linear-gradient(118deg, transparent 0 32%, rgba(255,255,255,.08) 42%, transparent 53% 100%);
	transform: translateX(-35%);
	animation: vx-rb-beams 10s ease-in-out infinite;
}

@keyframes vx-rb-beams {
	50% { transform: translateX(35%); }
}

.vx-rb-dot-grid::before {
	background-image: radial-gradient(rgba(0,95,255,.13) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), transparent 78%);
}

.vx-rb-color-bends::after {
	background: linear-gradient(135deg, transparent 30%, rgba(59,130,246,.09) 50%, transparent 70%);
	transform: skewX(-12deg) scale(1.3);
}

.vx-rb-dark-veil::before {
	background: radial-gradient(70% 120% at 50% 0%, transparent 20%, rgba(2,14,35,.18) 100%);
}

.vx-rb-accordion,
.vx-rb-fade-content {
	transition: opacity 360ms ease, transform 360ms ease;
}

.vx-rb-accordion[open] > *:not(summary) {
	animation: vx-rb-accordion-open 320ms ease both;
}

@keyframes vx-rb-accordion-open {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.vx-rb-reveal,
	.vx-rb-reveal.is-visible,
	.vx-rb-blur-text .vx-rb-word,
	.vx-rb-blur-text.is-visible .vx-rb-word {
		opacity: 1;
		transform: none;
		filter: none;
		transition: none;
	}

	.vx-rb-spotlight::before {
		transition: none;
	}

	.vx-rb-rotating-text,
	.vx-rb-shiny-text,
	.vx-commercial-banner-cta a,
	.vx-landing-cta a,
	.vx-rb-tilted,
	.vx-rb-magnet,
	.vx-rb-flying-button,
	.vx-rb-gooey-nav .vx-mobile-nav-link,
	.vx-rb-gooey-nav .vx-mobile-products-item,
	.vx-rb-flowing-menu {
		animation: none;
		transform: none;
		transition: none;
	}

	.vx-rb-aurora::before,
	.vx-rb-beams::after,
	.vx-rb-spark {
		animation: none;
		display: none;
	}

	
}
