/* Quick Variable Products — Upgrade landing page. Self-contained, theme-aware,
   no external requests. The strip removes PHP/JS regions, not CSS. */

.qvp-up {
	--qvp-ink: #1d2327;
	--qvp-muted: #50575e;
	--qvp-card: #fff;
	--qvp-line: #e2e4e7;
	--qvp-bg: #f6f7f7;
	--qvp-accent: #6d4aff;
	--qvp-accent2: #9a6bff;
	--qvp-yes: #1a9d55;
	--qvp-warn: #b45309;
	--qvp-shot: #ffffff;
	--qvp-shot-line: #ece9ff;
	max-width: 1080px;
	margin: 16px auto 60px;
	color: var(--qvp-ink);
	font-size: 14px;
}

@media (prefers-color-scheme: dark) {
	.qvp-up {
		--qvp-ink: #e8eaed;
		--qvp-muted: #a7acb2;
		--qvp-card: #23272e;
		--qvp-line: #3a3f47;
		--qvp-bg: #1b1e24;
		--qvp-yes: #3fc57e;
		--qvp-warn: #f0a24b;
		--qvp-shot: #262b33;
		--qvp-shot-line: #383247;
	}
}

.qvp-up section { margin: 0 0 40px; }
.qvp-up h2 { font-size: 22px; line-height: 1.25; margin: 0 0 12px; }

/* ------------------------------------------------------------------ CTA */
.qvp-up-cta {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin: 4px 0 0;
}
.qvp-up-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	color: #fff !important;
	background: linear-gradient(120deg, #7b57ff, #5b3ce0);
	box-shadow: 0 8px 22px -8px rgba(91, 60, 224, .65), inset 0 1px 0 rgba(255, 255, 255, .22);
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.qvp-up-btn:hover,
.qvp-up-btn:focus {
	color: #fff;
	filter: brightness(1.06);
	transform: translateY(-1px);
	box-shadow: 0 12px 26px -8px rgba(91, 60, 224, .75), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.qvp-up-btn span { transition: transform .15s ease; }
.qvp-up-btn:hover span { transform: translateX(3px); }
.qvp-up-guarantee { font-size: 12.5px; color: var(--qvp-muted); max-width: 30ch; line-height: 1.4; }
.qvp-up-hero .qvp-up-guarantee { color: rgba(255, 255, 255, .85); }

/* ----------------------------------------------------------------- Hero */
.qvp-up-hero {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	gap: 36px;
	align-items: center;
	border-radius: 20px;
	padding: 52px 44px;
	color: #fff;
	background:
		radial-gradient(90% 130% at 100% 0%, rgba(154, 107, 255, .55) 0%, transparent 55%),
		radial-gradient(120% 140% at 0% 0%, #7b57ff 0%, #5b3ce0 45%, #3f2bb3 100%);
}
.qvp-up-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: repeating-linear-gradient(115deg, transparent 0 44px, rgba(255, 255, 255, .035) 44px 45px);
}
.qvp-up-hero-copy { position: relative; z-index: 1; }
.qvp-up-kicker {
	display: inline-block;
	font-size: 11.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .25);
	margin-bottom: 16px;
}
.qvp-up-hero h1 {
	color: #fff;
	font-size: 33px;
	line-height: 1.16;
	letter-spacing: -.01em;
	max-width: 21ch;
	margin: 0 0 14px;
}
.qvp-up-hero p {
	font-size: 15px;
	max-width: 56ch;
	opacity: .95;
	line-height: 1.6;
	margin: 0 0 18px;
}
.qvp-up-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
}
.qvp-up-chips li {
	font-size: 12px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .2);
	margin: 0;
}
.qvp-up-chips li::before { content: "✓ "; opacity: .8; }

/* Hero product shot (pure CSS mockup) */
.qvp-up-hero-shot { position: relative; z-index: 1; }
.qvp-up-shot {
	background: var(--qvp-shot);
	color: var(--qvp-ink);
	border-radius: 14px;
	box-shadow: 0 30px 60px -22px rgba(20, 10, 70, .55), 0 2px 0 rgba(255, 255, 255, .25) inset;
	overflow: hidden;
	transform: rotate(.6deg);
	animation: qvpUpFloat 7s ease-in-out infinite alternate;
}
@keyframes qvpUpFloat {
	from { transform: rotate(.6deg) translateY(0); }
	to   { transform: rotate(.6deg) translateY(-7px); }
}
.qvp-up-shot-bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--qvp-shot-line);
	font-size: 12px;
	font-weight: 600;
	color: var(--qvp-muted);
}
.qvp-up-shot-bar i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--qvp-shot-line);
}
.qvp-up-shot-bar i:first-child { background: #ff5f57; }
.qvp-up-shot-bar i:nth-child(2) { background: #febc2e; }
.qvp-up-shot-bar i:nth-child(3) { background: #28c840; }
.qvp-up-shot-bar span { margin-left: 8px; }
.qvp-up-shot-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 12px 14px 4px;
}
.qvp-up-tag {
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--qvp-accent) 10%, transparent);
	color: var(--qvp-accent);
	border: 1px solid color-mix(in srgb, var(--qvp-accent) 24%, transparent);
}
.qvp-up-tag.is-hot {
	background: color-mix(in srgb, var(--qvp-warn) 12%, transparent);
	color: var(--qvp-warn);
	border-color: color-mix(in srgb, var(--qvp-warn) 30%, transparent);
}
.qvp-up-count {
	margin-left: auto;
	font-size: 11px;
	font-weight: 700;
	color: var(--qvp-muted);
}
.qvp-up-shot-rows { padding: 8px 14px 4px; }
.qvp-up-shot-row {
	display: grid;
	grid-template-columns: 1fr auto 18px auto;
	gap: 8px;
	align-items: center;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 12.5px;
}
.qvp-up-shot-row:nth-child(odd) { background: color-mix(in srgb, var(--qvp-accent) 4%, transparent); }
.qvp-up-shot-row span { font-weight: 600; }
.qvp-up-shot-row em { font-style: normal; color: var(--qvp-muted); text-decoration: line-through; }
.qvp-up-shot-row b { color: var(--qvp-accent); text-align: center; }
.qvp-up-shot-row strong { color: var(--qvp-yes); font-weight: 700; }
.qvp-up-shot-row.is-skip { opacity: .55; }
.qvp-up-shot-row.is-skip em { text-decoration: none; }
.qvp-up-shot-row.is-skip strong { color: var(--qvp-muted); font-weight: 600; }
.qvp-up-shot-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 14px 14px;
	font-size: 12px;
}
.qvp-up-shot-ok { color: var(--qvp-yes); font-weight: 600; }
.qvp-up-shot-apply {
	padding: 7px 16px;
	border-radius: 9px;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(120deg, #7b57ff, #5b3ce0);
}
.qvp-up-shot-badge {
	position: absolute;
	right: -8px;
	bottom: -14px;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	color: #3f2bb3;
	background: #fff;
	box-shadow: 0 10px 24px -10px rgba(20, 10, 70, .55);
}

/* ------------------------------------------------------------ Stat band */
.qvp-up-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
}
.qvp-up-stat {
	background: var(--qvp-card);
	border: 1px solid var(--qvp-line);
	border-radius: 14px;
	padding: 18px 20px;
}
.qvp-up-stat strong {
	display: block;
	font-size: 26px;
	letter-spacing: -.02em;
	background: linear-gradient(120deg, var(--qvp-accent), var(--qvp-accent2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 4px;
}
.qvp-up-stat span { color: var(--qvp-muted); font-size: 12.5px; line-height: 1.45; display: block; }

/* ------------------------------------------------- Safety spotlight */
.qvp-up-spot {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: 30px;
	align-items: center;
	background: var(--qvp-card);
	border: 1px solid var(--qvp-line);
	border-radius: 18px;
	padding: 34px 36px;
}
.qvp-up-spot > .qvp-up-spot-copy > p { color: var(--qvp-muted); max-width: 58ch; margin: 0 0 18px; line-height: 1.6; }
.qvp-up-steps {
	list-style: none;
	counter-reset: qvpstep;
	margin: 0;
	padding: 0;
}
.qvp-up-steps li {
	position: relative;
	counter-increment: qvpstep;
	padding: 0 0 16px 46px;
	margin: 0;
}
.qvp-up-steps li::before {
	content: counter(qvpstep);
	position: absolute;
	left: 0;
	top: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	font-weight: 800;
	font-size: 14px;
	color: var(--qvp-accent);
	background: color-mix(in srgb, var(--qvp-accent) 12%, transparent);
}
.qvp-up-steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 14px;
	top: 34px;
	bottom: 2px;
	width: 2px;
	background: color-mix(in srgb, var(--qvp-accent) 18%, transparent);
}
.qvp-up-steps h3 { margin: 2px 0 4px; font-size: 15px; }
.qvp-up-steps p { margin: 0; color: var(--qvp-muted); font-size: 13.5px; line-height: 1.55; }

/* Timeline visual */
.qvp-up-timeline {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.qvp-up-tl-item {
	display: grid;
	grid-template-columns: 18px 1fr;
	grid-template-rows: auto auto;
	column-gap: 12px;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid var(--qvp-line);
	background: var(--qvp-bg);
}
.qvp-up-tl-dot {
	grid-row: 1 / span 2;
	align-self: center;
	width: 12px;
	height: 12px;
	border-radius: 50%;
}
.qvp-up-tl-item b { font-size: 13px; }
.qvp-up-tl-item em { font-style: normal; font-size: 12.5px; color: var(--qvp-muted); }
.qvp-up-tl-item.is-run  { border-color: color-mix(in srgb, var(--qvp-accent) 35%, transparent); }
.qvp-up-tl-item.is-run .qvp-up-tl-dot { background: var(--qvp-accent); }
.qvp-up-tl-item.is-edit .qvp-up-tl-dot { background: var(--qvp-warn); }
.qvp-up-tl-item.is-undo { border-color: color-mix(in srgb, var(--qvp-yes) 40%, transparent); }
.qvp-up-tl-item.is-undo .qvp-up-tl-dot { background: var(--qvp-yes); }
.qvp-up-tl-item.is-undo em { color: var(--qvp-yes); font-weight: 600; }

/* ---------------------------------------------------------- Feature cards */
.qvp-up-cards-title { text-align: center; margin-bottom: 18px; }
.qvp-up-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
}
.qvp-up-card {
	background: var(--qvp-card);
	border: 1px solid var(--qvp-line);
	border-radius: 14px;
	padding: 22px;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.qvp-up-card:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--qvp-accent) 35%, var(--qvp-line));
	box-shadow: 0 14px 30px -18px rgba(91, 60, 224, .45);
}
.qvp-up-ico {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	color: var(--qvp-accent);
	background: color-mix(in srgb, var(--qvp-accent) 12%, transparent);
	margin-bottom: 12px;
}
.qvp-up-ico svg { width: 22px; height: 22px; }
.qvp-up-card h3 { margin: 0 0 6px; font-size: 16px; }
.qvp-up-card p { margin: 0; color: var(--qvp-muted); font-size: 14px; line-height: 1.5; }

/* ----------------------------------------------------- Deep feature grid */
.qvp-up-deep h2 { text-align: center; }
.qvp-up-deep-sub { text-align: center; color: var(--qvp-muted); margin: -4px 0 20px; }
.qvp-up-deep-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 16px;
}
.qvp-up-deep-col {
	background: var(--qvp-card);
	border: 1px solid var(--qvp-line);
	border-radius: 14px;
	padding: 22px;
}
.qvp-up-deep-col h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-size: 15px;
}
.qvp-up-deep-col h3 .qvp-up-ico { width: 32px; height: 32px; margin: 0; }
.qvp-up-deep-col h3 .qvp-up-ico svg { width: 18px; height: 18px; }
.qvp-up-deep-col ul { list-style: none; margin: 0; padding: 0; }
.qvp-up-deep-col li {
	position: relative;
	padding: 0 0 10px 22px;
	margin: 0;
	color: var(--qvp-muted);
	font-size: 13px;
	line-height: 1.5;
}
.qvp-up-deep-col li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--qvp-yes);
	font-weight: 700;
}

/* ------------------------------------------------------------ Pricing */
.qvp-up-pricing h2 { text-align: center; }
.qvp-up-pricing-sub { text-align: center; color: var(--qvp-muted); margin: -4px 0 22px; }
.qvp-up-tiers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	align-items: stretch;
}
.qvp-up-tier {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--qvp-card);
	border: 1px solid var(--qvp-line);
	border-radius: 16px;
	padding: 26px 24px;
	text-align: center;
}
.qvp-up-tier.is-featured {
	border: 2px solid var(--qvp-accent);
	box-shadow: 0 20px 42px -24px rgba(91, 60, 224, .55);
	transform: scale(1.03);
	z-index: 1;
}
.qvp-up-tier-flag {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #fff;
	padding: 5px 14px;
	border-radius: 999px;
	background: linear-gradient(120deg, #7b57ff, #5b3ce0);
}
.qvp-up-tier h3 { margin: 2px 0 10px; font-size: 15px; }
.qvp-up-tier-price { margin: 0 0 2px; }
.qvp-up-tier-price strong {
	font-size: 40px;
	letter-spacing: -.03em;
	background: linear-gradient(120deg, var(--qvp-accent), var(--qvp-accent2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.qvp-up-tier-price span { color: var(--qvp-muted); font-size: 14px; margin-left: 4px; }
.qvp-up-tier-note { color: var(--qvp-muted); font-size: 12.5px; margin: 0 0 16px; }
.qvp-up-tier-list {
	list-style: none;
	margin: 0 0 20px;
	padding: 14px 0 0;
	border-top: 1px dashed var(--qvp-line);
	text-align: left;
	flex: 1;
}
.qvp-up-tier-list li {
	position: relative;
	padding: 0 0 9px 22px;
	margin: 0;
	font-size: 13px;
	color: var(--qvp-muted);
}
.qvp-up-tier-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--qvp-yes);
	font-weight: 700;
}
.qvp-up-tier .qvp-up-btn { justify-content: center; }
.qvp-up-btn.is-ghost {
	background: transparent;
	color: var(--qvp-accent) !important;
	border: 2px solid color-mix(in srgb, var(--qvp-accent) 45%, transparent);
	box-shadow: none;
}
.qvp-up-btn.is-ghost:hover,
.qvp-up-btn.is-ghost:focus {
	background: color-mix(in srgb, var(--qvp-accent) 8%, transparent);
	border-color: var(--qvp-accent);
	transform: translateY(-1px);
}
.qvp-up-pricing-fine {
	text-align: center;
	color: var(--qvp-muted);
	font-size: 12.5px;
	line-height: 1.7;
	margin: 18px 0 0;
}
.qvp-up-pricing-fine a { font-weight: 600; }

/* Hero price hint */
.qvp-up-price-hint {
	margin: 10px 0 0;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, .92);
}

/* ------------------------------------------------------------- How steps */
.qvp-up-how h2 { text-align: center; }
.qvp-up-how-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin-top: 16px;
}
.qvp-up-how-step {
	position: relative;
	background: var(--qvp-card);
	border: 1px solid var(--qvp-line);
	border-radius: 14px;
	padding: 22px;
}
.qvp-up-how-step > span {
	position: absolute;
	top: 16px;
	right: 18px;
	font-size: 40px;
	font-weight: 800;
	line-height: 1;
	color: color-mix(in srgb, var(--qvp-accent) 14%, transparent);
}
.qvp-up-how-step h3 { margin: 0 0 6px; font-size: 15px; }
.qvp-up-how-step p { margin: 0; color: var(--qvp-muted); font-size: 13.5px; line-height: 1.55; }

/* ------------------------------------------------------ Comparison table */
.qvp-up-compare-note { color: var(--qvp-muted); margin: -4px 0 14px; }
.qvp-up-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--qvp-card);
	border: 1px solid var(--qvp-line);
	border-radius: 14px;
	overflow: hidden;
}
.qvp-up-table th,
.qvp-up-table td {
	text-align: left;
	padding: 12px 16px;
	border-bottom: 1px solid var(--qvp-line);
	font-size: 14px;
}
.qvp-up-table thead th { background: var(--qvp-bg); font-size: 13px; }
.qvp-up-table th.qvp-up-pro,
.qvp-up-table td.qvp-up-mark:last-child { background: color-mix(in srgb, var(--qvp-accent) 7%, transparent); }
.qvp-up-table tr:last-child td { border-bottom: 0; }
.qvp-up-mark { text-align: center; width: 84px; font-size: 16px; }
.qvp-up-yes { color: var(--qvp-yes); font-weight: 700; }
.qvp-up-no { color: var(--qvp-muted); }

/* -------------------------------------------------------------------- FAQ */
.qvp-up-faq details {
	background: var(--qvp-card);
	border: 1px solid var(--qvp-line);
	border-radius: 12px;
	padding: 14px 18px;
	margin-bottom: 10px;
	transition: border-color .15s ease;
}
.qvp-up-faq details[open] { border-color: color-mix(in srgb, var(--qvp-accent) 32%, var(--qvp-line)); }
.qvp-up-faq summary { cursor: pointer; font-weight: 600; }
.qvp-up-faq p { color: var(--qvp-muted); margin: 10px 0 2px; font-size: 14px; line-height: 1.55; }

/* --------------------------------------------------------------- CTA band */
.qvp-up-band {
	text-align: center;
	padding: 46px 24px;
	border-radius: 18px;
	color: #fff;
	background:
		radial-gradient(80% 120% at 50% 0%, rgba(154, 107, 255, .5) 0%, transparent 60%),
		linear-gradient(135deg, #5b3ce0, #3f2bb3);
}
.qvp-up-band h2 { color: #fff; margin: 0 0 6px; font-size: 24px; }
.qvp-up-band-sub { color: rgba(255, 255, 255, .85); margin: 0 0 18px; }
.qvp-up-band .qvp-up-cta { justify-content: center; }
.qvp-up-band .qvp-up-guarantee { color: rgba(255, 255, 255, .85); }
.qvp-up-band .qvp-up-btn {
	background: #fff;
	color: #3f2bb3 !important;
	box-shadow: 0 10px 26px -10px rgba(10, 5, 40, .6);
}

/* ------------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
	.qvp-up-hero { grid-template-columns: 1fr; padding: 40px 30px; }
	.qvp-up-hero-shot { max-width: 480px; }
	.qvp-up-spot { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
	.qvp-up-hero { padding: 30px 22px; }
	.qvp-up-hero h1 { font-size: 26px; }
	.qvp-up-spot { padding: 24px 20px; }
	.qvp-up-shot-badge { right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
	.qvp-up * { transition: none !important; animation: none !important; }
}
