/* QR Store SaaS — platform marketing page. Mobile-first, RTL-aware (logical properties). */
:root {
	--l-primary: #e4572e;
	--l-ink: #14161b;
	--l-ink-2: #4c5361;
	--l-ink-3: #868d99;
	--l-line: #e7e9ee;
	--l-bg: #ffffff;
	--l-alt: #f6f7f9;
	--l-wa: #1fa855;
	--l-radius: 18px;
	--l-font: system-ui, -apple-system, "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", Roboto, Arial, sans-serif;
	--l-tint: color-mix(in srgb, var(--l-primary) 10%, #fff);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.l-body { margin: 0; font-family: var(--l-font); color: var(--l-ink); background: var(--l-bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
.l-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.l-narrow { max-width: 780px; }

/* buttons */
.l-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 18px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; transition: transform .12s, filter .12s, background .12s; }
.l-btn:hover { transform: translateY(-1px); }
.l-btn-primary { background: var(--l-primary); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--l-primary) 30%, transparent); }
.l-btn-primary:hover { filter: brightness(.96); }
.l-btn-ghost { background: #fff; border-color: var(--l-line); color: var(--l-ink); }
.l-btn-ghost:hover { border-color: var(--l-ink-3); }
.l-btn-light { background: #fff; color: var(--l-primary); }
.l-btn-lg { min-height: 52px; padding: 12px 24px; font-size: 16.5px; border-radius: 14px; }
.l-btn-block { width: 100%; }

/* nav */
.l-nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, #fff 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--l-line) 70%, transparent); }
.l-nav-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.l-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; flex: none; }
.l-logo img { max-height: 38px; width: auto; }
.l-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--l-primary); color: #fff; display: grid; place-items: center; }
.l-mark svg { width: 20px; height: 20px; fill: currentColor; }
.l-links { display: none; gap: 22px; margin-inline-start: 18px; }
.l-links a { text-decoration: none; color: var(--l-ink-2); font-weight: 600; font-size: 15px; }
.l-links a:hover { color: var(--l-ink); }
.l-nav-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.l-lang { text-decoration: none; font-weight: 700; font-size: 14px; color: var(--l-ink-2); padding: 8px 10px; }
.l-hide-sm { display: none; }
@media (min-width: 860px) { .l-links { display: flex; } .l-hide-sm { display: inline-flex; } }

/* hero */
.l-hero { position: relative; padding: 44px 0 56px; background: radial-gradient(900px 480px at 85% -10%, color-mix(in srgb, var(--l-primary) 16%, transparent), transparent 70%), radial-gradient(700px 420px at 0% 110%, color-mix(in srgb, var(--l-wa) 10%, transparent), transparent 70%); overflow: hidden; }
.l-hero-in { display: grid; gap: 40px; align-items: center; }
.l-pill { display: inline-block; background: #e8f7ee; color: #12823b; font-weight: 700; font-size: 13.5px; padding: 6px 14px; border-radius: 99px; margin-bottom: 16px; }
.l-hero h1 { font-size: clamp(30px, 7vw, 52px); font-weight: 800; letter-spacing: -.01em; }
.l-lead { color: var(--l-ink-2); font-size: clamp(16px, 2.4vw, 19px); margin: 18px 0 26px; max-width: 34em; }
.l-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.l-cta .l-btn { flex: 1 1 auto; }
@media (min-width: 520px) { .l-cta .l-btn { flex: 0 0 auto; } }
.l-ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--l-ink-2); font-size: 14.5px; font-weight: 600; }
.l-ticks li::before { content: "✓"; color: var(--l-wa); font-weight: 800; margin-inline-end: 6px; }
@media (min-width: 960px) {
	.l-hero { padding: 72px 0 88px; }
	.l-hero-in { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}

/* hero art: phone + QR card + WhatsApp bubble (pure CSS) */
.l-hero-art { position: relative; display: flex; justify-content: center; padding: 10px 0 20px; }
.l-phone { width: 270px; background: #fff; border-radius: 34px; border: 8px solid #15171c; box-shadow: 0 30px 60px rgba(16,24,40,.18); overflow: hidden; padding-bottom: 12px; position: relative; z-index: 1; }
.l-ph-cover { height: 86px; background: linear-gradient(135deg, var(--l-primary), color-mix(in srgb, var(--l-primary) 55%, #ffb347)); }
.l-ph-id { display: flex; align-items: flex-end; gap: 10px; padding: 0 14px; margin-top: -22px; }
.l-ph-id b { display: block; font-size: 14.5px; }
.l-ph-id small { display: flex; align-items: center; gap: 5px; color: #12823b; font-size: 11.5px; font-weight: 600; }
.l-ph-logo { width: 50px; height: 50px; border-radius: 14px; background: #fff; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); background-image: radial-gradient(circle at 50% 50%, var(--l-primary) 0 9px, transparent 10px); flex: none; }
.l-dot { width: 7px; height: 7px; border-radius: 50%; background: #12823b; display: inline-block; }
.l-ph-chips { display: flex; gap: 6px; padding: 12px 14px 4px; }
.l-ph-chips span { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: var(--l-alt); color: var(--l-ink-2); }
.l-ph-chips .is-on { background: var(--l-ink); color: #fff; }
.l-ph-item { display: flex; align-items: center; gap: 10px; margin: 8px 14px 0; padding: 8px; border: 1px solid var(--l-line); border-radius: 14px; }
.l-ph-item div { flex: 1; min-width: 0; }
.l-ph-item b { display: block; font-size: 13px; }
.l-ph-item small { color: var(--l-primary); font-weight: 800; font-size: 12.5px; }
.l-ph-item i { width: 26px; height: 26px; border-radius: 9px; background: var(--l-primary); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; }
.l-ph-img { width: 46px; height: 46px; border-radius: 11px; flex: none; }
.l-ph-img-a { background: radial-gradient(circle at 50% 38%, #f6c26b 0 12px, transparent 13px), radial-gradient(circle at 50% 62%, #7a3e1d 0 13px, transparent 14px), #fde7cf; }
.l-ph-img-b { background: radial-gradient(circle at 40% 45%, #e7a541 0 11px, transparent 12px), radial-gradient(circle at 62% 58%, #d98c2b 0 10px, transparent 11px), #fff1dc; }
.l-ph-img-c { background: radial-gradient(circle at 50% 50%, #c8ec8a 0 12px, transparent 13px), linear-gradient(#e9f9d9, #d5f2b7); }
.l-ph-cart { display: flex; align-items: center; gap: 8px; margin: 14px 14px 0; background: var(--l-wa); color: #fff; border-radius: 14px; padding: 10px 12px; font-size: 12.5px; font-weight: 700; }
.l-ph-cart span { background: rgba(255,255,255,.25); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; }
.l-ph-cart b { margin-inline-start: auto; }
.l-qr-card { position: absolute; z-index: 2; inset-inline-start: calc(50% + 105px); bottom: -14px; background: #fff; border-radius: 16px; padding: 12px; box-shadow: 0 16px 36px rgba(16,24,40,.16); text-align: center; width: 128px; }
.l-qr { width: 104px; height: 104px; margin: 0 auto 6px; }
.l-qr svg { width: 100%; height: 100%; }
.l-qr-card small { font-size: 11px; font-weight: 700; color: var(--l-ink-2); display: block; line-height: 1.3; }
.l-wa-bubble { position: absolute; z-index: 2; inset-inline-end: calc(50% + 112px); top: 150px; background: #dcf8c6; border-radius: 14px; border-start-end-radius: 4px; padding: 10px 12px; box-shadow: 0 12px 28px rgba(16,24,40,.14); font-size: 12px; display: flex; flex-direction: column; min-width: 150px; }
.l-wa-bubble b { font-size: 12.5px; }
.l-wa-bubble span { color: #2f4a35; }
@media (max-width: 560px) {
	.l-qr-card { inset-inline-start: auto; inset-inline-end: 0; bottom: -10px; width: 108px; padding: 9px; }
	.l-qr { width: 88px; height: 88px; }
	.l-wa-bubble { display: none; }
}

/* sections */
.l-section { padding: 64px 0; }
.l-alt { background: var(--l-alt); }
.l-h2 { font-size: clamp(26px, 4.6vw, 38px); font-weight: 800; text-align: center; letter-spacing: -.01em; }
.l-sub { text-align: center; color: var(--l-ink-2); max-width: 36em; margin: 12px auto 36px; font-size: 17px; }
.l-features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
@media (min-width: 900px) { .l-features { grid-template-columns: repeat(3, 1fr); } }
.l-feature { background: #fff; border: 1px solid var(--l-line); border-radius: var(--l-radius); padding: 22px; transition: box-shadow .15s, transform .15s; }
.l-feature:hover { box-shadow: 0 12px 30px rgba(16,24,40,.07); transform: translateY(-2px); }
.l-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--l-tint); color: var(--l-primary); display: grid; place-items: center; margin-bottom: 14px; }
.l-ico svg { width: 24px; height: 24px; fill: currentColor; }
.l-feature h3 { font-size: 18px; margin-bottom: 6px; }
.l-feature p { margin: 0; color: var(--l-ink-2); font-size: 15px; }

.l-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.l-steps li { background: #fff; border-radius: var(--l-radius); padding: 24px; border: 1px solid var(--l-line); }
.l-step-n { width: 40px; height: 40px; border-radius: 50%; background: var(--l-primary); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; font-size: 18px; }
.l-steps h3 { font-size: 18px; margin-bottom: 6px; }
.l-steps p { margin: 0; color: var(--l-ink-2); font-size: 15px; }

/* pricing */
.l-plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.l-plan { position: relative; background: #fff; border: 1.5px solid var(--l-line); border-radius: 22px; padding: 26px 22px 22px; display: flex; flex-direction: column; }
.l-plan.is-hl { border-color: var(--l-primary); box-shadow: 0 22px 50px color-mix(in srgb, var(--l-primary) 18%, transparent); }
@media (min-width: 900px) { .l-plan.is-hl { transform: translateY(-8px); } }
.l-plan-tag { position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(-50%); background: var(--l-primary); color: #fff; font-size: 12.5px; font-weight: 800; padding: 4px 14px; border-radius: 99px; white-space: nowrap; }
[dir="rtl"] .l-plan-tag { transform: translateX(50%); }
.l-plan h3 { font-size: 19px; }
.l-price { margin: 10px 0 16px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.l-price b { font-size: 34px; font-weight: 800; letter-spacing: -.01em; }
.l-price small { color: var(--l-ink-3); font-size: 15px; font-weight: 600; }
.l-plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; font-size: 15px; flex: 1; }
.l-plan li { display: flex; gap: 8px; align-items: flex-start; }
.l-plan li::before { content: "✓"; color: var(--l-wa); font-weight: 800; flex: none; }
.l-plan li.is-off { color: var(--l-ink-3); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--l-ink-3) 50%, transparent); }
.l-plan li.is-off::before { content: "–"; color: var(--l-ink-3); }
.l-note { text-align: center; color: var(--l-ink-3); font-size: 14px; margin: 26px 0 0; }

/* faq */
.l-faq { margin-top: 30px; display: grid; gap: 10px; }
.l-faq details { background: #fff; border: 1px solid var(--l-line); border-radius: 14px; padding: 0 18px; }
.l-faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 16px 0; display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--l-primary); flex: none; }
.l-faq details[open] summary::after { content: "–"; }
.l-faq p { margin: 0 0 16px; color: var(--l-ink-2); }

/* final CTA + footer */
.l-final { background: linear-gradient(135deg, var(--l-primary), color-mix(in srgb, var(--l-primary) 70%, #000)); color: #fff; text-align: center; padding: 64px 0; }
.l-final h2 { font-size: clamp(26px, 4.6vw, 38px); font-weight: 800; }
.l-final p { opacity: .9; margin: 12px 0 26px; font-size: 17px; }
.l-foot { padding: 26px 0 90px; color: var(--l-ink-3); font-size: 14px; border-top: 1px solid var(--l-line); }
.l-foot-in { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.l-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.l-foot a { text-decoration: none; color: var(--l-ink-2); font-weight: 600; }
.l-wa-float { position: fixed; z-index: 50; bottom: 18px; inset-inline-end: 18px; width: 56px; height: 56px; border-radius: 50%; background: var(--l-wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(31,168,85,.4); }
.l-wa-float svg { width: 30px; height: 30px; fill: currentColor; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .l-btn, .l-feature { transition: none; } }
