/* ==========================================================================
   Revexoo — home page
   ========================================================================== */

/* ---------- Hero ---------- */
.rvx-hero { position: relative; padding: calc(var(--header-h) + 72px) 0 32px; text-align: center; overflow: hidden; }
.rvx-hero__beams {
	position: absolute; inset: -10% -10% auto; height: 90%; z-index: 0; pointer-events: none; opacity: .5;
	background:
		conic-gradient(from 180deg at 50% 0%, transparent 38%, rgba(166, 125, 255, .35) 45%, transparent 50%, rgba(93, 36, 255, .3) 55%, transparent 62%);
	filter: blur(30px);
	mask-image: radial-gradient(ellipse 55% 75% at 50% 0%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 55% 75% at 50% 0%, #000 30%, transparent 75%);
	animation: rvx-beams 14s ease-in-out infinite alternate;
}
[data-theme="light"] .rvx-hero__beams { opacity: .35; }
@keyframes rvx-beams { to { transform: rotate(6deg) scale(1.05); } }
.rvx-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 980px; }
.rvx-hero__proof { display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: var(--radius-pill); background: var(--glass); border: 1px solid var(--border-strong); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); text-align: left; }
.rvx-avatars { display: flex; }
.rvx-avatar { width: 32px; height: 32px; margin-left: -9px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--bg); font-size: 13px; font-weight: 700; color: #fff; }
.rvx-avatar:first-child { margin-left: 0; }
.rvx-avatar--0 { background: linear-gradient(135deg, #a67dff, #5d24ff); }
.rvx-avatar--1 { background: linear-gradient(135deg, #ff9a62, #e0533d); }
.rvx-avatar--2 { background: linear-gradient(135deg, #3ddc97, #0f8a55); }
.rvx-avatar--3 { background: linear-gradient(135deg, #5fb6ff, #2563eb); }
.rvx-hero__proof-text { display: grid; line-height: 1.2; font-size: 13px; color: var(--muted); }
.rvx-hero__proof-text strong { font-size: 15px; color: var(--text); }
.rvx-hero__title { font-size: clamp(40px, 6.4vw, 78px); font-weight: 700; letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
.rvx-hero__sub { font-size: clamp(17px, 1.8vw, 21px); color: var(--text-2); max-width: 660px; margin: 0; text-wrap: pretty; }
.rvx-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 6px; }
.rvx-hero__chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--muted); font-size: 15px; }
.rvx-hero__chips li { display: inline-flex; align-items: center; gap: 7px; }
.rvx-hero__chips .rvx-icon { color: var(--violet-300); }

/* Product showcase (real covers, fanned in 3D) */
.rvx-showcase { position: relative; z-index: 1; height: clamp(220px, 28vw, 360px); margin: 36px auto 0; max-width: 1100px; perspective: 1400px; }
.rvx-showcase__card { position: absolute; left: 50%; bottom: 0; width: clamp(150px, 20vw, 260px); aspect-ratio: 1; border-radius: 22px; overflow: hidden; border: 1px solid var(--border-strong); background: var(--bg-2); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); transform-style: preserve-3d; will-change: transform; }
.rvx-showcase__card img { width: 100%; height: 100%; object-fit: cover; }
.rvx-showcase__label { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 7px 10px; border-radius: 12px; background: rgba(7, 6, 11, .72); backdrop-filter: blur(8px); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.rvx-showcase__card:hover .rvx-showcase__label { opacity: 1; transform: none; }
.rvx-showcase__card--0 { --x: -205%; --r: -14deg; --y: 40px; --s: .82; z-index: 1; }
.rvx-showcase__card--1 { --x: -128%; --r: -7deg; --y: 14px; --s: .92; z-index: 2; }
.rvx-showcase__card--2 { --x: -50%; --r: 0deg; --y: 0px; --s: 1.08; z-index: 3; }
.rvx-showcase__card--3 { --x: 28%; --r: 7deg; --y: 14px; --s: .92; z-index: 2; }
.rvx-showcase__card--4 { --x: 105%; --r: 14deg; --y: 40px; --s: .82; z-index: 1; }
.rvx-showcase__card { transform: translateX(var(--x)) translateY(var(--y)) rotate(var(--r)) scale(var(--s)); }
.rvx-showcase::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -30px; height: 60px; border-radius: 50%; background: radial-gradient(ellipse, rgba(122, 69, 255, .35), transparent 70%); filter: blur(10px); z-index: 0; }

/* Brands / payment marquee */
.rvx-brands { position: relative; z-index: 1; margin-top: 64px; }
.rvx-brands__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.rvx-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.rvx-marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: rvx-marquee 45s linear infinite; }
.rvx-marquee:hover .rvx-marquee__track { animation-play-state: paused; }
@keyframes rvx-marquee { to { transform: translateX(-50%); } }
.rvx-marquee__logo { height: 34px; width: auto; border-radius: 7px; background: #fff; padding: 3px 6px; opacity: .9; }
.rvx-marquee__word { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: var(--muted); opacity: .75; white-space: nowrap; }

/* ---------- Categories timeline ---------- */
.rvx-timeline { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; display: grid; gap: 28px; }
.rvx-timeline__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--border); border-radius: 2px; }
.rvx-timeline__fill { position: absolute; inset: 0; transform-origin: top; transform: scaleY(var(--fill, 0)); background: linear-gradient(180deg, var(--violet-300), var(--violet-700)); border-radius: 2px; box-shadow: 0 0 16px rgba(122, 69, 255, .6); }
.rvx-tl { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; }
.rvx-tl__dot { grid-column: 2; justify-self: center; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-solid); border: 1px solid var(--border-strong); font-size: 13px; font-weight: 800; color: var(--muted); transition: background .5s var(--ease), color .5s, border-color .5s, box-shadow .5s; z-index: 1; }
.rvx-tl.is-on .rvx-tl__dot { background: linear-gradient(180deg, #a67dff, #5d24ff); border-color: transparent; color: #fff; box-shadow: 0 0 0 6px rgba(122, 69, 255, .15); }
.rvx-tl__card { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); transition: transform .45s var(--ease), background .3s; }
.rvx-tl--right .rvx-tl__card { grid-column: 3; }
.rvx-tl__card:hover { transform: translateY(-4px); background: var(--surface-2); }
.rvx-tl__icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; background: var(--surface-2); }
.rvx-tl__body { display: grid; gap: 6px; min-width: 0; }
.rvx-tl__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rvx-tl__name { font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.rvx-tl__count { font-size: 13px; font-weight: 700; color: var(--accent-text); padding: 3px 10px; border-radius: var(--radius-pill); background: rgba(122, 69, 255, .12); }
.rvx-tl__pitch { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.rvx-tl__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.rvx-tl__thumbs { display: flex; }
.rvx-tl__thumbs img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; border: 2px solid var(--surface-solid); margin-left: -8px; }
.rvx-tl__thumbs img:first-child { margin-left: 0; }
.rvx-tl__go { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 15px; color: var(--accent-text); }
.rvx-tl__card:hover .rvx-tl__go .rvx-icon { transform: translateX(4px); }
.rvx-tl__go .rvx-icon { transition: transform .3s var(--ease); }
.rvx-js .rvx-tl__card { opacity: 0; transform: translateX(-30px); }
.rvx-js .rvx-tl--right .rvx-tl__card { transform: translateX(30px); }
.rvx-js .rvx-tl.is-in .rvx-tl__card { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease), background .3s; }

/* ---------- Spotlight (best sellers) ---------- */
.rvx-spot { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: stretch; }
.rvx-spot__tabs { display: grid; gap: 6px; align-content: start; }
.rvx-spot__tab { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; text-align: left; border: 1px solid transparent; overflow: hidden; transition: background .3s, border-color .3s; }
.rvx-spot__tab:hover { background: var(--surface); }
.rvx-spot__tab.is-active { background: var(--surface); border-color: var(--border-strong); }
.rvx-spot__n { font-size: 14px; font-weight: 800; color: var(--muted); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); transition: background .3s, color .3s; }
.rvx-spot__tab.is-active .rvx-spot__n { background: var(--violet-500); color: #fff; }
.rvx-spot__tabtxt { display: grid; gap: 2px; min-width: 0; }
.rvx-spot__tabname { font-weight: 700; font-size: 16px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rvx-spot__tabmeta { font-size: 13px; color: var(--muted); }
.rvx-spot__bar { position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; }
.rvx-spot__bar span { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--violet-300), var(--violet-700)); }
.rvx-spot__tab.is-active .rvx-spot__bar span { animation: rvx-spotbar var(--spot-dur, 6s) linear forwards; }
.rvx-spot.is-paused .rvx-spot__tab.is-active .rvx-spot__bar span { animation-play-state: paused; }
@keyframes rvx-spotbar { to { transform: scaleX(1); } }
.rvx-spot__stage { position: relative; min-height: 460px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.rvx-spot__panel { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 28px; align-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s .5s; }
.rvx-spot__panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s; }
.rvx-spot__media { position: relative; display: block; aspect-ratio: 1; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.rvx-spot__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.rvx-spot__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.rvx-spot__panel.is-active .rvx-spot__media img { animation: rvx-kenburns 7s var(--ease) both; }
@keyframes rvx-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.rvx-spot__badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--violet-500); color: #fff; font-weight: 800; }
.rvx-spot__info { display: grid; gap: 14px; align-content: center; }
.rvx-spot__title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; }
.rvx-spot__promise { color: var(--text-2); margin: 0; }
.rvx-spot__bonus { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; border-radius: 12px; background: rgba(122, 69, 255, .1); color: var(--accent-text); font-weight: 600; font-size: 14px; justify-self: start; }
.rvx-spot__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 6px; }
.rvx-spot__foot .rvx-price__now { font-size: 28px; }
.rvx-spot__actions { display: flex; gap: 10px; align-items: center; }

@media (max-width: 1080px) {
	.rvx-spot { grid-template-columns: 1fr; }
	.rvx-spot__tabs { grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
	.rvx-spot__stage { min-height: 0; display: grid; }
	.rvx-spot__panel { position: relative; inset: auto; grid-area: 1 / 1; }
}
@media (max-width: 900px) {
	.rvx-timeline__line { left: 22px; }
	.rvx-tl { grid-template-columns: 44px 1fr; gap: 14px; }
	.rvx-tl__dot { grid-column: 1; }
	.rvx-tl__card, .rvx-tl--right .rvx-tl__card { grid-column: 2; }
	.rvx-js .rvx-tl--right .rvx-tl__card { transform: translateX(-30px); }
}
@media (max-width: 640px) {
	.rvx-hero { padding-top: calc(var(--header-h) + 44px); }
	.rvx-hero__proof { padding-right: 14px; }
	.rvx-hero__proof-text span { display: none; }
	.rvx-hero__cta { width: 100%; flex-direction: column; }
	.rvx-hero__cta > * { width: 100%; }
	.rvx-hero__chips { font-size: 14px; gap: 6px 14px; }
	.rvx-showcase { height: 190px; margin-top: 36px; }
	.rvx-showcase__card { width: 130px; border-radius: 16px; }
	.rvx-showcase__card--0, .rvx-showcase__card--4 { display: none; }
	.rvx-showcase__card--1 { --x: -118%; } .rvx-showcase__card--3 { --x: 18%; }
	.rvx-brands { margin-top: 44px; }
	.rvx-marquee__word { font-size: 18px; }
	.rvx-marquee__logo { height: 28px; }
	.rvx-tl__card { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
	.rvx-tl__icon { width: 52px; height: 52px; }
	.rvx-spot__panel { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
	.rvx-spot__tabs { grid-auto-columns: 78%; }
	.rvx-spot__foot { flex-direction: column; align-items: stretch; }
	.rvx-spot__actions { width: 100%; }
	.rvx-spot__actions .rvx-btn { flex: 1; }
	.rvx-spot__actions .rvx-add { width: auto; flex: none; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
	.rvx-js .rvx-tl__card { opacity: 1; transform: none; }
}

/* ==========================================================================
   v3 — hero constellation, real avatars, tilted payment band, spotlight fix
   ========================================================================== */
.rvx-hero { min-height: min(100svh, 860px); display: grid; align-items: center; padding-bottom: 72px; }
.rvx-hero__beams, .rvx-showcase, .rvx-brands { display: none; }
.rvx-hero__dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; cursor: crosshair; }
.rvx-hero__fade { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 50% 55% at 50% 48%, var(--bg) 0%, color-mix(in srgb, var(--bg) 65%, transparent) 45%, transparent 75%), linear-gradient(180deg, transparent 72%, var(--bg)); }
.rvx-hero__inner { pointer-events: none; }
.rvx-hero__inner a, .rvx-hero__inner button { pointer-events: auto; }
.rvx-avatar { width: 34px; height: 34px; object-fit: cover; margin-left: -10px; border-radius: 50%; border: 2px solid var(--bg); }
.rvx-avatar:first-child { margin-left: 0; }


.rvx-spot__stage { min-height: 0; display: grid; }
.rvx-spot__panel { position: relative; inset: auto; grid-area: 1 / 1; }
[data-theme="light"] .rvx-spot__stage, [data-theme="light"] .rvx-tl__card, [data-theme="light"] .rvx-spot__tab.is-active { box-shadow: var(--shadow); }
@media (max-width: 640px) {
	.rvx-hero { min-height: 0; padding-bottom: 48px; }
}

/* v6: simple glass trust bar */
.rvx-trust { position: relative; padding: 48px 0 40px; margin-top: -40px; isolation: isolate; }
.rvx-hero { z-index: 0; }
.rvx-trust { z-index: 1; }
.rvx-trust::before, .rvx-trust::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(40px); pointer-events: none; }
.rvx-trust::before { width: 420px; height: 70px; left: 12%; top: 42%; background: rgba(122, 69, 255, .45); }
.rvx-trust::after { width: 360px; height: 60px; right: 10%; bottom: 30%; background: rgba(196, 168, 255, .45); }
.rvx-trust__card {
	display: flex; align-items: center; gap: 22px; padding: 12px 12px 12px 22px; border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .7);
	-webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
	box-shadow: 0 18px 50px -24px rgba(60, 20, 160, .35), inset 0 1px 0 rgba(255, 255, 255, .9);
}
[data-theme="dark"] .rvx-trust__card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: 0 18px 50px -24px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .1); }
[data-theme="dark"] .rvx-trust::before { background: rgba(122, 69, 255, .35); }
[data-theme="dark"] .rvx-trust::after { background: rgba(93, 36, 255, .3); }
.rvx-trust__perks { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; flex: none; }
.rvx-trust__perk { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 15px; font-weight: 600; color: var(--text); }
.rvx-trust__ico { display: grid; place-items: center; color: var(--accent-text); }
.rvx-trust__pay { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 18px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .6); }
[data-theme="dark"] .rvx-trust__pay { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .08); }
.rvx-trust__label { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.rvx-trust__marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.rvx-trust__track { display: flex; align-items: center; gap: 12px; width: max-content; padding-right: 12px; animation: rvx-marquee 30s linear infinite; will-change: transform; }
.rvx-trust__marquee:hover .rvx-trust__track { animation-play-state: paused; }
.rvx-trust__logo { height: 30px; width: auto; border-radius: 7px; background: #fff; padding: 3px 6px; }
@media (max-width: 1180px) {
	.rvx-trust__card { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; border-radius: var(--radius-lg); }
	.rvx-trust__perks { justify-content: center; flex-wrap: wrap; gap: 10px 24px; }
}
@media (max-width: 640px) {
	.rvx-trust { padding: 40px 0 28px; margin-top: -40px; }
	.rvx-trust::before { width: 55%; left: 5%; }
	.rvx-trust::after { width: 50%; right: 5%; }
	.rvx-trust__card { padding: 14px; }
	.rvx-trust__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; }
	.rvx-trust__perk { font-size: 14px; }
	.rvx-trust__pay { padding: 8px 8px 8px 14px; }
	.rvx-trust__label { font-size: 11px; }
	.rvx-trust__logo { height: 26px; }
}
@media (prefers-reduced-motion: reduce) { .rvx-trust__track { animation: none; } }
/* v6: fade the hero dots with a mask instead of painting the page colour (no seam above the trust bar) */
.rvx-hero__dots { -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 98%); mask-image: linear-gradient(180deg, #000 68%, transparent 98%); }
.rvx-hero__fade { background: radial-gradient(ellipse 50% 55% at 50% 48%, var(--bg) 0%, color-mix(in srgb, var(--bg) 65%, transparent) 45%, transparent 75%); }
