/*
Theme Name: MC Clarity
Theme URI: https://moslemconnect.com/
Description: A clean, fast, scroll-animated theme built for Moslem Connect. Big type, generous white space, reveal and sticky-scroll animations, with full support for reduced motion. Works alongside Elementor for inner pages.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Author: Moslem Connect
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mc-clarity
*/

/* ---------- Tokens ---------- */
:root {
	--bg: #fbfbfa;
	--bg-alt: #f2f3f1;
	--ink: #151716;
	--ink-2: #545a57;
	--ink-3: #8a908c;
	--line: rgba(21, 23, 22, .1);
	--accent: #0b7a57;
	--accent-2: #12a374;
	--accent-soft: #e3f3ec;
	--gold: #b8913b;
	--dark: #0c0f0e;
	--dark-2: #161a18;
	--radius: 28px;
	--radius-sm: 16px;
	--max: 1180px;
	--gutter: clamp(20px, 5vw, 48px);
	--ease: cubic-bezier(.2, .7, .1, 1);
	--font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent); letter-spacing: .01em; margin-bottom: 14px; }
.display { font-size: clamp(44px, 8.4vw, 104px); letter-spacing: -.045em; line-height: .98; }
.h2 { font-size: clamp(36px, 5.6vw, 72px); letter-spacing: -.04em; }
.h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.025em; line-height: 1.1; }
.lead { font-size: clamp(19px, 2vw, 24px); color: var(--ink-2); line-height: 1.4; letter-spacing: -.01em; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.grad-text {
	background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 45%, var(--gold) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 13px 24px; border-radius: 999px; border: 0;
	font-size: 16px; font-weight: 600; line-height: 1; cursor: pointer;
	transition: transform .3s var(--ease), background-color .3s, box-shadow .3s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #096a4b; }
.btn-ghost { color: var(--accent); padding-left: 4px; padding-right: 4px; }
.btn-ghost::after { content: "›"; font-size: 22px; line-height: 0; transform: translateY(-1px); transition: transform .3s var(--ease); }
.btn-ghost:hover::after { transform: translate(3px, -1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 18px 10px 14px;
	transition: transform .3s var(--ease), background-color .3s;
}
.store:hover { text-decoration: none; transform: translateY(-2px); background: #000; }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: 11px; opacity: .75; line-height: 1.1; }
.store strong { display: block; font-size: 17px; line-height: 1.15; font-weight: 600; }
.on-dark .store { background: #fff; color: var(--ink); }
.store.is-soon { cursor: default; opacity: .6; }
.store.is-soon:hover { transform: none; }
.on-dark .store.is-soon:hover { background: #fff; }
.soon-note { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.on-dark .soon-note { color: #a3aba7; }
.on-dark .soon-note a { color: #4fd1a1; }
.on-dark .store:hover { background: #e9ece9; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	height: 56px;
	background: rgba(251, 251, 250, .72);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-dark { background: rgba(12, 15, 14, .72); border-bottom-color: rgba(255, 255, 255, .08); }
.site-header.is-dark .brand { color: #f3f5f4; }
.site-header.is-dark .nav a { color: #b9c1bd; }
.site-header.is-dark .nav a:hover { color: #fff; }
.site-header.is-dark .nav-toggle span { background: #f3f5f4; }
.nav-open .site-header.is-dark .nav a { color: var(--ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; letter-spacing: -.02em; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { max-height: 34px; width: auto; }
.brand-mark { width: 30px; height: 30px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav a { color: var(--ink-2); font-size: 14px; transition: color .2s; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.header-cta { padding: 8px 16px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.header-cta { display: none; }
	.nav {
		position: fixed; top: 56px; left: 0; right: 0;
		background: rgba(251, 251, 250, .97);
		-webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
		max-height: 0; overflow: hidden; transition: max-height .45s var(--ease);
		border-bottom: 1px solid var(--line);
	}
	.nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
	.nav a { display: block; font-size: 22px; font-weight: 600; color: var(--ink); padding: 12px 0; }
	.nav-open .nav { max-height: 420px; }
	.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 14vw, 180px) 0; position: relative; }
.section-tight { padding: clamp(72px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.on-dark { background: var(--dark); color: #f3f5f4; }
.on-dark .muted, .on-dark .lead { color: #a3aba7; }
.on-dark .eyebrow { color: #4fd1a1; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(56px + clamp(56px, 9vw, 110px)); padding-bottom: 0; overflow: hidden; text-align: center; }
.hero h1 { max-width: 14ch; margin: 0 auto; }
.hero .lead { max-width: 640px; margin: 28px auto 0; }
.hero .actions { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 36px; flex-wrap: wrap; }
.hero-stage { position: relative; margin-top: clamp(56px, 8vw, 96px); height: clamp(520px, 62vw, 720px); }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.orb-1 { width: 520px; height: 520px; background: #bfe9d6; left: 8%; top: 10%; }
.orb-2 { width: 420px; height: 420px; background: #f1e2bb; right: 6%; top: 30%; }
.hero-pattern {
	position: absolute; inset: -40px 0 0; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M36.0 36.0 L84.0 36.0 L84.0 84.0 L36.0 84.0ZM60.0 26.0 L94.0 60.0 L60.0 94.0 L26.0 60.0ZM48.7 48.7 L71.3 48.7 L71.3 71.3 L48.7 71.3ZM60.0 44.0 L76.0 60.0 L60.0 76.0 L44.0 60.0ZM-24.0 -24.0 L24.0 -24.0 L24.0 24.0 L-24.0 24.0ZM0.0 -34.0 L34.0 0.0 L0.0 34.0 L-34.0 0.0ZM-11.3 -11.3 L11.3 -11.3 L11.3 11.3 L-11.3 11.3ZM0.0 -16.0 L16.0 0.0 L0.0 16.0 L-16.0 0.0ZM96.0 -24.0 L144.0 -24.0 L144.0 24.0 L96.0 24.0ZM120.0 -34.0 L154.0 0.0 L120.0 34.0 L86.0 0.0ZM108.7 -11.3 L131.3 -11.3 L131.3 11.3 L108.7 11.3ZM120.0 -16.0 L136.0 0.0 L120.0 16.0 L104.0 0.0ZM-24.0 96.0 L24.0 96.0 L24.0 144.0 L-24.0 144.0ZM0.0 86.0 L34.0 120.0 L0.0 154.0 L-34.0 120.0ZM-11.3 108.7 L11.3 108.7 L11.3 131.3 L-11.3 131.3ZM0.0 104.0 L16.0 120.0 L0.0 136.0 L-16.0 120.0ZM96.0 96.0 L144.0 96.0 L144.0 144.0 L96.0 144.0ZM120.0 86.0 L154.0 120.0 L120.0 154.0 L86.0 120.0ZM108.7 108.7 L131.3 108.7 L131.3 131.3 L108.7 131.3ZM120.0 104.0 L136.0 120.0 L120.0 136.0 L104.0 120.0ZM60.0 26.0V0M60.0 94.0V120M26.0 60.0H0M94.0 60.0H120M36.0 36.0L24 24M84.0 36.0L96 24M36.0 84.0L24 96M84.0 84.0L96 96' fill='none' stroke='%230b7a57' stroke-width='1.1' stroke-linejoin='round'/%3E%3Ccircle cx='60.0' cy='60.0' r='3' fill='%23b8913b'/%3E%3C/svg%3E");
	background-size: 120px 120px; background-position: center top;
	opacity: .22;
	-webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 25%, transparent 75%);
	mask-image: radial-gradient(ellipse 60% 70% at 50% 45%, #000 25%, transparent 75%);
}
.hero-phone { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: center; }
.hero-phone .phone { transform-origin: 50% 0; will-change: transform; }
.hero-card {
	position: absolute; background: rgba(255, 255, 255, .82);
	-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, .9);
	box-shadow: 0 20px 60px rgba(10, 30, 20, .12);
	border-radius: 20px; padding: 16px 18px; text-align: left; font-size: 14px;
	display: flex; gap: 12px; align-items: center; min-width: 220px;
}
.hero-card .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.hero-card .ic svg { width: 22px; height: 22px; }
.hero-card b { display: block; font-size: 15px; }
.hero-card span { color: var(--ink-2); }
.hero-card.c1 { left: calc(50% - 470px); top: 22%; }
.hero-card.c2 { right: calc(50% - 470px); top: 46%; }
.hero-card.c3 { left: calc(50% - 470px); top: 70%; }
@media (max-width: 900px) { .hero-card { display: none; } }

/* ---------- Phone mockup (pure CSS, no images) ---------- */
.phone {
	width: 300px; height: 620px; border-radius: 52px; padding: 12px;
	background: linear-gradient(160deg, #2b302d, #0d0f0e);
	box-shadow: 0 0 0 1.5px #3a403c inset, 0 50px 100px -20px rgba(10, 30, 20, .35), 0 30px 60px -30px rgba(0, 0, 0, .4);
	position: relative;
}
.phone::before { content: ""; position: absolute; top: 24px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.screen { text-align: left; width: 100%; height: 100%; border-radius: 41px; overflow: hidden; background: #f6f8f7; position: relative; font-size: 12px; color: var(--ink); }
.scr { position: absolute; inset: 0; padding: 62px 18px 18px; display: flex; flex-direction: column; gap: 12px; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.scr-top { display: flex; justify-content: space-between; align-items: center; }
.scr-top b { font-size: 17px; letter-spacing: -.02em; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--gold)); }
.tile { background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.tile-green { background: linear-gradient(150deg, #0b7a57, #0f9a6c); color: #fff; }
.tile-green small { opacity: .8; }
.big-num { font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-top: 2px; }
.qgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 6px; text-align: center; font-size: 10px; color: var(--ink-2); }
.qgrid i { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 5px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.qgrid i svg { width: 20px; height: 20px; }
.row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #eef0ef; }
.row:last-child { border-bottom: 0; }
.row.on { color: var(--accent); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 10px; }
.bars span { flex: 1; border-radius: 5px; background: var(--accent-soft); }
.bars span.hi { background: var(--accent); }
.compass { width: 110px; height: 110px; border-radius: 50%; margin: 6px auto; border: 2px solid #e2e7e4; position: relative; }
.compass::after { content: ""; position: absolute; left: 50%; top: 10px; width: 4px; height: 45px; margin-left: -2px; border-radius: 3px; background: var(--accent); transform-origin: 50% 45px; transform: rotate(295deg); }
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 11px; }

/* ---------- Pro smartphone frame (drawn in CSS) for the hero screenshot ---------- */
.device { position: relative; width: 304px; transform-origin: 50% 0; }
.device-body {
	position: relative; padding: 11px; border-radius: 58px;
	background: linear-gradient(135deg, #8a95a6 0%, #3d4757 18%, #1f2632 45%, #3a4556 70%, #9aa4b3 100%);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, .35),
		inset 0 0 0 3px rgba(20, 26, 36, .9),
		0 60px 110px -30px rgba(10, 30, 20, .45),
		0 30px 60px -30px rgba(0, 0, 0, .45);
}
.device-body::before { content: ""; position: absolute; inset: 4px; border-radius: 54px; background: #050608; }
.device-screen { position: relative; border-radius: 47px; overflow: hidden; background: #fff; z-index: 1; display: flex; flex-direction: column; }
.island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 80px; height: 24px; border-radius: 20px; background: #000; z-index: 3; }
.island::after { content: ""; position: absolute; right: 10px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2b3a55, #0a0d14 60%); }
.statusbar { height: 46px; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 4px 22px 0 30px; font: 600 14px/1 var(--font); color: #0c0f0e; background: #fff; }
.sb-icons { display: flex; gap: 4px; transform: scale(.88); transform-origin: 100% 50%; align-items: center; }
.sb-icons svg { fill: currentColor; }
.app-shot, .device-screen picture { display: block; width: 100%; height: auto; }
.home-bar { position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); width: 104px; height: 4px; border-radius: 3px; background: rgba(0, 0, 0, .55); z-index: 3; }
.btn-side { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #2a3240, #8590a1); }
.btn-action { left: -3px; top: 118px; height: 30px; }
.btn-vol-up { left: -3px; top: 172px; height: 52px; }
.btn-vol-down { left: -3px; top: 236px; height: 52px; }
.btn-power { right: -3px; top: 190px; height: 82px; background: linear-gradient(270deg, #2a3240, #8590a1); }
.btn-camera { right: -2px; top: 360px; height: 46px; width: 3px; background: linear-gradient(270deg, #2a3240, #6b7586); }
.device-content { position: relative; background: #f6f8f7; color: var(--ink); text-align: left; }
.scr.scr-img { position: relative; inset: auto; padding: 0; display: block; }
.scr.scr-img ~ .scr.scr-img, .scr.scr-img ~ * .scr { position: absolute; inset: 0; }
.scr.scr-img ~ .scr.scr-img img { height: 100%; object-fit: cover; object-position: top; }
.device .scr:not(.scr-img) { padding-top: 12px; }
.statusbar { transition: background-color .4s, color .4s; }
.device[data-sb="dark"] .statusbar { background: linear-gradient(90deg, #182655, #1f3fac 55%, #3982f5); color: #fff; }
.hero-stage { height: clamp(720px, 60vw, 780px); }
@media (max-width: 420px) { .hero-stage { height: 660px; } .device { width: 270px; } .device-body { border-radius: 52px; } .device-body::before { border-radius: 48px; } .device-screen { border-radius: 41px; } }

/* ---------- Statement (scroll-lit words) ---------- */
.statement p { font-size: clamp(30px, 4.6vw, 60px); font-weight: 700; letter-spacing: -.035em; line-height: 1.12; max-width: 22ch; }
.statement .w { opacity: .16; transition: opacity .25s linear; }
.statement .w.lit { opacity: 1; }
.no-js .statement .w, .reduce .statement .w { opacity: 1; }

/* ---------- Pillars (sticky scrollytelling) ---------- */
.pillars { background: var(--dark); color: #f3f5f4; }
.pillars-head { padding-top: clamp(96px, 12vw, 160px); text-align: center; }
.pillars-head .lead { color: #a3aba7; max-width: 680px; margin: 24px auto 0; }
.pin { height: calc(var(--pins, 3) * 100vh + 40vh); position: relative; }
.pin-inner { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.pin-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; width: 100%; }
.panels { position: relative; min-height: 460px; }
.panel { position: absolute; inset: 0; opacity: 0; transform: translateY(40px); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.panel.active { opacity: 1; transform: none; pointer-events: auto; }
.panel .num { font-size: 15px; font-weight: 600; color: #4fd1a1; letter-spacing: .08em; }
.panel h3 { font-size: clamp(48px, 7vw, 96px); letter-spacing: -.05em; margin: 10px 0 18px; }
.panel p { color: #a3aba7; font-size: 19px; max-width: 34ch; }
.panel ul { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; }
.panel li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #dfe5e2; }
.pin-phone { justify-self: center; position: relative; }
.pin-phone .scr { opacity: 0; transform: scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.pin-phone .scr.active { opacity: 1; transform: none; }
.pin-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 36px; display: flex; gap: 8px; max-width: var(--max); margin: 0 auto; }
.pin-progress span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.pin-progress span i { display: block; height: 100%; width: 0; background: #4fd1a1; }

@media (max-width: 860px) {
	.pin { height: auto; }
	.pin-inner { position: static; height: auto; display: block; padding: 56px 0 96px; }
	.pin-grid { display: block; }
	.panels { min-height: 0; }
	.panel { position: static; opacity: 1; transform: none; pointer-events: auto; padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
	.pin-phone, .pin-progress { display: none; }
}

/* ---------- Bento feature grid ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.cell { background: #fff; border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); position: relative; overflow: hidden; min-height: 260px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.cell .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: auto; }
.cell .ic svg { width: 26px; height: 26px; }
.cell h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.025em; margin-top: 32px; }
.cell p { color: var(--ink-2); margin-top: 8px; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; }
.cell-feature { background: linear-gradient(160deg, #0b7a57, #0a5c43); color: #fff; border: 0; }
.cell-feature p { color: rgba(255, 255, 255, .8); }
.cell-feature .ic { background: rgba(255, 255, 255, .15); color: #fff; }
.cell-feature .stat { font-size: clamp(56px, 7vw, 92px); font-weight: 700; letter-spacing: -.05em; line-height: 1; margin-top: 18px; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr 1fr; } .span-2, .span-3, .span-4 { grid-column: span 2; } .cell { min-height: 200px; } }

/* ---------- Journey (horizontal pinned track) ---------- */
.journey { overflow: clip; }
.hpin { height: 260vh; position: relative; }
.hpin-inner { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.track { display: flex; gap: 20px; padding: 0 var(--gutter); margin-top: 48px; will-change: transform; }
.step { flex: 0 0 clamp(260px, 30vw, 360px); aspect-ratio: 4 / 5; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; }
.step .n { font-size: 64px; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--accent-soft); -webkit-text-stroke: 1.5px var(--accent); }
.step h3 { font-size: 30px; letter-spacing: -.03em; }
.step p { color: var(--ink-2); margin-top: 8px; font-size: 16px; }
.step:last-child { background: var(--ink); color: #fff; border: 0; }
.step:last-child p { color: #a3aba7; }
.step:last-child .n { color: transparent; -webkit-text-stroke-color: #4fd1a1; }
@media (max-width: 860px) {
	.hpin { height: auto; }
	.hpin-inner { position: static; height: auto; padding: 0 0 8px; }
	.track { flex-direction: column; transform: none !important; }
	.step { flex: none; aspect-ratio: auto; min-height: 220px; gap: 24px; }
}

/* ---------- Parallax quote band ---------- */
.band { overflow: hidden; padding: clamp(80px, 12vw, 160px) 0; }
.band .big { font-size: clamp(56px, 12vw, 180px); font-weight: 700; letter-spacing: -.06em; line-height: .9; white-space: nowrap; will-change: transform; }
.band .big.r { text-align: right; color: transparent; -webkit-text-stroke: 1.5px var(--ink-3); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; max-width: 900px; margin-left: auto; margin-right: auto; }
.plan { border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan .tag { font-weight: 600; color: var(--ink-2); }
.plan .price { font-size: clamp(44px, 5vw, 64px); font-weight: 700; letter-spacing: -.045em; margin: 12px 0 4px; line-height: 1; }
.plan .per { color: var(--ink-3); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a57' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-pro { background: var(--ink); color: #fff; border: 0; }
.plan-pro .tag { color: #4fd1a1; }
.plan-pro .per { color: #8f9893; }
.plan-pro li::before { background-color: rgba(79, 209, 161, .16); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 56px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 30px; font-weight: 300; color: var(--accent); transition: transform .4s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 28px; color: var(--ink-2); max-width: 70ch; }
.faq .ans ul { margin: 10px 0 0; padding-left: 20px; }
.faq .ans p + p { margin-top: 10px; }
.faq details[open] .ans { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Download CTA ---------- */
.cta { text-align: center; overflow: hidden; }
.cta h2 { max-width: 16ch; margin: 0 auto; }
.cta .lead { max-width: 600px; margin: 24px auto 40px; }
.cta .store-row { justify-content: center; }
.cta-glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 163, 116, .35), transparent 60%); pointer-events: none; will-change: transform; }
.cta-pattern {
	position: absolute; inset: -80px 0; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M36.0 36.0 L84.0 36.0 L84.0 84.0 L36.0 84.0ZM60.0 26.0 L94.0 60.0 L60.0 94.0 L26.0 60.0ZM48.7 48.7 L71.3 48.7 L71.3 71.3 L48.7 71.3ZM60.0 44.0 L76.0 60.0 L60.0 76.0 L44.0 60.0ZM-24.0 -24.0 L24.0 -24.0 L24.0 24.0 L-24.0 24.0ZM0.0 -34.0 L34.0 0.0 L0.0 34.0 L-34.0 0.0ZM-11.3 -11.3 L11.3 -11.3 L11.3 11.3 L-11.3 11.3ZM0.0 -16.0 L16.0 0.0 L0.0 16.0 L-16.0 0.0ZM96.0 -24.0 L144.0 -24.0 L144.0 24.0 L96.0 24.0ZM120.0 -34.0 L154.0 0.0 L120.0 34.0 L86.0 0.0ZM108.7 -11.3 L131.3 -11.3 L131.3 11.3 L108.7 11.3ZM120.0 -16.0 L136.0 0.0 L120.0 16.0 L104.0 0.0ZM-24.0 96.0 L24.0 96.0 L24.0 144.0 L-24.0 144.0ZM0.0 86.0 L34.0 120.0 L0.0 154.0 L-34.0 120.0ZM-11.3 108.7 L11.3 108.7 L11.3 131.3 L-11.3 131.3ZM0.0 104.0 L16.0 120.0 L0.0 136.0 L-16.0 120.0ZM96.0 96.0 L144.0 96.0 L144.0 144.0 L96.0 144.0ZM120.0 86.0 L154.0 120.0 L120.0 154.0 L86.0 120.0ZM108.7 108.7 L131.3 108.7 L131.3 131.3 L108.7 131.3ZM120.0 104.0 L136.0 120.0 L120.0 136.0 L104.0 120.0ZM60.0 26.0V0M60.0 94.0V120M26.0 60.0H0M94.0 60.0H120M36.0 36.0L24 24M84.0 36.0L96 24M36.0 84.0L24 96M84.0 84.0L96 96' fill='none' stroke='%234fd1a1' stroke-width='1.1' stroke-linejoin='round'/%3E%3Ccircle cx='60.0' cy='60.0' r='3' fill='%23e0bd6a'/%3E%3C/svg%3E");
	background-size: 140px 140px; background-position: center;
	opacity: .2;
	-webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 50%, transparent 30%, #000 85%);
	mask-image: radial-gradient(ellipse 55% 50% at 50% 50%, transparent 30%, #000 85%);
}
.cta .wrap { position: relative; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-address strong { color: var(--ink); }
.contact-address { font-style: normal; display: flex; gap: 14px; margin-top: 36px; color: var(--ink-2); line-height: 1.6; }
.contact-address .ic { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.contact-address .ic svg { width: 22px; height: 22px; }
.contact-address a { display: inline-block; margin-top: 6px; font-weight: 600; }
.contact-address + .contact-list { margin-top: 20px; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.contact-list a { font-size: 18px; font-weight: 600; }
.form { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); display: grid; gap: 16px; }
.form label { font-size: 14px; font-weight: 600; color: var(--ink-2); display: grid; gap: 6px; }
.form input, .form textarea { width: 100%; border: 1px solid #d9ddda; background: var(--bg); border-radius: 12px; padding: 14px 16px; font-size: 16px; transition: border-color .2s, background-color .2s; }
.form input:focus, .form textarea:focus { border-color: var(--accent); background: #fff; outline: none; }
.form textarea { min-height: 140px; resize: vertical; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { justify-self: start; }
.form .fine { font-size: 13px; color: var(--ink-3); }
.form .hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.notice.err { background: #fdecec; color: #a32020; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form .two { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); padding: 64px 0 40px; font-size: 14px; color: var(--ink-2); }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer-top p { max-width: 42ch; margin-top: 12px; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); border: 1px solid var(--line); transition: transform .3s var(--ease), color .2s; }
.social a:hover { color: var(--accent); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.footer-bottom a { color: var(--ink-2); }

/* ---------- Generic content (inner pages, posts, Elementor pages) ---------- */
.page-wrap { padding: calc(56px + 80px) 0 120px; }
.entry { max-width: 760px; margin: 0 auto; }
.entry-title { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.04em; margin-bottom: 32px; }
.entry-content { font-size: 18px; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 34px; margin-top: 1.8em; }
.entry-content h3 { font-size: 26px; margin-top: 1.6em; }
.entry-content img { border-radius: var(--radius-sm); }
.full-width .entry { max-width: none; }
.elementor-page .page-wrap { padding-top: 56px; padding-bottom: 0; }
.post-list { display: grid; gap: 40px; max-width: 760px; margin: 0 auto; }
.post-list h2 { font-size: 32px; }
.post-list h2 a { color: var(--ink); }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 48px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.from-scale { transform: scale(.94); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero-line { display: block; }
/* Hero intro: transform-only (never hidden), so text and phone count for LCP on first paint. */
.hero-in { animation: mcHeroIn 1.1s var(--ease) both; animation-delay: var(--d, 0s); }
.hero-in-scale { animation-name: mcHeroInScale; }
@keyframes mcHeroIn { from { transform: translate3d(0, 28px, 0); } }
@keyframes mcHeroInScale { from { transform: translate3d(0, 32px, 0) scale(.95); } }

/* ---------- Reduced motion: everything is visible and still ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1 !important; transform: none !important; }
	.statement .w { opacity: 1; }
	.band .big { transform: none !important; }
	.pin { height: auto; }
	.pin-inner { position: static; height: auto; display: block; padding: 40px 0 96px; }
	.pin-grid { display: block; }
	.panels { min-height: 0; }
	.panel { position: static; opacity: 1; transform: none; padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
	.pin-phone, .pin-progress { display: none; }
	.hpin { height: auto; }
	.hpin-inner { position: static; height: auto; }
	.track { flex-wrap: wrap; transform: none !important; }
	.step { flex: 1 1 260px; aspect-ratio: auto; min-height: 220px; gap: 24px; }
}

/* ---------- Static mode: inside the Elementor editor reveals and text are shown still (pillars and journey keep working) ---------- */
.mc-static *, .mc-static *::before, .mc-static *::after { animation: none !important; transition: none !important; }
.mc-static .reveal { opacity: 1 !important; transform: none !important; }
.mc-static .statement .w { opacity: 1; }
.mc-static .band .big { transform: none !important; }

/* ---------- Elementor: let Moslem Connect widgets run edge to edge ---------- */
.elementor-widget[class*="elementor-widget-mc-"] { width: 100%; }
.elementor-widget[class*="elementor-widget-mc-"] > .elementor-widget-container { margin: 0; padding: 0; }
.e-con:has(> .elementor-widget[class*="elementor-widget-mc-"]),
.e-con-inner:has(> .elementor-widget[class*="elementor-widget-mc-"]) { padding: 0 !important; gap: 0 !important; max-width: none !important; width: 100%; }
.elementor-section:has(.elementor-widget[class*="elementor-widget-mc-"]) > .elementor-container { max-width: none !important; }
.elementor-column:has(.elementor-widget[class*="elementor-widget-mc-"]) > .elementor-widget-wrap { padding: 0 !important; }
.mc-builder .elementor-widget:not(:last-child) { margin-bottom: 0; }

/* ---------- Elementor: keep the theme's typography inside MC widgets even if the Elementor Kit sets global fonts/colors ---------- */
body .elementor [class*="elementor-widget-mc-"] :is(h1, h2, h3, h4, p, li, a, summary, label, button, input, textarea, address, small, strong, b, span) { font-family: var(--font); }
body .elementor [class*="elementor-widget-mc-"] :is(h1, h2, h3, h4) { color: inherit; font-weight: 700; text-transform: none; font-style: normal; margin-top: 0; margin-bottom: 0; }
body .elementor [class*="elementor-widget-mc-"] p { margin-bottom: 0; }
body .elementor [class*="elementor-widget-mc-"] h1.display, body .elementor [class*="elementor-widget-mc-"] h2.display { font-size: clamp(44px, 8.4vw, 104px); line-height: .98; letter-spacing: -.045em; }
body .elementor [class*="elementor-widget-mc-"] h2.h2 { font-size: clamp(36px, 5.6vw, 72px); line-height: 1.05; letter-spacing: -.04em; }
body .elementor [class*="elementor-widget-mc-"] h2.eyebrow { font-size: 15px; font-weight: 600; line-height: 1.55; letter-spacing: .01em; color: var(--accent); }
body .elementor [class*="elementor-widget-mc-"] .panel h3 { font-size: clamp(48px, 7vw, 96px); line-height: 1.05; letter-spacing: -.05em; margin: 10px 0 18px; }
body .elementor [class*="elementor-widget-mc-"] .cell h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.05; letter-spacing: -.025em; margin-top: 32px; }
body .elementor [class*="elementor-widget-mc-"] .step h3 { font-size: 30px; line-height: 1.05; letter-spacing: -.03em; }
body .elementor [class*="elementor-widget-mc-"] .faq summary { font-size: clamp(19px, 2vw, 24px); font-weight: 600; }
body .elementor [class*="elementor-widget-mc-"] a { color: var(--accent); }
body .elementor [class*="elementor-widget-mc-"] a.btn-primary { color: #fff; }
body .elementor [class*="elementor-widget-mc-"] .store { color: #fff; }
body .elementor [class*="elementor-widget-mc-"] .on-dark .store { color: var(--ink); }
body .elementor [class*="elementor-widget-mc-"] .on-dark .soon-note a { color: #4fd1a1; }
body .elementor [class*="elementor-widget-mc-"] .social a { color: var(--ink); }
body .elementor [class*="elementor-widget-mc-"] .social a:hover { color: var(--accent); }
body .elementor [class*="elementor-widget-mc-"] button.btn-primary { background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 13px 24px; font-size: 16px; }
body .elementor [class*="elementor-widget-mc-"] .form input, body .elementor [class*="elementor-widget-mc-"] .form textarea { border: 1px solid #d9ddda; border-radius: 12px; padding: 14px 16px; font-size: 16px; background: var(--bg); color: var(--ink); }

/* Header and footer keep their colors even if the Elementor Kit styles all links. */
body .site-header .brand, body .site-footer .brand { color: var(--ink); font-family: var(--font); }
body .site-header .nav a { color: var(--ink-2); font-family: var(--font); }
body .site-header .nav a:hover { color: var(--ink); }
body .site-header.is-dark .brand { color: #f3f5f4; }
body .site-header.is-dark .nav a { color: #b9c1bd; }
body .site-header .header-cta { color: #fff; }
body .site-footer a { color: var(--ink-2); }
body .site-footer .social a { color: var(--ink); }
@media (max-width: 860px) { body .site-header .nav a, body .nav-open .site-header.is-dark .nav a { color: var(--ink); } }
body .site-footer p, body .site-footer span, body .site-footer li { font-family: var(--font); }
