/**
 * Salera Hero widget styles.
 */

.salera-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: #0d1713;
	padding: 0;
	color: #fff;
}

.salera-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.salera-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.45;
	transform: scale(1.05);
}

.salera-hero__overlay {
	--salera-hero-overlay: #070C0A;
	--salera-hero-overlay-opacity: 0.8;
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		90deg,
		color-mix(in srgb, var(--salera-hero-overlay) calc(var(--salera-hero-overlay-opacity) * 115%), transparent) 0%,
		color-mix(in srgb, var(--salera-hero-overlay) calc(var(--salera-hero-overlay-opacity) * 90%), transparent) 40%,
		color-mix(in srgb, var(--salera-hero-overlay) calc(var(--salera-hero-overlay-opacity) * 44%), transparent) 100%
	);
}

/* Fallback for browsers without color-mix support. */
@supports not (background: color-mix(in srgb, red, blue)) {
	.salera-hero__overlay {
		background: linear-gradient(
			90deg,
			rgba(7, 12, 10, 0.92) 0%,
			rgba(7, 12, 10, 0.72) 40%,
			rgba(7, 12, 10, 0.35) 100%
		);
	}
}

.salera-hero__noise {
	position: absolute;
	inset: 0;
	z-index: 2;
	opacity: 0.06;
	background-image: radial-gradient(#ffffff 1px, transparent 1px);
	background-size: 4px 4px;
	pointer-events: none;
}

.salera-hero__container {
	position: relative;
	z-index: 5;
	width: 88%;
	max-width: 1280px;
	margin: 0 auto;
}

.salera-hero__wrapper {
	display: grid;
	grid-template-columns: 1.1fr 0.7fr;
	gap: 70px;
	align-items: center;
	padding: 120px 0;
}

.salera-hero__content {
	color: inherit;
}

.salera-hero__top {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 34px;
}

.salera-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.06);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-radius: 100px;
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

.salera-hero__line {
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, 0.12);
}

.salera-hero__title {
	font-family: var(--salera-serif);
	font-size: 102px;
	line-height: 0.92;
	letter-spacing: -4px;
	font-weight: 500;
	margin: 0 0 34px;
}

.salera-hero__title-highlight {
	font-style: italic;
	color: #d8e8dc;
}

.salera-hero__text {
	max-width: 640px;
	font-size: 18px;
	line-height: 2;
	color: rgba(255, 255, 255, 0.76);
	margin: 0 0 46px;
}

.salera-hero__actions {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}

.salera-hero__btn {
	padding: 18px 30px;
	border-radius: 100px;
	font-weight: 700;
	transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-family: inherit;
	font-size: 15px;
}

.salera-hero__btn--primary {
	background: #ffffff;
	color: #123426;
	border: 1px solid transparent;
}

.salera-hero__btn--primary:hover,
.salera-hero__btn--primary:focus-visible {
	transform: translateY(-4px);
	background: #edf4ef;
}

.salera-hero__btn--secondary {
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: #ffffff;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.05);
}

.salera-hero__btn--secondary:hover,
.salera-hero__btn--secondary:focus-visible {
	background: #ffffff;
	color: #123426;
}

.salera-hero__trust {
	display: flex;
	align-items: center;
	gap: 28px;
	margin-top: 70px;
	flex-wrap: wrap;
}

.salera-hero__trust-item {
	min-width: 120px;
}

.salera-hero__trust-value {
	font-family: var(--salera-serif);
	font-size: 52px;
	font-weight: 600;
	line-height: 1;
	margin: 0 0 10px;
	color: #fff;
}

.salera-hero__trust-label {
	color: rgba(255, 255, 255, 0.65);
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.salera-hero__trust-divider {
	width: 1px;
	height: 60px;
	background: rgba(255, 255, 255, 0.12);
}

/* Floating glass card */
.salera-hero__card {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.10);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	border-radius: 34px;
	padding: 36px;
	color: #fff;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.salera-hero.is-card-floating .salera-hero__card {
	animation: salera-hero-float 7s ease-in-out infinite;
}

@keyframes salera-hero-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

.salera-hero__card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 34px;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}

.salera-hero__pulse {
	width: 12px;
	height: 12px;
	background: #63d391;
	border-radius: 50%;
	animation: salera-hero-pulse 2s infinite;
}

@keyframes salera-hero-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(99, 211, 145, 0.5); }
	70%  { box-shadow: 0 0 0 14px rgba(99, 211, 145, 0); }
	100% { box-shadow: 0 0 0 0 rgba(99, 211, 145, 0); }
}

.salera-hero__quality {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.salera-hero__quality-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 22px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.salera-hero__quality-row small {
	color: rgba(255, 255, 255, 0.55);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	display: block;
}

.salera-hero__quality-row h2 {
	font-family: var(--salera-serif);
	font-size: 48px;
	margin: 8px 0 0;
	font-weight: 500;
	color: #fff;
}

.salera-hero__quality-status {
	padding: 10px 16px;
	border-radius: 100px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.salera-hero__quality-status.is-good {
	background: #1f5d42;
}

.salera-hero__saving {
	margin-top: 34px;
}

.salera-hero__saving small {
	color: rgba(255, 255, 255, 0.55);
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 11px;
}

.salera-hero__saving h3 {
	font-family: var(--salera-serif);
	font-size: 72px;
	margin: 10px 0 18px;
	font-weight: 500;
	color: #fff;
}

.salera-hero__saving p {
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.8;
	margin: 0;
}

@media (max-width: 1200px) {
	.salera-hero__wrapper {
		grid-template-columns: 1fr;
	}

	.salera-hero__title {
		font-size: 82px;
	}
}

@media (max-width: 768px) {
	.salera-hero {
		min-height: auto;
	}

	.salera-hero__wrapper {
		padding: 100px 0;
		gap: 50px;
	}

	.salera-hero__title {
		font-size: 58px;
		letter-spacing: -2px;
	}

	.salera-hero__text {
		font-size: 16px;
		line-height: 1.9;
	}

	.salera-hero__trust {
		gap: 20px;
	}

	.salera-hero__trust-divider {
		display: none;
	}

	.salera-hero__card {
		padding: 28px;
	}

	.salera-hero__saving h3 {
		font-size: 56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.salera-hero.is-card-floating .salera-hero__card,
	.salera-hero__pulse {
		animation: none;
	}
}
