/* ════════════════════════════════════════════════════════════════
   MODFOLIOS — Coming Soon (Creator + Agency)
   ════════════════════════════════════════════════════════════════ */

:root {
	--mf-purple:        #7c3aed;
	--mf-purple-light:  #a855f7;
	--mf-purple-deep:   #5b21b6;
	--mf-grad:          linear-gradient(100deg, #a855f7 0%, #7c3aed 60%, #6d28d9 100%);
	--mf-btn-grad:      linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
	--mf-dark:          #0b0613;
	--mf-dark-2:        #140a24;
	--mf-text:          #1a1530;
	--mf-muted:         #6b6680;
	--mf-lav:           #f5f3ff;
	--mf-lav-2:         #efe9fe;
	--mf-card-radius:   20px;
	--mf-maxw:          1200px;
}

/* ── Reset ────────────────────────────────────────────────────── */
.mf-site *,
.mf-site *::before,
.mf-site *::after { box-sizing: border-box; }

.mf-site {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--mf-text);
	background: var(--mf-dark);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
.mf-site img { max-width: 100%; display: block; }
.mf-site a { text-decoration: none; color: inherit; }
.mf-site h1, .mf-site h2, .mf-site h3, .mf-site h4, .mf-site p, .mf-site ul { margin: 0; padding: 0; }
.mf-site ul { list-style: none; }
body.mf-no-scroll { overflow: hidden; }

.mf-grad {
	background: var(--mf-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* ════════════════════════ NAV ════════════════════════ */
.mf-nav {
	position: relative;
	z-index: 30;
	background: var(--mf-dark);
	color: #fff;
}
.mf-nav__inner {
	max-width: var(--mf-maxw);
	margin: 0 auto;
	padding: 20px 32px;
	display: flex;
	align-items: center;
	gap: 24px;
}
.mf-nav__logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	letter-spacing: .14em;
	font-size: 15px;
	color: #fff;
}
.mf-nav__logo-mark {
	width: 30px; height: 30px;
	display: grid; place-items: center;
	background: var(--mf-btn-grad);
	border-radius: 8px;
	font-size: 18px; font-weight: 900;
	color: #fff;
}
.mf-nav__menu {
	display: flex;
	align-items: center;
	gap: 34px;
	margin: 0 auto;
}
.mf-nav__link {
	font-size: 14.5px;
	font-weight: 500;
	color: #fff;
	opacity: .82;
	transition: opacity .18s;
}
.mf-nav__link:hover { opacity: 1; }
.mf-nav__link.is-active { opacity: 1; font-weight: 600; }
.mf-nav__login {
	border: 1px solid rgba(255,255,255,.35);
	color: #fff;
	padding: 9px 24px;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 600;
	transition: background .18s, border-color .18s;
}
.mf-nav__login:hover { background: rgba(255,255,255,.1); }
.mf-nav__login { font-family: inherit; cursor: pointer; }
.mf-nav__login--mobile { display: none; }

/* Logged-in account chip */
.mf-nav__account {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	border: 1px solid rgba(255,255,255,.25);
	background: rgba(255,255,255,.06);
	color: #fff;
	padding: 6px 18px 6px 7px;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 600;
	transition: background .18s;
}
.mf-nav__account:hover { background: rgba(255,255,255,.14); }
.mf-nav__account-ic {
	width: 30px; height: 30px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--mf-btn-grad);
	color: #fff;
}
.mf-nav__account-ic svg { width: 18px; height: 18px; }
.mf-nav__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none; border: none; cursor: pointer;
	padding: 6px; margin-left: auto;
}
.mf-nav__toggle span {
	width: 24px; height: 2px; background: #fff; border-radius: 2px;
	transition: transform .2s, opacity .2s;
}
.mf-nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mf-nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.mf-nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════ HERO ════════════════════════ */
.mf-hero {
	position: relative;
	overflow: hidden;
	background: var(--mf-dark);
}
.mf-hero__bg { position: absolute; inset: 0; z-index: 0; }

/* Creator: radial purple glow over near-black */
.mf-hero--creator .mf-hero__bg {
	background:
		radial-gradient(120% 130% at 80% 110%, rgba(124,58,237,.55) 0%, rgba(124,58,237,0) 55%),
		radial-gradient(90% 120% at 100% 100%, rgba(168,85,247,.35) 0%, rgba(168,85,247,0) 50%),
		linear-gradient(160deg, #050208 0%, #0b0613 45%, #1a0b33 100%);
}
/* Agency: photo + dark overlay */
.mf-hero--agency .mf-hero__bg {
	background-size: cover;
	background-position: center;
}
.mf-hero--agency .mf-hero__bg::after {
	content: '';
	position: absolute; inset: 0;
	background:
		radial-gradient(120% 120% at 90% 100%, rgba(91,33,182,.55) 0%, rgba(11,6,19,0) 55%),
		linear-gradient(100deg, rgba(5,2,8,.94) 0%, rgba(8,4,16,.82) 45%, rgba(20,10,40,.6) 100%);
}

.mf-hero__inner {
	position: relative;
	z-index: 2;
	max-width: var(--mf-maxw);
	margin: 0 auto;
	padding: 56px 32px 84px;
	display: grid;
	grid-template-columns: 1.05fr .85fr;
	align-items: center;
	gap: 56px;
}

.mf-hero__content { color: #fff; }
.mf-hero__eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--mf-purple-light);
	margin-bottom: 18px;
}
.mf-hero__title {
	font-size: clamp(34px, 4.6vw, 56px);
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}
.mf-hero__desc {
	margin-top: 22px !important;
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255,255,255,.72);
	max-width: 480px;
}
.mf-hero__features {
	display: flex;
	gap: 30px;
	margin-top: 36px !important;
	flex-wrap: wrap;
}
.mf-hero__features li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13.5px;
	line-height: 1.35;
	color: rgba(255,255,255,.85);
}
.mf-hero__feat-ic {
	flex-shrink: 0;
	width: 40px; height: 40px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: rgba(124,58,237,.18);
	border: 1px solid rgba(168,85,247,.4);
	color: var(--mf-purple-light);
}
.mf-hero__feat-ic svg { width: 20px; height: 20px; }

/* ════════════════════════ SURVEY CARD ════════════════════════ */
.mf-card {
	border-radius: var(--mf-card-radius);
	padding: 38px 34px 32px;
	text-align: center;
	box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.mf-card--creator {
	background: #fdfcff;
	color: var(--mf-text);
}
.mf-card--agency {
	background: #fdfcff;
	color: var(--mf-text);
}
.mf-card__icon {
	width: 64px; height: 64px;
	margin: 0 auto 18px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--mf-lav-2);
	color: var(--mf-purple);
}
.mf-card--agency .mf-card__icon {
	background: var(--mf-lav-2);
	color: var(--mf-purple);
}
.mf-card__icon svg { width: 30px; height: 30px; }
.mf-card__title {
	font-size: 23px;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.mf-card__subtitle {
	margin: 10px auto 24px !important;
	font-size: 14px;
	line-height: 1.55;
	max-width: 330px;
	color: var(--mf-muted);
}
.mf-card--agency .mf-card__subtitle { color: var(--mf-muted); }

.mf-card__form { display: block; }
.mf-card__field {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid #e3e0ee;
	border-radius: 12px;
	padding: 0 14px;
	height: 52px;
	transition: border-color .18s, box-shadow .18s;
}
.mf-card__field:focus-within {
	border-color: var(--mf-purple);
	box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}
.mf-card--agency .mf-card__field {
	background: #fff;
	border-color: #e3e0ee;
}
.mf-card__field-ic { color: #b4afc4; display: grid; }
.mf-card__field-ic svg { width: 19px; height: 19px; }
.mf-card__email {
	flex: 1;
	border: none; outline: none; background: transparent;
	font-size: 14.5px;
	font-family: inherit;
	color: var(--mf-text);
}
.mf-card--agency .mf-card__email { color: var(--mf-text); }
.mf-card__email::placeholder { color: #a8a3bb; }
.mf-card--agency .mf-card__email::placeholder { color: #a8a3bb; }

.mf-card__btn {
	width: 100%;
	margin-top: 10px;
	margin-bottom: 14px;
	height: 52px;
	border: none;
	border-radius: 12px;
	background: var(--mf-btn-grad);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: transform .15s, box-shadow .2s, filter .2s;
	box-shadow: 0 12px 28px rgba(124,58,237,.35);
}
.mf-card__btn svg { width: 18px; height: 18px; }
.mf-card__btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.mf-card__btn:active { transform: translateY(0); }

.mf-card__points {
	margin-top: 34px !important;
	display: grid;
	gap: 12px;
	text-align: left;
	max-width: 360px;
	/* margin-left: auto;
	margin-right: auto; */
}
.mf-card__points li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--mf-muted);
}
.mf-card--agency .mf-card__points li { color: var(--mf-muted); }
.mf-card__points svg { width: 18px; height: 18px; color: var(--mf-purple); flex-shrink: 0; }
.mf-card--agency .mf-card__points svg { color: var(--mf-purple); }

/* ════════════════════════ OFFER BAND ════════════════════════ */
.mf-offer {
	background: #fff;
	padding: 40px 32px;
}
.mf-offer__inner {
	max-width: var(--mf-maxw);
	margin: 0 auto;
	background: var(--mf-lav);
	border: 1px solid var(--mf-lav-2);
	border-radius: 18px;
	padding: 26px 30px;
	display: flex;
	align-items: center;
	gap: 30px;
	flex-wrap: wrap;
}
.mf-offer__lead {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 1 1 340px;
	min-width: 280px;
}
.mf-offer__gift {
	flex-shrink: 0;
	width: 58px; height: 58px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--mf-lav-2);
	color: var(--mf-purple);
}
.mf-offer__gift svg { width: 28px; height: 28px; }
.mf-offer__title {
	font-size: 19px;
	font-weight: 700;
	color: var(--mf-purple);
	margin-bottom: 4px !important;
}
.mf-offer__text { font-size: 14px; color: #4a4560; line-height: 1.5; }
.mf-offer__perks {
	display: flex;
	gap: 26px;
	flex-wrap: wrap;
	padding-left: 26px !important;
	border-left: 1px solid #ded7f3;
}
.mf-offer__perks li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: #3a3552;
}
.mf-offer__perks svg { width: 26px; height: 26px; color: var(--mf-purple); flex-shrink: 0; }

/* ════════════════════════ VALUES ════════════════════════ */
.mf-values {
	background: #fff;
	padding: 18px 32px 70px;
}
.mf-values__heading {
	text-align: center;
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 700;
	margin-bottom: 44px !important;
	color: var(--mf-text);
}
.mf-values__grid {
	max-width: var(--mf-maxw);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}
.mf-value { text-align: center; padding: 0 8px; }
.mf-value__ic {
	width: 52px; height: 52px;
	margin: 0 auto 16px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--mf-lav);
	color: var(--mf-purple);
}
.mf-value__ic svg { width: 26px; height: 26px; }
.mf-value h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px !important; color: var(--mf-text); }
.mf-value p { font-size: 13.5px; line-height: 1.55; color: var(--mf-muted); }

/* ════════════════════════ FOOTER ════════════════════════ */
.mf-footer {
	background: var(--mf-dark);
	color: rgba(255,255,255,.6);
	padding: 26px 32px;
}
.mf-footer__inner {
	max-width: var(--mf-maxw);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 26px;
	flex-wrap: wrap;
	font-size: 13.5px;
}
.mf-footer__logo {
	display: flex; align-items: center; gap: 10px;
	color: #fff; font-weight: 800; letter-spacing: .14em; font-size: 14px;
	margin-right: auto;
}
.mf-footer--agency .mf-footer__copy { }
.mf-footer__links { display: flex; gap: 22px; }
.mf-footer__links a:hover, .mf-footer__social a:hover { color: #fff; }
.mf-footer__social {
	display: flex; align-items: center; gap: 14px;
	margin-left: auto;
}
.mf-footer__social span { font-size: 13px; }
.mf-footer__social a { color: rgba(255,255,255,.7); display: grid; place-items: center; transition: color .18s; }
.mf-footer--agency .mf-footer__inner { justify-content: flex-start; }

/* ════════════════════════ LEGAL PAGES ════════════════════════ */
.mf-legal {
	background: #fff;
	padding: 64px 32px 80px;
}
.mf-legal__inner {
	max-width: 780px;
	margin: 0 auto;
}
.mf-legal__eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--mf-purple);
	margin-bottom: 12px;
}
.mf-legal__title {
	font-size: clamp(30px, 4vw, 42px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--mf-text);
}
.mf-legal__meta { margin-top: 10px !important; font-size: 13.5px; color: var(--mf-muted); }
.mf-legal__note {
	margin: 24px 0 8px;
	background: var(--mf-lav);
	border: 1px solid var(--mf-lav-2);
	border-radius: 12px;
	padding: 14px 18px;
	font-size: 13.5px;
	color: #5b4f7d;
	line-height: 1.55;
}
.mf-legal__h2 {
	font-size: 19px;
	font-weight: 700;
	color: var(--mf-text);
	margin: 30px 0 10px !important;
}
.mf-legal__p { font-size: 15px; line-height: 1.7; color: #4a4560; margin-top: 12px !important; }
.mf-legal__intro {
	font-size: 15px;
	line-height: 1.75;
	color: #4a4560;
	margin: 18px 0 0 !important;
	padding: 16px 18px !important;
	background: var(--mf-lav);
	border-radius: 12px;
}
.mf-legal__lead { font-size: 15px; line-height: 1.7; color: #4a4560; margin-top: 12px !important; }
.mf-legal__list {
	margin: 10px 0 4px !important;
	padding-left: 22px !important;
}
.mf-legal__list li {
	list-style: disc;
	font-size: 15px;
	line-height: 1.65;
	color: #4a4560;
	margin-bottom: 9px;
}
.mf-legal__list li strong { color: var(--mf-text); font-weight: 600; }
.mf-legal__back {
	display: inline-block;
	margin-top: 36px;
	font-size: 14px;
	font-weight: 600;
	color: var(--mf-purple);
}
.mf-legal__back:hover { text-decoration: underline; }

/* ════════════════════════ MODAL ════════════════════════ */
.mf-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 40px 16px;
	overflow-y: auto;
}
.mf-modal.is-open { display: flex; }
.mf-modal__overlay {
	position: fixed; inset: 0;
	background: rgba(8,4,16,.7);
	backdrop-filter: blur(4px);
}
.mf-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 680px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 40px 100px rgba(0,0,0,.5);
	overflow: hidden;
	animation: mfModalIn .26s ease-out;
	margin: auto;
}
@keyframes mfModalIn {
	from { opacity: 0; transform: translateY(18px) scale(.98); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
.mf-modal__head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 26px 28px 20px;
	background: linear-gradient(120deg, #1a0b33 0%, #2a1152 100%);
	color: #fff;
}
.mf-modal__title { font-size: 20px; font-weight: 700; }
.mf-modal__intro { margin-top: 7px !important; font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.72); }
.mf-modal__close {
	margin-left: auto;
	flex-shrink: 0;
	width: 36px; height: 36px;
	display: grid; place-items: center;
	background: rgba(255,255,255,.12);
	border: none; border-radius: 50%;
	color: #fff; cursor: pointer;
	transition: background .18s;
}
.mf-modal__close:hover { background: rgba(255,255,255,.22); }
.mf-modal__close svg { width: 18px; height: 18px; }

/* Make the `hidden` attribute win over component display rules */
.mf-modal [hidden] { display: none !important; }

/* Progress bar */
.mf-modal__bar { height: 4px; background: #ece7f8; }
.mf-modal__bar span {
	display: block;
	height: 100%;
	width: 0;
	background: var(--mf-btn-grad);
	transition: width .3s ease;
}

.mf-modal__body {
	padding: 8px 28px 18px;
	min-height: 180px;
	max-height: 60vh;
	overflow-y: auto;
}

/* Question sections (single-step wizard: one question shown at a time) */
.mf-q-section { padding: 22px 0 6px; border-bottom: none; }
.mf-q-section:last-of-type { border-bottom: none; }
.mf-q-section__title {
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: var(--mf-purple);
	margin-bottom: 14px !important;
}
.mf-q-field { margin-bottom: 22px; }
.mf-q-field:last-child { margin-bottom: 4px; }
.mf-q-label {
	display: block;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--mf-text);
	margin-bottom: 12px;
	line-height: 1.45;
}
.mf-q-num { color: var(--mf-purple); font-weight: 700; margin-right: 4px; }
.mf-q-req { color: #e0245e; }

.mf-q-options { display: grid; gap: 9px; }
.mf-q-opt {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 11px 14px;
	border: 1px solid #e4e1ee;
	border-radius: 10px;
	cursor: pointer;
	font-size: 14px;
	transition: border-color .15s, background .15s;
}
.mf-q-opt:hover { border-color: var(--mf-purple-light); background: #faf8ff; }
.mf-q-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.mf-q-opt__box {
	flex-shrink: 0;
	width: 20px; height: 20px;
	border: 2px solid #cfc9e0;
	border-radius: 50%;
	display: grid; place-items: center;
	transition: border-color .15s, background .15s;
}
.mf-q-opt input[type="checkbox"] + .mf-q-opt__box { border-radius: 6px; }
.mf-q-opt__box::after {
	content: '';
	width: 9px; height: 9px;
	border-radius: 50%;
	background: #fff;
	transform: scale(0);
	transition: transform .15s;
}
.mf-q-opt input[type="checkbox"] + .mf-q-opt__box::after { border-radius: 2px; }
.mf-q-opt input:checked + .mf-q-opt__box {
	background: var(--mf-purple);
	border-color: var(--mf-purple);
}
.mf-q-opt input:checked + .mf-q-opt__box::after { transform: scale(1); }
.mf-q-opt input:checked ~ .mf-q-opt__text { color: var(--mf-text); font-weight: 500; }
.mf-q-opt:has(input:checked) { border-color: var(--mf-purple); background: #f6f2ff; }

.mf-q-other {
	margin-top: 10px;
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #e4e1ee;
	border-radius: 10px;
	font-size: 14px;
	font-family: inherit;
}
.mf-q-textarea, .mf-q-text {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #e4e1ee;
	border-radius: 10px;
	font-size: 14px;
	font-family: inherit;
	resize: vertical;
	color: var(--mf-text);
}
.mf-q-textarea:focus, .mf-q-text:focus, .mf-q-other:focus {
	outline: none;
	border-color: var(--mf-purple);
	box-shadow: 0 0 0 3px rgba(124,58,237,.13);
}

/* Scale */
.mf-q-scale {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.mf-q-scale__cap { font-size: 12.5px; color: var(--mf-muted); }
.mf-q-scale__dots { display: flex; gap: 10px; }
.mf-q-scale__dot { cursor: pointer; }
.mf-q-scale__dot input { position: absolute; opacity: 0; }
.mf-q-scale__dot span {
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border: 1.5px solid #d8d3e8;
	border-radius: 50%;
	font-size: 15px; font-weight: 600;
	color: var(--mf-muted);
	transition: all .15s;
}
.mf-q-scale__dot:hover span { border-color: var(--mf-purple-light); }
.mf-q-scale__dot input:checked + span {
	background: var(--mf-purple);
	border-color: var(--mf-purple);
	color: #fff;
}

/* Error state */
.mf-q-field.has-error .mf-q-opt,
.mf-q-field.has-error .mf-q-textarea,
.mf-q-field.has-error .mf-q-text,
.mf-q-field.has-error .mf-q-scale__dot span { border-color: #e0245e; }
.mf-q-error { color: #e0245e; font-size: 12.5px; margin-top: 7px; min-height: 0; }

.mf-modal__reward {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: var(--mf-lav);
	border: 1px solid var(--mf-lav-2);
	border-radius: 12px;
	padding: 16px 18px;
	font-size: 14px;
	color: #4a3f6b;
	line-height: 1.5;
	margin: 6px 0 4px !important;
}
.mf-modal__reward svg { width: 24px; height: 24px; color: var(--mf-purple); flex-shrink: 0; }

.mf-modal__foot {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px 28px 20px;
	border-top: 1px solid #eee;
	background: #fcfbff;
}
.mf-modal__status { font-size: 13.5px; color: var(--mf-muted); min-height: 0; }
.mf-modal__status:empty { display: none; }
.mf-modal__status.is-error { color: #e0245e; font-weight: 500; }
.mf-modal__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}
.mf-modal__progress {
	font-size: 13px;
	font-weight: 600;
	color: var(--mf-muted);
	margin: 0 auto;
}
.mf-modal__prev {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	border: 1px solid #ddd6ec;
	background: #fff;
	color: var(--mf-text);
	border-radius: 12px;
	padding: 13px 22px;
	font-size: 14.5px; font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.mf-modal__prev:hover { border-color: var(--mf-purple-light); background: #faf8ff; }
.mf-modal__prev svg { width: 17px; height: 17px; }
.mf-modal__next {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	border: none;
	border-radius: 12px;
	background: var(--mf-btn-grad);
	color: #fff;
	padding: 14px 30px;
	font-size: 15px; font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	box-shadow: 0 12px 28px rgba(124,58,237,.32);
	transition: transform .15s, filter .2s;
}
.mf-modal__next svg { width: 18px; height: 18px; }
.mf-modal__next:hover { transform: translateY(-1px); filter: brightness(1.06); }
.mf-modal__next:disabled,
.mf-modal__submit:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.mf-modal__submit {
	border: none;
	border-radius: 12px;
	background: var(--mf-btn-grad);
	color: #fff;
	padding: 14px 30px;
	font-size: 15px; font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	box-shadow: 0 12px 28px rgba(124,58,237,.32);
	transition: transform .15s, filter .2s;
}
.mf-modal__submit svg { width: 18px; height: 18px; }
.mf-modal__submit:hover { transform: translateY(-1px); filter: brightness(1.06); }
.mf-modal__submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.mf-modal__submit.is-loading { position: relative; color: transparent; }
.mf-modal__submit.is-loading::after {
	content: '';
	position: absolute; inset: 0;
	margin: auto;
	width: 18px; height: 18px;
	border: 2px solid rgba(255,255,255,.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: mfSpin .7s linear infinite;
}
@keyframes mfSpin { to { transform: rotate(360deg); } }

/* Success */
.mf-modal__success {
	text-align: center;
	padding: 50px 32px 44px;
}
.mf-modal__success-ic {
	width: 72px; height: 72px;
	margin: 0 auto 20px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: #e9fbf3;
	color: #10b981;
}
.mf-modal__success-ic svg { width: 38px; height: 38px; }
.mf-modal__success h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px !important; }
.mf-modal__success p { font-size: 14.5px; color: var(--mf-muted); line-height: 1.55; max-width: 420px; margin: 0 auto 26px !important; }
.mf-modal__success .mf-modal__submit { margin: 0 auto; }

/* ════════════════════════ LOGIN MODAL ════════════════════════ */
.mf-modal--login { align-items: center; padding: 24px 16px; }
.mf-login {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 400px;
	margin: auto;
	background: #fff;
	border-radius: 18px;
	padding: 40px 34px 34px;
	text-align: center;
	box-shadow: 0 40px 100px rgba(0,0,0,.5);
	animation: mfModalIn .26s ease-out;
}
.mf-login__close {
	position: absolute;
	top: 14px; right: 14px;
	width: 34px; height: 34px;
	display: grid; place-items: center;
	background: #f3f0fb;
	border: none; border-radius: 50%;
	color: #6b6680; cursor: pointer;
	transition: background .18s;
}
.mf-login__close:hover { background: #e7e1f7; }
.mf-login__close svg { width: 17px; height: 17px; }
.mf-login__icon {
	width: 60px; height: 60px;
	margin: 0 auto 16px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--mf-lav-2);
	color: var(--mf-purple);
}
.mf-login__icon svg { width: 28px; height: 28px; }
.mf-login__title { font-size: 22px; font-weight: 700; color: var(--mf-text); }
.mf-login__sub {
	margin: 8px auto 24px !important;
	font-size: 14px;
	line-height: 1.5;
	color: var(--mf-muted);
	max-width: 300px;
}
.mf-login__form { text-align: left; display: grid; gap: 15px; }
.mf-login__field span {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--mf-text);
}
.mf-login__field input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #e4e1ee;
	border-radius: 10px;
	font-size: 14px;
	font-family: inherit;
	color: var(--mf-text);
}
.mf-login__field input:focus {
	outline: none;
	border-color: var(--mf-purple);
	box-shadow: 0 0 0 3px rgba(124,58,237,.13);
}
.mf-login__error { color: #e0245e; font-size: 13px; font-weight: 500; }
.mf-login__error:empty { display: none; }
.mf-login__btn {
	margin-top: 4px;
	width: 100%;
	border: none;
	border-radius: 12px;
	background: var(--mf-btn-grad);
	color: #fff;
	padding: 14px;
	font-size: 15px; font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	position: relative;
	box-shadow: 0 12px 28px rgba(124,58,237,.32);
	transition: transform .15s, filter .2s;
}
.mf-login__btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.mf-login__btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.mf-login__btn.is-loading { color: transparent; }
.mf-login__btn.is-loading::after {
	content: '';
	position: absolute; inset: 0; margin: auto;
	width: 18px; height: 18px;
	border: 2px solid rgba(255,255,255,.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: mfSpin .7s linear infinite;
}

/* ════════════════════════ RESPONSIVE ════════════════════════ */
@media (max-width: 980px) {
	.mf-hero__inner {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 40px 28px 64px;
	}
	.mf-card { max-width: 460px; margin: 0 auto; width: 100%; }
	.mf-offer__perks { padding-left: 0 !important; border-left: none; }
}

@media (max-width: 760px) {
	.mf-nav__inner { padding: 16px 22px; flex-wrap: wrap; }
	.mf-nav__toggle { display: flex; }
	.mf-nav__inner > .mf-nav__login,
	.mf-nav__inner > .mf-nav__account { display: none; }
	.mf-nav__menu {
		flex-basis: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		margin: 0;
		max-height: 0;
		overflow: hidden;
		transition: max-height .28s ease;
	}
	.mf-nav__menu.is-open { max-height: 420px; padding-top: 14px; }
	.mf-nav__link { padding: 10px 0; width: 100%; }
	.mf-nav__login--mobile {
		display: inline-block;
		margin-top: 8px;
		text-align: center;
	}
	.mf-values__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
	.mf-offer__inner { flex-direction: column; align-items: flex-start; }
	.mf-footer__inner { flex-direction: column; text-align: center; }
	.mf-footer__logo, .mf-footer__social { margin: 0 auto; }
	.mf-modal__body { max-height: none; }
	.mf-modal { padding: 0; }
	.mf-modal__dialog { border-radius: 0; min-height: 100%; max-width: 100%; }
}

@media (max-width: 480px) {
	.mf-hero__features { flex-direction: column; gap: 16px; }
	.mf-values__grid { grid-template-columns: 1fr; }
	.mf-card { padding: 30px 22px 26px; }
	.mf-modal__head { padding: 22px 20px 18px; }
	.mf-modal__body { padding: 8px 20px 12px; }
	.mf-modal__foot { padding: 14px 20px 18px; }
	.mf-modal__actions { flex-wrap: wrap; gap: 10px; }
	.mf-modal__progress { order: -1; flex-basis: 100%; text-align: center; margin: 0 0 2px; }
	.mf-modal__prev { padding: 12px 18px; }
	.mf-modal__next, .mf-modal__submit { flex: 1; justify-content: center; }
	.mf-q-scale { gap: 10px; }
	.mf-q-scale__dot span { width: 38px; height: 38px; }
}
