/* NOMIQRA Funnel — scoped, RTL-first styles. No theme or Hero styles are changed here. */
.nomiqra-funnel,
.nomiqra-funnel *,
.nomiqra-product,
.nomiqra-product *,
.nomiqra-lesson,
.nomiqra-lesson * {
	box-sizing: border-box;
}

.nomiqra-funnel,
.nomiqra-product,
.nomiqra-lesson {
	--nomiqra-bg: #070807;
	--nomiqra-surface: #101210;
	--nomiqra-line: rgba(255, 255, 255, 0.14);
	--nomiqra-copy: #f7f5ef;
	--nomiqra-muted: #afaead;
	--nomiqra-gold: #f5b942;
	--nomiqra-gold-ink: #1e1607;
	--nomiqra-radius: 22px;
	color: var(--nomiqra-copy);
	background: var(--nomiqra-bg);
	direction: rtl;
	font-family: inherit;
}

.nomiqra-funnel {
	position: relative;
	isolation: isolate;
	width: 100%;
	max-width: none;
	margin: 0 !important;
	padding: clamp(56px, 8vw, 112px) max(20px, calc((100vw - 1120px) / 2));
	overflow: clip;
}

.nomiqra-funnel::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(circle at 50% 0%, rgba(245, 185, 66, 0.08), transparent 34%);
	content: "";
	pointer-events: none;
}

.nomiqra-funnel__shell,
.nomiqra-product,
.nomiqra-lesson {
	width: min(100%, 760px);
	margin-inline: auto;
	border: 1px solid var(--nomiqra-line);
	border-radius: var(--nomiqra-radius);
	background: linear-gradient(145deg, rgba(22, 24, 22, 0.98), rgba(11, 13, 11, 0.98));
	box-shadow: 0 22px 65px rgba(0, 0, 0, 0.28);
}

.nomiqra-funnel__shell {
	min-height: 420px;
	padding: clamp(24px, 5vw, 48px);
	opacity: 0;
	transform: translateY(12px);
}

.nomiqra-funnel__shell--entering {
	animation: nomiqra-funnel-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nomiqra-funnel__screen {
	animation: nomiqra-funnel-content 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nomiqra-funnel__loading,
.nomiqra-funnel__noscript {
	margin: 0;
	color: var(--nomiqra-muted);
	text-align: center;
}

.nomiqra-funnel__noscript { margin-top: 16px; }

.nomiqra-funnel__progress { margin-bottom: clamp(32px, 5vw, 48px); }

.nomiqra-funnel__step,
.nomiqra-funnel__progress-count,
.nomiqra-funnel__eyebrow,
.nomiqra-product__eyebrow,
.nomiqra-lesson__eyebrow {
	margin: 0;
	color: var(--nomiqra-gold);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.nomiqra-funnel__progress-row {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 14px;
	margin-top: 12px;
}

.nomiqra-funnel__progress-track,
.nomiqra-funnel__analysis-track,
.nomiqra-product__progress-track {
	display: block;
	overflow: hidden;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.1);
}

.nomiqra-funnel__progress-track { height: 5px; }

.nomiqra-funnel__progress-fill,
.nomiqra-funnel__analysis-fill,
.nomiqra-product__progress-track > span {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	background: var(--nomiqra-gold);
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nomiqra-funnel__progress-count {
	color: var(--nomiqra-muted);
	font-variant-numeric: tabular-nums;
}

.nomiqra-funnel__form,
.nomiqra-funnel__lead-form { margin: 0; }

.nomiqra-funnel__fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.nomiqra-funnel__title-block { margin-bottom: 28px; }

.nomiqra-funnel__title,
.nomiqra-funnel__result-title,
.nomiqra-funnel__offer-title,
.nomiqra-product h1,
.nomiqra-lesson h1 {
	margin: 0;
	color: var(--nomiqra-copy);
	font-size: clamp(1.65rem, 4vw, 2.45rem);
	line-height: 1.24;
	letter-spacing: -0.025em;
}

.nomiqra-funnel__help,
.nomiqra-funnel__result-summary,
.nomiqra-funnel__offer-copy,
.nomiqra-product__header > p,
.nomiqra-lesson__summary {
	margin: 12px 0 0;
	color: var(--nomiqra-muted);
	font-size: 1rem;
	line-height: 1.75;
}

.nomiqra-funnel__options {
	display: grid;
	gap: 12px;
}

.nomiqra-funnel__option,
.nomiqra-funnel__continue,
.nomiqra-funnel__back,
.nomiqra-product__continue,
.nomiqra-lesson__complete {
	min-height: 54px;
	border: 1px solid transparent;
	border-radius: 14px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: transform 190ms ease, border-color 190ms ease, background-color 190ms ease, color 190ms ease, box-shadow 190ms ease, opacity 190ms ease;
}

.nomiqra-funnel__option {
	position: relative;
	width: 100%;
	padding: 15px 52px 15px 18px;
	border-color: var(--nomiqra-line);
	background: rgba(255, 255, 255, 0.025);
	color: var(--nomiqra-copy);
	text-align: right;
}

.nomiqra-funnel__option::after {
	position: absolute;
	top: 50%;
	right: 17px;
	width: 19px;
	height: 19px;
	border: 1px solid rgba(245, 185, 66, 0.48);
	border-radius: 50%;
	color: var(--nomiqra-gold-ink);
	background: transparent;
	content: "✓";
	font-size: 0.75rem;
	font-weight: 900;
	line-height: 19px;
	text-align: center;
	opacity: 0;
	transform: translateY(-50%) scale(0.6);
	transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), opacity 150ms ease, background-color 180ms ease;
}

.nomiqra-funnel__option--selected {
	border-color: var(--nomiqra-gold);
	background: rgba(245, 185, 66, 0.1);
	box-shadow: 0 0 0 1px rgba(245, 185, 66, 0.12), 0 10px 28px rgba(245, 185, 66, 0.07);
}

.nomiqra-funnel__option--selected::after {
	background: var(--nomiqra-gold);
	opacity: 1;
	transform: translateY(-50%) scale(1);
}

.nomiqra-funnel__options:has(.nomiqra-funnel__option--selected) .nomiqra-funnel__option:not(.nomiqra-funnel__option--selected) { opacity: 0.62; }

.nomiqra-funnel__select-label,
.nomiqra-funnel__input-label {
	display: grid;
	gap: 9px;
	color: var(--nomiqra-copy);
	font-weight: 700;
}

.nomiqra-funnel__select,
.nomiqra-funnel__input {
	width: 100%;
	min-height: 54px;
	padding: 0 15px;
	border: 1px solid var(--nomiqra-line);
	border-radius: 14px;
	outline: 0;
	background: rgba(255, 255, 255, 0.035);
	color: var(--nomiqra-copy);
	font: inherit;
	transition: border-color 180ms ease, box-shadow 180ms ease;
}

.nomiqra-funnel__select option { color: #101210; }

.nomiqra-funnel__actions {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 26px;
}

.nomiqra-funnel__continue,
.nomiqra-product__continue,
.nomiqra-lesson__complete {
	padding: 14px 20px;
	background: var(--nomiqra-gold);
	color: var(--nomiqra-gold-ink);
	text-align: center;
	text-decoration: none;
}

.nomiqra-funnel__continue:not(:disabled)::after {
	margin-inline-start: 9px;
	content: "←";
}

.nomiqra-funnel__continue:disabled {
	border-color: var(--nomiqra-line);
	background: rgba(255, 255, 255, 0.08);
	color: rgba(247, 245, 239, 0.42);
	cursor: not-allowed;
}

.nomiqra-funnel__back {
	padding: 13px 18px;
	border-color: var(--nomiqra-line);
	background: transparent;
	color: var(--nomiqra-copy);
}

.nomiqra-funnel__status {
	min-height: 1.55em;
	margin: 12px 0 0;
	color: var(--nomiqra-muted);
	font-size: 0.9rem;
}

.nomiqra-funnel__status--error { color: #ffb4a8; }

.nomiqra-funnel__lead-form {
	display: grid;
	gap: 20px;
	margin-top: 26px;
}

.nomiqra-funnel__consent {
	margin: -8px 0 0;
	color: var(--nomiqra-muted);
	font-size: 0.85rem;
	line-height: 1.65;
}

.nomiqra-funnel__honeypot {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	overflow: hidden !important;
	white-space: nowrap !important;
}

.nomiqra-funnel__analysis-message {
	margin: 14px 0 0;
	color: var(--nomiqra-muted);
}

.nomiqra-funnel__analysis-track {
	height: 6px;
	margin-top: 28px;
}

.nomiqra-funnel__analysis-list {
	display: grid;
	gap: 10px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	color: rgba(247, 245, 239, 0.38);
}

.nomiqra-funnel__analysis-list li {
	position: relative;
	padding-inline-start: 25px;
	transition: color 180ms ease;
}

.nomiqra-funnel__analysis-list li::before {
	position: absolute;
	right: 0;
	content: "○";
}

.nomiqra-funnel__analysis-list .nomiqra-funnel__analysis-step--done { color: var(--nomiqra-copy); }
.nomiqra-funnel__analysis-list .nomiqra-funnel__analysis-step--done::before { color: var(--nomiqra-gold); content: "✓"; }

.nomiqra-funnel__metrics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 28px 0;
}

.nomiqra-funnel__metric,
.nomiqra-funnel__result-section,
.nomiqra-funnel__timeline,
.nomiqra-funnel__faq {
	border: 1px solid var(--nomiqra-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.025);
}

.nomiqra-funnel__metric {
	display: grid;
	gap: 6px;
	padding: 16px;
}

.nomiqra-funnel__metric span { color: var(--nomiqra-muted); font-size: 0.86rem; }
.nomiqra-funnel__metric strong { color: var(--nomiqra-gold); font-size: 1.25rem; }
.nomiqra-funnel__result-summary { margin-bottom: 24px; }

.nomiqra-funnel__result-section {
	margin-top: 14px;
	padding: 20px;
}

.nomiqra-funnel__result-section h2,
.nomiqra-lesson h2 { margin: 0 0 12px; font-size: 1.02rem; }

.nomiqra-funnel__result-section p { margin: 9px 0 0; color: var(--nomiqra-muted); line-height: 1.7; }

.nomiqra-funnel__reason-list,
.nomiqra-funnel__plan,
.nomiqra-funnel__offer-list,
.nomiqra-lesson ul {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0 1.15rem 0 0;
	line-height: 1.65;
}

.nomiqra-funnel__alternative { margin: 22px 0; color: var(--nomiqra-muted); }
.nomiqra-funnel__offer-copy { margin-bottom: 23px; }

.nomiqra-funnel__timeline {
	display: grid;
	gap: 10px;
	margin: 22px 0;
	padding: 17px;
}

.nomiqra-funnel__timeline p { margin: 0; }
.nomiqra-funnel__offer-list { margin-bottom: 24px; }

.nomiqra-funnel__price {
	margin: 0 0 18px;
	color: var(--nomiqra-gold);
	font-size: clamp(1.7rem, 5vw, 2.4rem);
	font-weight: 800;
}

.nomiqra-funnel__faq { margin-top: 18px; padding: 0 17px; }
.nomiqra-funnel__faq summary { padding: 16px 0; cursor: pointer; font-weight: 700; }
.nomiqra-funnel__faq p { margin: 0 0 16px; color: var(--nomiqra-muted); line-height: 1.7; }

.nomiqra-product,
.nomiqra-lesson {
	margin-block: clamp(40px, 8vw, 84px);
	padding: clamp(22px, 5vw, 44px);
}

.nomiqra-product__header,
.nomiqra-lesson > header { margin-bottom: 28px; }
.nomiqra-product__header h1,
.nomiqra-lesson h1 { margin-top: 10px; }

.nomiqra-product__progress {
	margin-bottom: 26px;
	padding: 18px;
	border: 1px solid var(--nomiqra-line);
	border-radius: 14px;
}

.nomiqra-product__progress-row {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 10px;
}

.nomiqra-product__progress-track { height: 6px; }
.nomiqra-product__progress-track > span { width: var(--nomiqra-progress, 0%); transform: none; transform-origin: right; }

.nomiqra-product__lesson-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nomiqra-product__lesson {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px;
	border: 1px solid var(--nomiqra-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.025);
}

.nomiqra-product__lesson > div > span,
.nomiqra-product__lesson p,
.nomiqra-lesson__back,
.nomiqra-lesson__status { color: var(--nomiqra-muted); }

.nomiqra-product__lesson h2 { margin: 5px 0; font-size: 1.08rem; }
.nomiqra-product__lesson p { margin: 0; line-height: 1.6; }
.nomiqra-product__lesson--complete { border-color: rgba(245, 185, 66, 0.58); }
.nomiqra-product--locked { text-align: center; }
.nomiqra-product--locked h1 { margin-top: 10px; }
.nomiqra-product--locked p:last-child { margin: 13px 0 0; color: var(--nomiqra-muted); line-height: 1.7; }

.nomiqra-lesson__back { display: inline-block; margin-bottom: 26px; text-decoration: none; }
.nomiqra-lesson__summary { margin-bottom: 28px; }

.nomiqra-lesson section {
	margin-top: 16px;
	padding: 18px;
	border: 1px solid var(--nomiqra-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.025);
}

.nomiqra-lesson section p { margin: 0; color: var(--nomiqra-muted); line-height: 1.7; }

.nomiqra-lesson pre {
	margin: 0;
	padding: 14px;
	overflow-wrap: anywhere;
	white-space: pre-wrap;
	border-radius: 10px;
	background: #090a09;
	color: #e8dfcc;
	font: 0.9rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	direction: rtl;
}

.nomiqra-lesson__complete { width: 100%; margin-top: 20px; }
.nomiqra-lesson__status { min-height: 1.5em; margin: 10px 0 0; font-size: 0.9rem; }

@media (hover: hover) and (pointer: fine) {
	.nomiqra-funnel__option:hover {
		border-color: var(--nomiqra-gold);
		background: rgba(245, 185, 66, 0.06);
		box-shadow: 0 10px 25px rgba(245, 185, 66, 0.06);
		transform: translateY(-2px);
	}

	.nomiqra-funnel__continue:not(:disabled):hover,
	.nomiqra-funnel__back:hover,
	.nomiqra-product__continue:hover,
	.nomiqra-lesson__complete:hover { transform: translateY(-2px); }
}

.nomiqra-funnel__option:active,
.nomiqra-funnel__continue:not(:disabled):active,
.nomiqra-funnel__back:active,
.nomiqra-product__continue:active,
.nomiqra-lesson__complete:active { transform: scale(0.985); }

.nomiqra-funnel button:focus-visible,
.nomiqra-funnel select:focus-visible,
.nomiqra-funnel input:focus-visible,
.nomiqra-product a:focus-visible,
.nomiqra-lesson a:focus-visible,
.nomiqra-lesson button:focus-visible {
	outline: 3px solid var(--nomiqra-gold);
	outline-offset: 3px;
}

@keyframes nomiqra-funnel-enter {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes nomiqra-funnel-content {
	from { opacity: 0; transform: translateX(10px); }
	to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 560px) {
	.nomiqra-funnel { padding: 44px 14px; }
	.nomiqra-funnel__shell { min-height: 0; padding: 24px 18px; border-radius: 18px; }
	.nomiqra-funnel__actions,
	.nomiqra-product__lesson { align-items: stretch; flex-direction: column; }
	.nomiqra-funnel__actions > * { width: 100%; }
	.nomiqra-funnel__metrics { grid-template-columns: 1fr; }
	.nomiqra-product__continue { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.nomiqra-funnel *,
	.nomiqra-product *,
	.nomiqra-lesson * {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
