/* Screenshot carousel inside the hero content: copy right, product left in RTL. */
.pepa-hero__inner--product { grid-template-columns: minmax(0, 1fr); }
.pepa-hero__inner--product .pepa-hero__content {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}
.pepa-hero__copy { min-width: 0; }
.pepa-product-preview {
	position: relative;
	min-width: 0;
	width: 100%;
	isolation: isolate;
	text-align: right;
}
.pepa-product-preview [hidden] { display: none; }
.pepa-product-preview__halo {
	position: absolute; z-index: -1; inset: -40px;
	background: radial-gradient(ellipse at 65% 30%, rgba(155, 129, 241, .23), transparent 65%), radial-gradient(ellipse at 15% 80%, rgba(134, 239, 206, .12), transparent 60%);
	pointer-events: none;
}
.pepa-product-preview__frame {
	position: relative;
	padding: 8px;
	border: 1px solid rgba(196, 181, 253, .32);
	border-radius: 24px;
	background: linear-gradient(145deg, rgba(196, 181, 253, .13), rgba(134, 239, 206, .04)), #13182b;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 30px 80px rgba(2, 5, 18, .4);
}
.pepa-product-preview__chrome {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	min-height: 48px; padding: 6px 14px 14px; direction: ltr;
}
.pepa-product-preview__window-dots { display: flex; gap: 6px; }
.pepa-product-preview__window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #71728b; }
.pepa-product-preview__window-dots i:first-child { background: #c4b5fd; }
.pepa-product-preview__window-dots i:last-child { background: #86efce; }
.pepa-product-preview__brand { color: #d8dcef; font-size: .8rem; font-weight: 600; letter-spacing: .03em; }
.pepa-product-preview__brand span { color: #b4a5e5; font-weight: 400; }
.pepa-product-preview__live { direction: rtl; display: inline-flex; align-items: center; gap: 6px; color: #b8bfd7; font-size: .7rem; }
.pepa-product-preview__live > span { width: 5px; height: 5px; border-radius: 50%; background: #86efce; }
.pepa-product-preview__viewport {
	position: relative; aspect-ratio: 16 / 11; overflow: hidden;
	border: 1px solid rgba(186, 197, 237, .12); border-radius: 16px;
	background: #121017;
}
.pepa-product-preview__slide { position: absolute; inset: 0; margin: 0; }
.pepa-product-preview__slide.is-active { animation: pepa-product-reveal .45s ease both; }
.pepa-product-preview__image-link { display: block; height: 100%; overflow: hidden; }
.pepa-product-preview__image-link img { display: block; width: 100%; height: auto; max-width: none; margin: 0; border-radius: 0; }
.pepa-product-preview__image-link:focus-visible { outline-offset: -5px; }
.pepa-product-preview__caption {
	position: absolute; inset-inline: 14px; bottom: 14px;
	display: flex; align-items: center; gap: 12px; padding: 14px;
	border: 1px solid rgba(196, 181, 253, .22); border-radius: 16px;
	background: rgba(19, 24, 43, .96);
	box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
	pointer-events: none;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.pepa-product-preview__caption { background: rgba(19, 24, 43, .84); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
}
.pepa-product-preview__caption-icon {
	display: flex; align-items: center; justify-content: center; flex: 0 0 36px; height: 36px;
	border: 1px solid rgba(196, 181, 253, .18); border-radius: 11px;
	background: linear-gradient(135deg, rgba(196, 181, 253, .15), rgba(134, 239, 206, .05)); color: #c4b5fd;
}
.pepa-product-preview__caption strong { display: block; color: #f3f4fc; font-size: .85rem; font-weight: 600; }
.pepa-product-preview__caption div > span { display: block; color: #b8bfd7; font-size: .7rem; margin-top: 2px; }
.pepa-product-preview__expand { margin-inline-start: auto; color: #86efce; font-size: 1.25rem; }
.pepa-product-preview__controls { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 12px 4px 4px; }
.pepa-product-preview__tabs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pepa-product-preview__tab {
	display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 10px;
	border: 1px solid transparent; border-radius: 11px; background: transparent;
	color: #b8bfd7; font-family: inherit; font-size: .72rem; cursor: pointer;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.pepa-product-preview__tab > span { width: 4px; height: 4px; border-radius: 50%; background: #68708d; }
.pepa-product-preview__tab:hover { color: #f3f4fc; background: rgba(196, 181, 253, .06); }
.pepa-product-preview__tab.is-active { color: #e5ddff; background: rgba(196, 181, 253, .12); border-color: rgba(196, 181, 253, .2); }
.pepa-product-preview__tab.is-active > span { background: #c4b5fd; box-shadow: 0 0 8px rgba(196, 181, 253, .4); }
.pepa-product-preview__play { display: grid; place-items: center; min-width: 40px; min-height: 40px; flex-shrink: 0; border: 1px solid rgba(186, 197, 237, .16); border-radius: 11px; background: rgba(196, 181, 253, .05); color: #c4b5fd; cursor: pointer; font-size: .85rem; }
.pepa-product-preview__footnote { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 14px; color: var(--color-ink-600); font-size: .7rem; }
.pepa-product-preview__footnote > span { color: #86efce; }
@keyframes pepa-product-reveal { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
	.pepa-hero__inner--product .pepa-hero__content { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.pepa-product-preview { max-width: 680px; margin-inline: auto; }
}
@media (max-width: 480px) {
	.pepa-product-preview__chrome { padding-inline: 8px; gap: 8px; }
	.pepa-product-preview__brand { font-size: .7rem; }
	.pepa-product-preview__live { font-size: .6rem; }
	.pepa-product-preview__caption { inset-inline: 8px; bottom: 8px; padding: 10px; gap: 8px; }
	.pepa-product-preview__caption strong { font-size: .75rem; }
	.pepa-product-preview__caption div > span { font-size: .6rem; }
	.pepa-product-preview__caption-icon { flex-basis: 28px; height: 28px; }
	.pepa-product-preview__tabs { gap: 2px; }
	.pepa-product-preview__tab { padding: 7px 8px; font-size: .65rem; }
	.pepa-product-preview__tab > span { display: none; }
	.pepa-product-preview__halo { inset: -20px; }
}
@media (prefers-reduced-motion: reduce) { .pepa-product-preview__slide.is-active { animation: none; } }
@media (prefers-reduced-transparency: reduce) { .pepa-product-preview__caption { background: #13182b; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media print {
	.pepa-product-preview__controls, .pepa-product-preview__halo, .pepa-product-preview__footnote { display: none; }
	.pepa-product-preview__frame { box-shadow: none; break-inside: avoid; }
}
