/**
 * Homepage hero — matches Homepage.html typography and layout (scoped).
 */
.agp-home-hero {
	--teal: #1aa18c;
	--teal-dark: #148a77;
	--teal-light: #e6f7f5;
	--navy: #0d1b2a;
	--gray: #6b7280;
	--white: #fff;
	--border: #e5e7eb;
	box-sizing: border-box;
	font-family: Sora, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.agp-home-hero *,
.agp-home-hero *::before,
.agp-home-hero *::after {
	box-sizing: border-box;
}

.agp-home-hero .hero-wrap {
	background: var(--white);
	border-bottom: 1px solid var(--border);
	padding: 0 40px;
	overflow: visible;
}

.agp-home-hero .hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 64px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 80px 0;
}

.agp-home-hero .hero h1 {
	color: var(--navy);
	margin: 0 0 20px;
	font-size: 48px;
	font-weight: 800;
	line-height: 1.1;
}

.agp-home-hero .hero h1 em {
	color: var(--teal);
	font-style: normal;
}

.agp-home-hero .hero-sub {
	color: var(--gray);
	max-width: 480px;
	margin: 0 0 36px;
	font-size: 17px;
	line-height: 1.75;
}

.agp-home-hero .btn-primary {
	background: var(--teal);
	color: #fff;
	border-radius: 100px;
	align-items: center;
	gap: 8px;
	padding: 15px 32px;
	font-family: Sora, sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s, transform 0.15s;
	display: inline-flex;
}

.agp-home-hero .btn-primary:hover {
	background: var(--teal-dark);
	transform: translateY(-1px);
}

.agp-home-hero .btn-primary svg {
	flex-shrink: 0;
}

/* Visual column */
.agp-home-hero .agp-home-hero-visual {
	justify-content: center;
	align-items: center;
	padding: 20px 0 20px 20px;
	display: flex;
	position: relative;
}

.agp-home-hero .agp-home-hero-visual-inner {
	z-index: 1;
	position: relative;
}

.agp-home-hero .agp-home-hero-visual img {
	border-radius: 16px;
	width: 100%;
	max-width: 600px;
	display: block;
	box-shadow: 0 12px 48px #00000026, 0 4px 16px #1aa18c1a;
	height: auto;
}

/* Floating stat cards */
.agp-home-hero .stat-float {
	z-index: 10;
	white-space: nowrap;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	animation: agp-home-hero-floatBob 3s ease-in-out infinite;
	display: flex;
	position: absolute;
	box-shadow: 0 4px 20px #00000014, 0 1px 4px #0000000a;
}

.agp-home-hero .stat-float-icon {
	border-radius: 8px;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	width: 32px;
	height: 32px;
	display: flex;
}

.agp-home-hero .stat-float-label {
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 3px;
	font-family: Sora, sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
}

.agp-home-hero .stat-float-value {
	color: #0d1b2a;
	font-family: Sora, sans-serif;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
}

.agp-home-hero .stat-float.agp-stat-middle {
	animation: agp-home-hero-floatBobMiddle 3s ease-in-out infinite;
}

@keyframes agp-home-hero-floatBob {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-5px);
	}
}

@keyframes agp-home-hero-floatBobMiddle {
	0%,
	100% {
		transform: translateY(-50%);
	}
	50% {
		transform: translateY(calc(-50% - 5px));
	}
}

@media (max-width: 900px) {
	.agp-home-hero .hero-wrap {
		padding-left: 20px;
		padding-right: 20px;
	}

	.agp-home-hero .hero-inner {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 56px 0;
	}

	.agp-home-hero .hero h1 {
		font-size: 32px;
	}

	.agp-home-hero .stat-float {
		display: none;
	}
}

@media (max-width: 600px) {
	.agp-home-hero .hero h1 {
		font-size: 26px;
	}
}
