#ai-home-page {
	--ai-home-primary: #2b9dee;
	--ai-home-primary-dark: #1f8bd9;
	--ai-home-ink: #0f172a;
	--ai-home-text: #334155;
	--ai-home-muted: #64748b;
	--ai-home-border: #dbe5ef;
	--ai-home-soft-border: #edf2f7;
	--ai-home-surface: #ffffff;
	--ai-home-surface-alt: #f6f8fb;
	--ai-home-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
	--ai-home-shell: 1280px;
	--ai-home-radius-xl: 32px;
	--ai-home-radius-lg: 24px;
	--ai-home-radius-md: 18px;
	--ai-home-radius-sm: 14px;
	font-family: "Lexend", var(--cf-font-body);
	color: var(--ai-home-ink);
	background:
		radial-gradient(circle at top left, rgba(43, 157, 238, 0.14), transparent 34%),
		linear-gradient(180deg, #ffffff 0%, #f5f8fc 52%, #ffffff 100%);
}

body.page-template-template-home #content.site-content,
body.page-template-page-templatestemplate-home-php #content.site-content {
	padding: 0;
}

body.page-template-template-home .site-main,
body.page-template-page-templatestemplate-home-php .site-main {
	margin: 0;
	padding: 0;
}

#ai-home-page *,
#ai-home-page *::before,
#ai-home-page *::after {
	box-sizing: border-box;
}

#ai-home-page a {
	color: inherit;
	text-decoration: none;
}

#ai-home-page p {
	margin: 0;
}

#ai-home-page img {
	display: block;
	max-width: 100%;
}

#ai-home-page .ai-home-shell {
	width: min(100%, var(--ai-home-shell));
	margin: 0 auto;
	padding: 0 24px;
}

#ai-home-page .ai-home-icon {
	font-family: "Material Symbols Outlined";
	font-style: normal;
	font-weight: 400;
	font-size: 24px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
	font-variation-settings:
		"FILL" 0,
		"wght" 400,
		"GRAD" 0,
		"opsz" 24;
}

#ai-home-page .ai-home-icon--filled {
	font-variation-settings:
		"FILL" 1,
		"wght" 500,
		"GRAD" 0,
		"opsz" 24;
}

#ai-home-page .ai-home-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 58px;
	padding: 16px 28px;
	border-radius: 18px;
	border: 1px solid transparent;
	background: linear-gradient(135deg, var(--ai-home-primary) 0%, #46b1ff 100%);
	color: #ffffff;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: 0 18px 34px rgba(43, 157, 238, 0.24);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease,
		border-color 0.2s ease;
}

#ai-home-page .ai-home-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 22px 40px rgba(43, 157, 238, 0.28);
	color: #ffffff;
}

#ai-home-page .ai-home-button--ghost {
	background: transparent;
	border-color: var(--ai-home-border);
	box-shadow: none;
	color: var(--ai-home-ink);
}

#ai-home-page .ai-home-button--ghost:hover {
	background: rgba(255, 255, 255, 0.88);
	color: var(--ai-home-ink);
	box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

#ai-home-page .ai-home-hero {
	position: relative;
	padding: 34px 0 72px;
	overflow: hidden;
}

#ai-home-page .ai-home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 82% 16%, rgba(43, 157, 238, 0.22), transparent 18%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
	pointer-events: none;
}

#ai-home-page .ai-home-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
	align-items: center;
	gap: 36px;
}

#ai-home-page .ai-home-hero__content {
	position: relative;
	z-index: 1;
	padding: 48px 0;
}

#ai-home-page .ai-home-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(43, 157, 238, 0.1);
	color: var(--ai-home-primary);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin-bottom: 28px;
}

#ai-home-page .ai-home-badge__dot {
	position: relative;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ai-home-primary);
	box-shadow: 0 0 0 0 rgba(43, 157, 238, 0.45);
	animation: ai-home-pulse 1.8s infinite;
}

@keyframes ai-home-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(43, 157, 238, 0.45);
	}

	70% {
		box-shadow: 0 0 0 14px rgba(43, 157, 238, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(43, 157, 238, 0);
	}
}

#ai-home-page .ai-home-hero__title {
	margin: 0 0 24px;
	font-size: clamp(2.9rem, 5.8vw, 5.3rem);
	line-height: 1.02;
	letter-spacing: -0.045em;
	color: var(--ai-home-ink);
}

#ai-home-page .ai-home-hero__title span {
	color: var(--ai-home-primary);
}

#ai-home-page .ai-home-hero__text {
	max-width: 620px;
	font-size: 1.08rem;
	line-height: 1.85;
	color: var(--ai-home-text);
	margin-bottom: 34px;
}

#ai-home-page .ai-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

#ai-home-page .ai-home-hero__visual {
	position: relative;
	min-height: 620px;
	display: flex;
	align-items: stretch;
	justify-content: center;
}

#ai-home-page .ai-home-hero__image-wrap {
	position: relative;
	width: 100%;
	border-radius: 0 0 var(--ai-home-radius-xl) var(--ai-home-radius-xl);
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(226, 236, 245, 0.7) 0%, rgba(209, 223, 238, 0.94) 100%);
	box-shadow: var(--ai-home-shadow);
}

#ai-home-page .ai-home-hero__image-wrap::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 56%, rgba(255, 255, 255, 0.16) 100%);
}

#ai-home-page .ai-home-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	filter: grayscale(18%);
}

#ai-home-page .ai-home-director-card {
	position: absolute;
	right: 28px;
	bottom: 28px;
	z-index: 2;
	padding: 24px;
	min-width: 220px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.85);
	box-shadow: 0 24px 40px rgba(15, 23, 42, 0.14);
}

#ai-home-page .ai-home-director-card__eyebrow {
	color: var(--ai-home-primary);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 6px;
}

#ai-home-page .ai-home-director-card__name {
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 10px;
}

#ai-home-page .ai-home-rating {
	display: flex;
	gap: 2px;
	color: #f6be2c;
}

#ai-home-page .ai-home-icon--star {
	font-size: 22px;
}

#ai-home-page .ai-home-quicklinks {
	padding: 0 0 24px;
}

#ai-home-page .ai-home-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

#ai-home-page .ai-home-card {
	display: block;
	padding: 34px 32px;
	border-radius: 26px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid var(--ai-home-soft-border);
	box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

#ai-home-page .ai-home-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 26px 42px rgba(15, 23, 42, 0.1);
	border-color: rgba(43, 157, 238, 0.18);
}

#ai-home-page .ai-home-card--accent {
	background: linear-gradient(135deg, var(--ai-home-primary) 0%, #4ab5ff 100%);
	color: #ffffff;
	box-shadow: 0 20px 40px rgba(43, 157, 238, 0.28);
}

#ai-home-page .ai-home-card__icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: rgba(43, 157, 238, 0.12);
	color: var(--ai-home-primary);
	margin-bottom: 24px;
}

#ai-home-page .ai-home-card__icon-wrap--accent {
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
}

#ai-home-page .ai-home-card__title {
	margin: 0 0 10px;
	font-size: 1.35rem;
	line-height: 1.25;
	color: var(--ai-home-ink);
}

#ai-home-page .ai-home-card__text {
	color: var(--ai-home-muted);
	font-size: 0.95rem;
	line-height: 1.7;
}

#ai-home-page .ai-home-card--accent .ai-home-card__text {
	color: rgba(255, 255, 255, 0.82);
}

#ai-home-page .ai-home-card--accent .ai-home-card__title {
	color: #ffffff;
}

#ai-home-page .ai-home-expertise {
	padding: 96px 0;
	background:
		linear-gradient(180deg, rgba(250, 252, 255, 0.88) 0%, rgba(241, 246, 252, 0.96) 100%);
}

#ai-home-page .ai-home-section-heading {
	margin-bottom: 56px;
}

#ai-home-page .ai-home-section-heading--center {
	text-align: center;
}

#ai-home-page .ai-home-section-heading__eyebrow {
	margin-bottom: 14px;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--ai-home-primary);
}

#ai-home-page .ai-home-section-heading__title {
	margin: 0;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.16;
	letter-spacing: -0.03em;
}

#ai-home-page .ai-home-section-heading__text {
	margin-top: 14px;
	color: var(--ai-home-muted);
	font-size: 1rem;
}

#ai-home-page .ai-home-expertise__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
	align-items: center;
	gap: 48px;
}

#ai-home-page .ai-home-expertise__media {
	position: relative;
	border-radius: 32px;
	overflow: hidden;
	box-shadow: var(--ai-home-shadow);
}

#ai-home-page .ai-home-expertise__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(43, 157, 238, 0.08) 0%, rgba(43, 157, 238, 0.28) 100%);
	mix-blend-mode: multiply;
	pointer-events: none;
}

#ai-home-page .ai-home-expertise__image {
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

#ai-home-page .ai-home-feature-list {
	display: grid;
	gap: 24px;
}

#ai-home-page .ai-home-feature {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 18px;
	align-items: start;
	padding: 24px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(219, 229, 239, 0.72);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

#ai-home-page .ai-home-feature__icon {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: rgba(43, 157, 238, 0.12);
	color: var(--ai-home-primary);
}

#ai-home-page .ai-home-feature__title {
	margin: 0 0 8px;
	font-size: 1.2rem;
}

#ai-home-page .ai-home-feature__text {
	color: var(--ai-home-text);
	font-size: 0.96rem;
	line-height: 1.75;
}

#ai-home-page .ai-home-system {
	padding: 108px 0 112px;
}

#ai-home-page .ai-home-step-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

#ai-home-page .ai-home-step {
	position: relative;
	text-align: center;
	padding: 24px 18px 0;
}

#ai-home-page .ai-home-step::after {
	content: "";
	position: absolute;
	top: 58px;
	left: calc(100% - 12px);
	width: 24px;
	height: 2px;
	background: linear-gradient(90deg, rgba(43, 157, 238, 0.38), rgba(43, 157, 238, 0));
}

#ai-home-page .ai-home-step:last-child::after {
	display: none;
}

#ai-home-page .ai-home-step__icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 104px;
	height: 104px;
	border-radius: 999px;
	border: 4px solid rgba(43, 157, 238, 0.18);
	background: rgba(255, 255, 255, 0.92);
	color: var(--ai-home-primary);
	box-shadow: 0 16px 30px rgba(15, 23, 42, 0.05);
	margin-bottom: 24px;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

#ai-home-page .ai-home-step:hover .ai-home-step__icon-wrap {
	border-color: var(--ai-home-primary);
	transform: translateY(-4px);
}

#ai-home-page .ai-home-step__label {
	display: inline-flex;
	padding: 7px 12px;
	border-radius: 999px;
	background: var(--ai-home-primary);
	color: #ffffff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	margin-bottom: 14px;
}

#ai-home-page .ai-home-step__title {
	margin: 0 0 10px;
	font-size: 1.25rem;
}

#ai-home-page .ai-home-step__text {
	color: var(--ai-home-muted);
	font-size: 0.95rem;
	line-height: 1.7;
}

#ai-home-page .ai-home-anchor {
	position: relative;
	top: -96px;
}

#ai-home-page .ai-home-mobile-nav {
	display: none;
}

@media (max-width: 1100px) {
	#ai-home-page .ai-home-hero__inner,
	#ai-home-page .ai-home-expertise__grid {
		grid-template-columns: 1fr;
	}

	#ai-home-page .ai-home-hero__visual {
		min-height: 480px;
	}

	#ai-home-page .ai-home-card-grid,
	#ai-home-page .ai-home-step-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#ai-home-page .ai-home-step:nth-child(2)::after {
		display: none;
	}
}

@media (max-width: 767px) {
	#ai-home-page .ai-home-shell {
		padding: 0 18px;
	}

	#ai-home-page .ai-home-hero {
		padding: 12px 0 48px;
	}

	#ai-home-page .ai-home-hero__content {
		padding: 28px 0 0;
	}

	#ai-home-page .ai-home-hero__text {
		font-size: 0.98rem;
	}

	#ai-home-page .ai-home-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	#ai-home-page .ai-home-button,
	#ai-home-page .ai-home-button--ghost {
		width: 100%;
	}

	#ai-home-page .ai-home-hero__visual {
		min-height: 420px;
	}

	#ai-home-page .ai-home-hero__image-wrap {
		border-radius: 24px;
	}

	#ai-home-page .ai-home-director-card {
		left: 18px;
		right: 18px;
		bottom: 18px;
		min-width: 0;
		padding: 18px;
	}

	#ai-home-page .ai-home-card-grid,
	#ai-home-page .ai-home-step-grid {
		grid-template-columns: 1fr;
	}

	#ai-home-page .ai-home-card,
	#ai-home-page .ai-home-feature {
		padding: 26px 22px;
	}

	#ai-home-page .ai-home-expertise,
	#ai-home-page .ai-home-system {
		padding-top: 72px;
		padding-bottom: 72px;
	}

	#ai-home-page .ai-home-section-heading {
		margin-bottom: 36px;
	}

	#ai-home-page .ai-home-step {
		padding-left: 0;
		padding-right: 0;
	}

	#ai-home-page .ai-home-step::after {
		display: none;
	}

	#ai-home-page {
		padding-bottom: 92px;
	}

	#ai-home-page .ai-home-mobile-nav {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 50;
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, 0.96);
		border-top: 1px solid rgba(219, 229, 239, 0.92);
		backdrop-filter: blur(18px);
	}

	#ai-home-page .ai-home-mobile-nav__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 5px;
		padding: 6px 4px;
		color: #94a3b8;
		font-size: 0.72rem;
		font-weight: 700;
	}

	#ai-home-page .ai-home-mobile-nav__item--active {
		color: var(--ai-home-primary);
	}
}
