/**
 * MirrorORG UI — the design system that replaced the page builders.
 *
 * Every product description and article on this site used to be a tree of
 * Elementor widgets carrying its own inline CSS. That is gone; content is now
 * plain semantic HTML, and everything it looks like lives here.
 *
 * Rules this file follows:
 *   • Every selector sits under .mrx — the theme's own pages stay untouched.
 *   • Colour comes from a small set of custom properties, so changing the
 *     palette is one block, not a search-and-replace.
 *   • Animation is opt-in per element via [data-mrx-reveal] and is switched
 *     off wholesale under prefers-reduced-motion. Nothing here animates layout.
 *   • RTL is the default direction; this is an Arabic store.
 */

.mrx {
	--mrx-brand: #2563eb;
	--mrx-brand-dark: #1d4ed8;
	--mrx-brand-soft: #eff6ff;
	--mrx-accent: #7c3aed;
	--mrx-ok: #16a34a;

	--mrx-ink: #0f172a;
	--mrx-body: #475569;
	--mrx-muted: #64748b;
	--mrx-line: #e2e8f0;
	--mrx-card: #ffffff;
	--mrx-surface: #f8fafc;

	--mrx-radius: 16px;
	--mrx-radius-lg: 22px;
	--mrx-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
	--mrx-shadow-lg: 0 24px 60px -24px rgba(15, 23, 42, .28);

	direction: rtl;
	text-align: right;
	color: var(--mrx-body);
	font-size: 16px;
	line-height: 1.85;
}

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

.mrx img { max-width: 100%; height: auto; }

/* ------------------------------------------------------------------ type */

.mrx h2,
.mrx h3,
.mrx h4 {
	color: var(--mrx-ink);
	line-height: 1.35;
	margin: 0 0 14px;
	font-weight: 800;
}

.mrx h2 { font-size: clamp(23px, 3.2vw, 32px); }
.mrx h3 { font-size: clamp(19px, 2.4vw, 23px); }
.mrx h4 { font-size: 17px; }

.mrx p { margin: 0 0 16px; }
.mrx p:last-child { margin-bottom: 0; }
.mrx a { color: var(--mrx-brand); }
.mrx strong { color: var(--mrx-ink); font-weight: 700; }

.mrx__lead {
	font-size: clamp(16px, 2vw, 18.5px);
	color: var(--mrx-body);
}

/* Section heading with an eyebrow chip above it. */
.mrx-head { margin-bottom: 26px; }

.mrx-head__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: .04em;
	color: var(--mrx-brand);
	background: var(--mrx-brand-soft);
	padding: 5px 13px;
	border-radius: 999px;
	margin-bottom: 12px;
}

.mrx-head__title { margin: 0 0 8px; }

.mrx-head__sub {
	margin: 0;
	color: var(--mrx-muted);
	font-size: 15.5px;
}

.mrx-section { margin: 0 0 44px; }
.mrx-section:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ hero */

.mrx-hero {
	position: relative;
	overflow: hidden;
	border-radius: var(--mrx-radius-lg);
	padding: clamp(26px, 5vw, 48px);
	margin-bottom: 40px;
	background:
		radial-gradient(900px 380px at 88% -12%, rgba(124, 58, 237, .20), transparent 62%),
		radial-gradient(760px 340px at 8% 110%, rgba(37, 99, 235, .22), transparent 60%),
		linear-gradient(160deg, #0b1220 0%, #101a33 55%, #0b1220 100%);
	color: #cbd5e1;
	box-shadow: var(--mrx-shadow-lg);
}

/* A slow-drifting grid, so the panel reads as a surface rather than a slab. */
.mrx-hero::before {
	content: "";
	position: absolute;
	inset: -50%;
	background-image:
		linear-gradient(rgba(148, 163, 184, .09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 184, .09) 1px, transparent 1px);
	background-size: 46px 46px;
	animation: mrx-drift 32s linear infinite;
	pointer-events: none;
}

@keyframes mrx-drift {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(46px, 46px, 0); }
}

.mrx-hero > * { position: relative; z-index: 1; }

.mrx-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .16);
	color: #e2e8f0;
	font-size: 13px;
	font-weight: 700;
	padding: 7px 15px;
	border-radius: 999px;
	margin-bottom: 18px;
}

.mrx-hero__badge i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #4ade80;
	box-shadow: 0 0 0 0 rgba(74, 222, 128, .7);
	animation: mrx-pulse 2.4s infinite;
}

@keyframes mrx-pulse {
	70%  { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
	100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.mrx-hero__title {
	color: #fff;
	font-size: clamp(26px, 4.4vw, 42px);
	line-height: 1.28;
	margin: 0 0 14px;
	font-weight: 800;
}

.mrx-hero__title em {
	font-style: normal;
	background: linear-gradient(90deg, #60a5fa, #a78bfa 55%, #f472b6);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.mrx-hero__text {
	font-size: clamp(15px, 1.9vw, 17.5px);
	color: #94a3b8;
	max-width: 62ch;
	margin: 0 0 24px;
}

.mrx-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.mrx-stat {
	flex: 1 1 140px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 14px;
	padding: 15px 17px;
}

.mrx-stat__num {
	display: block;
	color: #fff;
	font-size: 25px;
	font-weight: 800;
	line-height: 1.2;
	font-feature-settings: "tnum";
}

.mrx-stat__label {
	display: block;
	color: #94a3b8;
	font-size: 12.5px;
	margin-top: 3px;
}

/* ----------------------------------------------------------------- cards */

.mrx-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

.mrx-grid--2 { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.mrx-grid--4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.mrx-card {
	position: relative;
	background: var(--mrx-card);
	border: 1px solid var(--mrx-line);
	border-radius: var(--mrx-radius);
	padding: 22px;
	overflow: hidden;
	transition: transform .28s cubic-bezier(.2, .8, .3, 1), box-shadow .28s, border-color .28s;
}

/* The sheen that sweeps a card on hover. Decorative only, so it is a
   pseudo-element and never affects hit-testing or layout. */
.mrx-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 38%, rgba(37, 99, 235, .07) 50%, transparent 62%);
	transform: translateX(-120%);
	transition: transform .7s ease;
	pointer-events: none;
}

.mrx-card:hover {
	transform: translateY(-4px);
	border-color: rgba(37, 99, 235, .34);
	box-shadow: var(--mrx-shadow);
}

.mrx-card:hover::after { transform: translateX(120%); }

.mrx-card__icon {
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	border-radius: 13px;
	background: linear-gradient(140deg, var(--mrx-brand-soft), #ede9fe);
	color: var(--mrx-brand);
	font-size: 22px;
	margin-bottom: 14px;
}

.mrx-card__title {
	font-size: 16.5px;
	font-weight: 800;
	color: var(--mrx-ink);
	margin: 0 0 7px;
}

.mrx-card__text {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.8;
	color: var(--mrx-body);
}

/* ------------------------------------------------------------ check list */

.mrx-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
}

.mrx-list li {
	position: relative;
	padding: 11px 42px 11px 14px;
	background: var(--mrx-surface);
	border: 1px solid var(--mrx-line);
	border-radius: 11px;
	font-size: 14.5px;
	line-height: 1.7;
	transition: background .2s, border-color .2s, transform .2s;
}

.mrx-list li::before {
	content: "";
	position: absolute;
	inset-inline-end: 13px;
	top: 15px;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: var(--mrx-ok);
}

/* The tick, drawn as two borders so no icon font is needed. */
.mrx-list li::after {
	content: "";
	position: absolute;
	inset-inline-end: 18px;
	top: 19px;
	width: 7px;
	height: 4px;
	border: 2px solid #fff;
	border-top: 0;
	border-inline-end: 0;
	transform: rotate(-45deg);
}

.mrx-list li:hover {
	background: var(--mrx-brand-soft);
	border-color: rgba(37, 99, 235, .3);
	transform: translateX(-3px);
}

/* -------------------------------------------------------------- timeline */

.mrx-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.mrx-steps::before {
	content: "";
	position: absolute;
	inset-inline-end: 21px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: linear-gradient(var(--mrx-brand), var(--mrx-accent));
	opacity: .25;
}

.mrx-steps li {
	position: relative;
	padding: 0 60px 22px 0;
}

.mrx-steps li:last-child { padding-bottom: 0; }

.mrx-steps__num {
	position: absolute;
	inset-inline-end: 8px;
	top: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--mrx-brand);
	color: #fff;
	font-size: 13.5px;
	font-weight: 800;
	box-shadow: 0 0 0 4px var(--mrx-card), 0 0 0 6px var(--mrx-brand-soft);
}

.mrx-steps h4 { margin: 3px 0 5px; }
.mrx-steps p { margin: 0; font-size: 14.5px; }

/* ----------------------------------------------------------------- table */

.mrx-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--mrx-line);
	border-radius: var(--mrx-radius);
	-webkit-overflow-scrolling: touch;
}

.mrx-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
	min-width: 420px;
}

.mrx-table th,
.mrx-table td {
	padding: 13px 16px;
	text-align: right;
	border-bottom: 1px solid var(--mrx-line);
}

.mrx-table thead th {
	background: var(--mrx-surface);
	color: var(--mrx-ink);
	font-weight: 800;
	font-size: 13.5px;
}

.mrx-table tbody tr:last-child td { border-bottom: 0; }
.mrx-table tbody tr:hover td { background: var(--mrx-brand-soft); }
.mrx-table td:first-child { font-weight: 700; color: var(--mrx-ink); }

/* ------------------------------------------------------------- accordion */

.mrx-faq {
	border: 1px solid var(--mrx-line);
	border-radius: var(--mrx-radius);
	overflow: hidden;
	background: var(--mrx-card);
}

.mrx-faq details { border-bottom: 1px solid var(--mrx-line); }
.mrx-faq details:last-child { border-bottom: 0; }

.mrx-faq summary {
	cursor: pointer;
	padding: 16px 18px;
	font-weight: 700;
	color: var(--mrx-ink);
	font-size: 15.5px;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 12px;
	transition: background .2s;
}

.mrx-faq summary::-webkit-details-marker { display: none; }

.mrx-faq summary::before {
	content: "+";
	flex: 0 0 auto;
	width: 23px;
	height: 23px;
	border-radius: 7px;
	display: grid;
	place-items: center;
	background: var(--mrx-brand-soft);
	color: var(--mrx-brand);
	font-weight: 800;
	font-size: 16px;
	line-height: 1;
	transition: background .25s, color .25s;
}

.mrx-faq details[open] summary::before {
	content: "−";
	background: var(--mrx-brand);
	color: #fff;
}

.mrx-faq summary:hover { background: var(--mrx-surface); }

.mrx-faq__body {
	padding: 0 53px 16px 18px;
	font-size: 14.5px;
	animation: mrx-slide .28s ease;
}

@keyframes mrx-slide {
	from { opacity: 0; transform: translateY(-5px); }
	to   { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ code */

.mrx-code {
	position: relative;
	background: #0f172a;
	border-radius: var(--mrx-radius);
	overflow: hidden;
	margin: 0 0 18px;
	border: 1px solid #1e293b;
}

.mrx-code__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: #111c33;
	border-bottom: 1px solid #1e293b;
}

.mrx-code__dots { display: flex; gap: 6px; }

.mrx-code__dots i {
	width: 11px;
	height: 11px;
	border-radius: 50%;
}

.mrx-code__dots i:nth-child(1) { background: #ef4444; }
.mrx-code__dots i:nth-child(2) { background: #f59e0b; }
.mrx-code__dots i:nth-child(3) { background: #22c55e; }

.mrx-code__lang {
	color: #64748b;
	font-size: 12px;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	margin-inline-start: auto;
}

.mrx-code__copy {
	background: #1e293b;
	color: #cbd5e1;
	border: 0;
	border-radius: 7px;
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: background .2s, color .2s;
	font-family: inherit;
}

.mrx-code__copy:hover { background: var(--mrx-brand); color: #fff; }
.mrx-code__copy.is-done { background: var(--mrx-ok); color: #fff; }

.mrx-code pre {
	margin: 0;
	padding: 16px 18px;
	overflow-x: auto;
	direction: ltr;
	text-align: left;
	background: none;
	border: 0;
}

.mrx-code code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 13px;
	line-height: 1.75;
	color: #e2e8f0;
	background: none;
	padding: 0;
	white-space: pre;
}

/* ------------------------------------------------------------------- cta */

.mrx-cta {
	position: relative;
	overflow: hidden;
	border-radius: var(--mrx-radius-lg);
	padding: clamp(24px, 4vw, 38px);
	text-align: center;
	background: linear-gradient(135deg, var(--mrx-brand), var(--mrx-accent));
	color: #fff;
	box-shadow: var(--mrx-shadow-lg);
}

.mrx-cta::before {
	content: "";
	position: absolute;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	top: -220px;
	inset-inline-start: -110px;
	animation: mrx-float 11s ease-in-out infinite;
}

@keyframes mrx-float {
	50% { transform: translate3d(28px, 26px, 0) scale(1.08); }
}

.mrx-cta > * { position: relative; z-index: 1; }

.mrx-cta h3 { color: #fff; margin-bottom: 8px; }

.mrx-cta p {
	color: rgba(255, 255, 255, .88);
	max-width: 58ch;
	margin: 0 auto 20px;
}

.mrx-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: #fff;
	color: var(--mrx-brand) !important;
	font-weight: 800;
	font-size: 15px;
	padding: 13px 30px;
	border-radius: 12px;
	text-decoration: none !important;
	transition: transform .2s, box-shadow .2s;
	box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .5);
}

.mrx-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .55);
}

.mrx-btn--solid { background: var(--mrx-brand); color: #fff !important; }
.mrx-btn--solid:hover { background: var(--mrx-brand-dark); }

/* --------------------------------------------------------------- gallery */

.mrx-gallery {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
}

.mrx-gallery figure {
	margin: 0;
	border-radius: 13px;
	overflow: hidden;
	border: 1px solid var(--mrx-line);
	background: var(--mrx-surface);
}

.mrx-gallery img {
	display: block;
	width: 100%;
	transition: transform .5s ease;
}

.mrx-gallery figure:hover img { transform: scale(1.05); }

.mrx-gallery figcaption {
	padding: 9px 12px;
	font-size: 13px;
	color: var(--mrx-muted);
}

/* ---------------------------------------------------------------- notice */

.mrx-note {
	border-inline-start: 4px solid var(--mrx-brand);
	background: var(--mrx-brand-soft);
	border-radius: 12px;
	padding: 15px 18px;
	font-size: 14.5px;
}

.mrx-note strong { display: block; margin-bottom: 3px; }

/* ---------------------------------------------------------------- reveal */

/* The class is set by the script only when IntersectionObserver exists, so
   content is never left invisible on a browser that cannot reveal it. */
.mrx-reveal-ready [data-mrx-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .6s cubic-bezier(.2, .8, .3, 1), transform .6s cubic-bezier(.2, .8, .3, 1);
	will-change: opacity, transform;
}

.mrx-reveal-ready [data-mrx-reveal].is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.mrx *,
	.mrx *::before,
	.mrx *::after {
		animation: none !important;
		transition: none !important;
	}

	.mrx-reveal-ready [data-mrx-reveal] {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* ----------------------------------------------------------------- small */

@media (max-width: 600px) {
	.mrx-hero { padding: 22px; }
	.mrx-card { padding: 18px; }
	.mrx-steps li { padding-inline-end: 50px; }
	.mrx-faq__body { padding-inline-end: 18px; }
}

/* ------------------------------------------------------------------ dark */

@media (prefers-color-scheme: dark) {
	.mrx {
		--mrx-ink: #f1f5f9;
		--mrx-body: #cbd5e1;
		--mrx-muted: #94a3b8;
		--mrx-line: #1e293b;
		--mrx-card: #0f172a;
		--mrx-surface: #111c33;
		--mrx-brand-soft: rgba(37, 99, 235, .14);
	}

	.mrx-list li::after { border-color: #0f172a; }
}
