/*!
 * Influenzic Gen 2 — Homepage Hero Section
 *
 * @package influenzic
 */

.g2-hero {
	padding: 132px 0 60px;
	position: relative;
	overflow: hidden;
}

.has-inzc-promo .g2-hero {
	padding-top: 142px;
}

.g2-hero__bg-lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}

.g2-orbit--left-outer {
	transform-origin: 240px 360px;
	animation: g2SpinCW 42s linear infinite;
}

.g2-orbit--left-mid {
	transform-origin: 240px 360px;
	animation: g2SpinCCW 28s linear infinite;
}

.g2-orbit--left-inner {
	transform-origin: 240px 360px;
	animation: g2SpinCW 22s linear infinite;
}

.g2-orbit--right {
	transform-origin: 1140px 330px;
	animation: g2SpinCCW 54s linear infinite;
}

@keyframes g2SpinCW {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes g2SpinCCW {
	from {
		transform: rotate(360deg);
	}

	to {
		transform: rotate(0deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.g2-orbit,
	.g2-callout {
		animation: none;
	}
}

.g2-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.32fr);
	gap: 24px;
	align-items: center;
}

.g2-hero__title {
	font-size: var(--g2-text-hero);
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.025em;
	color: var(--g2-bg-white);
	margin: 0 0 18px;
}

.g2-hero__accent {
	color: var(--g2-secondary);
}

.g2-hero__sub {
	font-size: var(--g2-text-lead);
	line-height: 1.6;
	color: var(--g2-text-on-dark-muted);
	margin: 0 0 26px;
	max-width: 520px;
}

.g2-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px;
}

.g2-hero__trust {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, auto));
	gap: 12px 18px;
	font-size: 12.5px;
	color: #cbd5e1;
}

.g2-hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.g2-check-dot {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--g2-tertiary);
	color: var(--g2-bg-white, #ffffff);
	font-size: 11px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.g2-hero__visual {
	position: relative;
	padding: 22px 0 20px;
}

.g2-hero__img {
	display: block;
	width: 95%;
	max-width: none;
	margin-left: 1%;
	height: auto;
	filter: drop-shadow(0 28px 50px rgba(8, 10, 28, 0.45));
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.g2-hero__visual:hover .g2-hero__img {
	transform: translateY(-3px);
}

.g2-callout {
	position: absolute;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--g2-bg-white);
	color: var(--g2-text-heading);
	border: 1px solid var(--g2-border);
	border-radius: 12px;
	padding: 8px 12px;
	box-shadow: var(--g2-shadow-md);
	max-width: 245px;
	animation: g2Float 5.5s ease-in-out infinite;
}

.g2-callout strong {
	display: block;
	font-size: 12px;
	line-height: 1.25;
	color: var(--g2-text-heading);
}

.g2-callout span {
	display: block;
	font-size: 10.5px;
	color: var(--g2-text-muted);
	line-height: 1.3;
}

.g2-callout__num {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--g2-primary-bright);
	color: var(--g2-bg-white) !important;
	font-size: 12px !important;
	line-height: 1 !important;
	font-weight: 800;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.g2-callout__num--green {
	background: var(--g2-tertiary);
	color: #0f172a !important;
}

.g2-callout__num--indigo {
	background: var(--g2-primary);
}

.g2-callout--1 {
	top: 10px;
	left: 6px;
	border-color: #93c5fd;
	animation-delay: 0s;
}

.g2-callout--2 {
	top: 0px;
	right: 4px;
	border-color: #6ee7b7;
	animation-delay: 1.2s;
}

.g2-callout--3 {
	bottom: 4px;
	right: 4px;
	border-color: #a5b4fc;
	animation-delay: 2.2s;
}

.g2-callout__arrow {
	position: absolute;
	pointer-events: none;
}

.g2-callout__arrow--1 {
	left: 16px;
	top: 100%;
	margin-top: 2px;
}

.g2-callout__arrow--2 {
	right: 22px;
	top: 100%;
	margin-top: 2px;
}

.g2-callout__arrow--3 {
	right: 28px;
	bottom: 100%;
	margin-bottom: 2px;
}

.g2-callout-more {
	display: none;
}

@keyframes g2Float {
	0%,
	100% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-5px);
	}
}

@media (max-width: 1024px) {
	.g2-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 768px) {
	.g2-hero {
		padding: 108px 0 44px;
	}

	.has-inzc-promo .g2-hero {
		padding-top: 205px;
	}

	.g2-hero__grid {
		gap: 28px;
	}

	.g2-hero__copy {
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.g2-hero__title {
		font-size: clamp(1.85rem, 7.5vw, 2.35rem);
		margin-bottom: 14px;
	}

	.g2-hero__sub {
		font-size: 15px;
		margin-bottom: 22px;
	}

	.g2-hero__actions {
		width: 100%;
		justify-content: center;
		gap: 10px;
		margin-bottom: 20px;
	}

	.g2-hero__actions .g2-btn {
		width: 100%;
		justify-content: center;
	}

	.g2-hero__trust {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		gap: 8px;
	}

	.g2-hero__visual {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 14px;
		border-radius: 20px;
		background: radial-gradient(circle at 50% 35%, rgba(var(--g2-primary-rgb), 0.32), rgba(255, 255, 255, 0.03) 72%);
		border: 1px solid rgba(255, 255, 255, 0.12);
		box-shadow: 0 20px 50px rgba(2, 6, 23, 0.45);
	}

	.g2-hero__img {
		order: 1;
		width: 100%;
		margin: 0 auto 4px;
	}

	.g2-callout {
		position: static;
		max-width: 100%;
		width: 100%;
		animation: none;
		background: rgba(255, 255, 255, 0.96);
		box-shadow: 0 8px 20px rgba(2, 6, 23, 0.25);
		padding: 10px 14px;
	}

	.g2-callout__num {
		display: none !important;
	}

	.g2-callout--1 {
		order: 2;
	}

	.g2-callout--2 {
		order: 3;
	}

	.g2-callout--3 {
		order: 4;
	}

	.g2-callout__arrow {
		display: none;
	}

	.g2-callout-more {
		order: 5;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		font-size: 12.5px;
		font-weight: 600;
		color: #e2e8f0;
		text-decoration: none;
		padding: 6px 12px;
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.08);
		border: 1px solid rgba(255, 255, 255, 0.14);
		align-self: center;
		margin-top: 2px;
	}
}
