/* WhatsApp Offer Funnel - Popup Styles */

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* ── Overlay ── */
.waof-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0);
	transition: background 0.35s ease;
	padding: 16px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.waof-overlay.waof-animate-in {
	background: rgba(0, 0, 0, 0.5);
}

.waof-overlay.waof-animate-out {
	background: rgba(0, 0, 0, 0);
}

/* ── Popup Card ── */
.waof-popup {
	position: relative;
	width: 100%;
	max-width: 400px;
	background: #ffffff;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
	transform: scale(0.88) translateY(30px);
	opacity: 0;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.waof-animate-in .waof-popup {
	transform: scale(1) translateY(0);
	opacity: 1;
}

.waof-animate-out .waof-popup {
	transform: scale(0.92) translateY(16px);
	opacity: 0;
}

/* ══════════════════════════════════
   SCREEN 1 — Initial offer
   ══════════════════════════════════ */

/* ── Gradient Header ── */
.waof-header {
	position: relative;
	background: linear-gradient(160deg, #157a4e 0%, #1fa85e 25%, #25d366 50%, #45dc7c 75%, #6ee79a 100%);
	padding: 20px 24px 40px;
	color: #ffffff;
}

.waof-close {
	position: relative;
	z-index: 2;
	width: 34px;
	height: 34px;
	border: none;
	background: rgba(0, 0, 0, 0.12);
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	color: #ffffff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
	padding: 0;
}

.waof-close:hover {
	background: rgba(0, 0, 0, 0.25);
}

.waof-header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.waof-limited-badge {
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	padding: 6px 16px;
	border-radius: 50px;
	letter-spacing: 0.3px;
}

.waof-header-content {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.waof-discount-circle {
	flex-shrink: 0;
	width: 84px;
	height: 84px;
	background: rgb(255, 255, 255);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 25%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.waof-discount-num {
	font-size: 32px;
	font-weight: 900;
	color: #1a8a5cb3;
}

.waof-discount-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin-top: 2px;
	color: #1a8a5cb3;
}

.waof-header-text {
	padding-top: 2px;
}

.waof-header-text h2 {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 10px;
	color: #ffffff;
}

.waof-header-text p {
	font-size: 13.5px;
	line-height: 1.55;
	margin: 0;
	opacity: 0.92;
}

/* ── Body (Steps + Benefits) ── */
.waof-body {
	padding: 28px 26px 22px;
}

/* How it works */
.waof-steps-label {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.8px;
	color: #9ca3af;
	margin: 0 0 16px;
}

.waof-steps {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 6px;
	margin-bottom: 26px;
	padding: 18px 14px;
	background: #f8fafb;
	border-radius: 16px;
	border: 1px solid #f1f3f5;
}

.waof-step {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
}

.waof-step-icon {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
	font-size: 20px;
}

.waof-step-text {
	font-size: 11.5px;
	font-weight: 600;
	color: #4b5563;
	line-height: 1.35;
}

.waof-step-arrow {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	padding-top: 14px;
	color: #d1d5db;
	font-size: 16px;
	font-weight: 300;
}

/* Benefits checklist */
.waof-benefits {
	list-style: none;
	margin: 0 0 6px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.waof-benefits li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	line-height: 1.4;
}

.waof-benefit-check {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	background: #ecfdf5;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.waof-benefit-check svg {
	width: 12px;
	height: 12px;
	color: #059669;
}

/* ── Footer (CTA + Dismiss) ── */
.waof-footer {
	padding: 0 26px 26px;
}

.waof-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 16px 24px;
	background: linear-gradient(135deg, #1a8a5c 0%, #25d366 100%);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	border: none;
	border-radius: 14px;
	cursor: pointer;
	text-decoration: none;
	transition: box-shadow 0.3s ease, transform 0.2s ease;
	box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.waof-cta:hover {
	box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
	transform: translateY(-2px);
	color: #ffffff;
	text-decoration: none;
}

.waof-cta:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.waof-cta-icon {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.waof-dismiss {
	display: block;
	width: 100%;
	background: none;
	border: none;
	padding: 14px 0 0;
	font-size: 13px;
	color: #9ca3af;
	cursor: pointer;
	text-align: center;
	transition: color 0.2s;
}

.waof-dismiss:hover {
	color: #6b7280;
}


/* ══════════════════════════════════
   SCREEN 2 — Confirmation
   ══════════════════════════════════ */

.waof-screen2 {
	display: none;
}

.waof-screen2-inner {
	padding: 40px 28px 32px;
	text-align: center;
}

.waof-wa-icon-wrap {
	width: 72px;
	height: 72px;
	margin: 0 auto 22px;
	background: #ecfdf5;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 10px rgba(236, 253, 245, 0.5);
}

.waof-wa-icon-wrap svg {
	width: 36px;
	height: 36px;
	color: #25d366;
}

.waof-screen2-inner h2 {
	font-size: 24px;
	font-weight: 800;
	color: #111827;
	margin: 0 0 12px;
	line-height: 1.3;
}

.waof-screen2-desc {
	font-size: 14.5px;
	line-height: 1.6;
	color: #6b7280;
	margin: 0 0 28px;
}

.waof-screen2-desc strong {
	color: #374151;
}

.waof-pin-hint {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #fef9ee;
	border: 1px solid #fde68a;
	border-radius: 14px;
	padding: 16px;
	margin-bottom: 28px;
	text-align: left;
}

.waof-pin-icon {
	flex-shrink: 0;
	font-size: 22px;
	line-height: 1;
}

.waof-pin-hint p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: #78716c;
}

.waof-pin-hint strong {
	color: #44403c;
}

.waof-shop-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 16px 24px;
	background: #111827;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	border: none;
	border-radius: 14px;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s, transform 0.2s;
}

.waof-shop-btn:hover {
	background: #1f2937;
	transform: translateY(-1px);
	color: #ffffff;
	text-decoration: none;
}

.waof-shop-btn:active {
	transform: translateY(0);
}


/* ══════════════════════════════════
   MOBILE RESPONSIVE
   ══════════════════════════════════ */
@media (max-width: 480px) {
	.waof-overlay {
		align-items: flex-end;
		padding: 0;
	}

	.waof-popup {
		max-width: 100%;
		border-radius: 24px 24px 0 0;
		max-height: 95vh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		transform: translateY(100%);
		opacity: 1;
	}

	.waof-animate-in .waof-popup {
		transform: translateY(0);
	}

	.waof-animate-out .waof-popup {
		transform: translateY(100%);
	}

	.waof-header {
		padding: 16px 20px 32px;
	}

	.waof-header-top {
		margin-bottom: 20px;
	}

	.waof-header-text h2 {
		font-size: 20px;
	}

	.waof-header-text p {
		font-size: 12.5px;
	}

	.waof-discount-circle {
		width: 82px;
		height: 80px;
	}

	.waof-discount-num {
		font-size: 30px;
		color: #1a8a5cb3;
	}

	.waof-header-content {
		gap: 16px;
	}

	.waof-body {
		padding: 22px 20px 18px;
	}

	.waof-step-icon {
		width: 38px;
		height: 38px;
		font-size: 16px;
	}

	.waof-step-text {
		font-size: 10.5px;
	}

	.waof-footer {
		padding: 0 20px 22px;
	}

	.waof-cta {
		font-size: 14px;
		padding: 14px 20px;
	}

	.waof-screen2-inner {
		padding: 32px 22px 28px;
	}

	.waof-screen2-inner h2 {
		font-size: 20px;
	}
}

/* ── Reduce motion ── */
@media (prefers-reduced-motion: reduce) {
	.waof-popup,
	.waof-overlay,
	.waof-close,
	.waof-cta,
	.waof-shop-btn {
		transition: none;
	}
}
