/* ============================================================
   ECOM MATA — Portfolio landing page (static) — v2
   Copyright (c) 2026 ECOM MATA. All rights reserved.
   ============================================================ */

/* ---------- Cairo (self-hosted, variable 400–800) ---------- */
@font-face {
    font-family: 'Cairo'; font-style: normal; font-weight: 400 800; font-display: swap;
    src: url(fonts/cairo-arabic.woff2) format('woff2');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
    font-family: 'Cairo'; font-style: normal; font-weight: 400 800; font-display: swap;
    src: url(fonts/cairo-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
    font-family: 'Cairo'; font-style: normal; font-weight: 400 800; font-display: swap;
    src: url(fonts/cairo-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* ---------- Reset & tokens ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --bg: #080b14;
    --bg-soft: #0c1120;
    --card: rgba(255, 255, 255, .035);
    --card-2: rgba(255, 255, 255, .055);
    --border: rgba(255, 255, 255, .08);
    --border-hi: rgba(96, 165, 250, .3);
    --text: #eef1f9;
    --muted: #94a0b8;
    /* single blue accent scale (legacy names kept so all refs resolve) */
    --indigo: #3b82f6;
    --violet: #2563eb;
    --fuchsia: #1d4ed8;
    --pink: #60a5fa;
    --cyan: #38bdf8;
    --emerald: #34d399;
    --amber: #f59e0b;
    --grad: linear-gradient(100deg, #2563eb, #3b82f6);
    --grad-text: linear-gradient(90deg, #bfdbfe, #93c5fd);
    --radius: 18px;
    --shadow: 0 24px 60px -28px rgba(2, 6, 23, .75);
    --ring: 0 0 0 1px var(--border);
}

/* Cairo FORCED everywhere, every language */
html, body, button, input, select, textarea,
h1, h2, h3, h4, h5, h6, p, a, li, span, div, summary, small, b, i, article {
    font-family: 'Cairo', 'Segoe UI', sans-serif;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container-narrow { width: min(820px, 92%); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Icons ---------- */
svg.ic { width: 22px; height: 22px; }
svg.ic-xs { width: 14px; height: 14px; }
svg.ic-lg { width: 44px; height: 44px; }
.ic-wrap { display: inline-grid; place-items: center; }
.ic-wrap svg { width: 1.15em; height: 1.15em; }
.feature-ic svg { width: 24px; height: 24px; }
.mode-ic svg, .pay-ic svg, .carrier-ic svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .82rem 1.7rem; border: 0; border-radius: 999px; cursor: pointer;
    font-weight: 700; font-size: 1rem; line-height: 1; white-space: nowrap;
    transition: transform .2s, box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn-lg { padding: 1.02rem 2.1rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.15rem; font-size: .85rem; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 32px -10px rgba(59,130,246, .6); }
.btn-primary:hover { box-shadow: 0 20px 44px -10px rgba(59,130,246, .7); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--text); border: 1px solid var(--border); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.11); border-color: var(--border-hi); }
.btn-light { background: #fff; color: #12121a; }
.btn-wa { background: #25d366; color: #06331c; }
.w-full { width: 100%; }
.btn .ic-wrap svg { width: 1.05em; height: 1.05em; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; transition: background .3s, border-color .3s, box-shadow .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 10, 21, .82); backdrop-filter: blur(18px); border-bottom-color: rgba(255,255,255,.07); box-shadow: 0 8px 30px -20px #000; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 70px; }
.brand { display: flex; align-items: center; gap: .55rem; font-size: 1.22rem; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 800; box-shadow: 0 8px 20px -6px rgba(59,130,246, .7); }
.nav-links { display: flex; gap: 1.5rem; font-size: .94rem; color: var(--muted); font-weight: 600; }
.nav-links a { position: relative; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; inset-inline: 0; bottom: -6px; height: 2px; background: var(--grad-text); border-radius: 2px; transform: scaleX(0); transition: transform .25s; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: .8rem; }
.lang-switch { display: flex; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 999px; padding: 3px; }
.lang-switch button { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: .3rem .72rem; border-radius: 999px; font-weight: 700; font-size: .8rem; transition: all .2s; }
.lang-switch button.active { background: var(--grad); color: #fff; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 7px; }
.burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Backdrop bits ---------- */
.blob { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .18; pointer-events: none; }
.blob-1 { width: 440px; height: 440px; background: #1e3a8a; top: -160px; inset-inline-start: -140px; }
.blob-2 { width: 460px; height: 460px; background: #172554; top: 40px; inset-inline-end: -190px; }
.blob-3 { display: none; }
.grid-overlay {
    position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 84px; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 3.4rem; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--border); background: rgba(255,255,255,.04); padding: .42rem 1rem; border-radius: 999px; font-size: .78rem; font-weight: 700; color: #c8cce4; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 1.5rem; }
.chip .ic-wrap { color: #60a5fa; }
.hero h1 { font-size: clamp(2.15rem, 4.7vw, 3.7rem); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; }
.lead { color: var(--muted); font-size: 1.14rem; margin-top: 1.25rem; max-width: 35rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; }
.hero-ctas.center { justify-content: center; }
.tech { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 2.4rem; }
.tech-label { color: var(--muted); font-size: .82rem; margin-inline-end: .3rem; }
.pill { font-size: .78rem; font-weight: 700; color: #c9cee6; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 999px; padding: .32rem .78rem; }

/* Hero visual: browser + phone + floating badges */
.hero-visual { position: relative; }
.browser { background: linear-gradient(180deg, #141a2e, #0c1020); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(2.5deg); }
[dir="rtl"] .browser { transform: perspective(1400px) rotateY(7deg) rotateX(2.5deg); }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.dots i:nth-child(1) { background: #f87171; } .dots i:nth-child(2) { background: #fbbf24; } .dots i:nth-child(3) { background: #34d399; }
.url { flex: 1; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; color: #96a0bd; background: rgba(255,255,255,.05); border-radius: 999px; padding: .25rem .7rem; }
.browser-body { padding: 16px; }
.mk-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mk-logo { width: 54px; height: 14px; border-radius: 5px; background: var(--grad); }
.mk-nav { display: flex; gap: 8px; flex: 1; justify-content: center; }
.mk-nav i { width: 34px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.13); }
.mk-dot { width: 20px; height: 20px; border-radius: 50%; background: rgba(59,130,246,.6); }
.mk-hero { display: grid; grid-template-columns: 1fr .8fr; gap: 12px; align-items: center; background: linear-gradient(120deg, rgba(59,130,246,.28), rgba(59,130,246,.2)); border-radius: 12px; padding: 18px; margin-bottom: 14px; }
.mk-htxt i { display: block; height: 10px; border-radius: 5px; background: rgba(255,255,255,.38); margin-bottom: 8px; }
.mk-htxt i.w70 { width: 70%; background: rgba(255,255,255,.22); }
.mk-htxt b { display: block; width: 78px; height: 22px; border-radius: 999px; background: var(--grad); margin-top: 12px; }
.mk-himg { aspect-ratio: 1; border-radius: 10px; background: radial-gradient(circle at 30% 30%, #60a5fa, #1d4ed8); opacity: .9; }
.mk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mk-card { background: rgba(255,255,255,.05); border-radius: 10px; padding: 8px; }
.mk-img { aspect-ratio: 1; border-radius: 7px; margin-bottom: 7px; }
.mk-img.g1 { background: linear-gradient(135deg, #3b82f6, #22d3ee); }
.mk-img.g2 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.mk-img.g3 { background: linear-gradient(135deg, #10b981, #3b82f6); }
.mk-img.g4 { background: linear-gradient(135deg, #3b82f6, #3b82f6); }
.mk-card i { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.25); margin-bottom: 5px; }
.mk-card b { display: block; width: 55%; height: 7px; border-radius: 4px; background: rgba(59,130,246,.7); }
.phone { position: absolute; bottom: -30px; inset-inline-start: -22px; width: 118px; padding: 12px 10px; border-radius: 22px; background: linear-gradient(180deg, #18203a, #0c1020); border: 1px solid var(--border); box-shadow: var(--shadow); animation: floaty 5.5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.phone-notch { display: block; width: 40px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.2); margin: 0 auto 10px; }
.p-hero { display: block; height: 54px; border-radius: 10px; background: linear-gradient(120deg, rgba(59,130,246,.55), rgba(59,130,246,.5)); margin-bottom: 8px; }
.p-row { display: flex; gap: 6px; margin-bottom: 8px; }
.p-row i { flex: 1; height: 34px; border-radius: 8px; background: rgba(255,255,255,.1); }
.p-btn { display: block; height: 18px; border-radius: 999px; background: var(--grad); }
.badge-float { position: absolute; display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .95rem; padding: .5rem .85rem; border-radius: 14px; background: rgba(13,17,34,.85); border: 1px solid var(--border-hi); backdrop-filter: blur(8px); box-shadow: 0 14px 30px -14px #000; animation: floaty 6s ease-in-out infinite; }
.badge-float .ic-wrap { color: #60a5fa; }
.badge-a { top: 6%; inset-inline-end: -14px; animation-delay: -1s; }
.badge-b { bottom: 20%; inset-inline-end: -6px; animation-delay: -3s; }

/* ---------- Sections ---------- */
.section { padding: 86px 0; position: relative; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 3.2rem; }
.eyebrow { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #a5b4fc; margin-bottom: .7rem; padding: .28rem .8rem; border: 1px solid var(--border); border-radius: 999px; background: rgba(165,180,252,.06); }
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.015em; }
.section-head p { color: var(--muted); margin-top: .9rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.7rem; transition: transform .28s, border-color .28s, background .28s, box-shadow .28s; }
.card:hover { transform: translateY(-5px); border-color: var(--border-hi); background: var(--card-2); box-shadow: 0 24px 50px -30px rgba(59,130,246,.5); }
.card h3 { font-size: 1.04rem; font-weight: 700; margin-bottom: .35rem; }
.card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.card p { color: var(--muted); font-size: .89rem; line-height: 1.66; }

/* ---------- Showcase (screenshots) ---------- */
.showcase-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; margin-bottom: 5rem; }
.showcase-row.reverse { grid-template-columns: 1.2fr .8fr; }
.showcase-row.reverse .showcase-text { order: 2; }
.show-num { display: inline-block; font-size: 2.4rem; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .5; }
.showcase-text h3 { font-size: 1.6rem; font-weight: 800; margin: .3rem 0 .8rem; }
.showcase-text p { color: var(--muted); }
.show-list { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .7rem; }
.show-list li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; }
.show-list .ic-wrap { color: var(--emerald); background: rgba(52,211,153,.12); width: 26px; height: 26px; border-radius: 8px; flex: none; }

.showcase-visual { position: relative; }
.frame-desktop { background: linear-gradient(180deg, #141a2e, #0c1020); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.frame-bar { display: flex; align-items: center; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.frame-phone { position: absolute; bottom: -28px; inset-inline-end: -18px; width: 118px; border-radius: 22px; border: 5px solid #1a2238; background: #0c1020; overflow: hidden; box-shadow: var(--shadow); }
.frame-phone .shot { border-radius: 16px; }
/* Placeholder is the DEFAULT state; a real screenshot fades in over it on load. */
.shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.frame-phone .shot { aspect-ratio: 9 / 19; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .45s ease; }
.shot.has-img img { opacity: 1; }
.shot-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-align: center; color: #8790af; background: linear-gradient(135deg, rgba(59,130,246,.16), rgba(59,130,246,.1)); }
.shot.has-img .shot-ph { display: none; }
.shot-ph .ic-wrap { color: #a5b4fc; opacity: .8; } .shot-ph .ic-wrap svg { width: 30px; height: 30px; }
.shot-ph span { font-size: .82rem; font-weight: 600; }
.shot-ph small { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.frame-phone .shot-ph span { display: none; }

/* ---------- Clean zoomable screenshots (no fake device chrome) ---------- */
.shots { display: flex; align-items: flex-end; gap: 1.1rem; }
.shot-card {
    position: relative; padding: 0; border: 1px solid var(--border); background: #0c1020;
    border-radius: 16px; overflow: hidden; cursor: zoom-in; display: block;
    box-shadow: 0 30px 70px -34px rgba(0,0,0,.75); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.shot-card img { width: 100%; height: auto; display: block; }
.shot-card:hover { transform: translateY(-6px); border-color: var(--border-hi); box-shadow: 0 40px 90px -34px rgba(59,130,246,.5); }
.shot-lg { flex: 1 1 66%; }
.shot-sm { flex: 0 0 30%; align-self: flex-end; }
.shot-zoom {
    position: absolute; inset-block-start: 12px; inset-inline-end: 12px; width: 34px; height: 34px;
    display: grid; place-items: center; border-radius: 10px; color: #fff;
    background: rgba(10,14,28,.6); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18);
    opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s;
}
.shot-card:hover .shot-zoom { opacity: 1; transform: scale(1); }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center;
    padding: 3vh 3vw; background: rgba(4,6,14,.9); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 96vw; max-height: 92vh; border-radius: 12px; box-shadow: 0 40px 120px -30px #000; border: 1px solid rgba(255,255,255,.12); }
.lightbox-close {
    position: absolute; top: 18px; inset-inline-end: 24px; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff;
    font-size: 28px; line-height: 1; cursor: pointer; transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

/* ---------- Live demo section ---------- */
.demo-card { max-width: 960px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; }
.demo-live { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-bottom: 1.5rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--border); }
.demo-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 5px rgba(52,211,153,.18); animation: soonPulse 2s ease-in-out infinite; flex: none; }
.demo-live-label { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.demo-url { font-size: 1.25rem; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.demo-open { margin-inline-start: auto; }
.demo-accounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.demo-acc { display: flex; gap: .85rem; background: var(--card-2); border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem; }
.demo-acc-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; flex: none; color: #bfdbfe; background: linear-gradient(135deg, rgba(59,130,246,.28), rgba(59,130,246,.28)); }
.demo-acc-ic svg { width: 22px; height: 22px; }
.demo-acc-body h4 { font-size: 1rem; font-weight: 700; margin-bottom: .2rem; }
.demo-acc-body p { font-size: .82rem; color: var(--muted); line-height: 1.55; }
.demo-cred { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0; }
.demo-cred code { font-size: .78rem; font-weight: 600; background: rgba(96,165,250,.14); color: #c7d0ff; border: 1px solid var(--border); padding: .22rem .5rem; border-radius: 7px; user-select: all; }
.demo-link { display: inline-block; font-size: .84rem; font-weight: 700; color: #a5b4fc; }
.demo-link:hover { color: #c7d0ff; }
.demo-note { display: flex; align-items: center; gap: .5rem; justify-content: center; margin-top: 1.5rem; font-size: .86rem; color: var(--muted); }
.demo-note .ic-wrap { color: var(--emerald); }
@media (max-width: 760px) { .demo-accounts { grid-template-columns: 1fr; } .demo-open { margin-inline-start: 0; width: 100%; } }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: transform .28s, border-color .28s, background .28s; }
.feature:hover { transform: translateY(-5px); border-color: var(--border-hi); background: var(--card-2); }
.feature-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, rgba(59,130,246,.28), rgba(59,130,246,.28)); color: #bfdbfe; margin-bottom: 1rem; }
.feature h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: .35rem; }
.feature p { color: var(--muted); font-size: .86rem; line-height: 1.6; }
/* NEW badge on flagship feature cards */
.feature-neu { position: relative; border-color: rgba(59,130,246,.32); background: linear-gradient(180deg, rgba(59,130,246,.09), var(--card)); }
.feature-neu .feature-ic { background: linear-gradient(135deg, rgba(59,130,246,.4), rgba(59,130,246,.4)); color: #fff; }
.feature-badge { position: absolute; top: 12px; inset-inline-end: 12px; font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .22rem .5rem; border-radius: 999px; color: #fff; background: var(--grad); box-shadow: 0 6px 16px -6px rgba(59,130,246,.7); }

/* ---------- Social Studio showcase mockup ---------- */
.show-tag { display: inline-flex; align-items: center; gap: .35rem; margin-inline-start: .6rem; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #93c5fd; padding: .18rem .6rem; border-radius: 999px; border: 1px solid rgba(59,130,246,.4); background: rgba(59,130,246,.1); vertical-align: middle; }
.show-tag .ic-wrap { color: #93c5fd; }
.studio-mock { position: relative; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg,#141a2e,#0c1020); box-shadow: var(--shadow); }
.stu-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: linear-gradient(90deg,#3b82f6,#3b82f6 55%,#2563eb); color: #fff; }
.stu-title { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .82rem; }
.stu-fmts { display: inline-flex; gap: 5px; }
.stu-fmts i { width: 22px; height: 14px; border-radius: 4px; background: rgba(255,255,255,.25); }
.stu-fmts i.on { background: #fff; }
.stu-body { display: grid; grid-template-columns: 1fr 1.15fr; gap: 12px; padding: 14px; }
.stu-panel { display: flex; flex-direction: column; gap: 9px; }
.stu-lbl { height: 7px; width: 82%; border-radius: 4px; background: rgba(255,255,255,.12); }
.stu-lbl.w60 { width: 60%; }
.stu-tpls { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; }
.stu-tpls i { aspect-ratio: 3/4; border-radius: 6px; border: 1px solid rgba(255,255,255,.08); }
.stu-tpls i.g1 { background: linear-gradient(135deg,#3b82f6,#2563eb); }
.stu-tpls i.g2 { background: linear-gradient(135deg,#f43f5e,#f59e0b); }
.stu-tpls i.g3 { background: linear-gradient(135deg,#111827,#1e40af); }
.stu-tpls i.g4 { background: linear-gradient(135deg,#fbbf24,#60a5fa); }
.stu-tpls i.on { outline: 2px solid #93c5fd; outline-offset: 1px; }
.stu-swatches { display: flex; gap: 7px; }
.stu-swatches i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(255,255,255,.08); }
.stu-canvas { position: relative; aspect-ratio: 4/5; border-radius: 10px; overflow: hidden; background: radial-gradient(120% 80% at 50% 0,rgba(212,175,55,.14),transparent), linear-gradient(160deg,#1e3a8a,#1d4ed8); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.stu-badge { position: absolute; top: 10px; inset-inline-end: 10px; font-size: .72rem; font-weight: 800; color: #111827; background: #fde047; border-radius: 8px; padding: .18rem .45rem; transform: rotate(6deg); }
.stu-logo { position: absolute; top: 12px; inset-inline-start: 12px; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg,#fff,#e0e7ff); opacity: .9; }
.stu-shot { position: absolute; left: 50%; top: 45%; transform: translate(-50%,-50%); width: 52%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%,rgba(255,255,255,.4),transparent 60%), linear-gradient(135deg,#22d3ee,#3b82f6); box-shadow: 0 12px 30px -8px rgba(0,0,0,.5); }
.stu-cap { position: absolute; left: 12%; right: 12%; bottom: 20%; height: 8px; border-radius: 5px; background: rgba(255,255,255,.85); }
.stu-cta { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); display: grid; place-items: center; width: 44%; height: 22px; border-radius: 999px; background: #25d366; color: #06331c; }
.stu-float { position: absolute; display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .82rem; padding: .45rem .8rem; border-radius: 12px; background: rgba(13,17,34,.9); border: 1px solid var(--border-hi); backdrop-filter: blur(8px); box-shadow: 0 14px 30px -14px #000; animation: floaty 6s ease-in-out infinite; }
.stu-float .ic-wrap { color: #93c5fd; }
.stu-float-a { top: 8%; inset-inline-start: -16px; animation-delay: -1.5s; }
.stu-float-b { bottom: 10%; inset-inline-end: -14px; animation-delay: -3.5s; }

/* ---------- Modes ---------- */
.mode { text-align: center; padding: 2.4rem 1.7rem; }
.mode-ic { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; margin-bottom: 1rem; color: #fff; }
.mode.accent-a .mode-ic { background: linear-gradient(135deg, #3b82f6, #22d3ee); }
.mode.accent-b .mode-ic { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.mode.accent-c .mode-ic { background: linear-gradient(135deg, #10b981, #3b82f6); }
.mode h3 { font-size: 1.18rem; }

/* ---------- Payments ---------- */
.pay { display: flex; align-items: flex-start; gap: 1rem; }
.pay-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex: none; color: #fff; }
.pay.accent-a .pay-ic { background: linear-gradient(135deg, #10b981, #059669); }
.pay.accent-b .pay-ic { background: linear-gradient(135deg, #f59e0b, #d97706); }
.pay.accent-c .pay-ic { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.pay.accent-d .pay-ic { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.pay.accent-e .pay-ic { background: linear-gradient(135deg, #3b82f6, #1e40af); }
.pay.accent-f .pay-ic { background: linear-gradient(135deg, #3b82f6, #2563eb); }

/* ---------- Shipping ---------- */
.ship-highlight { display: flex; align-items: center; gap: 1.6rem; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--border-hi); background: linear-gradient(110deg, rgba(59,130,246,.16), rgba(59,130,246,.12)); margin-bottom: 1.2rem; }
.ship-globe { display: grid; place-items: center; width: 66px; height: 66px; flex: none; border-radius: 18px; background: rgba(255,255,255,.06); color: #a5b4fc; }
.ship-highlight h3 { font-size: 1.26rem; font-weight: 800; margin-bottom: .3rem; }
.ship-highlight p { color: var(--muted); font-size: .9rem; }
.ship-badge { margin-inline-start: auto; flex: none; font-weight: 800; font-size: .9rem; background: rgba(255,255,255,.06); border: 1px solid var(--border); border-radius: 999px; padding: .5rem 1rem; white-space: nowrap; }
.carrier { text-align: center; }
.carrier-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(255,255,255,.05); color: #a5b4fc; margin-bottom: .8rem; }
.carrier h4 { color: #d7d9ec; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: stretch; }
.price-card { display: flex; flex-direction: column; position: relative; padding: 2.3rem 1.9rem; }
.price-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.price { display: flex; align-items: baseline; gap: .45rem; margin-bottom: 1.5rem; }
.price .amount { font-size: 2.7rem; font-weight: 800; letter-spacing: -.02em; }
.price .per { color: var(--muted); font-size: .9rem; }
/* Pricing not published yet — elegant "coming soon" instead of an amount */
.price-soon { min-height: 3.4rem; align-items: center; }
.soon-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: 1.02rem; font-weight: 800; letter-spacing: -.005em;
    padding: .55rem 1.15rem; border-radius: 999px;
    color: #dbeafe; background: linear-gradient(135deg, rgba(59,130,246,.22), rgba(59,130,246,.18));
    border: 1px solid rgba(147,197,253,.4);
}
.soon-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--fuchsia); box-shadow: 0 0 0 4px rgba(59,130,246,.2); animation: soonPulse 2.2s ease-in-out infinite; }
@keyframes soonPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.8); } }
.price-card ul { flex: 1; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.9rem; }
.price-card li { display: flex; align-items: center; gap: .55rem; color: #cdd3e6; font-size: .92rem; }
.price-card li .ic-wrap { color: var(--emerald); flex: none; }
.price-popular { background: linear-gradient(165deg, rgba(59,130,246,.18), rgba(59,130,246,.13)); border-color: rgba(147,197,253,.45); box-shadow: 0 30px 80px -30px rgba(59,130,246,.5); transform: scale(1.035); }
.price-popular:hover { transform: scale(1.035) translateY(-5px); }
.popular-badge { position: absolute; top: -15px; inset-inline-start: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .35rem; background: var(--grad); color: #fff; font-size: .74rem; font-weight: 800; padding: .34rem 1rem; border-radius: 999px; white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(59,130,246,.6); }
[dir="rtl"] .popular-badge { transform: translateX(50%); }
.pricing-note { text-align: center; color: var(--muted); margin-top: 2.6rem; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 15px; padding: 1.15rem 1.45rem; transition: border-color .2s, background .2s; }
.faq-item[open] { border-color: var(--border-hi); background: var(--card-2); }
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: #a5b4fc; transition: transform .25s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding-top: .85rem; font-size: .93rem; }

/* ---------- Contact CTA ---------- */
.cta-box { position: relative; overflow: hidden; text-align: center; background: linear-gradient(140deg, #1c1650, #0c1020 55%, #3a0f34); border: 1px solid var(--border); border-radius: 28px; padding: 4.2rem 2rem; }
.blob-cta { width: 320px; height: 320px; background: #2563eb; top: -130px; inset-inline-end: -90px; opacity: .32; }
.cta-box h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); font-weight: 800; position: relative; }
.cta-box p { color: #c3c9df; margin: 1rem auto 2.1rem; max-width: 480px; position: relative; }
.cta-box .hero-ctas { position: relative; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(255,255,255,.06); padding: 3rem 0 2rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem; }
.footer-tag { color: var(--muted); font-size: .88rem; margin-top: .7rem; max-width: 22rem; }
.footer-meta { color: var(--muted); font-size: .85rem; text-align: end; display: flex; flex-direction: column; gap: .3rem; }
[dir="rtl"] .footer-meta { text-align: start; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.reveal.on { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; } .delay-2 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .blob, .phone, .badge-float { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr; gap: 4rem; }
    .hero-visual { max-width: 560px; margin: 0 auto; }
    .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; gap: 2rem; }
    .showcase-row.reverse .showcase-text { order: 0; }
}
@media (max-width: 768px) {
    .nav-links { position: fixed; inset-inline: 0; top: 70px; z-index: 55; flex-direction: column; gap: 0; background: rgba(7,10,21,.98); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
    .nav-links.open { max-height: 360px; }
    .nav-links a { padding: .95rem 6%; border-top: 1px solid rgba(255,255,255,.05); }
    .nav-links a::after { display: none; }
    .burger { display: flex; }
    .nav .btn-sm { display: none; }
    .grid-3, .pricing-grid { grid-template-columns: 1fr; }
    .price-popular { transform: none; } .price-popular:hover { transform: translateY(-5px); }
    .hero { padding: 60px 0 60px; }
    .ship-highlight { flex-direction: column; text-align: center; }
    .ship-badge { margin-inline-start: 0; }
    .phone { display: none; }
    .footer-inner { flex-direction: column; } .footer-meta { text-align: start; }
    .showcase-visual { margin-bottom: 1.5rem; }
}
@media (max-width: 520px) {
    .features-grid, .grid-4 { grid-template-columns: 1fr; }
    .hero-ctas .btn { width: 100%; }
    .frame-phone { width: 96px; inset-inline-end: -6px; bottom: -20px; }
    .badge-float { font-size: .82rem; }
    .badge-a { inset-inline-end: 2px; } .badge-b { inset-inline-end: 8px; }
}

/* ===================================================================
   v3 — Motion design layer
   =================================================================== */

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: transparent; }
.scroll-progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 0 3px 3px 0; transition: width .1s linear; }

/* Hero particles canvas */
.hero { position: relative; }
#fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-inner, .hero .stats-band { position: relative; z-index: 1; }

/* (removed the animated gradient-text shine — cleaner, less flashy) */

/* Stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3.4rem; padding: 1.4rem 1.6rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); backdrop-filter: blur(12px); }
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: .8rem; color: var(--muted); }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--border); padding: .9rem 0; background: rgba(255,255,255,.015); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 2.6rem; width: max-content; animation: marquee 34s linear infinite; direction: ltr; }
.marquee-track span { white-space: nowrap; font-size: .86rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.marquee-track span::before { content: '◆'; margin-inline-end: 2.6rem; font-size: .5rem; color: var(--indigo); vertical-align: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* 3D tilt */
.tiltable { transition: transform .35s cubic-bezier(.2,.8,.3,1); will-change: transform; transform-style: preserve-3d; }

/* Cursor glow on cards */
.glow { position: relative; }
.glow::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(96,165,250,.15), transparent 65%); }
.glow:hover::after { opacity: 1; }

/* Magnetic buttons */
.btn-lg { transition: translate .25s cubic-bezier(.2,.8,.3,1), transform .2s, box-shadow .2s, background .2s; }

/* Contact grid + form */
.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 1.6rem; align-items: start; }
.contact-card { position: relative; overflow: hidden; background: linear-gradient(150deg, #1c1650, #0c1020 60%, #33102e); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.9rem 1.7rem; display: flex; flex-direction: column; gap: .9rem; }
.contact-card h3 { font-size: 1.06rem; font-weight: 700; line-height: 1.5; }
.contact-or { color: var(--muted); font-size: .85rem; margin-top: .4rem; }
.contact-pulse { position: absolute; top: -70px; inset-inline-end: -70px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(59,130,246,.3), transparent 70%); animation: pulse 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes pulse { 50% { transform: scale(1.25); opacity: .65; } }
.contact-points { display: flex; flex-direction: column; gap: .55rem; margin-top: .7rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.contact-points li { display: flex; gap: .55rem; align-items: flex-start; font-size: .86rem; color: #c3c9df; }
.contact-points .ic-wrap { color: var(--emerald); flex-shrink: 0; }

.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.9rem 1.7rem; display: flex; flex-direction: column; gap: 1.05rem; backdrop-filter: blur(12px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.form-field { display: flex; flex-direction: column; gap: .45rem; }
.form-field label { font-size: .84rem; font-weight: 600; color: #c3c9df; }
.form-field input, .form-field select, .form-field textarea {
    background: rgba(255,255,255,.045); border: 1px solid var(--border); border-radius: 12px;
    color: var(--text); padding: .78rem .95rem; font-size: .95rem; font-family: inherit;
    outline: none; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 2.4rem; }
[dir="rtl"] .form-field select { background-position: 19px 50%, 14px 50%; }
.form-field select option { background: var(--bg-soft); color: var(--text); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    border-color: var(--border-hi); background: rgba(255,255,255,.07);
    box-shadow: 0 0 0 3px rgba(59,130,246,.22);
}
/* Honeypot: hidden without off-screen offset (an offset extends RTL scrollWidth) */
.hp-field { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; clip-path: inset(50%); overflow: hidden; }
.form-status { min-height: 1.2em; font-size: .9rem; font-weight: 600; text-align: center; }
.form-status.ok { color: var(--emerald); }
.form-status.err { color: #f87171; }
.btn.is-loading { opacity: .7; pointer-events: none; position: relative; }
.btn.is-loading .ic-wrap svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive + RTL + reduced-motion */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .stats-band { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
    .form-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    #fx { display: none; }
    .marquee-track { animation: none; }
    .grad-text, .hero h1 span { animation: none; }
    .contact-pulse { animation: none; }
    .scroll-progress i { transition: none; }
}
