@charset "utf-8";

body.ai-demo-modal-open {
	overflow: hidden;
}

.gb-element-3bc65aaf .gb-text-6541f4e5.ai-demo-cta-button {
	background: linear-gradient(90deg, #1059d5 0%, #2f7bff 100%) !important;
	border: 1px solid rgba(255, 255, 255, 0.42);
	box-shadow: 0 16px 28px rgba(0, 22, 70, 0.26);
	margin-top: 14px;
}

.gb-element-3bc65aaf .gb-text-6541f4e5.ai-demo-cta-button:is(:hover, :focus) {
	opacity: 0.9;
}

.gb-element-3bc65aaf .gb-text-6541f4e5.ai-demo-cta-button::before {
	background-color: rgba(255, 255, 255, 0.2) !important;
	background-image: url("data:image/svg+xml,%3Csvg width='22' height='24' viewBox='0 0 22 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.2 10.37c1.33.77 1.33 2.49 0 3.26L3.8 23.1C2.47 23.87.8 23.01.8 21.47V2.53C.8.99 2.47.13 3.8.9l16.4 9.47Z' fill='white'/%3E%3C/svg%3E") !important;
	background-position: 52% center !important;
	background-repeat: no-repeat !important;
	background-size: 18px 20px !important;
	border: 0;
	content: "" !important;
	height: 60px !important;
	width: 60px !important;
}

.ai-demo-modal {
	align-items: center;
	display: none;
	inset: 0;
	justify-content: center;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 28px 16px;
	position: fixed;
	z-index: 2147483000;
}

.ai-demo-modal.is-open {
	display: flex;
}

.ai-demo-modal__backdrop {
	background: rgba(3, 14, 31, 0.74);
	backdrop-filter: blur(5px);
	inset: 0;
	position: absolute;
}

.ai-demo-modal__dialog {
	background:
		radial-gradient(circle at 15% 0%, rgba(79, 199, 255, 0.18), transparent 34%),
		#0e1526;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 24px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
	color: #ffffff;
	display: flex;
	flex-direction: column;
	max-height: min(860px, calc(100dvh - 32px));
	overflow: hidden;
	padding: 20px;
	position: relative;
	width: min(94vw, 430px);
}

.ai-demo-modal__close {
	align-items: center;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: #ffffff;
	cursor: pointer;
	display: flex;
	font-size: 24px;
	font-weight: 400;
	height: 36px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 3px;
	position: absolute;
	right: 16px;
	top: 16px;
	width: 36px;
	z-index: 2;
}

.ai-demo-modal__close:is(:hover, :focus) {
	background: rgba(255, 255, 255, 0.18);
}

.ai-demo-modal__header {
	padding-right: 44px;
}

.ai-demo-modal__eyebrow {
	color: #4fc7ff;
	font-family: Roboto, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.2;
	margin-bottom: 8px;
}

.ai-demo-modal__header h2 {
	color: #ffffff;
	font-size: 24px;
	letter-spacing: 0.04em;
	line-height: 1.35;
	margin: 0 0 8px;
}

.ai-demo-modal__header p:last-child {
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
	line-height: 1.7;
	margin-bottom: 16px;
}

.ai-demo-modal__tabs {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	display: grid;
	gap: 4px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 14px;
	padding: 4px;
}

.ai-demo-modal__tab {
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.78);
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.4;
	padding: 9px 10px;
}

.ai-demo-modal__tab.is-active {
	background: #2f7bff;
	color: #ffffff;
}

.ai-demo-modal__frame {
	background: #ffffff;
	border: 0;
	border-radius: 18px;
	flex: 1 1 auto;
	height: clamp(420px, 58dvh, 540px);
	max-height: calc(100dvh - 230px);
	min-height: 0;
	width: 100%;
}

@media (max-width: 767px) {
	.gb-element-3bc65aaf .gb-text-6541f4e5.ai-demo-cta-button {
		margin-top: 12px;
	}

	.gb-element-3bc65aaf .gb-text-6541f4e5.ai-demo-cta-button::before {
		height: 50px !important;
		width: 50px !important;
	}

	.ai-demo-modal {
		padding: 18px;
	}

	.ai-demo-modal__dialog {
		border-radius: 18px;
		max-height: calc(100dvh - 36px);
		padding: 16px 12px 12px;
		width: min(calc(100vw - 38px), 350px);
	}

	.ai-demo-modal__close {
		font-size: 22px;
		height: 32px;
		right: 12px;
		top: 12px;
		width: 32px;
	}

	.ai-demo-modal__header {
		padding-right: 34px;
	}

	.ai-demo-modal__eyebrow {
		font-size: 10px;
		margin-bottom: 5px;
	}

	.ai-demo-modal__header h2 {
		font-size: 18px;
		letter-spacing: 0.02em;
		margin-bottom: 5px;
	}

	.ai-demo-modal__header p:last-child {
		font-size: 11.5px;
		line-height: 1.55;
		margin-bottom: 10px;
	}

	.ai-demo-modal__tabs {
		margin-bottom: 9px;
	}

	.ai-demo-modal__tab {
		font-size: 11.5px;
		padding: 7px 4px;
	}

	.ai-demo-modal__frame {
		border-radius: 14px;
		height: min(56dvh, 460px);
		max-height: calc(100dvh - 210px);
		min-height: 0;
	}
}

@media (max-width: 767px) and (max-height: 720px) {
	.ai-demo-modal {
		padding: 12px;
	}

	.ai-demo-modal__dialog {
		max-height: calc(100dvh - 24px);
	}

	.ai-demo-modal__header p:last-child {
		display: none;
	}

	.ai-demo-modal__frame {
		height: min(54dvh, 390px);
		max-height: calc(100dvh - 168px);
		min-height: 0;
	}
}
