.vxd-spc-wrapper,
.vxd-spc-wrapper * {
	box-sizing: border-box;
}

.vxd-spc-wrapper {
	--vxd-spc-section-bg: transparent;
	--vxd-spc-max-width: 1240px;
	--vxd-spc-card-height: clamp(480px, 66vh, 590px);
	--vxd-spc-step: 260px;
	--vxd-spc-enter-y: 90px;
	--vxd-spc-side-gap: 0px;
	--vxd-spc-sticky-top: 110px;

	position: relative;
	width: 100%;
	background: transparent;
	isolation: isolate;
}

.vxd-spc-container {
	position: relative;
	width: 100%;
	min-height: calc((100vh - var(--vxd-spc-sticky-top)) + ((var(--vxd-spc-count, 4) - 1) * var(--vxd-spc-step)));
}

.vxd-spc-cards-container {
	position: sticky;
	top: var(--vxd-spc-sticky-top);
	height: calc(100vh - var(--vxd-spc-sticky-top));
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
	pointer-events: none;
	z-index: 1;
}

.vxd-spc-stage {
	position: relative;
	width: 100%;
	height: min(var(--vxd-spc-card-height), calc(100vh - var(--vxd-spc-sticky-top) - 18px));
	max-width: var(--vxd-spc-max-width);
	margin: 0 auto;
	padding: 0;
	overflow: visible;
}

.vxd-spc-card {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: var(--vxd-spc-card-height);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate3d(0, var(--vxd-spc-enter-y), 0);
	transform-origin: center center;
	will-change: transform;
	backface-visibility: hidden;
}

.vxd-spc-card-shell {
	width: 100%;
	max-width: var(--vxd-spc-max-width);
	height: 100%;
	margin: 0 auto;
	background: var(--vxd-spc-card-bg, #ffffff) !important;
	border-radius: 30px;
	box-shadow: 0 18px 52px rgba(17, 24, 39, 0.06);
	border: 1px solid rgba(17, 24, 39, 0.04);
	overflow: hidden;
}

.vxd-spc-card-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
	align-items: center;
	gap: 0;
	height: 100%;
	padding: 44px 0 44px 52px;
}

.vxd-spc-card-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 20px;
	min-width: 0;
	padding-left: 36px;
}

.vxd-spc-label {
	margin: 0;
	font-size: 18px;
	line-height: 1.2;
	font-weight: 500;
	letter-spacing: -0.03em;
	color: #171717;
}

.vxd-spc-heading {
	margin: 0;
font-size: clamp(28px, 3.2vw, 40px) !important;
	line-height: 1.08;
	font-weight: 500;
	letter-spacing: -0.05em;
	color: #171717;
	max-width: 70% !important;
}

.vxd-spc-description {
	display: none;
}

.vxd-spc-features {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 58px;
}

.vxd-spc-feature-row {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.vxd-spc-feature {
	margin: 0;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 400;
	color: #171717;
	letter-spacing: -0.025em;
}

.vxd-spc-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 18px;
	border-radius: 999px;
	background: #3a3a3d;
	color: #ffffff;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.vxd-spc-card-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 100%;
	padding-right: 0;
	margin-right: 0;
	overflow: visible;
	isolation: isolate;
}

.vxd-spc-orb {
	position: relative;
	width: 520px;
	height: 520px;
	flex: 0 0 auto;
	border-radius: 50%;
	overflow: visible;
	margin-right: -150px;
	transform: none;

}

.vxd-spc-orb-image {
	position: absolute;
	inset: 0;
	width: 90%;
	height: 90%;
	object-fit: contain;
	margin-right: -190px;
	flex: 0 0 auto;

}

.vxd-spc-chat-conversation {
	position: absolute;
	left: -125px;
	top: 50%;
	transform: translateY(-50%);
	width: min(380px, 92%);
	display: flex;
	flex-direction: column;
	gap: 12px;
	z-index: 4;
	pointer-events: none;
}

.vxd-spc-chat-line {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.vxd-spc-chat-line--client {
	align-items: flex-start;
}

.vxd-spc-chat-line--provider {
	align-items: flex-end;
}

.vxd-spc-chat-typing,
.vxd-spc-chat-bubble {
	max-width: 82%;
	border-radius: 22px;
	opacity: 0;
	transform: translateY(10px) scale(0.96);
	will-change: transform, opacity;
}

.vxd-spc-chat-typing {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 16px;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.vxd-spc-chat-line--client .vxd-spc-chat-typing {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(17, 17, 17, 0.06);
}

.vxd-spc-chat-line--provider .vxd-spc-chat-typing {
	background: #ffffff;
}

.vxd-spc-chat-typing span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	display: block;
	animation: vxdSpcTypingDots 0.9s infinite ease-in-out;
}

.vxd-spc-chat-line--client .vxd-spc-chat-typing span {
	background: #bdbdbd;
}

.vxd-spc-chat-line--provider .vxd-spc-chat-typing span {
	background: rgba(17, 17, 17, 0.35);
}

.vxd-spc-chat-typing span:nth-child(2) {
	animation-delay: 0.15s;
}

.vxd-spc-chat-typing span:nth-child(3) {
	animation-delay: 0.3s;
}

.vxd-spc-chat-bubble {
	padding: 16px 20px;
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.07);
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.vxd-spc-chat-line--client .vxd-spc-chat-bubble {
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(17, 17, 17, 0.06);
}

.vxd-spc-chat-line--provider .vxd-spc-chat-bubble {
	background: #ffffff;
}

.vxd-spc-chat-bubble-text {
	display: block;
	font-size: 18px;
	line-height: 1.4;
	font-weight: 400;
	letter-spacing: -0.02em;
}

.vxd-spc-chat-line--client .vxd-spc-chat-bubble-text {
	color: #9E9E9E;
	background: none;
	-webkit-text-fill-color: #9E9E9E;
}

.vxd-spc-chat-line--provider .vxd-spc-chat-bubble-text {
	background: linear-gradient(90deg,
			#041366 0%,
			#6A35C9 45%,
			#FF3368 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.vxd-spc-card.is-chat-playing .vxd-spc-chat-line .vxd-spc-chat-typing {
	animation: vxdSpcTypingShow 0.65s ease forwards;
	animation-delay: calc(var(--vxd-spc-chat-order) * 1.2s);
}

.vxd-spc-card.is-chat-playing .vxd-spc-chat-line .vxd-spc-chat-bubble {
	animation: vxdSpcMessageShow 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	animation-delay: calc((var(--vxd-spc-chat-order) * 1.2s) + 0.62s);
}

@keyframes vxdSpcTypingDots {

	0%,
	80%,
	100% {
		transform: scale(0.7);
		opacity: 0.45;
	}

	40% {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes vxdSpcTypingShow {
	0% {
		opacity: 0;
		transform: translateY(10px) scale(0.96);
	}

	15%,
	75% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}

	100% {
		opacity: 0;
		transform: translateY(0) scale(1);
	}
}

@keyframes vxdSpcMessageShow {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.96);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.vxd-spc-call-btn {
	position: absolute;
	left: 70%;
	right: auto;
	bottom: -10px;
	transform: translateX(-50%);
	width: 70px;
	height: 70px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #111111 0%, #2b2b2b 100%);
	color: #ffffff;
	font-size: 22px;
	line-height: 1;
	border: 6px solid #ffffff;
	box-shadow:
		0 14px 28px rgba(0, 0, 0, 0.14),
		0 4px 12px rgba(0, 0, 0, 0.10);
	z-index: 5;
	margin: 0;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
}

.vxd-spc-empty {
	padding: 32px;
	text-align: center;
	color: #999999;
	background: #ffffff;
	border-radius: 20px;
}

@media (max-width: 1180px) {
	.vxd-spc-wrapper {
--vxd-spc-card-height: min(74vh, 560px);		
--vxd-spc-step: 220px;
	}

	.vxd-spc-card-inner {
		grid-template-columns: minmax(0, 1fr) minmax(320px, 450px);
		padding: 36px 34px;
	}

	.vxd-spc-card-content {
		padding-left: 16px;
	}

	.vxd-spc-heading {
		font-size: clamp(32px, 4vw, 46px);
	}

	.vxd-spc-feature {
		font-size: 16px;
	}

	.vxd-spc-orb {
		width: 430px;
		height: 430px;
		margin-right: -90px;
		transform: none;
	}

	.vxd-spc-chat-conversation {
		left: -75px;
		width: min(330px, 90%);
	}

	.vxd-spc-chat-bubble-text {
		font-size: 16px;
	}
}
/* Responsive fixes for pinned cards */

@media (max-width: 991px) {
	.vxd-spc-wrapper {
		--vxd-spc-card-height: auto;
		--vxd-spc-sticky-top: 80px;
	}

	.vxd-spc-container {
		min-height: auto;
	}

	.vxd-spc-cards-container {
		position: relative;
		top: auto;
		height: auto;
		display: block;
		padding: 0 16px;
	}

	.vxd-spc-stage {
		height: auto;
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.vxd-spc-card {
		position: relative;
		height: auto;
		opacity: 1;
		visibility: visible;
		transform: none;
		pointer-events: auto;
	}

	.vxd-spc-card-shell {
		height: auto;
		border-radius: 24px;
	}

	.vxd-spc-card-inner {
		grid-template-columns: 1fr;
		padding: 36px 24px 0;
	}

	.vxd-spc-card-content {
		padding-left: 0;
		gap: 16px;
	}

	.vxd-spc-heading {
		max-width: 100% !important;
		font-size: clamp(30px, 6vw, 44px) !important;
	}

	.vxd-spc-features {
		margin-top: 28px;
	}

	.vxd-spc-card-visual {
		min-height: 420px;
		justify-content: center;
		overflow: hidden;
	}

	.vxd-spc-orb {
		width: clamp(360px, 78vw, 500px);
		height: clamp(360px, 78vw, 500px);
		margin-right: -80px;
		margin-bottom: -40px;
	}

	.vxd-spc-chat-conversation {
		left: 50%;
		top: 45%;
		transform: translate(-50%, -50%);
		width: min(360px, 84vw);
	}

	.vxd-spc-call-btn {
		left: 68%;
		bottom: 24px;
	}
}

@media (max-width: 767px) {
	
	.vxd-spc-cards-container {
		padding: 0 14px;
	}

	.vxd-spc-stage {
		gap: 20px;
	}

	.vxd-spc-card-shell {
		border-radius: 22px;
	}

	.vxd-spc-card-inner {
		padding: 5px 10px 0;
	}

	.vxd-spc-label {
		font-size: 15px;
	}

	.vxd-spc-heading {
		font-size: clamp(28px, 8vw, 36px) !important;
		line-height: 1.08;
	}

	.vxd-spc-features {
		margin-top: 24px;
		gap: 8px;
	}

	.vxd-spc-feature {
		font-size: 16px;
	}

	.vxd-spc-card-visual {
		min-height: 360px;
	}

	.vxd-spc-orb {
		width: clamp(330px, 105vw, 460px);
		height: clamp(330px, 105vw, 460px);
		margin-right: -120px;
		margin-bottom: -55px;
	}

	.vxd-spc-chat-conversation {
		top: 42%;
		width: min(310px, 86vw);
		gap: 10px;
	}

	.vxd-spc-chat-bubble {
		max-width: 92%;
		padding: 12px 15px;
		border-radius: 18px;
	}

	.vxd-spc-chat-bubble-text {
		font-size: clamp(13px, 3.7vw, 15px);
		line-height: 1.35;
	}

	.vxd-spc-call-btn {
		width: 58px;
		height: 58px;
		left: 68%;
		bottom: 18px;
		border-width: 5px;
	}
	.vxd-spc-orb-image {
		width: 100%;
		height: 100%;
		max-width: 100%;
		max-height: 100%;
		object-fit: contain;
		object-position: center;
		margin: 0;
	}
}

@media (max-width: 480px) {
	.vxd-spc-card-inner {
		padding: 2px 4px 0;
	}

	.vxd-spc-heading {
		font-size: clamp(26px, 9vw, 32px) !important;
	}

	.vxd-spc-card-visual {
		min-height: 330px;
	}

	.vxd-spc-orb {
		width: 390px;
		height: 390px;
		margin-right: -145px;
	}

	.vxd-spc-chat-conversation {
		width: 285px;
	}

	.vxd-spc-call-btn {
		left: 66%;
		bottom: 14px;
	}
	.vxd-spc-orb-image {
		width: 100%;
		height: 100%;
		object-fit: contain;
		object-position: center;
		margin: 0;
	}
}