/* MFC Home v2 PREVIEW variants, loaded only with ?mfc_hero=a|b|c or ?mfc_demo=a|b. Not on the live page. */

/* =========================================================================================
   HERO: a strong glowing arc (dark -> bright blue glow -> light core -> dark), in the spirit of the
   plans -> rules horizon, plus one motion moment per variant. Reduced motion: everything static.
   ========================================================================================= */
body:is(.mfc-hero-a, .mfc-hero-b, .mfc-hero-c) .elementor-element.elementor-element-de899b3::before {
	background:
		radial-gradient(98% 320px at 50% calc(100% + 190px),
			#000 0%, #000 86%, rgba(3, 10, 46, .95) 89%, rgba(0, 54, 190, .85) 93%, #0B5BFF 95.6%,
			#6FA8FF 97.3%, rgba(214, 232, 255, .95) 98.3%, rgba(110, 168, 255, .55) 99.1%, rgba(0, 106, 255, 0) 100%) !important;
}
/* Outer bloom above the arc. */
body:is(.mfc-hero-a, .mfc-hero-b, .mfc-hero-c) .elementor-element.elementor-element-de899b3::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 340px; z-index: -1; pointer-events: none;
	background: radial-gradient(55% 125px at 50% calc(100% - 140px), rgba(47, 134, 255, .38), rgba(47, 134, 255, 0) 100%);
}

/* A: aurora drift along the arc, slow colour bands moving sideways, masked to the arc ring. */
body.mfc-hero-a .elementor-element.elementor-element-de899b3::after {
	height: 420px;
	background:
		linear-gradient(100deg, rgba(0, 106, 255, 0) 0%, rgba(0, 106, 255, .55) 18%, rgba(118, 76, 255, .45) 34%, rgba(0, 200, 255, .5) 52%,
			rgba(0, 106, 255, .55) 70%, rgba(118, 76, 255, .4) 86%, rgba(0, 106, 255, 0) 100%) 0 0 / 220% 100%;
	-webkit-mask: radial-gradient(98% 320px at 50% calc(100% + 190px), transparent 0 90%, #000 95.5%, #000 98%, transparent 100%);
	mask: radial-gradient(98% 320px at 50% calc(100% + 190px), transparent 0 90%, #000 95.5%, #000 98%, transparent 100%);
	filter: blur(6px); opacity: .9; animation: mfc-hero-aurora 18s linear infinite;
}
@keyframes mfc-hero-aurora { from { background-position: 0 0; } to { background-position: -220% 0; } }

/* B: the horizon rises and brightens once on load, then breathes very slowly. */
body.mfc-hero-b .elementor-element.elementor-element-de899b3::before { animation: mfc-hero-rise 1.8s cubic-bezier(.16, .8, .2, 1) .15s both; }
body.mfc-hero-b .elementor-element.elementor-element-de899b3::after { animation: mfc-hero-bloom 1.8s ease-out .15s both, mfc-hero-breathe 9s ease-in-out 2.2s infinite alternate; }
@keyframes mfc-hero-rise { from { transform: translateY(90px); opacity: .25; filter: saturate(.4) brightness(.6); } to { transform: none; opacity: 1; filter: none; } }
@keyframes mfc-hero-bloom { from { opacity: 0; } to { opacity: 1; } }
@keyframes mfc-hero-breathe { from { opacity: .7; } to { opacity: 1; } }

/* C: a soft light sweep across the heading every few seconds; the arc glows steadily. */
body.mfc-hero-c .elementor-element-53dcd1b .elementor-heading-title {
	background: linear-gradient(105deg, #fff 0%, #fff 40%, #9cc4ff 48%, #ffffff 52%, #fff 60%, #fff 100%) 0 0 / 250% 100% no-repeat !important;
	-webkit-background-clip: text !important; background-clip: text !important;
	-webkit-text-fill-color: transparent !important; color: transparent !important;
	animation: mfc-hero-sweep 6.5s ease-in-out 1s infinite;
}
@keyframes mfc-hero-sweep { 0% { background-position: 100% 0; } 45%, 100% { background-position: 0 0; } }
body.mfc-hero-c .elementor-element.elementor-element-de899b3::after { animation: mfc-hero-breathe 7s ease-in-out infinite alternate; }

@media (max-width: 767px) {
	body:is(.mfc-hero-a, .mfc-hero-b, .mfc-hero-c) .elementor-element.elementor-element-de899b3::before {
		background:
			radial-gradient(115% 200px at 50% calc(100% + 120px),
				#000 0%, #000 84%, rgba(3, 10, 46, .95) 87.5%, rgba(0, 54, 190, .85) 92%, #0B5BFF 95%,
				#6FA8FF 97%, rgba(214, 232, 255, .95) 98.2%, rgba(110, 168, 255, .5) 99.1%, rgba(0, 106, 255, 0) 100%) !important;
	}
	body:is(.mfc-hero-a, .mfc-hero-b, .mfc-hero-c) .elementor-element.elementor-element-de899b3::after { height: 240px; background: radial-gradient(80% 80px at 50% calc(100% - 90px), rgba(47, 134, 255, .38), rgba(47, 134, 255, 0) 100%); }
	body.mfc-hero-a .elementor-element.elementor-element-de899b3::after {
		height: 280px;
		-webkit-mask: radial-gradient(115% 200px at 50% calc(100% + 120px), transparent 0 88%, #000 94.5%, #000 98%, transparent 100%);
		mask: radial-gradient(115% 200px at 50% calc(100% + 120px), transparent 0 88%, #000 94.5%, #000 98%, transparent 100%);
	}
}
@media (prefers-reduced-motion: reduce) {
	body:is(.mfc-hero-a, .mfc-hero-b, .mfc-hero-c) .elementor-element.elementor-element-de899b3::before,
	body:is(.mfc-hero-a, .mfc-hero-b, .mfc-hero-c) .elementor-element.elementor-element-de899b3::after,
	body.mfc-hero-c .elementor-element-53dcd1b .elementor-heading-title { animation: none !important; }
}

/* =========================================================================================
   DEMO (minimal): a = centered heading, one line, glowing button, a small live price pill;
   b = one slim glass bar. Both sit on the dark proof band.
   ========================================================================================= */
body.mfc-home2 .elementor-element-f0d2e1f1 { width: 100%; max-width: 100%; }
.mfc-dm { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding: 112px 20px 56px; font-family: "Neue Haas Unica", -apple-system, "Helvetica Neue", Arial, sans-serif; color: #fff; }
.mfc-dm * { box-sizing: border-box; }
.mfc-dm .mfc-dm-h { margin: 0; font-family: inherit; font-size: 48px; line-height: 1.05; letter-spacing: -.025em; font-weight: 500; color: #fff !important; -webkit-text-fill-color: #fff; text-transform: none; text-wrap: balance; }
.mfc-dm-p { margin: 14px 0 0; font-size: 18px; line-height: 1.5; color: #9AA0AB; }
.mfc-dm-cta {
	display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 12px; text-decoration: none !important;
	background: #006AFF; color: #fff !important; font-size: 16px; font-weight: 500; white-space: nowrap; flex: 0 0 auto;
	box-shadow: 0 0 13.3px rgba(255, 255, 255, .15), 0 10px 30px -10px rgba(0, 106, 255, .9), inset 0 2.4px 1.2px rgba(255, 255, 255, .2), inset 0 -2.4px 1.2px rgba(0, 0, 0, .2);
}
.mfc-dm-cta svg { width: 12px; height: 10px; }
.mfc-dm-pill {
	display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 13px; color: #C9CDD4;
	background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); font-variant-numeric: tabular-nums; flex: 0 0 auto;
}
.mfc-dm-pill b { color: #fff; font-weight: 500; }
.mfc-dm-pill i { width: 7px; height: 7px; border-radius: 50%; background: #26A69A; box-shadow: 0 0 0 3px rgba(38, 166, 154, .2); }
.mfc-dm-spark { width: 44px; height: 14px; }
@media (prefers-reduced-motion: no-preference) {
	.mfc-dm-pill i { animation: mfc-dm-live 2.4s ease-in-out infinite; }
	@keyframes mfc-dm-live { 50% { box-shadow: 0 0 0 6px rgba(38, 166, 154, 0); } }
}
.mfc-dm-a { text-align: center; display: flex; flex-direction: column; align-items: center; }
.mfc-dm-a .mfc-dm-pill { margin-bottom: 20px; }
.mfc-dm-a .mfc-dm-cta { margin-top: 28px; }
.mfc-dm-b .mfc-dm-bar {
	display: flex; align-items: center; gap: 24px; padding: 22px 22px 22px 26px; border-radius: 16px;
	background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
}
.mfc-dm-b .mfc-dm-h { font-size: 30px; flex: 1 1 auto; }
.mfc-dm .mfc-dm-p { color: #9AA0AB !important; }
@media (max-width: 767px) {
	.mfc-dm { padding: 72px 16px 40px; }
	.mfc-dm .mfc-dm-h { font-size: 32px; }
	.mfc-dm-p { font-size: 16px; }
	.mfc-dm-b .mfc-dm-bar { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 20px; }
	.mfc-dm-b .mfc-dm-h { font-size: 26px; }
	.mfc-dm-cta { width: 100%; justify-content: center; }
}

/* =========================================================================================
   DEMO c (r5, owner: "the blue button feels like the main one"): no glow in this block. The Terminal window is the
   click target (hover: lifts, border brightens, "Open the demo" cue); one quiet glass button + text. "Start your
   challenge" stays the only glowing primary. Reference: Stripe Capital ("Start now" primary + quiet "Learn more >").
   ========================================================================================= */
.mfc-dm-c { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; text-align: left; }
.mfc-dm-c .mfc-dm-eb { margin: 0 0 14px; font-size: 13px; line-height: 1.3; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; color: #9AA0AB; }
.mfc-dm-c .mfc-dm-p { max-width: 460px; }
.mfc-dm-sec {
	margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 12px; text-decoration: none !important;
	color: #fff !important; font-size: 16px; font-weight: 500; white-space: nowrap; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
	box-shadow: inset 0 2.4px 1.2px rgba(255, 255, 255, .1), inset 0 -2.4px 1.2px rgba(0, 0, 0, .2); transition: background-color .15s ease, border-color .15s ease;
}
.mfc-dm-sec:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .26); }
.mfc-dm-sec svg { width: 12px; height: 10px; }
.mfc-dw {
	position: relative; display: block; text-decoration: none !important; color: #C9CDD4 !important; border-radius: 16px; overflow: hidden;
	background: linear-gradient(180deg, #121418, #0B0C0F); border: 1px solid #2A2D33; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .9);
	transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .2s ease, box-shadow .25s ease; font-variant-numeric: tabular-nums;
}
.mfc-dw:hover, .mfc-dw:focus-visible { transform: translateY(-4px); border-color: #3B4049; box-shadow: 0 40px 70px -36px rgba(0, 0, 0, .95); }
.mfc-dw:focus-visible { outline: 2px solid #4D8DFF; outline-offset: 3px; }
.mfc-dw-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid #22252B; background: #0E0F12; }
.mfc-dw-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2E3138; }
.mfc-dw-bar em { margin-left: 10px; font-style: normal; font-size: 11.5px; color: #6B717C; letter-spacing: .01em; }
.mfc-dw-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
.mfc-dw-tick { display: flex; align-items: baseline; gap: 10px; font-size: 13px; }
.mfc-dw-tick b { color: #fff; font-weight: 500; }
.mfc-dw-tick span { color: #fff; font-size: 20px; letter-spacing: -.01em; }
.mfc-dw-tick s { text-decoration: none; color: #26A69A; }
.mfc-dw-chart { display: block; width: 100%; height: 120px; }
.mfc-dw-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 10px; border-top: 1px solid #22252B; }
.mfc-dw-meters > span { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; align-items: center; font-size: 12px; }
.mfc-dw-meters em { font-style: normal; color: #9AA0AB; }
.mfc-dw-meters b { color: #fff; font-weight: 500; }
.mfc-dw-meters u { grid-column: 1 / -1; order: 3; height: 4px; border-radius: 4px; background: #22252B; position: relative; overflow: hidden; text-decoration: none; }
.mfc-dw-meters u::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 4px; background: #9AA0AB; }
.mfc-dw-open {
	position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 10px;
	background: rgba(10, 11, 13, .82); border: 1px solid #3B4049; color: #fff; font-size: 13.5px; font-weight: 500;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease;
}
.mfc-dw-open svg { width: 11px; height: 9px; }
.mfc-dw:hover .mfc-dw-open, .mfc-dw:focus-visible .mfc-dw-open { opacity: 1; transform: none; }
@media (hover: none) { .mfc-dw-open { opacity: 1; transform: none; top: 5px; right: 8px; bottom: auto; height: 24px; padding: 0 10px; font-size: 12px; border-radius: 8px; } }
@media (max-width: 900px) {
	.mfc-dm-c { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 767px) {
	.mfc-dm-c .mfc-dm-sec { width: auto; }
	.mfc-dw-chart { height: 96px; }
	.mfc-dw-meters { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .mfc-dw, .mfc-dw-open { transition: none; } .mfc-dw:hover { transform: none; } }

/* ---- Preview ?mfc_demo=d (1.8.0, owner r5: "more candle-like, from real data"): the Terminal window shows real BTCUSD
   1h candles (Binance, fetched server-side), green #26A69A / red #EF5350, wicks, dashed last-price line + tag. ---- */
.mfc-dw-d .mfc-dw-tick em { font-style: normal; font-size: 11px; color: #9AA0AB; border: 1px solid #2A2D33; border-radius: 5px; padding: 1px 5px; }
.mfc-dw-d .mfc-dw-tick s.dn { color: #EF5350; }
.mfc-dw-cbox { position: relative; display: block; }
.mfc-dw-d .mfc-dw-chart { height: 150px; }
.mfc-dw-last {
	position: absolute; right: 0; transform: translateY(-50%); padding: 2px 6px; border-radius: 4px;
	font-size: 11px; line-height: 1.3; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
@media (max-width: 767px) { .mfc-dw-d .mfc-dw-chart { height: 120px; } .mfc-dw-last { font-size: 10px; padding: 1px 4px; } }
