/* ERX HR — الموقع التسويقي (ألوان اللوجو: كحلي + برتقالي) */

:root {
    --night: #0b1622;
    --navy: #0f1f2e;
    --navy-2: #172a3c;
    --ink: #132333;
    --ink-2: #44566a;
    --muted: #708090;
    --bg: #f5f6f8;
    --card: #ffffff;
    --line: #e3e7ed;
    --line-2: #cfd6df;
    --orange: #f26b10;
    --orange-2: #ff8f1f;
    --orange-soft: #fff1e5;
    --grad: linear-gradient(120deg, #e8520a 0%, #ff8f1f 100%);
    --ok: #16a34a;
    --bad: #e5484d;
    --warn: #f5a524;
    --r: 16px;
    --wrap: 1200px;
    --shadow: 0 1px 2px rgba(11, 22, 34, .06), 0 18px 40px -18px rgba(11, 22, 34, .22);
    --shadow-xl: 0 40px 80px -30px rgba(0, 0, 0, .55);
    --body: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
    --display: 'Readex Pro', 'IBM Plex Sans Arabic', system-ui, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 17px/1.75 var(--body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
html[lang=en] body { line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.icon { width: 20px; height: 20px; flex: none; }
[dir=rtl] .flip { transform: scaleX(-1); }

/* ---------- الحركة وقت الظهور ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- أزرار ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 46px; padding: 0 22px;
    border: 1px solid transparent; border-radius: 12px;
    font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .2s, background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17.5px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px -10px rgba(242, 107, 16, .7); }
.btn-primary:hover { box-shadow: 0 16px 34px -10px rgba(242, 107, 16, .85); }
.btn-primary .icon { transition: transform .2s var(--ease); }
.btn-primary:hover .icon { transform: translateX(4px); }
[dir=rtl] .btn-primary:hover .icon.flip { transform: scaleX(-1) translateX(4px); }
.btn-ghost { background: var(--card); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-quiet { background: transparent; color: inherit; padding: 0 12px; opacity: .85; }
.btn-quiet:hover { opacity: 1; transform: none; }
.btn-light { background: #fff; color: var(--night); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .4); }
.btn-on-dark { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-on-dark:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- الهيدر ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: background-color .3s, border-color .3s, color .3s; }
.page-home .top { position: fixed; inset-inline: 0; }
.page-home .top:not(.scrolled):not(.menu-is-open) { background: transparent; border-bottom-color: transparent; color: #fff; backdrop-filter: none; }
.top-row { display: flex; align-items: center; gap: 30px; height: 76px; }
.brand { display: flex; text-decoration: none; }
.logo-img { height: 42px; width: auto; }
.logo-light { display: none; }
.page-home .top:not(.scrolled):not(.menu-is-open) .logo-light { display: block; }
.page-home .top:not(.scrolled):not(.menu-is-open) .logo-dark { display: none; }
.top-nav { display: flex; align-items: center; gap: 28px; margin-inline-start: 8px; }
.top-nav a { text-decoration: none; font-size: 15.5px; font-weight: 500; opacity: .82; transition: opacity .2s; }
.top-nav a:hover { opacity: 1; }
.top-nav .lang { padding-inline-start: 24px; border-inline-start: 1px solid currentColor; border-color: rgba(127, 140, 155, .4); }
.top-cta { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-inline-end: -10px; cursor: pointer; color: inherit; }
.menu-btn .icon { width: 26px; height: 26px; }
.menu-btn .icon + .icon, .menu-open .menu-btn .icon:first-child { display: none; }
.menu-open .menu-btn .icon + .icon { display: block; }

/* ---------- عام ---------- */
section { padding-block: 120px; position: relative; }
.kicker { display: flex; align-items: center; gap: 12px; color: var(--orange); font-family: var(--display); font-weight: 600; font-size: 15px; margin-bottom: 16px; }
.kicker .num { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 8px; background: var(--orange-soft); color: var(--orange); font-size: 13px; font-variant-numeric: tabular-nums; }
.h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.25; }
html[lang=en] .h2 { letter-spacing: -.025em; line-height: 1.12; }
.lead { margin-top: 18px; font-size: 18.5px; color: var(--ink-2); }

.ticks { display: grid; gap: 12px; margin-top: 28px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { flex: none; width: 22px; height: 22px; padding: 4px; margin-top: 3px; border-radius: 50%; background: #e7f7ed; color: var(--ok); stroke-width: 2.4; }
.ticks-sm { gap: 10px; margin-top: 16px; font-size: 15.5px; }

/* ---------- الهيرو ---------- */
.hero { background: var(--night); color: #fff; padding-top: 150px; padding-bottom: 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 14s ease-in-out infinite alternate; }
.g1 { width: 520px; height: 520px; background: #f26b10; top: -160px; inset-inline-end: -120px; opacity: .38; }
.g2 { width: 600px; height: 600px; background: #1d4f86; bottom: 10%; inset-inline-start: -220px; animation-delay: -6s; }
.slash { position: absolute; width: 180px; height: 160%; top: -30%; inset-inline-end: 18%; background: var(--grad); opacity: .07; transform: rotate(35deg); }
[dir=rtl] .slash { transform: rotate(-35deg); }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }

.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; padding: 7px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .85); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-2); flex: none; }
.pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 70%, 100% { transform: scale(3); opacity: 0; } }
.hero-title { margin-top: 26px; font-size: clamp(46px, 8vw, 104px); line-height: 1.12; font-weight: 700; }
html[lang=en] .hero-title { letter-spacing: -.045em; line-height: 1; }
.hero-title em {
    font-style: normal; position: relative; white-space: nowrap;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title em::after {
    content: ''; position: absolute; inset-inline: 0; bottom: .02em; height: .09em; border-radius: 99px; background: var(--grad);
    transform: scaleX(0); transform-origin: var(--origin, left); animation: swoosh .9s var(--ease) .7s forwards;
}
[dir=rtl] .hero-title em::after { --origin: right; }
@keyframes swoosh { to { transform: scaleX(1); } }
.hero-lead { margin-top: 26px; max-width: 700px; font-size: 20px; color: rgba(255, 255, 255, .72); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 26px; color: rgba(255, 255, 255, .7); font-size: 15.5px; }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure .icon { width: 18px; height: 18px; color: var(--orange-2); stroke-width: 2.4; }

/* ---------- واجهة البرنامج في الهيرو ---------- */
.hero-visual { position: relative; margin-top: 76px; perspective: 1800px; max-width: 1080px; }
.app {
    --rx: 18deg;
    position: relative; background: var(--card); color: var(--ink); border-radius: 18px; overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), var(--shadow-xl), 0 0 120px -20px rgba(242, 107, 16, .35);
    transform: rotateX(var(--rx)) scale(.94); transform-origin: 50% 0;
    transition: transform .25s linear;
}
.app-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding-inline: 16px; background: #eef1f5; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3d9e1; }
.app-bar i:first-child { background: #ff6159; } .app-bar i:nth-child(2) { background: #ffbd2e; } .app-bar i:nth-child(3) { background: #28c941; }
.app-bar span { margin-inline: auto; transform: translateX(-17px); }
[dir=rtl] .app-bar span { transform: translateX(17px); }
.app-body { display: grid; grid-template-columns: 70px 1fr; min-height: 420px; }
.app-side { background: var(--navy); display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 22px; }
.app-side b { width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, .08); }
.app-side b.on { background: var(--grad); box-shadow: 0 6px 18px -6px var(--orange); }
.app-main { padding: 22px 24px 24px; background: #f7f8fa; text-align: start; }
.app-title { font-family: var(--display); font-weight: 700; font-size: 19px; margin-bottom: 16px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr 1fr 1.6fr; gap: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; position: relative; }
.kpi small { font-size: 12.5px; color: var(--muted); }
.kpi strong { font-family: var(--display); font-size: 26px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.kpi-dot { position: absolute; inset-inline-end: 14px; top: 14px; width: 8px; height: 8px; border-radius: 50%; }
.k0 { background: var(--ok); } .k1 { background: var(--warn); } .k2 { background: #3b82f6; }
.kpi-net { background: var(--grad); border: 0; color: #fff; }
.kpi-net small { color: rgba(255, 255, 255, .85); }
.kpi-net em { font-style: normal; font-size: 15px; opacity: .85; }
.panels { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; margin-top: 12px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13.5px; font-weight: 600; margin-bottom: 12px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--bad); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--bad); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.chart { display: flex; align-items: flex-end; gap: 12px; height: 170px; }
.bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bar-col small { font-size: 11px; color: var(--muted); }
.bar { width: 100%; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #c9d6e4, #a9bbd0); transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease) var(--d); }
.bar-hot { background: var(--grad); box-shadow: 0 8px 20px -8px var(--orange); }
.in .bar { transform: scaleY(1); }

.feed { display: grid; gap: 8px; }
.feed-row { display: grid; grid-template-columns: 30px 1fr auto auto; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; background: #f7f8fa; font-size: 13px; }
.feed-row b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-row time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.feed-row.new { animation: slideIn .6s var(--ease); background: var(--orange-soft); }
@keyframes slideIn { from { opacity: 0; transform: translateY(-14px) scale(.98); } }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-2); color: #fff; font-size: 13px; font-weight: 700; }
.tag { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.tag-in { background: #e7f7ed; color: #12813c; }
.tag-late { background: #fff4dc; color: #a86a00; }
.tag-mobile { background: #e6f0fd; color: #1e63c4; }
.tag-out { background: #eef1f5; color: var(--ink-2); }

.float-toast {
    position: absolute; z-index: 3; top: 48%; inset-inline-end: -10px;
    display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; background: #fff; color: var(--ink);
    border-radius: 14px; box-shadow: var(--shadow-xl), 0 0 0 1px rgba(11, 22, 34, .06); text-align: start;
    transform: translateY(16px) scale(.92); opacity: 0; transition: transform .5s var(--ease), opacity .5s;
}
[dir=rtl] .float-toast { padding: 14px 14px 14px 18px; }
.float-toast.show { transform: none; opacity: 1; }
.float-toast b { display: block; font-size: 15px; }
.float-toast small { color: var(--muted); font-size: 13px; }
.ok { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ok); color: #fff; flex: none; }
.ok .icon { stroke-width: 2.6; }

/* ---------- الموبايل ---------- */
.phone {
    width: 230px; border-radius: 36px; padding: 9px; background: #0a121b; color: var(--ink); text-align: start;
    box-shadow: var(--shadow-xl), inset 0 0 0 1px rgba(255, 255, 255, .12); position: relative;
}
.ph-notch { position: absolute; top: 9px; left: 50%; width: 76px; height: 18px; margin-left: -38px; border-radius: 0 0 12px 12px; background: #0a121b; z-index: 2; }
.ph-top { padding: 30px 16px 16px; border-radius: 28px 28px 0 0; background: linear-gradient(135deg, var(--navy-2), #1f4064); color: #fff; }
.ph-top small { display: block; font-size: 11px; opacity: .7; }
.ph-top b { font-family: var(--display); font-size: 18px; }
.ph-body { padding: 14px 12px 16px; background: #f3f5f8; border-radius: 0 0 28px 28px; display: grid; gap: 10px; }
.ph-punch { position: relative; height: 54px; border: 0; border-radius: 14px; background: var(--ok); color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; cursor: default; overflow: hidden; transition: background-color .4s; }
.ph-punch span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform .45s var(--ease), opacity .45s; }
.ph-punch .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.ph-punch-b { transform: translateY(100%); opacity: 0; }
.ph-punch::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: ring 2s infinite; }
@keyframes ring { 70%, 100% { box-shadow: 0 0 0 14px rgba(22, 163, 74, 0); } }
.punched .ph-punch { background: var(--navy-2); }
.punched .ph-punch::after { animation: none; }
.punched .ph-punch-a { transform: translateY(-100%); opacity: 0; }
.punched .ph-punch-b { transform: none; opacity: 1; }
.ph-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-cards div { background: #fff; border-radius: 12px; padding: 10px; display: grid; }
.ph-cards small { font-size: 11px; color: var(--muted); }
.ph-cards b { font-family: var(--display); font-size: 17px; }
.ph-cards .money { color: var(--ok); }
.ph-note { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: #fff; font-size: 12px; font-weight: 600; transform: translateY(8px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.ph-note .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--ok); color: #fff; stroke-width: 2.6; }
.noted .ph-note { transform: none; opacity: 1; }
.phone-hero { position: absolute; z-index: 4; bottom: -60px; inset-inline-start: -30px; }

/* ---------- الأرقام تحت الهيرو ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 110px 80px; text-align: center; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(44px, 5vw, 64px); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; color: rgba(255, 255, 255, .7); font-size: 15.5px; }

/* ---------- الشريط المتحرك ---------- */
.marquee { overflow: hidden; background: var(--grad); color: #fff; direction: ltr; padding-block: 16px; }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 28px; padding-inline-end: 28px; font-family: var(--display); font-weight: 600; font-size: 17px; white-space: nowrap; }
.marquee span::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .7); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- آخر الشهر ---------- */
.pain { background: var(--card); }
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.pain-col { padding: 36px 38px; border-radius: 22px; }
.pain-col h3 { font-size: 15px; font-weight: 600; letter-spacing: .04em; margin-bottom: 24px; display: inline-flex; padding: 5px 14px; border-radius: 99px; }
.pain-col ul { display: grid; gap: 18px; }
.pain-col li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; }
.pain-col .icon { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; margin-top: 3px; stroke-width: 2.6; }
.pain-before { background: #f3f4f6; color: var(--ink-2); }
.pain-before h3 { background: #fde8e8; color: #c0262d; }
.pain-before .icon { background: #fde8e8; color: #c0262d; }
.pain-before li span { text-decoration: line-through 1.5px transparent; transition: text-decoration-color .6s, color .6s; transition-delay: calc(.5s + var(--i) * 180ms); }
.pain-before.in li span { text-decoration-color: currentColor; color: var(--muted); }
.pain-after { background: var(--navy); color: #fff; box-shadow: 0 30px 60px -30px rgba(11, 22, 34, .6); position: relative; overflow: hidden; }
.pain-after::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--orange); filter: blur(100px); opacity: .25; top: -120px; inset-inline-end: -100px; }
.pain-after h3 { background: var(--grad); color: #fff; }
.pain-after .icon { background: rgba(255, 143, 31, .18); color: var(--orange-2); }
.pain-after li { opacity: 0; transform: translateX(-10px); transition: opacity .5s, transform .5s var(--ease); transition-delay: calc(1s + var(--i) * 180ms); position: relative; }
[dir=rtl] .pain-after li { transform: translateX(10px); }
.pain-after.in li, .no-js .pain-after li { opacity: 1; transform: none; }

/* ---------- المميزات ---------- */
.features { padding-block: 60px 20px; }
.feature { padding-block: 80px; }
.feature-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
.feature-rev .feature-copy { order: 2; }
.feature-rev .feature-grid { grid-template-columns: 6fr 5fr; }
.feature .h2 { font-size: clamp(28px, 3.1vw, 40px); }
.feature-visual {
    position: relative; padding: 44px; border-radius: 28px; overflow: hidden;
    background: radial-gradient(circle at 85% 15%, rgba(255, 143, 31, .22), transparent 45%), radial-gradient(circle at 10% 90%, rgba(29, 79, 134, .18), transparent 50%), #eaedf2;
}
.feature-visual::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(19, 35, 51, .12) 1px, transparent 1px); background-size: 18px 18px; }
.feature-visual > * { position: relative; }

.mock { background: var(--card); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); border: 1px solid rgba(19, 35, 51, .06); }
.dev { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.dev-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--navy); color: var(--orange-2); }
.dev b { display: block; font-size: 15px; }
.dev small { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.dev small .pulse { background: var(--ok); width: 7px; height: 7px; }
.sync { margin-inline-start: auto; color: var(--muted); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.att-grid { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin-bottom: 16px; }
.ring { position: relative; width: 132px; height: 132px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3.6; }
.ring-bg { stroke: #edf0f4; }
.ring-fg { stroke: var(--orange); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.in .ring-fg { stroke-dashoffset: 12; }
.ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring strong { font-family: var(--display); font-size: 30px; line-height: 1; }
.ring small { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.att-stats { display: grid; gap: 10px; }
.att-stats li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #f6f7f9; font-size: 14.5px; }
.att-stats b { margin-inline-start: auto; font-family: var(--display); font-size: 18px; font-variant-numeric: tabular-nums; }
.att-stats i { width: 10px; height: 10px; border-radius: 3px; }
.d-ok { background: var(--ok); } .d-bad { background: var(--bad); } .d-warn { background: var(--warn); }

.pay-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; position: relative; }
.pay-h b { font-family: var(--display); font-size: 17px; }
.stamp {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 2px solid var(--ok); border-radius: 10px;
    color: var(--ok); font-family: var(--display); font-weight: 700; font-size: 14px;
    transform: rotate(-10deg) scale(1.8); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .3s;
}
.stamp .icon { width: 16px; height: 16px; stroke-width: 3; }
.approved .stamp { transform: rotate(-10deg) scale(1); opacity: 1; }
.pay-scroll { overflow-x: auto; }
.pay { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.pay th { text-align: start; font-weight: 500; color: var(--muted); font-size: 12px; padding: 8px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pay td { padding: 11px 8px; border-bottom: 1px solid #f0f2f5; white-space: nowrap; }
.pay tbody tr { transition: background-color .3s; }
.pay tbody tr:hover { background: var(--orange-soft); }
.pay .pos { color: var(--ok); }
.pay .neg { color: var(--bad); }
.pay tfoot td { border: 0; padding-top: 14px; font-family: var(--display); }
.pay tfoot b { font-size: 18px; }
.pay em { font-style: normal; font-size: 12px; color: var(--muted); }
.pay-f { margin-top: 14px; display: flex; justify-content: flex-end; }
.btn-mock { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 10px; background: var(--grad); color: #fff; font-family: var(--display); font-weight: 600; font-size: 14px; transition: background .4s, transform .2s; }
.approved .btn-mock { background: var(--ok); }
.pressing .btn-mock { transform: scale(.94); }

.mock-phone-stage { display: grid; place-items: center; padding-block: 10px; position: relative; }
.phone-feature { width: 250px; }
.bubble {
    position: absolute; top: 18%; inset-inline-end: 2%; display: flex; align-items: center; gap: 8px; max-width: 220px;
    padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); font-size: 13.5px; font-weight: 600;
    animation: float 4s ease-in-out infinite;
}
.bubble-ic { flex: none; display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 6px; border-radius: 9px; background: #e7f7ed; color: #12813c; font-size: 11px; font-weight: 700; }
.bubble .icon { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--ok); color: #fff; stroke-width: 2.6; }
@keyframes float { 50% { transform: translateY(-10px); } }

.docs { position: relative; height: 430px; }
.doc { position: absolute; inset-inline: 8% 8%; top: 20px; height: 390px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 18px 22px; transition: transform .8s var(--ease); }
.doc b { font-family: var(--display); font-size: 14.5px; }
.doc-3 { transform: rotate(-7deg) translate(-14px, 10px); background: #fbfbfc; }
.doc-2 { transform: rotate(4deg) translate(10px, 4px); background: #fdfdfe; }
.in .doc-3 { transform: rotate(-9deg) translate(-34px, 18px); }
.in .doc-2 { transform: rotate(6deg) translate(26px, 8px); }
.doc-1 { z-index: 2; border-top: 5px solid var(--orange); }
.doc-2 i, .doc-3 i { display: block; height: 8px; margin: 22px 0 0; border-radius: 4px; background: #eef1f5; }
.doc-2 i:nth-child(2), .doc-3 i:nth-child(2) { width: 70%; }
.doc-h { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px dashed var(--line-2); }
.doc-seal { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--navy-2); opacity: .5; }
.doc-row { display: grid; gap: 2px; padding-block: 8px; border-bottom: 1px solid #f0f2f5; }
.doc-row small { font-size: 11.5px; color: var(--muted); }
.type { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; vertical-align: bottom; font-weight: 600; font-size: 14.5px; color: var(--navy-2); transition: max-width 1s steps(var(--n)) calc(.6s + var(--i) * .9s); }
.in .type { max-width: 100%; }
.doc-ready { position: absolute; bottom: 16px; inset-inline-end: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: #e7f7ed; color: #12813c; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: all .5s var(--ease) 4.4s; }
.doc-ready .icon { width: 16px; height: 16px; stroke-width: 2.8; }
.in .doc-ready { opacity: 1; transform: none; }

/* ---------- كمان ---------- */
.more { background: var(--card); }
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.more-item { padding: 26px 24px; border-radius: 20px; background: var(--bg); border: 1px solid transparent; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background-color .3s; }
.more-item:hover { transform: translateY(-6px); background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.more-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; box-shadow: 0 10px 20px -10px var(--orange); transition: transform .3s var(--ease); }
.more-item:hover .more-ic { transform: rotate(-8deg) scale(1.08); }
.more-ic .icon { width: 24px; height: 24px; stroke-width: 1.9; }
.more-item h3 { margin-top: 18px; font-size: 18px; }
.more-item p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }

/* ---------- الدول ---------- */
.countries { background: var(--night); color: #fff; overflow: hidden; }
.countries .lead { color: rgba(255, 255, 255, .7); }
.country-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.country { position: relative; background: var(--navy); border: 1px solid rgba(255, 255, 255, .08); border-radius: 22px; padding: 32px 28px 30px; overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.country:hover { transform: translateY(-6px); border-color: rgba(255, 143, 31, .5); }
.country::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 5px; }
.country-EG::before { background: linear-gradient(90deg, #ce1126 0 33.3%, #fff 33.3% 66.6%, #111 66.6%); }
.country-SA::before { background: #0a7a3d; }
.country-AE::before { background: linear-gradient(90deg, #ef3340 0 25%, #00843d 25% 50%, #fff 50% 75%, #111 75%); }
.country-head { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.country-head h3 { font-size: 23px; }
.code { font: 700 13px/1 ui-monospace, 'SFMono-Regular', Consolas, monospace; letter-spacing: .1em; color: #fff; background: var(--grad); padding: 8px 9px; border-radius: 8px; }
.cur { margin-inline-start: auto; color: rgba(255, 255, 255, .6); font-size: 15px; }
.country li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: rgba(255, 255, 255, .82); }
.country li + li { margin-top: 12px; }
.country li .icon { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--orange-2); stroke-width: 2.4; }

/* ---------- الأسعار ---------- */
.pricing { background: var(--bg); }
.calc { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 28px; margin-top: 44px; padding: 22px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.calc-field { display: grid; gap: 8px; }
.calc-label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.calc-emp { flex: 1; min-width: 260px; }
.seg { display: inline-flex; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.seg button { border: 0; background: none; padding: 9px 16px; border-radius: 9px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap; transition: background-color .2s, color .2s; }
.seg button[aria-checked=true] { background: var(--navy); color: #fff; box-shadow: 0 6px 14px -8px rgba(11, 22, 34, .6); }
.seg em { font-style: normal; font-size: 12px; font-weight: 700; color: #fff; background: var(--grad); border-radius: 6px; padding: 2px 7px; margin-inline-start: 4px; }
.emp-row { display: flex; align-items: center; gap: 16px; }
.emp-row input[type=range] { flex: 1; accent-color: var(--orange); height: 28px; }
.emp-row input[type=text] { width: 100px; height: 46px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); font-family: var(--display); font-weight: 700; font-size: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.min-note { margin-top: 12px; font-size: 14.5px; color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; align-items: stretch; }
.plan { position: relative; padding: 34px 28px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; transition: transform .3s var(--ease), box-shadow .3s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan-pop {
    color: #fff; border: 2px solid transparent; box-shadow: 0 40px 70px -30px rgba(11, 22, 34, .7);
    background: linear-gradient(var(--night), var(--night)) padding-box, conic-gradient(from var(--a), #e8520a, #ff8f1f, #233a52, #e8520a) border-box;
    animation: spin 5s linear infinite;
}
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
.pop { position: absolute; top: -14px; inset-inline-start: 26px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 999px; box-shadow: 0 8px 18px -8px var(--orange); }
.plan h3 { font-size: 23px; }
.plan-tag { margin-top: 6px; font-size: 15px; color: var(--ink-2); min-height: 3.4em; }
.plan-pop .plan-tag { color: rgba(255, 255, 255, .7); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; margin-top: 22px; }
.price b { font-family: var(--display); font-size: 54px; line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan-pop .price b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price span { font-size: 18px; font-weight: 600; }
.price small { flex-basis: 100%; color: var(--muted); font-size: 14.5px; }
.plan-pop .price small { color: rgba(255, 255, 255, .6); }
.total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px; margin: 18px 0 22px; padding: 13px 15px; background: var(--bg); border-radius: 12px; font-size: 15px; color: var(--ink-2); }
.plan-pop .total { background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .75); }
.total b { color: var(--ink); font-family: var(--display); font-variant-numeric: tabular-nums; }
.plan-pop .total b { color: #fff; }
.total small { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.plan-more { margin-top: 24px; font-size: 14.5px; font-weight: 600; }
.plan-pop .ticks .icon { background: rgba(255, 143, 31, .18); color: var(--orange-2); }
.flash { animation: flash .5s var(--ease); }
@keyframes flash { 40% { transform: scale(1.06); } }

.enterprise { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 22px; padding: 24px 28px; border: 1.5px dashed var(--line-2); border-radius: 20px; background: var(--card); transition: border-color .3s, background-color .3s; }
.enterprise h3 { font-size: 18px; }
.enterprise p { color: var(--ink-2); font-size: 15.5px; margin-top: 4px; }
.enterprise.hot { border-style: solid; border-color: var(--orange); background: var(--orange-soft); }
.all-include { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.all-include h3 { font-size: 16px; }
.all-include ul { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15.5px; color: var(--ink-2); }
.all-include li { display: flex; align-items: center; gap: 8px; }
.all-include .icon { width: 18px; height: 18px; color: var(--ok); stroke-width: 2.4; }

/* ---------- الضمان ---------- */
.promise { background: var(--card); }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.promise-item { padding: 28px 24px; border-radius: 20px; background: var(--bg); position: relative; overflow: hidden; transition: transform .3s var(--ease); }
.promise-item:hover { transform: translateY(-6px); }
.promise-item .num { display: block; font-family: var(--display); font-size: 54px; line-height: 1; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; }
.promise-item h3 { font-size: 19px; }
.promise-item p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- الأسئلة ---------- */
.faq { background: var(--bg); }
.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding-inline: 24px; transition: border-color .2s, box-shadow .2s; }
.faq-list details[open] { border-color: rgba(242, 107, 16, .4); box-shadow: var(--shadow); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--display); font-size: 17.5px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--bg); color: var(--orange); transition: transform .3s var(--ease), background-color .3s; }
.faq-list details[open] summary .icon { transform: rotate(135deg); background: var(--orange-soft); }
.faq-list details p { padding: 0 0 22px; color: var(--ink-2); max-width: 700px; }

/* ---------- الدعوة الأخيرة ---------- */
.final { background: var(--grad); color: #fff; overflow: hidden; isolation: isolate; }
.final-bg { position: absolute; inset: 0; z-index: -1; }
.final .slash { background: var(--night); opacity: .14; width: 220px; inset-inline-end: 8%; }
.final .s2 { inset-inline-end: 26%; width: 70px; opacity: .1; }
.final-inner { max-width: 920px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.final h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.22; }
html[lang=en] .final h2 { letter-spacing: -.03em; line-height: 1.08; }
.final p { margin-top: 20px; font-size: 19px; color: rgba(255, 255, 255, .9); max-width: 680px; }
.final .btn-on-dark { background: rgba(11, 22, 34, .15); border-color: rgba(255, 255, 255, .45); }

/* ---------- الفوتر ---------- */
.foot { padding-block: 72px 32px; background: var(--card); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-brand .logo-img { height: 48px; }
.foot-brand p { margin-top: 16px; max-width: 360px; color: var(--ink-2); font-size: 15.5px; }
.foot h3 { font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.foot-grid a { display: block; text-decoration: none; color: var(--ink-2); font-size: 15.5px; padding-block: 4px; }
.foot-grid a:hover { color: var(--orange); }
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.wa-link { display: inline-flex !important; align-items: center; gap: 8px; }
.wa-link .icon { color: #1f9d55; }
.wa-float { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #22b35e; color: #fff; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45); transition: transform .2s var(--ease); }
.wa-float::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(34, 179, 94, .5); animation: ring 2.4s infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 30px; height: 30px; }
.page-start .wa-float { display: none; }

/* ---------- صفحة التجربة ---------- */
.start { padding-block: 64px 100px; }
.start-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.start-grid > *, .feature-grid > * { min-width: 0; }
.start-form .lead { margin-top: 10px; }
.signup { margin-top: 32px; display: grid; gap: 18px; padding: 34px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.f { display: grid; gap: 6px; min-width: 0; align-content: start; }
.f label { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.f input, .f select { width: 100%; height: 50px; padding: 0 14px; background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.f input:focus, .f select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.f.invalid input, .f.invalid select, .f.invalid .sub { border-color: #c2412d; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sub { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--card); }
.sub:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.sub input { border: 0 !important; box-shadow: none !important; flex: 1; min-width: 80px; }
.sub span { padding: 0 14px; color: var(--muted); font-size: 14.5px; white-space: nowrap; background: var(--bg); align-self: stretch; display: flex; align-items: center; border-inline-start: 1px solid var(--line); }
.hint { font-size: 13.5px; color: var(--muted); }
.err { font-size: 13.5px; color: #b2371f; }
.err:empty { display: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.terms { font-size: 13.5px; color: var(--muted); text-align: center; }
.terms a { color: var(--ink-2); }
.form-err { padding: 12px 14px; border-radius: 12px; background: #fbeae6; color: #8f2a17; font-size: 15px; }
.result { margin-top: 32px; padding: 44px 32px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; text-align: center; display: grid; justify-items: center; gap: 12px; box-shadow: var(--shadow); }
.result h2 { font-size: 30px; }
.result p { color: var(--ink-2); }
.result .btn { margin-top: 12px; }
.result-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(0); } }
.result-mark .icon { width: 32px; height: 32px; stroke-width: 2.6; }
.result-user b { font-family: ui-monospace, Consolas, monospace; }
.start-side { padding-top: 96px; }
.start-side h2 { font-size: 21px; }
.start-side ol { display: grid; gap: 22px; margin-top: 24px; }
.start-side li { display: flex; gap: 16px; }
.start-side .num { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--grad); color: #fff; font-family: var(--display); font-weight: 700; font-size: 16px; }
.start-side h3 { font-size: 17px; }
.start-side p { color: var(--ink-2); font-size: 15.5px; }
.start-mock { margin-top: 36px; }
.start-mock .stamp { transform: rotate(-10deg); opacity: 1; }
.start-mock .btn-mock { background: var(--ok); }
.start-side > .wa-link { margin-top: 24px; color: var(--ink-2); text-decoration: none; font-weight: 500; }

/* ---------- صفحات النص ---------- */
.doc-page { padding-block: 64px 96px; }
.doc-inner { max-width: 760px; }
.doc-page .muted { margin-top: 8px; font-size: 15px; }
.doc-page h2 { margin-top: 40px; font-size: 21px; }
.doc-page p { margin-top: 10px; color: var(--ink-2); }

/* ---------- الشاشات الصغيرة ---------- */
@media (max-width: 1080px) {
    .top-nav { gap: 20px; }
    .more-grid, .promise-grid { grid-template-columns: repeat(2, 1fr); }
    .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .plan-pop { order: -1; }
    .plan-tag { min-height: 0; }
    .kpis { grid-template-columns: repeat(3, 1fr); }
    .kpi-net { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    body { font-size: 16.5px; }
    section { padding-block: 84px; }
    .top-row { height: 66px; gap: 12px; }
    .logo-img { height: 34px; }
    .menu-btn { display: block; }
    .top-cta .btn-quiet { display: none; }
    .top-nav {
        display: none; position: absolute; top: 66px; inset-inline: 0;
        flex-direction: column; align-items: stretch; gap: 0; margin: 0; color: var(--ink);
        background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px; box-shadow: var(--shadow);
    }
    .top-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; opacity: 1; }
    .top-nav .lang { border: 0; padding-inline-start: 0; }
    .menu-open .top-nav { display: flex; }
    .hero { padding-top: 116px; }
    .hero-visual { margin-top: 56px; }
    .app-body { grid-template-columns: 46px 1fr; min-height: 0; }
    .app-side b { width: 22px; height: 22px; border-radius: 7px; }
    .app-main { padding: 16px; }
    .panels { grid-template-columns: 1fr; }
    .chart { height: 120px; }
    .float-toast { top: auto; bottom: 30%; inset-inline-end: 8px; }
    .phone-hero { width: 170px; bottom: -40px; inset-inline-start: 6px; border-radius: 28px; padding: 7px; }
    .phone-hero .ph-top { border-radius: 22px 22px 0 0; padding-top: 24px; }
    .phone-hero .ph-body { border-radius: 0 0 22px 22px; }
    .stats { grid-template-columns: repeat(2, 1fr); padding-block: 90px 64px; gap: 36px 16px; }
    .pain-grid, .feature-grid, .feature-rev .feature-grid, .country-grid, .faq-grid, .start-grid { grid-template-columns: 1fr; }
    .feature-grid { gap: 40px; }
    .feature-rev .feature-copy { order: 0; }
    .feature { padding-block: 52px; }
    .feature-visual { padding: 28px 20px; }
    .faq-grid { gap: 24px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .foot-brand { grid-column: 1 / -1; }
    .start-side { padding-top: 0; }
    .enterprise { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
    .wrap { padding-inline: 16px; }
    .top-cta .btn-primary { min-height: 40px; padding: 0 14px; font-size: 14.5px; }
    .hero-lead { font-size: 17.5px; }
    .hero-actions .btn { width: 100%; }
    .app-bar { height: 28px; }
    .app-bar i { width: 7px; height: 7px; }
    .app-bar span { font-size: 11px; }
    .app-side { display: none; }
    .app-body { grid-template-columns: 1fr; }
    .kpi { padding: 8px 10px; }
    .kpi strong { font-size: 19px; }
    .kpi small { font-size: 11px; }
    .feed-row { grid-template-columns: 26px 1fr auto; font-size: 12px; }
    .feed-row time { display: none; }
    .av { width: 26px; height: 26px; font-size: 11px; }
    .float-toast { padding: 10px 12px; gap: 8px; inset-inline-end: 4px; }
    .float-toast b { font-size: 13px; }
    .float-toast small { font-size: 11px; }
    .ok { width: 32px; height: 32px; }
    .phone-hero { display: none; }
    .float-toast { bottom: 22%; }
    .pain-col { padding: 28px 22px; }
    .att-grid { grid-template-columns: 1fr; justify-items: center; }
    .att-stats { width: 100%; }
    .bubble { position: static; margin-top: 16px; max-width: none; }
    .docs { height: 420px; }
    .doc { inset-inline: 4% 4%; padding: 16px; }
    .more-grid, .promise-grid { grid-template-columns: 1fr; }
    .calc { padding: 18px 16px; }
    .seg { width: 100%; }
    .seg button { flex: 1; padding: 9px 8px; }
    .calc-field { width: 100%; }
    .calc-spacer { display: none; }
    .calc-emp { min-width: 0; }
    .f-row { grid-template-columns: 1fr; }
    .signup { padding: 22px 18px; }
    .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}
