/* ==========================================================================
   VisionaryCue brand ecosystem
   ========================================================================== */

.vc-ecosystem {
	--ecosystem-bg: #050507;
	--ecosystem-card: #09090d;
	--ecosystem-muted: #aaa5b1;
	--ecosystem-purple: #c26be8;
	--ecosystem-blue: #4165ff;
	position: relative;
	isolation: isolate;
	min-width: 0;
	padding-block: clamp(5.5rem, 9vw, 8rem);
	background: var(--ecosystem-bg);
	color: #fff;
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	overflow: clip;
}

.vc-ecosystem,
.vc-ecosystem * {
	box-sizing: border-box;
}

.vc-ecosystem::before {
	position: absolute;
	top: 0;
	left: 50%;
	width: min(86vw, 74rem);
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(142, 68, 173, 0.52), rgba(0, 71, 255, 0.42), transparent);
	content: "";
	transform: translateX(-50%);
}

.vc-ecosystem::after {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(to bottom, #000, transparent 92%);
	content: "";
}

.vc-ecosystem__glow {
	position: absolute;
	top: -12rem;
	right: -14rem;
	z-index: -1;
	width: min(42rem, 75vw);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 71, 255, 0.1), transparent 67%);
	filter: blur(18px);
	pointer-events: none;
}

/* Tighten only the handoff from the ecosystem into the next homepage section. */
.vc-ecosystem {
	padding-bottom: clamp(4rem, 5vw, 5rem);
}

.vc-ecosystem + #visionarycue-section-three > .elementor > .e-con > .e-con-inner {
	padding-top: clamp(3rem, 4vw, 4rem) !important;
}

.vc-ecosystem__shell {
	position: relative;
	z-index: 1;
	width: min(1180px, calc(100% - clamp(2.5rem, 8vw, 5rem)));
	margin-inline: auto;
}

.vc-ecosystem .vc-ecosystem__heading {
	position: relative;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	z-index: auto;
	width: auto;
	max-width: 54rem;
	margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.vc-ecosystem__kicker,
.vc-ecosystem__eyebrow {
	margin: 0;
	color: var(--ecosystem-purple);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.66rem;
	font-weight: 750;
	letter-spacing: 0.16em;
	line-height: 1.5;
	text-transform: uppercase;
}

.vc-ecosystem__kicker {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.vc-ecosystem__kicker::after {
	width: clamp(2rem, 5vw, 4rem);
	height: 1px;
	background: linear-gradient(90deg, var(--ecosystem-purple), transparent);
	content: "";
}

.vc-ecosystem__heading h2 {
	max-width: 54rem;
	margin: 0.8rem 0 0;
	color: #fff;
	font-family: "Funnel Display", Inter, sans-serif;
	font-size: clamp(2.5rem, 6vw, 4.7rem);
	font-weight: 720;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.vc-ecosystem__heading h2 em {
	background: linear-gradient(110deg, #d47bf0, #8e44ad 48%, #4165ff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-style: normal;
}

.vc-ecosystem__heading > p:last-child {
	max-width: 42rem;
	margin: 1.25rem 0 0;
	color: var(--ecosystem-muted);
	font-size: clamp(0.92rem, 1.4vw, 1.05rem);
	line-height: 1.7;
}

.vc-ecosystem__groups {
	display: grid;
	gap: clamp(4rem, 8vw, 7rem);
}

.vc-ecosystem .vc-ecosystem__group-heading {
	position: relative;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	z-index: auto;
	width: auto;
	display: grid;
	gap: 0.65rem;
	margin-bottom: 1.6rem;
}

.vc-ecosystem__group-heading h3 {
	margin: 0;
	color: #fff;
	font-family: "Funnel Display", Inter, sans-serif;
	font-size: clamp(1.7rem, 4vw, 2.65rem);
	font-weight: 650;
	letter-spacing: -0.035em;
	line-height: 1.1;
}

.vc-ecosystem__group-heading > p:last-child {
	max-width: 42rem;
	margin: 0;
	color: var(--ecosystem-muted);
	font-size: 0.9rem;
	line-height: 1.65;
}

.vc-ecosystem__brand-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.85rem;
}

.vc-ecosystem-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto auto auto;
	align-content: space-between;
	gap: 0.65rem 1rem;
	min-width: 0;
	min-height: 12.75rem;
	padding: clamp(1.15rem, 2.2vw, 1.5rem);
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 0.85rem;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 58%), var(--ecosystem-card);
	color: inherit;
	text-decoration: none;
	isolation: isolate;
	overflow: hidden;
	transition: border-color 280ms ease, box-shadow 360ms ease, transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vc-ecosystem-card::before {
	position: absolute;
	inset: -35% auto auto -20%;
	z-index: -1;
	width: 16rem;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(142, 68, 173, 0.2), transparent 68%);
	content: "";
	opacity: 0;
	transform: scale(0.72);
	transition: opacity 360ms ease, transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vc-ecosystem-card::after {
	position: absolute;
	top: 0;
	right: 1.25rem;
	left: 1.25rem;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(194, 107, 232, 0.75), rgba(0, 71, 255, 0.62), transparent);
	content: "";
	opacity: 0.42;
	transform: scaleX(0.28);
	transition: opacity 300ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vc-ecosystem-card:hover,
.vc-ecosystem-card:focus-within {
	border-color: rgba(194, 107, 232, 0.48);
	box-shadow: 0 1.4rem 3.5rem rgba(0, 0, 0, 0.35), 0 0 2.5rem rgba(142, 68, 173, 0.09);
	transform: translateY(-6px);
}

.vc-ecosystem-card:hover::before,
.vc-ecosystem-card:focus-within::before {
	opacity: 1;
	transform: scale(1);
}

.vc-ecosystem-card:hover::after,
.vc-ecosystem-card:focus-within::after {
	opacity: 1;
	transform: scaleX(1);
}

.vc-ecosystem-card--live:focus-visible {
	outline: 2px solid var(--ecosystem-purple);
	outline-offset: 4px;
}

.vc-ecosystem-card__index {
	grid-column: 1;
	grid-row: 1;
	color: var(--ecosystem-purple);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.vc-ecosystem-card__logo {
	grid-column: 1 / -1;
	grid-row: 2;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	justify-self: start;
	width: min(100%, 8.5rem);
	height: 4rem;
	margin-left: 0.625rem;
	transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vc-ecosystem-card__logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	filter: brightness(0) invert(1);
	object-fit: contain;
	opacity: 0.84;
	transition: filter 360ms ease, opacity 280ms ease, transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vc-ecosystem-card__logo img[src*="pawmas-kitchen"],
.vc-ecosystem-card__logo img[src*="parkingmudde"] {
	filter: none;
	opacity: 1;
}

.vc-ecosystem-card:hover .vc-ecosystem-card__logo,
.vc-ecosystem-card:focus-within .vc-ecosystem-card__logo {
	transform: translateY(-0.2rem);
}

.vc-ecosystem-card:hover .vc-ecosystem-card__logo img,
.vc-ecosystem-card:focus-within .vc-ecosystem-card__logo img {
	filter: none;
	opacity: 1;
	transform: scale(1.025);
}

.vc-ecosystem-card h4 {
	grid-column: 1 / -1;
	grid-row: 3;
	min-width: 0;
	margin: 0.35rem 0 0;
	color: #fff;
	font-family: "Funnel Display", Inter, sans-serif;
	font-size: clamp(1.55rem, 4.5vw, 1.8rem);
	font-weight: 650;
	letter-spacing: -0.04em;
	line-height: 1.1;
	transition: color 220ms ease, transform 300ms ease;
}

.vc-ecosystem-card:hover h4,
.vc-ecosystem-card:focus-within h4 {
	color: #d89af4;
	transform: translateY(-0.18rem);
}

.vc-ecosystem-card__type {
	grid-column: 1 / -1;
	grid-row: 4;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	line-height: 1.5;
	text-transform: uppercase;
}

.vc-ecosystem-card__status {
	grid-column: 2;
	grid-row: 1;
	display: inline-flex;
	align-items: center;
	justify-self: end;
	gap: 0.42rem;
	min-height: 1.7rem;
	padding: 0.35rem 0.62rem;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 999px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.58rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.vc-ecosystem-card__status i {
	width: 0.4rem;
	aspect-ratio: 1;
	border-radius: 50%;
	background: currentColor;
}

.vc-ecosystem-card__status--live {
	border-color: rgba(79, 223, 142, 0.28);
	background: rgba(79, 223, 142, 0.08);
	color: #7ce9aa;
}

.vc-ecosystem-card__status--live i {
	animation: vc-ecosystem-live-pulse 2.4s ease-out infinite;
}

.vc-ecosystem-card__status--coming {
	background: rgba(255, 255, 255, 0.035);
	color: rgba(255, 255, 255, 0.58);
}

.vc-ecosystem-card--coming {
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 58%), #08080b;
	cursor: pointer;
}

.vc-ecosystem-card__trigger {
	position: absolute;
	inset: 0;
	z-index: 5;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0 !important;
	border-radius: inherit;
	background: transparent !important;
	box-shadow: none !important;
	cursor: pointer;
	transform: none !important;
}

.vc-ecosystem-card__trigger:focus-visible {
	outline: 2px solid #d37aff;
	outline-offset: -4px;
}

.vc-ecosystem.is-ready [data-brand-reveal] {
	opacity: 0;
	filter: blur(5px);
	transform: translateY(34px);
	transition: opacity 760ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 760ms ease;
}

.vc-ecosystem-card[data-brand-reveal] {
	transition-delay: calc(var(--brand-order, 0) * 70ms);
}

.vc-ecosystem.is-ready [data-brand-reveal].is-visible {
	opacity: 1;
	filter: blur(0);
	transform: translateY(0);
}

.vc-ecosystem.is-ready .vc-ecosystem-card[data-brand-reveal].is-visible:hover,
.vc-ecosystem.is-ready .vc-ecosystem-card[data-brand-reveal].is-visible:focus-within {
	transform: translateY(-6px);
}

html.vc-ecosystem-modal-open {
	overflow: hidden;
}

.vc-ecosystem-modal {
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: clamp(1rem, 4vw, 3rem);
	border: 0;
	background: transparent;
	color: #fff;
	overflow: auto;
}

.vc-ecosystem-modal[open] {
	display: grid;
	place-items: center;
}

.vc-ecosystem-modal::backdrop {
	background: rgba(2, 2, 6, 0.9);
	backdrop-filter: blur(18px) saturate(0.75);
}

.vc-ecosystem-modal__panel {
	--coming-rx: 0deg;
	--coming-ry: 0deg;
	position: relative;
	isolation: isolate;
	display: grid;
	place-items: center;
	width: min(100%, 58rem);
	min-height: min(72svh, 38rem);
	padding: clamp(3rem, 8vw, 6.5rem) clamp(1.25rem, 6vw, 5rem);
	border: 1px solid rgba(211, 122, 255, 0.28);
	border-radius: clamp(1.1rem, 2.5vw, 2rem);
	background: radial-gradient(circle at 20% 12%, rgba(142, 68, 173, 0.34), transparent 34%), radial-gradient(circle at 88% 84%, rgba(0, 71, 255, 0.3), transparent 38%), linear-gradient(145deg, #11101a, #050508 68%);
	box-shadow: 0 3rem 8rem rgba(0, 0, 0, 0.68), inset 0 0 4rem rgba(255, 255, 255, 0.025);
	overflow: hidden;
	transform: perspective(1200px) rotateX(var(--coming-rx)) rotateY(var(--coming-ry));
	transition: transform 180ms ease-out;
}

.vc-ecosystem-modal__grid {
	position: absolute;
	inset: 46% -20% -42%;
	z-index: -2;
	background-image: linear-gradient(rgba(211, 122, 255, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(211, 122, 255, 0.14) 1px, transparent 1px);
	background-size: 3rem 3rem;
	mask-image: linear-gradient(to bottom, transparent, #000 30%);
	transform: perspective(420px) rotateX(63deg);
}

.vc-ecosystem-modal__orbit,
.vc-ecosystem-modal__orbit span {
	position: absolute;
	inset: 50%;
	border: 1px solid rgba(194, 107, 232, 0.22);
	border-radius: 50%;
	pointer-events: none;
}

.vc-ecosystem-modal__orbit {
	z-index: -1;
	width: min(70vw, 38rem);
	aspect-ratio: 1;
	margin: calc(min(70vw, 38rem) / -2);
	animation: vc-ecosystem-orbit 18s linear infinite;
}

.vc-ecosystem-modal__orbit span:nth-child(1) { transform: rotateX(68deg) scale(0.72); }
.vc-ecosystem-modal__orbit span:nth-child(2) { border-color: rgba(0, 110, 255, 0.24); transform: rotateY(66deg) scale(0.88); }
.vc-ecosystem-modal__orbit span:nth-child(3) { transform: rotateX(45deg) rotateY(48deg) scale(1.08); }

.vc-ecosystem-modal__close {
	position: absolute;
	top: clamp(1.25rem, 2.5vw, 1.75rem);
	right: clamp(1.25rem, 2.5vw, 1.75rem);
	z-index: 4;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	background: rgba(7, 7, 11, 0.82);
	color: #fff;
	cursor: pointer;
}

.vc-ecosystem-modal__close span,
.vc-ecosystem-modal__close span::after {
	position: absolute;
	width: 1rem;
	height: 1.5px;
	background: currentColor;
	content: "";
}

.vc-ecosystem-modal__close span { transform: rotate(45deg); }
.vc-ecosystem-modal__close span::after { inset: 0; transform: rotate(90deg); }
.vc-ecosystem-modal__close:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.vc-ecosystem-modal__content {
	position: relative;
	z-index: 2;
	max-width: 47rem;
	text-align: center;
}

.vc-ecosystem-modal__eyebrow {
	margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
	color: #d89af4;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: clamp(0.62rem, 1.2vw, 0.75rem);
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.vc-ecosystem-modal h2 {
	display: grid;
	margin: 0;
	font-family: "Funnel Display", Inter, sans-serif;
	font-size: clamp(4.2rem, 12vw, 9rem);
	font-weight: 800;
	letter-spacing: -0.075em;
	line-height: 0.72;
	text-transform: uppercase;
	text-shadow: 0.035em 0.035em 0 #9d46c3, 0.07em 0.07em 0 #56256d, 0.11em 0.11em 0 rgba(0, 71, 255, 0.56);
}

.vc-ecosystem-modal h2 em {
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.9);
	font-style: normal;
}

.vc-ecosystem-modal__content > p:last-child {
	max-width: 32rem;
	margin: clamp(2rem, 5vw, 3.5rem) auto 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: clamp(0.92rem, 1.6vw, 1.05rem);
	line-height: 1.7;
}

.vc-ecosystem-modal__content strong { color: #fff; }

@keyframes vc-ecosystem-live-pulse {
	0% { box-shadow: 0 0 0 0 rgba(124, 233, 170, 0.42); }
	65%, 100% { box-shadow: 0 0 0 0.42rem rgba(124, 233, 170, 0); }
}

@keyframes vc-ecosystem-orbit {
	to { transform: rotate(360deg); }
}

@media (min-width: 720px) {
	.vc-ecosystem__brand-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}

	.vc-ecosystem__group:first-child .vc-ecosystem-card:first-child {
		grid-column: 1 / -1;
		grid-template-columns: minmax(0, 1.15fr) minmax(12rem, 0.85fr);
		grid-template-rows: auto 1fr auto;
		column-gap: clamp(2rem, 6vw, 5rem);
		min-height: 14.5rem;
		padding: clamp(1.5rem, 3vw, 2.25rem);
	}

	.vc-ecosystem__group:first-child .vc-ecosystem-card:first-child .vc-ecosystem-card__index { grid-column: 1; grid-row: 1; }
	.vc-ecosystem__group:first-child .vc-ecosystem-card:first-child .vc-ecosystem-card__status { grid-column: 2; grid-row: 1; }
	.vc-ecosystem__group:first-child .vc-ecosystem-card:first-child h4 {
		grid-column: 1;
		grid-row: 2;
		align-self: end;
		margin-top: 0;
		font-size: clamp(2.5rem, 5vw, 4rem);
	}
	.vc-ecosystem__group:first-child .vc-ecosystem-card:first-child .vc-ecosystem-card__type { grid-column: 1; grid-row: 3; }
	.vc-ecosystem__group:first-child .vc-ecosystem-card:first-child .vc-ecosystem-card__logo {
		grid-column: 2;
		grid-row: 2 / 4;
		align-self: center;
		width: min(100%, 17rem);
		height: 6.25rem;
	}
}

@media (min-width: 1120px) {
	.vc-ecosystem__group:first-child .vc-ecosystem__brand-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 719px) {
	.vc-ecosystem {
		padding-bottom: 3.5rem;
	}

	.vc-ecosystem + #visionarycue-section-three > .elementor > .e-con > .e-con-inner {
		padding-top: 2.75rem !important;
	}

	.vc-ecosystem__shell {
		width: calc(100% - 2.5rem);
	}

	.vc-ecosystem__heading {
		margin-bottom: 3.75rem;
	}

	.vc-ecosystem__heading h2 {
		font-size: clamp(2.55rem, 12vw, 4rem);
	}

	.vc-ecosystem-card {
		min-height: 11.75rem;
	}

	.vc-ecosystem-card h4 {
		font-size: clamp(1.45rem, 7vw, 1.75rem);
	}

	.vc-ecosystem-card__logo {
		width: min(100%, 7.5rem);
		height: 3.5rem;
	}

	.vc-ecosystem-card__status {
		padding-inline: 0.52rem;
		font-size: 0.54rem;
	}

	.vc-ecosystem-modal {
		padding: 0.75rem;
	}

	.vc-ecosystem-modal__panel {
		min-height: min(78svh, 34rem);
		padding-inline: 1.25rem;
	}

	.vc-ecosystem-modal h2 {
		font-size: clamp(3.7rem, 19vw, 6.5rem);
	}
}

@media (hover: none) {
	.vc-ecosystem-card__logo img {
		filter: none;
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vc-ecosystem *,
	.vc-ecosystem *::before,
	.vc-ecosystem *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.vc-ecosystem.is-ready [data-brand-reveal] {
		opacity: 1;
		filter: none;
		transform: none;
	}

	.vc-ecosystem-modal__panel {
		transform: none !important;
	}
}
