﻿/* ---------- Premium hero + book carousel (main.css) ---------- */
.hero-premium {
	position: relative;
	width: 100%;
	overflow: hidden;
	--hero-cream: #f7f5f1;
	background:
		radial-gradient(ellipse 70% 50% at 85% 20%, rgba(197, 160, 89, 0.12), transparent 55%),
		radial-gradient(ellipse 50% 40% at 10% 80%, rgba(15, 36, 71, 0.06), transparent 50%),
		linear-gradient(180deg, #faf9f7 0%, var(--color-surface) 100%);
}

.hero-premium__glow {
	position: absolute;
	border-radius: 9999px;
	pointer-events: none;
	filter: blur(64px);
	z-index: 0;
}

.hero-premium__glow--a {
	top: -4rem;
	right: 20%;
	width: 22rem;
	height: 22rem;
	background: rgba(148, 163, 184, 0.22);
}

.hero-premium__glow--b {
	bottom: 0;
	left: 5%;
	width: 18rem;
	height: 18rem;
	background: rgba(15, 36, 71, 0.05);
}

.hero-premium__stripes {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: 0.45;
	background-image: repeating-linear-gradient(
		-45deg,
		transparent,
		transparent 10px,
		rgba(15, 36, 71, 0.03) 10px,
		rgba(15, 36, 71, 0.03) 11px
	);
	mask-image: linear-gradient(90deg, transparent 0%, transparent 45%, #000 70%);
}

.hero-premium__inner {
	position: relative;
	z-index: 10;
	width: 100%;
	max-width: 80rem;
	margin-inline: auto;
	padding: 2.5rem 1.5rem 4rem;
}

@media (min-width: 64rem) {
	.hero-premium__inner {
		padding: 3.5rem 1.5rem 6rem;
	}
}

.hero-premium__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
}

@media (min-width: 64rem) {
	.hero-premium__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 1.5rem;
	}

	.hero-premium__copy {
		grid-column: span 5;
	}

	.hero-premium__stage {
		grid-column: span 7;
	}
}

.hero-premium__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.75rem;
	animation: hero-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
	max-width: 28rem;
}

.hero-premium__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.45rem 0.95rem;
	border-radius: 9999px;
	background: #fff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 1px 2px rgba(15, 36, 71, 0.04);
	color: #334155;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.4;
}

.hero-premium__badge-dot {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 9999px;
	background: var(--color-gold-accent);
	flex-shrink: 0;
	box-shadow: 0 0 0 3px rgba(180, 138, 60, 0.18);
}

.hero-premium__title {
	display: flex;
	flex-direction: column;
	gap: 0.12em;
	margin: 0;
	font-family: var(--font-body);
	font-size: clamp(2.35rem, 5.2vw, 3.35rem);
	line-height: 1.18;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.hero-premium__title-solid {
	color: var(--color-primary);
}

.hero-premium__title-accent {
	color: #a67c37;
}

.hero-premium__lede {
	max-width: 26rem;
	margin: 0;
	color: #64748b;
	font-size: 0.98rem;
	line-height: 1.9;
	font-weight: 400;
}

.hero-premium__cta {
	width: 100%;
	max-width: 32rem;
}

.hero-premium__cta-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.7rem 0.7rem 0.7rem 1.35rem;
	background: #15233d;
	border-radius: 1.35rem;
	box-shadow: 0 18px 44px -14px rgba(15, 36, 71, 0.4);
}

.hero-premium__cta-price {
	min-width: 0;
	flex: 1;
}

.hero-premium__cta-topline {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 0.35rem;
}

.hero-premium__cta-label {
	font-size: 0.78rem;
	color: #c5a059;
	font-weight: 600;
}

.hero-premium__cta-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0.55rem;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.68rem;
	font-weight: 600;
	white-space: nowrap;
}

.hero-premium__cta-amounts {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
}

.hero-premium__cta-now {
	font-size: 1.35rem;
	font-weight: 800;
	color: #fff;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
	line-height: 1;
}

.hero-premium__cta-old {
	font-size: 0.85rem;
	color: rgba(148, 163, 184, 0.85);
	text-decoration: line-through;
	font-weight: 500;
}

.hero-premium__cta-old[hidden] {
	display: none;
}

.hero-premium__cta-unit {
	font-size: 0.8rem;
	color: rgba(186, 198, 214, 0.9);
	font-weight: 500;
}

.hero-premium__cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	flex-shrink: 0;
	padding: 0.95rem 1.35rem;
	border-radius: 0.95rem;
	background: #a67c37;
	color: #fff;
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease;
	box-shadow: 0 4px 14px rgba(166, 124, 55, 0.35);
}

.hero-premium__cta-btn:hover {
	background: #8c6721;
	transform: translateY(-1px);
}

.hero-premium__cta-btn .material-symbols-outlined {
	font-size: 1.125rem;
}

.hero-premium__proof {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.65rem;
	color: #64748b;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.4;
}

.hero-premium__proof-stars {
	display: inline-flex;
	align-items: center;
	gap: 0.05rem;
	color: #b48a3c;
}

.hero-premium__proof-stars .material-symbols-outlined {
	font-size: 1rem;
}

.hero-premium__proof-rating {
	color: #0f172a;
	font-weight: 700;
}

.hero-premium__proof-rating span {
	color: #94a3b8;
	font-weight: 400;
}

.hero-premium__proof-sep {
	color: #cbd5e1;
	font-weight: 400;
}

.hero-premium__stage {
	position: relative;
	animation: hero-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
	min-height: 32rem;
	overflow: visible;
}

@keyframes hero-fade-up {
	from {
		opacity: 0;
		transform: translateY(1.25rem);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-premium__copy,
	.hero-premium__stage {
		animation: none;
	}

	.hero-premium__cta-btn {
		transition: none;
	}

	.hero-premium__cta-btn:hover {
		transform: none;
	}
}

.hero-carousel {
	position: relative;
	width: 100%;
	height: 30rem;
	margin-bottom: 2.5rem;
	touch-action: pan-y;
	user-select: none;
	overflow: visible;
}

.hero-carousel__track {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.hero-carousel__card {
	position: absolute;
	/* Physical left + translateX: coverflow exception â€” see docs/frontend/rtl.md */
	left: 50%;
	top: 50%;
	width: min(16.25rem, 62vw);
	aspect-ratio: 3 / 4.75;
	margin: 0;
	padding: 1.15rem;
	border-radius: 1.65rem;
	background:
		linear-gradient(155deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.28) 48%, rgba(255, 255, 255, 0.12) 100%),
		rgba(248, 250, 252, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.65);
	box-shadow:
		0 24px 48px -20px rgba(15, 36, 71, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.85),
		inset 0 -1px 0 rgba(15, 36, 71, 0.04);
	-webkit-backdrop-filter: blur(18px) saturate(1.35);
	backdrop-filter: blur(18px) saturate(1.35);
	overflow: hidden;
	transform: translate(-50%, -50%) scale(0.5);
	opacity: 0;
	z-index: 1;
	cursor: grab;
	transition:
		transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.55s ease,
		box-shadow 0.55s ease;
	-webkit-font-smoothing: antialiased;
}

.hero-carousel__card:active {
	cursor: grabbing;
}

.hero-carousel__cover {
	width: 100%;
	height: 100%;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow:
		0 16px 32px -12px rgba(15, 36, 71, 0.4),
		0 0 0 1px rgba(15, 36, 71, 0.06);
	background: #0f172a;
}

.hero-carousel__card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	display: block;
	image-rendering: auto;
	transform: translateZ(0);
}

.hero-carousel__card.is-active {
	transform: translate(-50%, -50%) scale(1);
	opacity: 1;
	z-index: 10;
	box-shadow:
		0 32px 64px -18px rgba(15, 36, 71, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.9),
		inset 0 -1px 0 rgba(15, 36, 71, 0.04);
}

.hero-carousel__card.is-next {
	transform: translate(calc(-50% - 8.25rem), -52%) scale(0.78);
	opacity: 0.95;
	z-index: 6;
}

.hero-carousel__card.is-prev {
	transform: translate(calc(-50% + 8.25rem), -52%) scale(0.78);
	opacity: 0.95;
	z-index: 6;
}

.hero-carousel__card.is-far {
	transform: translate(-50%, -54%) scale(0.62);
	opacity: 0.4;
	z-index: 2;
	pointer-events: none;
}

.hero-carousel__controls {
	position: absolute;
	bottom: -0.25rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	z-index: 15;
}

.hero-carousel__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
}

.hero-carousel__dot {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 9999px;
	background: #cbd5e1;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: width 0.25s ease, background 0.25s ease;
}

.hero-carousel__dot.is-active {
	width: 1.35rem;
	background: var(--color-primary);
}

@media (prefers-reduced-motion: reduce) {
	.hero-carousel__card {
		transition: none;
	}

	.hero-carousel__dot {
		transition: none;
	}
}

@media (max-width: 63.9375rem) {
	.hero-carousel {
		height: 26rem;
	}

	.hero-carousel__card.is-next {
		transform: translate(calc(-50% - 5.5rem), -52%) scale(0.72);
	}

	.hero-carousel__card.is-prev {
		transform: translate(calc(-50% + 5.5rem), -52%) scale(0.72);
	}
}

@media (max-width: 39.9375rem) {
	.hero-premium__cta-bar {
		flex-direction: column;
		align-items: stretch;
		border-radius: 1.25rem;
		padding: 1rem;
	}

	.hero-premium__cta-btn {
		width: 100%;
		justify-content: center;
	}

	.hero-carousel__card.is-far {
		opacity: 0;
	}

	.hero-premium__stage {
		min-height: 24rem;
	}
}
