/* Ready2Store — Meta Ads conversion funnel (extends style.css) */

.funnel-page .funnel-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(5, 7, 13, 0.92);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.funnel-page .funnel-header .container {
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.funnel-page .funnel-header .brand {
	min-width: 0;
	flex: 1 1 auto;
}

.funnel-page .funnel-header .brand-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.funnel-page .funnel-header .btn {
	width: auto;
	flex: 0 0 auto;
	white-space: nowrap;
}

.funnel-page .funnel-header .btn-label-short {
	display: none;
}

.funnel-alert {
	padding: 14px 0;
	background: linear-gradient(90deg, rgba(255, 152, 18, 0.18), rgba(61, 124, 255, 0.12));
	border-bottom: 1px solid rgba(255, 152, 18, 0.22);
	text-align: center;
}

.funnel-alert p {
	margin: 0;
	color: #ffd08a;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.5;
}

.funnel-hero {
	padding: 56px 0 64px;
}

.funnel-hero-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
	gap: 28px;
	align-items: center;
}

.funnel-hero h1 {
	font-size: clamp(36px, 4.5vw, 62px);
	line-height: 1.02;
}

.funnel-hero h1 em {
	font-style: normal;
	color: #ffd08a;
}

.funnel-hero-lead {
	max-width: 680px;
	margin-top: 20px;
	color: var(--soft-white);
	font-size: 20px;
	line-height: 1.65;
	font-weight: 600;
}

.funnel-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.funnel-hero-proof {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-top: 28px;
}

.funnel-hero-proof div {
	padding: 16px;
	border-radius: 18px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	text-align: center;
}

.funnel-hero-proof strong {
	display: block;
	color: #ffd08a;
	font-size: 30px;
	line-height: 1;
}

.funnel-hero-proof span {
	display: block;
	margin-top: 8px;
	color: var(--soft-white);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.35;
}

.funnel-guarantee-card {
	padding: 28px;
	border-radius: 24px;
	background:
		linear-gradient(135deg, rgba(255, 152, 18, 0.18), rgba(61, 124, 255, 0.10)),
		rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 152, 18, 0.28);
	box-shadow: var(--shadow);
}

.funnel-guarantee-card .badge {
	display: inline-flex;
	margin-bottom: 14px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(255, 152, 18, 0.16);
	border: 1px solid rgba(255, 152, 18, 0.28);
	color: #ffd08a;
	font-size: 11px;
	font-weight: 950;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.funnel-guarantee-card h2 {
	margin: 0 0 12px;
	font-size: clamp(24px, 2.8vw, 34px);
	line-height: 1.1;
}

.funnel-guarantee-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.funnel-guarantee-card li {
	position: relative;
	padding-left: 26px;
	color: var(--soft-white);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
}

.funnel-guarantee-card li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #88f0b5;
	font-weight: 950;
}

.funnel-marquee {
	overflow: hidden;
	padding: 16px 0;
	background: rgba(255, 255, 255, 0.03);
	border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.funnel-marquee-track {
	display: flex;
	width: max-content;
	gap: 40px;
	animation: funnel-marquee 38s linear infinite;
}

.funnel-marquee-track span {
	white-space: nowrap;
	color: #ffd08a;
	font-size: 13px;
	font-weight: 950;
	text-transform: uppercase;
	letter-spacing: 0.6px;
}

@keyframes funnel-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.funnel-checklist {
	display: grid;
	gap: 12px;
	margin-top: 28px;
}

.funnel-checklist-item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 18px 20px;
	border-radius: 18px;
	background: var(--bg-card);
	border: 1px solid var(--border);
}

.funnel-checklist-item strong {
	display: block;
	margin-bottom: 4px;
	font-size: 16px;
}

.funnel-checklist-item p {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.55;
}

.funnel-check-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: rgba(255, 152, 18, 0.16);
	color: #ffd08a;
	font-weight: 950;
	font-size: 14px;
}

.funnel-compare {
	border-radius: 24px;
	overflow: hidden;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.04);
}

.funnel-compare table {
	width: 100%;
	border-collapse: collapse;
}

.funnel-compare th,
.funnel-compare td {
	padding: 18px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	text-align: left;
	vertical-align: top;
}

.funnel-compare th {
	background: rgba(255, 255, 255, 0.04);
	color: var(--soft-white);
	font-size: 14px;
	font-weight: 950;
}

.funnel-compare td:first-child {
	color: var(--muted);
	font-weight: 800;
	width: 28%;
}

.funnel-compare .col-bad {
	color: #ff9b9b;
}

.funnel-compare .col-good {
	color: #88f0b5;
	font-weight: 800;
}

.funnel-compare tr:last-child td {
	border-bottom: 0;
}

.funnel-system-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.funnel-system-card {
	padding: 24px;
	border-radius: 20px;
	background: var(--bg-card);
	border: 1px solid var(--border);
}

.funnel-system-card .num {
	display: inline-flex;
	margin-bottom: 12px;
	color: #ffd08a;
	font-size: 12px;
	font-weight: 950;
}

.funnel-system-card h3 {
	margin: 0 0 10px;
	font-size: 20px;
}

.funnel-system-card p {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
}

.funnel-guarantee-hero {
	padding: 48px;
	border-radius: 28px;
	background:
		radial-gradient(circle at top right, rgba(255, 152, 18, 0.22), transparent 40%),
		radial-gradient(circle at bottom left, rgba(61, 124, 255, 0.16), transparent 35%),
		rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 152, 18, 0.30);
	box-shadow: var(--shadow);
}

.funnel-guarantee-hero h2 {
	max-width: 820px;
	margin: 0 0 18px;
	font-size: clamp(30px, 3.5vw, 48px);
	line-height: 1.06;
}

.funnel-guarantee-pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 28px;
}

.funnel-guarantee-pillar {
	padding: 22px;
	border-radius: 18px;
	background: rgba(5, 7, 13, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.10);
}

.funnel-guarantee-pillar strong {
	display: block;
	margin-bottom: 8px;
	color: #ffd08a;
	font-size: 22px;
	line-height: 1.1;
}

.funnel-guarantee-pillar p {
	margin: 0;
	color: var(--soft-white);
	font-size: 14px;
	line-height: 1.55;
}

.funnel-timeline {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.funnel-timeline-step {
	padding: 22px;
	border-radius: 18px;
	background: var(--bg-card);
	border: 1px solid var(--border);
}

.funnel-timeline-step span {
	display: block;
	margin-bottom: 8px;
	color: #ffd08a;
	font-size: 12px;
	font-weight: 950;
}

.funnel-timeline-step h3 {
	margin: 0 0 8px;
	font-size: 18px;
}

.funnel-timeline-step p {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
}

.funnel-cta-band {
	padding: 36px;
	border-radius: 24px;
	text-align: center;
	background:
		linear-gradient(135deg, rgba(255, 152, 18, 0.14), rgba(61, 124, 255, 0.10)),
		rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 152, 18, 0.24);
}

.funnel-cta-band h2 {
	margin: 0 0 12px;
	font-size: clamp(26px, 3vw, 38px);
}

.funnel-cta-band p {
	max-width: 640px;
	margin: 0 auto 22px;
	color: var(--soft-white);
	font-size: 17px;
	line-height: 1.6;
}

.funnel-fit-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.funnel-sticky-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 55;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	background: rgba(5, 7, 13, 0.94);
	backdrop-filter: blur(16px);
	border-top: 1px solid rgba(255, 152, 18, 0.24);
	transform: translateY(110%);
	transition: transform 0.25s ease;
}

.funnel-sticky-cta.is-visible {
	transform: translateY(0);
}

.funnel-sticky-cta .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.funnel-sticky-cta p {
	margin: 0;
	color: var(--soft-white);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
}

.funnel-sticky-cta .btn {
	flex-shrink: 0;
}

.funnel-footer {
	padding: 32px 0 100px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
	color: var(--muted);
	font-size: 13px;
}

.funnel-footer a {
	color: #ffd08a;
}

.funnel-page .whatsapp-float {
	bottom: 96px;
}

@media (max-width: 1024px) {
	.funnel-hero-layout,
	.funnel-system-grid,
	.funnel-guarantee-pillars,
	.funnel-timeline,
	.funnel-fit-grid {
		grid-template-columns: 1fr;
	}

	.funnel-hero-proof {
		grid-template-columns: 1fr;
	}

	.funnel-compare {
		overflow-x: auto;
	}

	.funnel-compare table {
		min-width: 640px;
	}
}

@media (max-width: 768px) {
	.funnel-page .funnel-header .container {
		height: auto;
		min-height: 64px;
		padding-block: 10px;
		gap: 10px;
	}

	.funnel-page .funnel-header .brand {
		gap: 10px;
	}

	.funnel-page .funnel-header .brand-text {
		font-size: 18px;
	}

	.funnel-page .funnel-header .brand-logo {
		width: 38px;
		flex-shrink: 0;
	}

	.funnel-page .funnel-header .btn {
		width: auto !important;
		min-height: 44px;
		padding: 10px 14px;
		font-size: 13px;
		gap: 6px;
		border-radius: 14px;
	}

	.funnel-alert {
		padding: 10px 0;
	}

	.funnel-alert p {
		font-size: 12px;
		line-height: 1.45;
		padding-inline: 4px;
	}

	.funnel-sticky-cta .container {
		flex-direction: column;
		text-align: center;
	}

	.funnel-sticky-cta p {
		font-size: 13px;
	}

	.funnel-sticky-cta .btn {
		width: 100%;
		justify-content: center;
	}

	.funnel-guarantee-hero {
		padding: 28px 22px;
	}
}

@media (max-width: 420px) {
	.funnel-page .funnel-header .brand-text {
		display: none;
	}

	.funnel-page .funnel-header .btn-label-full {
		display: none;
	}

	.funnel-page .funnel-header .btn-label-short {
		display: inline;
	}
}

@media (prefers-reduced-motion: reduce) {
	.funnel-marquee-track {
		animation: none;
		flex-wrap: wrap;
		justify-content: center;
		width: auto;
	}
}
