

.hero-viewport {
	position: relative;
	min-height: clamp(540px, 64vh, 900px);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
	padding: 1rem 1rem;
	z-index: 1;
	isolation: isolate;
}

.hero-viewport::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 10rem;
	background: linear-gradient(to bottom,
		transparent 0%,
		rgba(10, 14, 39, 0.25) 35%,
		rgba(10, 14, 39, 0.6) 65%,
		rgba(10, 14, 39, 0.9) 85%,
		var(--c-navy) 100%
	);
	z-index: 10;
	pointer-events: none;
}

.hero-layers {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
	contain: layout paint;
}

.hero-net {
	position: absolute;
	left: 50%;
	top: 30%;
	width: min(2000px, 116%);
	transform: translate(-50%, -50%);
	aspect-ratio: 1400 / 760;
	opacity: 0.5;
	contain: layout paint;
	z-index: 1;
}

.space-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 130% 90% at 50% 108%, rgba(34, 197, 94, 0.10), transparent 62%),
		radial-gradient(ellipse at bottom, #08172c 0%, #060a18 100%);
	z-index: 0;
}

.hero-content::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 150%;
	height: 150%;
	transform: translate(-50%, -50%);
	background: radial-gradient(ellipse at center, rgba(6, 11, 28, 0.82) 0%, rgba(6, 11, 28, 0.5) 45%, transparent 72%);
	pointer-events: none;
	z-index: -1;
}

.hero-content {
	position: relative;
	z-index: 5;
	color: #e6eef0;
	max-width: 640px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.hero-content h1 {
	font-size: clamp(1.4rem, 3.4vw, 2.1rem);
	line-height: 1.05;
	margin: 0 0 0.35rem 0;
	color: #fff;
	font-weight: 700;
	letter-spacing: -0.025em;
	text-shadow:
		0 0 60px rgba(34, 197, 94, 0.25),
		0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-content .lead {
	color: var(--c-text-muted);
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	margin-bottom: 2rem;
	line-height: 1.6;
}

.hero-ctas {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.hero-primary:focus-visible {
	outline: 2px solid var(--c-green);
	outline-offset: 3px;
}

.hero-primary svg {
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-primary:hover svg {
	transform: translateX(5px);
}

.hero-secondary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.95rem 1.6rem;
	border-radius: 0;
	color: rgba(229, 231, 235, 0.95);
	background: rgba(17, 24, 39, 0.5);
	border: 1px solid rgba(148, 163, 184, 0.25);
	font-weight: 500;
	font-size: 1rem;
	text-decoration: none;
	transition:
		transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
		border-color 0.25s ease,
		background 0.25s ease,
		color 0.25s ease;
}
.hero-secondary:hover {
	transform: translateY(-2px);
	color: #e6ffe8;
	border-color: rgba(34, 197, 94, 0.45);
	background: rgba(20, 40, 30, 0.55);
}
.hero-secondary:focus-visible {
	outline: 2px solid var(--c-green);
	outline-offset: 3px;
}

@media (max-width: 1189px) {
	.hero-viewport {
		min-height: auto;
		padding: 3rem 1rem 2rem;
	}
	.hero-net { width: 132%; top: 34%; opacity: 0.44; }
}

@media (max-width: 860px) {
	.hero-net {
		width: 100%;
		height: 160%;
		top: 38%;
		aspect-ratio: auto;
		opacity: 0.5;
	}
	.hero-content::before {
		width: 118%;
		height: 116%;
		background: radial-gradient(ellipse at center, rgba(6, 11, 28, 0.72) 0%, rgba(6, 11, 28, 0.4) 52%, transparent 78%);
	}
}

@media (max-width: 768px) {
	.hero-ctas {
		flex-direction: column;
		align-items: stretch;
		gap: 0.8rem;
		width: 100%;
		max-width: 360px;
		margin-left: auto;
		margin-right: auto;
	}
	.hero-primary,
	.hero-secondary {
		justify-content: center;
		width: 100%;
		padding: 1.15rem 2rem;
		font-size: 1.05rem;
	}
}

@media (min-width: 1700px) {
	.hero-net { width: min(2500px, 112%); opacity: 0.44; }
}
