/* =========================================================================
 * hero.css — homepage hero with two hexagonal background panels
 * ========================================================================= */

.lb-hero {
	position: relative;
	background: var(--lb-surface);
	overflow: hidden;
	isolation: isolate;
}

/* Two hexagonal panels: left + right. Pure CSS — no extra DOM. */
.lb-hero::before,
.lb-hero::after {
	content: '';
	position: absolute;
	top: 0; bottom: 0;
	width: 50%;
	pointer-events: none;
	z-index: 0;
	background-repeat: no-repeat;
	background-size: contain;
	transition: opacity var(--lb-dur) var(--lb-ease);
}
.lb-hero::before {
	left: 0;
	background-image: var(--lb-hero-bg-left);
	background-position: left center;
}
.lb-hero::after {
	right: 0;
	background-image: var(--lb-hero-bg-right);
	background-position: right center;
}

.lb-hero__inner {
	position: relative;
	z-index: 1;
	max-width: var(--lb-container);
	margin: 0 auto;
	padding: clamp(3rem, 6vw, 6rem) var(--lb-s-3);
	min-height: 420px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.lb-hero__title {
	max-width: 720px;
	font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
	font-weight: 700;
	margin: 0 0 var(--lb-s-2);
	letter-spacing: -0.015em;
}

.lb-hero__subtitle {
	max-width: 620px;
	font-size: 1.05rem;
	color: var(--lb-muted);
	margin: 0 0 var(--lb-s-3);
	line-height: 1.6;
}

.lb-hero__form {
	display: flex;
	gap: 0.6rem;
	width: 100%;
	max-width: 480px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	padding: 0.4rem;
	border: 1px solid var(--lb-border);
	border-radius: 999px;
	box-shadow: var(--lb-shadow);
}

.lb-hero__form .lb-input {
	border: none;
	background: transparent;
	flex: 1;
	padding-inline: 1.1rem;
}
.lb-hero__form .lb-input:focus {
	box-shadow: none;
}
.lb-hero__form .lb-btn {
	border-radius: 999px;
	padding-inline: 1.5rem;
	white-space: nowrap;
}

.lb-hero__note {
	margin-top: var(--lb-s-2);
	font-size: 0.85rem;
	color: var(--lb-muted);
}

.lb-hero__shortcode {
	width: 100%;
	max-width: 520px;
}

/* Responsive: at narrower widths the side panels would overlap the form, so fade them out. */
@media (max-width: 1100px) {
	.lb-hero::before,
	.lb-hero::after {
		opacity: 0.45;
	}
}
@media (max-width: 720px) {
	.lb-hero::before,
	.lb-hero::after {
		opacity: 0;
	}
	.lb-hero__form {
		flex-direction: column;
		border-radius: var(--lb-radius);
		padding: 0.75rem;
	}
	.lb-hero__form .lb-input {
		padding: 0.7em 1em;
		border: 1px solid var(--lb-border);
		border-radius: var(--lb-radius);
		background: #fff;
	}
	.lb-hero__form .lb-btn {
		border-radius: var(--lb-radius);
		padding: 0.7em 1.4em;
	}
}
