/* ============================================================
   VAULT TECH — POLISH LAYER
   Loads AFTER main.css. Purely additive premium motion.
   Namespaced vtp-*; hooks a few existing classes. Only animates
   transform / opacity / filter / box-shadow — no layout shift.
   Entirely disabled under prefers-reduced-motion.
   ============================================================ */

/* ---- Scroll-progress hairline (acid-lime, top of viewport) ---- */
.vtp-progress {
	position: fixed; top: 0; left: 0;
	height: 2px; width: 100%;
	transform: scaleX(0); transform-origin: 0 50%;
	z-index: 2147483646;
	background: linear-gradient(90deg, #A8CC00, #D6FF1A 55%, #FAFAF7);
	box-shadow: 0 0 12px rgba(214,255,26,0.55);
	pointer-events: none; will-change: transform;
}

/* ---- Idle "breathing" glow — V7 mascot (class added by polish.js) ---- */
.vtp-breathe { animation: vtp-breathe 6s ease-in-out infinite; will-change: filter, transform; }
@keyframes vtp-breathe {
	0%, 100% { filter: drop-shadow(0 0 26px rgba(214,255,26,0.32)); transform: translateY(0); }
	50%      { filter: drop-shadow(0 0 46px rgba(214,255,26,0.56)); transform: translateY(-7px); }
}

/* ---- Aurora slow-drift on the coming-soon glow (keeps centering) ---- */
[data-cs-aura] { animation: vtp-aura 16s ease-in-out infinite alternate; will-change: transform, opacity; }
@keyframes vtp-aura {
	0%   { transform: translateX(-50%) translateY(0)    scale(1);    opacity: 0.50; }
	100% { transform: translateX(-50%) translateY(12px) scale(1.07); opacity: 0.72; }
}

/* ---- Marquee edge-fade — softens the rotating tickers ---- */
.vt-marquee {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	        mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

/* ---- Email-capture focus glow ---- */
#vt-email:focus, #vt-email:focus-visible {
	outline: none;
	border-color: #D6FF1A !important;
	box-shadow: 0 0 0 1px #D6FF1A, 0 0 22px rgba(214,255,26,0.35);
}

/* ---- Subtle 3D tilt on product cards (polish.js sets the angles) ---- */
.vtp-tilt {
	transform: perspective(950px) rotateX(var(--vtp-rx, 0deg)) rotateY(var(--vtp-ry, 0deg));
	transform-style: preserve-3d;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.vtp-tilt.is-tilting { transition: transform 0.08s ease-out; }

/* ---- Respect reduced-motion: strip every motion this layer adds ---- */
/* ---- Kinetic headline reveal — letter-by-letter (polish.js splits the text) ---- */
.vtp-split .vtp-word { display: inline-block; }
.vtp-split .vtp-char {
	display: inline-block;
	opacity: 0;
	transform: translateY(0.5em) rotate(5deg);
	transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.2, 0.75, 0.25, 1);
	transition-delay: calc(var(--i, 0) * 20ms);
	will-change: opacity, transform;
}
.vtp-split.vtp-in .vtp-char { opacity: 1; transform: none; }

/* ---- Checkout payment-flow steps — 3-up, stack on mobile ---- */
.vt-payflow-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 600px) { .vt-payflow-steps { grid-template-columns: 1fr; gap: 10px; } }

/* ---- Checkout payment-flow (animated, draws in on scroll) ---- */
.vt-payflow2 { margin: 0 0 26px; padding: 22px 20px; background: #000000; border: 1px solid #2D3038; }
.vt-payflow2__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 18px; }
.vt-payflow2__eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: #D6FF1A; }
.vt-payflow2__sub { font-size: 12.5px; color: rgba(250,250,247,0.65); }
.vt-payflow2__track { display: flex; align-items: flex-start; }
.vt-payflow2__node { flex: 0 0 auto; width: 20%; min-width: 112px; display: flex; flex-direction: column; align-items: flex-start; opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2,0.75,0.25,1); transition-delay: calc(var(--n) * 140ms); }
.vt-payflow2__icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: rgba(214,255,26,0.08); border: 1px solid rgba(214,255,26,0.4); margin-bottom: 10px; }
.vt-payflow2__icon svg { width: 19px; height: 19px; }
.vt-payflow2__num { font-family: 'IBM Plex Mono', monospace; font-size: 9px; font-weight: 800; letter-spacing: 0.2em; color: rgba(250,250,247,0.4); margin-bottom: 3px; }
.vt-payflow2__label { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 900; font-size: 15px; letter-spacing: -0.02em; color: #FAFAF7; margin-bottom: 4px; }
.vt-payflow2__detail { font-size: 12px; line-height: 1.45; color: rgba(250,250,247,0.6); }
.vt-payflow2__line { flex: 1 1 auto; height: 2px; margin: 18px -4px 0; background: #2D3038; position: relative; overflow: hidden; min-width: 12px; }
.vt-payflow2__line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #A8CC00, #D6FF1A); transform: scaleX(0); transform-origin: left; transition: transform 0.6s ease; transition-delay: calc(var(--n) * 140ms); }
.vt-payflow2.is-in .vt-payflow2__node { opacity: 1; transform: none; }
.vt-payflow2.is-in .vt-payflow2__line::after { transform: scaleX(1); }
@media (max-width: 640px) {
	.vt-payflow2__track { flex-direction: column; }
	.vt-payflow2__node { width: 100%; }
	.vt-payflow2__line { width: 2px; height: 20px; min-width: 0; margin: 4px 0 4px 18px; flex: 0 0 auto; }
	.vt-payflow2__line::after { background: linear-gradient(180deg, #A8CC00, #D6FF1A); transform: scaleY(0); transform-origin: top; }
	.vt-payflow2.is-in .vt-payflow2__line::after { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
	.vt-payflow2__node { opacity: 1 !important; transform: none !important; }
	.vt-payflow2__line::after { transform: scaleX(1) !important; }
}

@media (prefers-reduced-motion: reduce) {
	.vtp-progress { display: none !important; }
	.vtp-split .vtp-char { opacity: 1 !important; transform: none !important; transition: none !important; }
	.vtp-breathe, [data-cs-aura] { animation: none !important; transform: translateX(-50%) !important; }
	.vtp-breathe { transform: none !important; }
	.vtp-tilt { transform: none !important; }
}

/* ============================================================
   V7 HYPE LAYER — mascot stages, approval seal, "best-decision"
   aurora. Mascots ship on solid-black PNGs: on LIGHT sections
   they sit on a dark "stage" panel; on dark sections they blend
   free (and get .vtp-breathe from polish.js).
   ============================================================ */

/* Dark stage — merges a black-bg mascot into a rounded panel on a light section */
.vt-v7-stage {
	position: relative;
	display: block;
	background: radial-gradient(120% 100% at 50% 32%, #1b1d10 0%, #0a0b0e 58%, #050505 100%);
	box-shadow: 0 0 0 1px rgba(214,255,26,0.22),
	            0 34px 70px -26px rgba(214,255,26,0.42),
	            inset 0 0 70px rgba(214,255,26,0.05);
	overflow: hidden;
}
.vt-v7-stage img { position: relative; z-index: 1; }
.vt-v7-stage::after { /* lime floor glow under the mascot */
	content: ""; position: absolute; left: 50%; bottom: -34%;
	width: 92%; height: 64%; transform: translateX(-50%);
	background: radial-gradient(circle, rgba(214,255,26,0.30), transparent 70%);
	pointer-events: none; z-index: 0;
}
/* Gentle glow pulse — box-shadow only, so it never clips the framed mascot */
.vt-v7-stage--pulse { animation: vt-v7-pulse 5.5s ease-in-out infinite; will-change: box-shadow; }
@keyframes vt-v7-pulse {
	0%, 100% { box-shadow: 0 0 0 1px rgba(214,255,26,0.20), 0 30px 60px -28px rgba(214,255,26,0.34), inset 0 0 70px rgba(214,255,26,0.05); }
	50%      { box-shadow: 0 0 0 1px rgba(214,255,26,0.42), 0 40px 86px -24px rgba(214,255,26,0.56), inset 0 0 80px rgba(214,255,26,0.09); }
}

/* "V7-approved" seal — small sticker, tilts a touch, settles on hover */
.vt-v7-seal { border-radius: 16px; transform: rotate(3deg); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.vt-v7-seal:hover { transform: rotate(0deg) scale(1.05); }

/* "Best-decision" hype-band aurora — slow lime drift */
.vt-hype-aura { animation: vt-hype-aura 15s ease-in-out infinite alternate; will-change: transform, opacity; }
@keyframes vt-hype-aura {
	0%   { opacity: .55; transform: translate(0, 0)    scale(1); }
	100% { opacity: .85; transform: translate(3%, -3%) scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
	.vt-v7-stage--pulse, .vt-hype-aura { animation: none !important; }
	.vt-v7-seal { transition: none !important; transform: rotate(3deg) !important; }
}
