/* =====================================================================
   Become Brand — שאלון התאמה (/quiz/). Full-screen, RTL, brand-native.
   ===================================================================== */

* { box-sizing: border-box; }

.qz-body {
	margin: 0;
	min-height: 100dvh;
	background: #08080A;
	color: #fff;
	font-family: "Heebo", -apple-system, "Segoe UI", Arial, sans-serif;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
}

/* ---- living background ------------------------------------------- */

.qz-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

.qz-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.5;
	will-change: transform;
}

.qz-blob--1 { width: 620px; height: 620px; background: rgba(230, 55, 120, 0.55); top: -220px; right: -140px; }
.qz-blob--2 { width: 520px; height: 520px; background: rgba(120, 45, 220, 0.4); bottom: -200px; left: -120px; }
.qz-blob--3 { width: 420px; height: 420px; background: rgba(255, 120, 170, 0.3); top: 40%; left: 45%; }

.qz-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }

/* ---- chrome ------------------------------------------------------- */

.qz-top {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 18px 22px;
}

.qz-logo { font-weight: 900; font-size: 21px; color: #fff; text-decoration: none; }
.qz-logo em { font-style: normal; color: var(--bb-primary, #E63778); }

.qz-progress {
	flex: 1;
	height: 4px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 99px;
	overflow: hidden;
}

.qz-progress__bar {
	display: block;
	height: 100%;
	width: 100%;
	background: linear-gradient(90deg, #E63778, #ff9fc0);
	transform: scaleX(0);
	transform-origin: right center; /* RTL */
	border-radius: 99px;
}

.qz-exit {
	color: rgba(255, 255, 255, 0.45);
	text-decoration: none;
	font-size: 19px;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	transition: all 0.2s;
}

.qz-exit:hover { color: #fff; background: rgba(255, 255, 255, 0.14); }

/* ---- stage -------------------------------------------------------- */

.qz-stage {
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 22px 10px;
}

.qz-step {
	width: 100%;
	max-width: 820px;
	text-align: center;
}

.qz-kicker {
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 0.16em;
	color: var(--bb-primary, #E63778);
	margin: 0 0 14px;
}

.qz-q {
	font-size: clamp(27px, 5vw, 50px);
	font-weight: 900;
	letter-spacing: -1.6px;
	line-height: 1.14;
	margin: 0 0 10px;
}

.qz-q em { font-style: normal; color: var(--bb-primary, #E63778); }

.qz-hint {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.45);
	margin: 0 0 30px;
}

/* ---- options ------------------------------------------------------ */

.qz-opts {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	max-width: 620px;
	margin-inline: auto;
}

@media (min-width: 640px) { .qz-opts { grid-template-columns: 1fr 1fr; } }

.qz-opt {
	position: relative;
	display: flex;
	align-items: center;
	gap: 13px;
	text-align: right;
	background: rgba(255, 255, 255, 0.055);
	border: 1.5px solid rgba(255, 255, 255, 0.12);
	border-radius: 15px;
	padding: 17px 19px;
	font-family: inherit;
	font-size: 16.5px;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	transition: border-color 0.22s, background 0.22s, transform 0.22s;
	overflow: hidden;
	will-change: transform;
}

.qz-opt:hover { border-color: rgba(230, 55, 120, 0.65); background: rgba(230, 55, 120, 0.1); }
.qz-opt:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.qz-opt__ico {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 10px;
    display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.08);
	font-size: 17px;
}

.qz-opt--unknown {
	border-style: dashed;
	border-color: rgba(255, 255, 255, 0.22);
	background: transparent;
	color: rgba(255, 255, 255, 0.62);
	font-weight: 500;
}

.qz-opt--unknown:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.05); }

@media (min-width: 640px) { .qz-opt--unknown { grid-column: 1 / -1; justify-content: center; } }

.qz-opt.is-on { border-color: var(--bb-primary, #E63778); background: rgba(230, 55, 120, 0.2); }

/* selection sweep */
.qz-opt__sweep {
	position: absolute;
	inset: 0;
	background: var(--bb-primary, #E63778);
	transform: scaleX(0);
	transform-origin: right center;
	opacity: 0.28;
	pointer-events: none;
}

/* ---- contact step -------------------------------------------------- */

.qz-form { max-width: 480px; margin-inline: auto; text-align: right; }

.qz-input {
	width: 100%;
	background: rgba(255, 255, 255, 0.06);
	border: 1.5px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	color: #fff;
	font-family: inherit;
	font-size: 16.5px;
	padding: 15px 17px;
	margin-bottom: 12px;
	outline: none;
	direction: rtl;
	text-align: right;
	transition: border-color 0.2s;
}

.qz-input::placeholder { color: rgba(255, 255, 255, 0.3); }
.qz-input:focus { border-color: rgba(230, 55, 120, 0.7); }

.qz-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; }

.qz-submit {
	width: 100%;
	background: var(--bb-primary, #E63778);
	color: #fff;
	border: none;
	border-radius: 13px;
	font-family: inherit;
	font-size: 17.5px;
	font-weight: 800;
	padding: 17px;
	cursor: pointer;
	box-shadow: 0 8px 34px rgba(230, 55, 120, 0.45);
	transition: filter 0.2s;
	margin-top: 6px;
}

.qz-submit:hover { filter: brightness(1.1); }
.qz-submit:disabled { opacity: 0.65; cursor: wait; }

.qz-note { font-size: 12.5px; color: rgba(255, 255, 255, 0.35); text-align: center; margin: 12px 0 0; }
.qz-err { color: #ff7d9c; font-size: 14px; text-align: center; margin-top: 10px; }

/* ---- gift / result -------------------------------------------------- */

.qz-gift { max-width: 720px; margin-inline: auto; }

.qz-gift__badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: rgba(230, 55, 120, 0.16);
	border: 1px solid rgba(230, 55, 120, 0.5);
	color: #ff9fc0;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: 0.1em;
	padding: 8px 17px;
	border-radius: 99px;
	margin-bottom: 20px;
}

.qz-gift__title {
	font-size: clamp(30px, 6vw, 60px);
	font-weight: 900;
	letter-spacing: -2px;
	line-height: 1.08;
	margin: 0 0 16px;
}

.qz-gift__title em { font-style: normal; color: var(--bb-primary, #E63778); }

.qz-gift__lead {
	font-size: 17.5px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.6);
	max-width: 560px;
	margin: 0 auto 30px;
}

.qz-gift__cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 13px;
	max-width: 620px;
	margin: 0 auto 30px;
}

@media (min-width: 640px) { .qz-gift__cards { grid-template-columns: 1fr 1fr; } }

.qz-gcard {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	padding: 22px;
	text-align: right;
	position: relative;
	overflow: hidden;
}

.qz-gcard__tag {
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--bb-primary, #E63778);
	margin-bottom: 9px;
}

.qz-gcard__t { font-size: 18.5px; font-weight: 800; margin-bottom: 7px; }
.qz-gcard__d { font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, 0.5); }

.qz-gcard__free {
	position: absolute;
	top: 14px;
	left: 14px;
	background: #25D366;
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	padding: 4px 10px;
	border-radius: 99px;
}

.qz-actions { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; }

.qz-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	border: none;
	border-radius: 12px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 800;
	padding: 15px 30px;
	cursor: pointer;
	text-decoration: none;
	color: #fff;
	transition: filter 0.2s, transform 0.2s;
}

.qz-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }
.qz-btn--wa { background: #25D366; }
.qz-btn--ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.25); }

/* summary chips on the result screen */
.qz-sum { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-bottom: 26px; }
.qz-sum__chip {
	font-size: 12px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.55);
	border-radius: 99px;
	padding: 6px 13px;
}
.qz-sum__chip--unknown { border-color: rgba(230, 55, 120, 0.4); color: #ff9fc0; }

/* ---- footer -------------------------------------------------------- */

.qz-foot {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 24px 22px;
	min-height: 58px;
}

.qz-back, .qz-count {
	background: none;
	border: none;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: color 0.2s;
}

.qz-back:hover { color: #fff; }
.qz-count { cursor: default; }

.qz-rm {
	position: fixed;
	bottom: 14px;
	right: 50%;
	transform: translateX(50%);
	z-index: 9;
	background: #E63778;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 10px 18px;
	border-radius: 11px;
	max-width: 92vw;
	text-align: center;
}

/* ---- confetti ------------------------------------------------------- */

.qz-confetti { position: fixed; inset: 0; z-index: 8; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
	.qz-blob, .qz-canvas { display: none; }
	.qz-progress__bar { transform: scaleX(var(--p, 0)); transition: transform 0.3s; }
}
