.pd-hero {
	--pd-hero-accent: #2563eb;
	--pd-hero-accent-dark: #075a9d;
	--pd-hero-ink: #10243e;
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 82% 18%, rgba(11, 116, 201, 0.16), transparent 30rem),
		linear-gradient(135deg, #f8fbff 0%, #edf6ff 55%, #f9fcff 100%);
}

.pd-hero__glow {
	position: absolute;
	z-index: 0;
	width: clamp(18rem, 36vw, 34rem);
	aspect-ratio: 1;
	border-radius: 50%;
	pointer-events: none;
	filter: blur(18px);
	opacity: 0.55;
}

.pd-hero__glow--one {
	top: -22%;
	right: -8%;
	background: radial-gradient(circle, rgba(11, 116, 201, 0.22), transparent 68%);
}

.pd-hero__glow--two {
	bottom: -48%;
	left: 18%;
	background: radial-gradient(circle, rgba(56, 189, 248, 0.17), transparent 70%);
}

.pd-hero::before {
	position: absolute;
	inset: 0;
	pointer-events: none;
	content: "";
	background-image: linear-gradient(rgba(11, 116, 201, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 116, 201, 0.035) 1px, transparent 1px);
	background-size: 42px 42px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 82%);
}

.pd-hero-swiper,
.pd-hero__slide {
	min-height: clamp(34rem, 72vh, 48rem);
}

.pd-hero-swiper .swiper-wrapper {
	transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.pd-hero__slide {
	display: flex;
	align-items: center;
}

.pd-hero__container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.9fr);
	align-items: center;
	gap: clamp(2rem, 6vw, 6rem);
	width: min(100% - 2rem, 80rem);
	margin-inline: auto;
	padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(6rem, 9vw, 8rem);
}

.pd-hero__copy {
	position: relative;
	z-index: 2;
	max-width: 42rem;
}

.pd-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 1rem;
	padding: 0.5rem 0.85rem;
	border: 1px solid rgba(11, 116, 201, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 8px 30px rgba(11, 116, 201, 0.08);
	color: var(--pd-hero-accent-dark);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	backdrop-filter: blur(10px);
}

.pd-hero__eyebrow::before {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--pd-hero-accent);
	box-shadow: 0 0 0 5px rgba(11, 116, 201, 0.1);
	content: "";
}

.pd-hero__title {
	margin: 0;
	color: var(--pd-hero-accent);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.pd-hero__description {
	max-width: 38rem;
	margin: 1.5rem 0 0;
	color: #4a6179;
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	line-height: 1.7;
}

.pd-hero__actions {
	margin-top: 2rem;
}

.pd-hero__button {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.9rem 1.25rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--pd-hero-accent), var(--pd-hero-accent-dark));
	box-shadow: 0 14px 32px rgba(11, 116, 201, 0.24);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.pd-hero__button:hover,
.pd-hero__button:focus-visible {
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 18px 38px rgba(11, 116, 201, 0.32);
}

.pd-hero__button .fa-arrow-right {
	transition: transform 220ms ease;
}

.pd-hero__button:hover .pd-hero__button .fa-arrow-right,
.pd-hero__button:focus-visible .pd-hero__button .fa-arrow-right {
	transform: translateX(0.25rem);
}

.pd-hero__visual {
	position: relative;
	justify-self: end;
	width: min(100%, 34rem);
	margin: 0;
	aspect-ratio: 1 / 0.88;
	padding: clamp(0.5rem, 0.5vw, 0.5rem);
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: clamp(1.5rem, 3vw, 2.5rem);
	background: rgba(255, 255, 255, 0.68);
	box-shadow: 0 28px 80px rgba(39, 82, 121, 0.18);
	backdrop-filter: blur(16px);
}

.pd-hero__image-halo {
	position: absolute;
	inset: 10% -8% -4% 20%;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(11, 116, 201, 0.25), rgba(11, 116, 201, 0));
	filter: blur(12px);
}

.pd-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: clamp(1rem, 2.2vw, 1.75rem);
	object-fit: contain;
}

.pd-hero__eyebrow,
.pd-hero__title,
.pd-hero__description,
.pd-hero__actions,
.pd-hero__visual {
	opacity: 0;
}

.pd-hero__eyebrow,
.pd-hero__title,
.pd-hero__description,
.pd-hero__actions {
	transform: translateY(1.5rem);
}

.pd-hero__visual {
	transform: translateX(3rem) scale(0.94);
}

.swiper-slide-active .pd-hero__eyebrow,
.swiper-slide-active .pd-hero__title,
.swiper-slide-active .pd-hero__description,
.swiper-slide-active .pd-hero__actions {
	animation: pd-hero-copy-in 720ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.swiper-slide-active .pd-hero__eyebrow { animation-delay: 120ms; }
.swiper-slide-active .pd-hero__title { animation-delay: 210ms; }
.swiper-slide-active .pd-hero__description { animation-delay: 320ms; }
.swiper-slide-active .pd-hero__actions { animation-delay: 420ms; }

.swiper-slide-active .pd-hero__visual {
	animation: pd-hero-image-in 950ms 180ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pd-hero__controls {
	position: absolute;
	right: max(1rem, calc((100% - 80rem) / 2));
	bottom: 2rem;
	left: max(1rem, calc((100% - 80rem) / 2));
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	pointer-events: none;
}

.pd-hero__pagination {
	position: static !important;
	display: flex;
	align-items: center;
	width: auto !important;
	pointer-events: auto;
}

.pd-hero__pagination .swiper-pagination-bullet {
	width: 0.55rem;
	height: 0.55rem;
	margin: 0 0.28rem !important;
	border-radius: 999px;
	background: #7793ae;
	opacity: 0.45;
	transition: width 320ms ease, background 320ms ease, opacity 320ms ease;
}

.pd-hero__pagination .swiper-pagination-bullet-active {
	width: 2.5rem;
	background: var(--pd-hero-accent);
	opacity: 1;
}

.pd-hero__navigation {
	display: flex;
	gap: 0.65rem;
	pointer-events: auto;
}

.pd-hero__nav {
	display: grid;
	place-items: center;
	width: 2.85rem;
	height: 2.85rem;
	border: 1px solid rgba(11, 116, 201, 0.18);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 10px 28px rgba(39, 82, 121, 0.12);
	color: var(--pd-hero-accent-dark);
	cursor: pointer;
	backdrop-filter: blur(10px);
	transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.pd-hero__nav:hover,
.pd-hero__nav:focus-visible {
	background: var(--pd-hero-accent);
	color: #fff;
	transform: translateY(-2px);
}

.pd-hero__nav:focus-visible,
.pd-hero__button:focus-visible {
	outline: 3px solid rgba(11, 116, 201, 0.3);
	outline-offset: 3px;
}

@keyframes pd-hero-copy-in {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pd-hero-image-in {
	to {
		opacity: 1;
		transform: translateX(0) scale(1);
	}
}

@media (max-width: 900px) {
	.pd-hero-swiper,
	.pd-hero__slide {
		min-height: auto;
	}

	.pd-hero__container {
		grid-template-columns: 1fr;
		gap: 2.5rem;
		padding-top: 4rem;
		padding-bottom: 7.5rem;
	}

	.pd-hero__copy {
		max-width: 44rem;
	}

	.pd-hero__visual {
		justify-self: stretch;
		width: 100%;
		max-height: 23rem;
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 520px) {
	.pd-hero__container {
		width: min(100% - 1.5rem, 80rem);
		padding-top: 3rem;
	}

	.pd-hero__title {
		font-size: clamp(2.35rem, 13vw, 3.6rem);
	}

	.pd-hero__visual {
		min-height: 15rem;
	}

	.pd-hero__controls {
		bottom: 1.4rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pd-hero-swiper .swiper-wrapper,
	.pd-hero__button,
	.pd-hero__button .fa-arrow-right,
	.pd-hero__nav,
	.pd-hero__pagination .swiper-pagination-bullet {
		transition-duration: 0.01ms !important;
	}

	.pd-hero__eyebrow,
	.pd-hero__title,
	.pd-hero__description,
	.pd-hero__actions,
	.pd-hero__visual,
	.swiper-slide-active .pd-hero__eyebrow,
	.swiper-slide-active .pd-hero__title,
	.swiper-slide-active .pd-hero__description,
	.swiper-slide-active .pd-hero__actions,
	.swiper-slide-active .pd-hero__visual {
		opacity: 1;
		animation: none;
		transform: none;
	}
}
