/* Path: Frontend/src/routes/landing.module.scss */

.landingPage {
	min-height: 100dvh;
	width: 100%;
	overflow-x: clip;
	padding: clamp(1rem, 3vw, 2rem);
	background:
		radial-gradient(circle at top left, var(--page-glow-primary), transparent 30%),
		radial-gradient(circle at bottom right, var(--page-glow-secondary), transparent 24%),
		linear-gradient(135deg, var(--page-gradient-start), var(--page-gradient-end));
	display: grid;
	place-items: center;
}

.pageShell {
	width: min(920px, 100%);
	margin: 0 auto;
	min-width: 0;
}

.heroCard {
	min-width: 0;
	padding: clamp(1.5rem, 4vw, 4rem);
	border-radius: var(--radius-3xl);
	border: 1px solid var(--border-soft);
	background: color-mix(in srgb, var(--surface-panel) 94%, white 6%);
	box-shadow: var(--shadow-soft);
	backdrop-filter: blur(10px);
}

.heroContent {
	min-width: 0;
	display: grid;
	justify-items: start;
	gap: 1rem;
}

.eyebrow {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.brandLogo {
	display: block;
	width: min(100%, 12rem);
	height: auto;
}

.heroContent h1 {
	margin: 0;
	max-width: 24ch;
	font-size: clamp(2.3rem, 5vw, 4.8rem);
	line-height: 0.96;
	letter-spacing: -0.04em;
	color: var(--text-accent-strong);
	text-wrap: balance;
	margin-bottom: 1rem;
	margin-top: 1rem;
}

.heroText {
	margin: 0;
	max-width: 56ch;
	font-size: clamp(1rem, 1.5vw, 1.08rem);
	line-height: 1.7;
	color: var(--text);
	text-wrap: pretty;
}

.heroSubtext {
	margin: -0.2rem 0 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--text-muted);
	text-wrap: pretty;
}

.ctaRow {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding-top: 0.3rem;
}

.primaryButton,
.secondaryButton {
	appearance: none;
	max-width: 100%;
	padding: 0.95rem 1.35rem;
	border-radius: var(--radius-full);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.1;
	cursor: pointer;
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		background-color 0.18s ease,
		filter 0.18s ease;

	&:hover {
		transform: translateY(-1px);
	}

	@media (max-width: 560px) {
		flex: 1 1 100%;
	}
}

.primaryButton {
	border: none;
	color: var(--action-primary-text);
	background: linear-gradient(135deg, var(--action-primary-start), var(--action-primary-end));
	box-shadow: var(--action-primary-shadow);

	&:hover {
		box-shadow: var(--action-primary-shadow-hover);
		filter: brightness(1.03);
	}
}

.secondaryButton {
	border: 1px solid var(--border-strong);
	color: var(--text-accent-strong);
	background: color-mix(in srgb, var(--surface-panel-strong) 84%, white 16%);

	&:hover {
		background: color-mix(in srgb, var(--surface-panel-strong) 92%, white 8%);
	}
}

.inlineHighlights {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	padding-top: 0.25rem;

	span {
		max-width: 100%;
		padding: 0.55rem 0.8rem;
		border-radius: var(--radius-full);
		border: 1px solid var(--border-soft);
		background: color-mix(in srgb, var(--surface-accent-soft) 60%, white 40%);
		font-size: 0.88rem;
		font-weight: 600;
		line-height: 1.3;
		color: var(--text);
		overflow-wrap: anywhere;
	}
}
