/* ==========================================================================
   نبض — سیستم طراحی «Liquid Glass» نسخه ۱.۱
   موتور پردازش داده اطلس · توسعه: فاباپارس
   ========================================================================== */

:root {
  --ink: #0a0f1c;
  --ink-2: #283244;
  --muted: #5f6b7e;
  --faint: #9aa4b4;
  --line: rgba(10, 15, 28, .08);
  --line-2: rgba(10, 15, 28, .14);
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --blue: #0084ff;
  --blue-600: #0070dc;
  --blue-2: #319aff;
  --blue-3: #60b1ff;
  --blue-50: #eef6ff;
  --blue-glass: rgba(0, 132, 255, .86);
  --danger: #e5383b;
  --success: #12a150;
  --warning: #e08a00;
  --orange: #ff801e;
  --radius: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --glass-bg: rgba(255, 255, 255, .42);
  --glass-border: rgba(0, 0, 0, .08);
  --glass-hi: inset 0 4px 4px 0 rgba(255, 255, 255, .25);
  --shadow: 0 1px 2px rgba(10, 15, 28, .04);
  --shadow-lg: 0 30px 60px -30px rgba(10, 30, 70, .28);
  --sidebar: 272px;
  --font-head: "Estedad", "Vazirmatn", system-ui, sans-serif;
  --font-body: "Vazirmatn", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); direction: rtl;
  font: 400 15px/1.8 var(--font-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
::selection { background: rgba(0, 132, 255, .18); }
a { color: var(--blue); text-decoration: none; transition: color .15s; }
a:hover { color: var(--blue-600); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.35; margin: 0 0 .5rem; color: var(--ink); }
h1 { font-size: 1.65rem; } h2 { font-size: 1.22rem; } h3 { font-size: 1.02rem; } h4 { font-size: .95rem; }
p { margin: 0 0 .75rem; }
small, .small { font-size: .82rem; }
b, strong { font-weight: 650; }
.muted { color: var(--muted); } .faint { color: var(--faint); }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .82em; letter-spacing: -.01em; }
.hidden { display: none !important; }
.icon { width: 1.12em; height: 1.12em; flex: none; vertical-align: -.2em; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1rem 0; }
code { font-family: ui-monospace, Menlo, monospace; font-size: .85em; background: var(--surface-2); border: 1px solid var(--line); padding: .05rem .35rem; border-radius: 6px; }

/* ---------- layout helpers */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.top { align-items: flex-start; }
.stack > * + * { margin-top: 1rem; }
.stack-sm > * + * { margin-top: .5rem; }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.grow { flex: 1; min-width: 0; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.75rem; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; }
.center { text-align: center; }
@media (max-width: 1080px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .span-2 { grid-column: auto; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } .hide-sm { display: none !important; } }

/* ---------- glass primitive */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(40px) saturate(170%); backdrop-filter: blur(40px) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-hi), 0 18px 40px -28px rgba(10, 30, 70, .35);
}

/* ---------- card */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; min-width: 0; box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; display: flex; align-items: center; gap: .55rem; }
.card-head h2 .icon, .card-head h3 .icon { color: var(--blue); }
.card.flat { box-shadow: none; background: var(--surface-2); }
.card.pad-0 { padding: 0; overflow: hidden; }
.card.soft { background: var(--surface-2); box-shadow: none; }
.card.highlight { border-color: rgba(0, 132, 255, .22); background: linear-gradient(180deg, #f4f9ff 0%, #fff 60%); }
.card.danger { border-color: rgba(229, 56, 59, .25); background: linear-gradient(180deg, #fff6f6, #fff 70%); }
a.card { transition: border-color .2s, transform .2s, box-shadow .2s; }
a.card:hover { border-color: var(--line-2); transform: translateY(-1px); box-shadow: 0 12px 30px -22px rgba(10, 30, 70, .35); }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; position: relative;
  border: 1px solid transparent; background: var(--blue-glass); color: #fff;
  font: 600 .9rem/1.4 var(--font-body); padding: .62rem 1.1rem; border-radius: 14px; cursor: pointer; white-space: nowrap;
  box-shadow: inset 0 4px 4px 0 rgba(255, 255, 255, .3), 0 8px 18px -10px rgba(0, 110, 230, .7);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), background .2s, box-shadow .2s;
}
.btn:hover { color: #fff; background: var(--blue); transform: scale(1.02); }
.btn:active { transform: scale(.99); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(0, 132, 255, .3); outline-offset: 2px; }
.btn.secondary { background: rgba(255, 255, 255, .7); color: var(--ink); border-color: var(--line-2); box-shadow: inset 0 4px 4px 0 rgba(255, 255, 255, .5), 0 1px 2px rgba(10, 15, 28, .05); }
.btn.secondary:hover { background: #fff; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--blue); box-shadow: none; }
.btn.ghost:hover { background: var(--blue-50); color: var(--blue-600); transform: none; }
.btn.danger { background: rgba(229, 56, 59, .92); box-shadow: inset 0 4px 4px rgba(255, 255, 255, .25), 0 8px 18px -10px rgba(229, 56, 59, .7); }
.btn.danger:hover { background: var(--danger); }
.btn.success { background: rgba(18, 161, 80, .92); box-shadow: inset 0 4px 4px rgba(255, 255, 255, .25), 0 8px 18px -10px rgba(18, 161, 80, .6); }
.btn.accent { background: var(--ink); box-shadow: inset 0 4px 4px rgba(255, 255, 255, .12), 0 10px 20px -12px rgba(10, 15, 28, .8); }
.btn.accent:hover { background: #1a2233; }
.btn.sm { padding: .36rem .72rem; font-size: .8rem; border-radius: 10px; }
.btn.lg { padding: .9rem 1.45rem; font-size: 1rem; border-radius: 16px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn .arrow { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; margin-inline-start: .15rem; }
.btn .arrow .icon { width: 14px; height: 14px; stroke-width: 2.2; }

/* ---------- badges (نشانگر وضعیت با نقطه، بدون رنگ‌بازی) */
.badge {
  --c: #5f6b7e;
  display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 600; line-height: 1.7;
  padding: .1rem .6rem; border-radius: 99px; white-space: nowrap;
  color: color-mix(in srgb, var(--c) 82%, #000); background: color-mix(in srgb, var(--c) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--c) 16%, transparent);
}
.badge .icon { width: 12px; height: 12px; }
.badge.red { --c: #e5383b; } .badge.orange { --c: #f06a00; } .badge.amber { --c: #d98a00; }
.badge.green { --c: #12a150; } .badge.teal { --c: #0f9d8a; } .badge.cyan { --c: #0891b2; }
.badge.blue { --c: #0084ff; } .badge.indigo { --c: #4f5bd5; } .badge.purple, .badge.violet { --c: #7c4ddb; }
.badge.pink { --c: #d6336c; } .badge.gray { --c: #6b7588; }
.badge.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; padding: .18rem .62rem; border-radius: 99px; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); }
.tier-pill { display: inline-flex; align-items: center; gap: .3rem; font: 700 .7rem/1.6 var(--font-head); padding: .08rem .55rem; border-radius: 7px; color: #fff; letter-spacing: .02em; box-shadow: inset 0 2px 2px rgba(255, 255, 255, .25); }

/* ---------- forms */
label { display: block; font-weight: 600; font-size: .83rem; margin-bottom: .35rem; color: var(--ink-2); }
.field { margin-bottom: .95rem; }
.hint { font-size: .77rem; color: var(--muted); margin-top: .3rem; }
input[type=text], input[type=tel], input[type=password], input[type=email], input[type=number], input[type=datetime-local], input[type=date], input[type=time], input[type=search], select, textarea {
  width: 100%; font: 400 .92rem/1.5 var(--font-body); padding: .66rem .85rem; color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s;
  box-shadow: inset 0 1px 2px rgba(10, 15, 28, .03);
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(0, 132, 255, .12); }
textarea { min-height: 96px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235f6b7e' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left .8rem center; padding-left: 2rem; }
.check { display: flex; align-items: center; gap: .5rem; font-weight: 500; cursor: pointer; margin: 0; }
.check input { width: 17px; height: 17px; accent-color: var(--blue); }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .5rem; }
.option-card { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem .95rem; border: 1px solid var(--line-2); border-radius: 14px; cursor: pointer; background: #fff; font-weight: 500; margin: 0; transition: .15s; }
.option-card:hover { border-color: rgba(0, 132, 255, .4); }
.option-card:has(input:checked) { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(0, 132, 255, .08); }
.option-card input { margin-top: .35rem; accent-color: var(--blue); }
.option-card strong { display: block; font-family: var(--font-head); }
.option-card small { display: block; }
.errors { background: #fff5f5; border: 1px solid rgba(229, 56, 59, .25); color: #a4161a; padding: .75rem 1rem; border-radius: 14px; margin-bottom: 1rem; font-size: .88rem; }
.errors ul { margin: 0; padding-inline-start: 1.2rem; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }

/* ---------- alerts */
.alert { display: flex; gap: .65rem; align-items: flex-start; padding: .8rem 1rem; border-radius: 14px; font-size: .88rem; border: 1px solid; background: #fff; }
.alert > .icon { margin-top: .2rem; }
.alert.success { border-color: rgba(18, 161, 80, .25); background: #f3fbf6; color: #0b6b36; }
.alert.info { border-color: rgba(0, 132, 255, .22); background: #f3f8ff; color: #0558b0; }
.alert.warning { border-color: rgba(224, 138, 0, .28); background: #fffaf0; color: #8a5300; }
.alert.danger { border-color: rgba(229, 56, 59, .25); background: #fff5f5; color: #a4161a; }
.demo-bar { position: relative; z-index: 60; background: var(--ink); color: #c9d3e3; font-size: .78rem; text-align: center; padding: .4rem 16px; }
.demo-bar a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.table th { text-align: start; font: 600 .74rem/1.4 var(--font-body); color: var(--muted); padding: .75rem .9rem; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface-2); }
.table td { padding: .78rem .9rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover td { background: #fafcff; }

/* ---------- stats */
.stat { display: flex; gap: .9rem; align-items: center; }
.stat .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; border: 1px solid rgba(0, 132, 255, .12); }
.stat .ic .icon { width: 21px; height: 21px; }
.stat .v { font: 700 1.5rem/1.2 var(--font-head); }
.stat .l { font-size: .78rem; color: var(--muted); }
.ic.red { background: #fff1f1; color: var(--danger); border-color: rgba(229, 56, 59, .14); }
.ic.amber { background: #fff7e8; color: var(--warning); border-color: rgba(224, 138, 0, .15); }
.ic.indigo { background: #f0f2ff; color: #4f5bd5; border-color: rgba(79, 91, 213, .14); }
.ic.green { background: #eefaf3; color: var(--success); border-color: rgba(18, 161, 80, .14); }
.ic.purple { background: #f5f0ff; color: #7c4ddb; border-color: rgba(124, 77, 219, .14); }
.ic.cyan { background: #ecf9fc; color: #0891b2; border-color: rgba(8, 145, 178, .14); }
.progress { height: 6px; background: #edf1f6; border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-3), var(--blue)); border-radius: 99px; transition: width .6s; }

/* ---------- list items */
.list { display: flex; flex-direction: column; }
.list-item { display: flex; gap: .8rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--line); color: inherit; }
.list-item:last-child { border-bottom: 0; }
a.list-item:hover { color: inherit; background: var(--surface-2); margin: 0 -.65rem; padding-inline: .65rem; border-radius: 12px; border-color: transparent; }
.avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 700 .95rem var(--font-head); background: linear-gradient(145deg, var(--blue-3), var(--blue)); color: #fff; flex: none; box-shadow: inset 0 3px 3px rgba(255, 255, 255, .3); }
.avatar.sm { width: 30px; height: 30px; font-size: .78rem; border-radius: 9px; }
.empty { text-align: center; color: var(--muted); padding: 2.2rem 1rem; font-size: .88rem; }
.empty .icon { width: 30px; height: 30px; color: var(--faint); margin: 0 auto .6rem; display: block; stroke-width: 1.4; }

/* ---------- journey */
.journey { display: flex; overflow-x: auto; padding: .2rem 0 .4rem; scrollbar-width: none; }
.journey .step { flex: 1; min-width: 84px; text-align: center; position: relative; font-size: .72rem; color: var(--faint); }
.journey .step::before { content: ""; position: absolute; top: 13px; right: 50%; width: 100%; height: 2px; background: #e6ebf2; }
.journey .step:first-child::before { display: none; }
.journey .step .b { width: 28px; height: 28px; border-radius: 50%; margin: 0 auto .4rem; display: grid; place-items: center; background: #fff; border: 1.5px solid #dbe2ec; color: var(--faint); position: relative; z-index: 1; font: 700 .72rem var(--font-head); }
.journey .step .b .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.journey .step.done { color: var(--ink-2); }
.journey .step.done .b { background: var(--blue); border-color: var(--blue); color: #fff; }
.journey .step.done::before, .journey .step.current::before { background: var(--blue); }
.journey .step.current { color: var(--blue); font-weight: 700; }
.journey .step.current .b { border: 2px solid var(--blue); color: var(--blue); box-shadow: 0 0 0 5px rgba(0, 132, 255, .12); }

/* ---------- timeline */
.timeline { position: relative; padding-inline-start: 2rem; }
.timeline::before { content: ""; position: absolute; top: .5rem; bottom: .5rem; right: .78rem; width: 1px; background: var(--line-2); }
.tl-item { position: relative; padding-bottom: 1.15rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { --c: #9aa4b4; position: absolute; right: -2rem; top: .15rem; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: #fff; border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); color: var(--c); box-shadow: 0 2px 6px -3px color-mix(in srgb, var(--c) 60%, transparent); }
.tl-dot .icon { width: 13px; height: 13px; }
.tl-dot.red { --c: #e5383b; } .tl-dot.orange { --c: #f06a00; } .tl-dot.blue { --c: #0084ff; } .tl-dot.indigo { --c: #4f5bd5; }
.tl-dot.teal { --c: #0f9d8a; } .tl-dot.green { --c: #12a150; } .tl-dot.purple, .tl-dot.violet { --c: #7c4ddb; } .tl-dot.cyan { --c: #0891b2; } .tl-dot.pink { --c: #d6336c; } .tl-dot.gray { --c: #6b7588; }
.tl-title { font-weight: 600; font-size: .9rem; }
.tl-meta { font-size: .74rem; color: var(--faint); margin-top: .1rem; }
.tl-body { font-size: .84rem; color: var(--muted); margin-top: .15rem; }

/* ---------- panel layout */
.app-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--bg); overflow: hidden; }
.app-bg::before, .app-bg::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; }
.app-bg::before { width: 620px; height: 420px; top: -220px; left: -140px; background: var(--blue-3); }
.app-bg::after { width: 420px; height: 320px; top: -160px; left: 260px; background: var(--blue-2); opacity: .18; }
.app { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar); position: fixed; top: 12px; bottom: 12px; right: 12px; z-index: 40; display: flex; flex-direction: column; overflow-y: auto; border-radius: 22px; background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(40px) saturate(170%); backdrop-filter: blur(40px) saturate(170%); border: 1px solid var(--glass-border); box-shadow: var(--glass-hi), 0 30px 60px -40px rgba(10, 30, 70, .4); transition: transform .25s cubic-bezier(.2, .8, .2, 1); scrollbar-width: thin; }
.sidebar .brand { display: flex; gap: .7rem; align-items: center; padding: 1.15rem 1.15rem .8rem; color: var(--ink); }
.logo-mark { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(150deg, var(--blue-3) 0%, var(--blue) 55%, #0059c9 100%); display: grid; place-items: center; color: #fff; flex: none; box-shadow: inset 0 4px 4px rgba(255, 255, 255, .35), 0 8px 16px -8px rgba(0, 110, 230, .8); }
.logo-mark .icon { width: 21px; height: 21px; stroke-width: 2; }
.brand b { display: block; font: 700 1.12rem/1.2 var(--font-head); }
.brand small { display: block; font-size: .66rem; color: var(--muted); line-height: 1.4; }
.nav { padding: .2rem .6rem 1rem; flex: 1; }
.nav-group { font: 600 .66rem/1 var(--font-body); color: var(--faint); padding: 1.1rem .75rem .45rem; letter-spacing: .02em; }
.nav a { display: flex; align-items: center; gap: .65rem; padding: .5rem .75rem; border-radius: 11px; color: var(--ink-2); font-size: .86rem; font-weight: 500; margin-bottom: 1px; transition: background .15s, color .15s; }
.nav a .icon { color: var(--faint); transition: color .15s; }
.nav a:hover { background: rgba(10, 15, 28, .04); color: var(--ink); }
.nav a:hover .icon { color: var(--ink-2); }
.nav a.active { background: #fff; color: var(--ink); font-weight: 650; box-shadow: 0 1px 2px rgba(10, 15, 28, .06), inset 0 0 0 1px var(--line); }
.nav a.active .icon { color: var(--blue); }
.nav a .count { margin-inline-start: auto; background: var(--danger); color: #fff; font-size: .66rem; border-radius: 99px; padding: 0 .45rem; font-weight: 700; line-height: 1.6; }
.sidebar .foot { padding: .9rem 1.15rem 1.1rem; font-size: .66rem; color: var(--faint); border-top: 1px solid var(--line); line-height: 1.8; }
.main { flex: 1; margin-right: calc(var(--sidebar) + 24px); min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 12px; z-index: 30; margin: 12px 12px 0 12px; border-radius: 18px; background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(40px) saturate(170%); backdrop-filter: blur(40px) saturate(170%); border: 1px solid var(--glass-border); box-shadow: var(--glass-hi); }
.topbar .inner { display: flex; align-items: center; gap: .75rem; padding: .55rem .9rem .55rem 1.1rem; }
.topbar h1 { font-size: 1rem; margin: 0; }
.content { padding: 1.6rem 1.4rem 1.4rem; flex: 1; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.page-head h1 { margin: 0; font-size: 1.75rem; }
.page-head p { margin: .3rem 0 0; color: var(--muted); font-size: .9rem; }
.menu-btn { display: none; background: none; border: 0; padding: .3rem; cursor: pointer; color: var(--ink); }
.bell { position: relative; color: var(--muted); padding: .4rem; border-radius: 10px; }
.bell:hover { background: rgba(10, 15, 28, .04); }
.bell .dot { position: absolute; top: 1px; left: 1px; min-width: 16px; height: 16px; background: var(--danger); color: #fff; border-radius: 99px; font-size: .6rem; display: grid; place-items: center; font-weight: 700; padding: 0 3px; border: 2px solid #fff; }
.user-chip { display: flex; align-items: center; gap: .55rem; font-size: .84rem; line-height: 1.35; }
.overlay { display: none; }
.app-footer { padding: 1rem 1.4rem 1.4rem; font-size: .72rem; color: var(--faint); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 1080px) {
  .sidebar { transform: translateX(calc(100% + 24px)); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .overlay { display: block; position: fixed; inset: 0; background: rgba(10, 15, 28, .25); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); z-index: 35; }
  .main { margin-right: 0; }
  .menu-btn { display: inline-flex; }
  .content { padding: 1.2rem 16px 6.5rem; }
  .topbar { margin: 10px 10px 0; top: 10px; }
  .page-head h1 { font-size: 1.4rem; }
}

/* ---------- SOS */
.sos-fab { position: fixed; left: 22px; bottom: 22px; z-index: 50; width: 64px; height: 64px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(229, 56, 59, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font: 800 1rem var(--font-head); letter-spacing: .06em; cursor: pointer; box-shadow: inset 0 4px 4px rgba(255, 255, 255, .3), 0 14px 30px -10px rgba(229, 56, 59, .8); transition: transform .2s; }
.sos-fab::after { content: ""; position: absolute; inset: -6px; border-radius: 26px; border: 2px solid rgba(229, 56, 59, .5); animation: ring 2.4s infinite; }
.sos-fab:hover { transform: scale(1.04); }
@keyframes ring { 0% { opacity: .9; transform: scale(.94); } 80%, 100% { opacity: 0; transform: scale(1.22); } }
.sos-big { width: 100%; padding: 1rem; border-radius: 18px; border: 0; background: rgba(229, 56, 59, .94); color: #fff; font: 700 1.02rem var(--font-head); display: flex; align-items: center; justify-content: center; gap: .6rem; cursor: pointer; box-shadow: inset 0 4px 4px rgba(255, 255, 255, .28), 0 16px 30px -16px rgba(229, 56, 59, .9); transition: transform .2s; }
.sos-big:hover { transform: scale(1.01); }
dialog { border: 1px solid var(--glass-border); border-radius: 24px; padding: 0; width: min(520px, calc(100% - 32px)); background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px); box-shadow: var(--glass-hi), 0 40px 80px -30px rgba(10, 15, 28, .45); }
dialog::backdrop { background: rgba(10, 15, 28, .35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog .dlg { padding: 1.4rem; }
@media (max-width: 1080px) { .sos-fab { bottom: calc(84px + env(safe-area-inset-bottom)); left: 16px; width: 58px; height: 58px; border-radius: 19px; } }

/* ---------- map */
.map { height: 340px; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; background: linear-gradient(135deg, #eef3f9, #f7f9fc); z-index: 1; }
.map.tall { height: 560px; }
.map.short { height: 240px; }
.leaflet-container { font-family: var(--font-body); }
.pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; border: 3px solid #fff; box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .35); }
.pin span { transform: rotate(45deg); color: #fff; font: 700 12px var(--font-head); }

/* ---------- photos */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .75rem; }
.photo { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.photo img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.photo .cap { padding: .5rem .65rem; font-size: .74rem; }

/* ---------- chat */
.chat { display: flex; flex-direction: column; gap: .55rem; max-height: 60vh; overflow-y: auto; padding: .3rem; }
.msg { max-width: 76%; padding: .6rem .9rem; border-radius: 16px 16px 16px 6px; font-size: .9rem; background: var(--surface-2); border: 1px solid var(--line); align-self: flex-end; }
.msg.me { align-self: flex-start; background: var(--blue-glass); color: #fff; border-color: transparent; border-radius: 16px 16px 6px 16px; box-shadow: inset 0 3px 3px rgba(255, 255, 255, .22); }
.msg.sys { align-self: center; background: transparent; border: 1px dashed var(--line-2); color: var(--muted); font-size: .78rem; max-width: 90%; border-radius: 12px; }
.msg .who { font-size: .7rem; opacity: .7; margin-bottom: .1rem; font-weight: 600; }
.msg .t { font-size: .64rem; opacity: .6; margin-top: .2rem; }

/* ---------- tabs */
.tabs { display: inline-flex; gap: .2rem; padding: .25rem; margin-bottom: 1.1rem; overflow-x: auto; max-width: 100%; border-radius: 14px; background: rgba(10, 15, 28, .04); border: 1px solid var(--line); scrollbar-width: none; }
.tabs a { padding: .4rem .85rem; font-size: .84rem; color: var(--muted); white-space: nowrap; font-weight: 500; border-radius: 10px; }
.tabs a:hover { color: var(--ink); }
.tabs a.active { color: var(--ink); background: #fff; font-weight: 650; box-shadow: 0 1px 3px rgba(10, 15, 28, .1); }

/* ---------- charts */
.spark { width: 100%; height: 70px; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 70px; }
.bars span { flex: 1; background: linear-gradient(180deg, var(--blue-3), var(--blue)); border-radius: 6px 6px 2px 2px; min-height: 3px; opacity: .85; }
.bars span.hi { background: linear-gradient(180deg, #ff8a8c, var(--danger)); }

/* ---------- auth (ورود / ثبت‌نام / قفل سایت) */
.auth-screen { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; position: relative; overflow: hidden; background: #fff; }
.auth-card { width: 100%; max-width: 430px; padding: 2rem; border-radius: 26px; position: relative; z-index: 2; background: rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(50px) saturate(170%); backdrop-filter: blur(50px) saturate(170%); border: 1px solid var(--glass-border); box-shadow: var(--glass-hi), 0 40px 80px -40px rgba(10, 30, 70, .45); }
.auth-card h1 { font-size: 1.6rem; }
.auth-brand { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.4rem; color: var(--ink); }
.auth-brand b { font: 700 1.2rem/1.2 var(--font-head); display: block; }
.auth-brand small { color: var(--muted); font-size: .7rem; }
.auth-foot { position: relative; z-index: 2; margin-top: 1.3rem; text-align: center; font-size: .72rem; color: var(--faint); }
.auth-screen .orb { position: absolute; width: 640px; height: 640px; left: -160px; bottom: -240px; z-index: 1; opacity: .9; }

/* ---------- glow & orb (هویت بصری) */
.glow { position: absolute; pointer-events: none; z-index: 0; inset: 0; overflow: hidden; }
.glow i { position: absolute; border-radius: 50%; filter: blur(80px); }
.glow i:nth-child(1) { width: 780px; height: 520px; top: -300px; left: -220px; background: #60b1ff; opacity: .55; }
.glow i:nth-child(2) { width: 520px; height: 380px; top: -200px; left: 240px; background: #319aff; opacity: .28; }
.glow i:nth-child(3) { width: 360px; height: 260px; top: 60px; left: -120px; background: #9fd0ff; opacity: .35; }

.orb { position: relative; aspect-ratio: 1; isolation: isolate; }
.orb .core {
  position: absolute; inset: 12%; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95) 0 6%, rgba(255, 255, 255, 0) 22%),
    radial-gradient(circle at 70% 75%, rgba(0, 60, 180, .55), rgba(0, 60, 180, 0) 45%),
    conic-gradient(from 210deg, #0084ff, #60b1ff, #b8dcff, #319aff, #0059c9, #0084ff);
  filter: saturate(140%);
  box-shadow: inset -30px -40px 80px rgba(0, 40, 140, .45), inset 20px 30px 60px rgba(255, 255, 255, .55), 0 60px 120px -40px rgba(0, 110, 230, .55);
  animation: orb-spin 22s linear infinite;
}
.orb .sheen { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 50% 110%, rgba(170, 220, 255, .9), transparent 55%), radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .7), transparent 30%); mix-blend-mode: screen; animation: orb-breathe 7s ease-in-out infinite; }
.orb .ring { position: absolute; inset: 4%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); box-shadow: inset 0 0 40px rgba(96, 177, 255, .35); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.orb .halo { position: absolute; inset: -6%; border-radius: 50%; background: radial-gradient(circle, rgba(49, 154, 255, .38), transparent 62%); filter: blur(30px); z-index: -1; animation: orb-breathe 7s ease-in-out infinite reverse; }
.orb .blob { position: absolute; border-radius: 50%; filter: blur(22px); mix-blend-mode: screen; opacity: .8; }
.orb .blob.a { width: 46%; height: 46%; top: 16%; right: 18%; background: #7cc1ff; animation: orb-float 11s ease-in-out infinite; }
.orb .blob.b { width: 36%; height: 36%; bottom: 18%; left: 20%; background: #2f6bff; animation: orb-float 13s ease-in-out infinite reverse; }
@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes orb-breathe { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes orb-float { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(-8%, 6%); } 66% { transform: translate(6%, -5%); } }
@media (prefers-reduced-motion: reduce) { .orb *, .sos-fab::after, .lp-float { animation: none !important; } }

/* ==========================================================================
   صفحه معرفی
   ========================================================================== */
.lp { background: #fff; overflow-x: clip; position: relative; }
.lp > .glow { height: 1100px; bottom: auto; }
.lp-wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }
@media (max-width: 720px) { .lp-wrap { padding: 0 18px; } }
.lp-nav { position: sticky; top: 30px; z-index: 50; display: flex; justify-content: center; margin-top: 30px; pointer-events: none; }
.lp-nav .bar { pointer-events: auto; width: fit-content; max-width: calc(100% - 24px); display: flex; align-items: center; gap: 1.6rem; padding: .5rem .5rem .5rem 1rem; padding-inline-start: 1.1rem; border-radius: 16px; background: rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(50px) saturate(180%); backdrop-filter: blur(50px) saturate(180%); border: 1px solid rgba(0, 0, 0, .1); box-shadow: inset 0 4px 4px 0 rgba(255, 255, 255, .25), 0 20px 40px -30px rgba(10, 30, 70, .35); }
.lp-nav .logo { display: flex; align-items: center; gap: .5rem; font: 700 1.18rem var(--font-head); color: var(--ink); }
.lp-nav .logo .logo-mark { width: 30px; height: 30px; border-radius: 9px; }
.lp-nav .logo .logo-mark .icon { width: 17px; height: 17px; }
.lp-nav .links { display: flex; gap: 1.5rem; font-size: .9rem; }
.lp-nav .links a { color: var(--ink-2); font-weight: 500; }
.lp-nav .links a:hover { color: var(--ink); }
.btn-glass { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem .55rem .75rem; border-radius: 12px; font: 600 .86rem var(--font-body); color: var(--ink); background: rgba(255, 255, 255, .55); border: 1px solid rgba(0, 0, 0, .1); box-shadow: inset 0 4px 4px 0 rgba(255, 255, 255, .45); transition: transform .2s, background .2s; }
.btn-glass:hover { background: #fff; color: var(--ink); transform: scale(1.02); }
.btn-glass .icon { width: 15px; height: 15px; }
@media (max-width: 860px) { .lp-nav .links { display: none; } .lp-nav .bar { gap: .9rem; } }

.lp-hero { position: relative; z-index: 1; padding: 40px 0 40px; min-height: 740px; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.lp-kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .84rem; color: var(--ink-2); padding: .35rem .8rem .35rem .45rem; border-radius: 99px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); box-shadow: inset 0 3px 3px rgba(255, 255, 255, .5); }
.lp-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(18, 161, 80, .15); }
.lp-kicker b { font-family: var(--font-head); }
.lp-h1 { font: 700 clamp(2.5rem, 5.2vw, 4.7rem)/1.14 var(--font-head); color: var(--ink); margin: 1.4rem 0 1.2rem; }
.lp-h1 .soft { color: #8e98aa; }
.lp-h1 .accent { background: linear-gradient(95deg, #0059c9 0%, #0084ff 45%, #60b1ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-sub { font-size: 1.12rem; line-height: 1.95; color: var(--muted); max-width: 590px; margin: 0; }
.lp-cta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 2.2rem; }
.btn-hero { display: inline-flex; align-items: center; gap: .8rem; padding: .7rem .75rem .7rem 1.3rem; padding-inline-start: 1.4rem; border-radius: 16px; font: 600 1rem var(--font-body); color: #fff; background: rgba(0, 132, 255, .8); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); box-shadow: inset 0 4px 4px 0 rgba(255, 255, 255, .35), 0 20px 40px -18px rgba(0, 110, 230, .75); transition: transform .25s cubic-bezier(.2, .8, .2, 1), background .2s; }
.btn-hero:hover { transform: scale(1.02); color: #fff; background: rgba(0, 132, 255, .92); }
.btn-hero .arrow { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; }
.btn-hero .arrow .icon { width: 16px; height: 16px; stroke-width: 2.3; }
.link-quiet { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink-2); font-weight: 600; padding: .7rem .9rem; border-radius: 14px; }
.link-quiet:hover { background: rgba(10, 15, 28, .04); color: var(--ink); }
.lp-proof { display: flex; gap: 1.8rem; margin-top: 2.6rem; flex-wrap: wrap; }
.lp-proof div { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.lp-proof b { display: block; font: 700 1.05rem var(--font-head); color: var(--ink); }
.lp-proof .sep { width: 1px; background: var(--line-2); }

.lp-visual { position: relative; height: 640px; }
.lp-visual .orb { position: absolute; width: 125%; max-width: 760px; top: 50%; left: 50%; transform: translate(-46%, -50%); }
.lp-float { position: absolute; z-index: 3; padding: .8rem .95rem; border-radius: 16px; min-width: 210px; font-size: .8rem; background: rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); border: 1px solid rgba(255, 255, 255, .65); box-shadow: inset 0 4px 4px rgba(255, 255, 255, .35), 0 24px 48px -24px rgba(0, 40, 120, .45); animation: orb-float 12s ease-in-out infinite; }
.lp-float .t { font: 600 .72rem var(--font-body); color: var(--muted); display: flex; align-items: center; gap: .35rem; }
.lp-float .v { font: 700 .98rem/1.45 var(--font-head); color: var(--ink); margin-top: .15rem; }
.lp-float .progress { margin-top: .5rem; background: rgba(255, 255, 255, .6); }
.lp-float.f1 { top: 12%; right: 4%; }
.lp-float.f2 { top: 44%; left: -2%; animation-delay: -4s; }
.lp-float.f3 { bottom: 10%; right: 12%; animation-delay: -8s; }
@media (max-width: 1080px) {
  .lp-hero { min-height: 0; padding-top: 50px; }
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-visual { height: 460px; order: -1; margin-bottom: -40px; }
  .lp-visual .orb { width: 90%; max-width: 480px; transform: translate(-50%, -50%); }
  .lp-float.f2 { left: 2%; }
}
@media (max-width: 560px) { .lp-visual { height: 380px; } .lp-float { min-width: 170px; padding: .6rem .75rem; } .lp-float.f1 { right: 0; } .lp-float.f3 { right: 4%; } }

.lp-trust { padding: 40px 0 30px; text-align: center; }
.lp-trust p { font-size: .82rem; color: var(--faint); margin-bottom: 1.4rem; }
.lp-trust .logos { display: flex; justify-content: center; align-items: center; gap: 100px; flex-wrap: wrap; row-gap: 26px; }
.lp-trust .logos span { display: inline-flex; align-items: center; gap: .55rem; font: 700 1.05rem var(--font-head); color: #9aa3b2; filter: grayscale(1); transition: color .2s; }
.lp-trust .logos span:hover { color: var(--ink-2); }
.lp-trust .logos .icon { width: 24px; height: 24px; stroke-width: 1.6; }
@media (max-width: 860px) { .lp-trust .logos { gap: 36px; } }

.lp-sec { padding: 110px 0; position: relative; }
.lp-sec.tint { background: #f7f9fc; border-block: 1px solid var(--line); }
.lp-head { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, .8fr); gap: 32px; align-items: end; margin-bottom: 56px; }
.lp-num { font: 600 .8rem var(--font-body); color: var(--blue); display: flex; align-items: center; gap: .6rem; }
.lp-num::after { content: ""; flex: 1; height: 1px; background: rgba(0, 132, 255, .3); max-width: 80px; }
.lp-title { font: 700 clamp(1.8rem, 3.2vw, 2.9rem)/1.25 var(--font-head); margin: 0; }
.lp-lead { color: var(--muted); margin: 0; font-size: 1rem; line-height: 1.95; }
@media (max-width: 960px) { .lp-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; } .lp-sec { padding: 72px 0; } }

.lp-journey { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line-2); }
.lp-journey div { padding: 1.4rem 1.1rem 0 1.1rem; border-inline-start: 1px solid var(--line); position: relative; }
.lp-journey div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.lp-journey div::before { content: ""; position: absolute; top: -5px; right: 0; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.lp-journey div:first-child::before { right: 0; }
.lp-journey b { display: block; font: 700 2.2rem/1 var(--font-head); color: #d7dee8; margin-bottom: .8rem; }
.lp-journey h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.lp-journey p { font-size: .86rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .lp-journey { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; } .lp-journey div:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; } }

.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
@media (max-width: 960px) { .lp-split { grid-template-columns: 1fr; gap: 40px; } }
.lp-rows { border-top: 1px solid var(--line); }
.lp-rows div { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.lp-rows .icon { width: 22px; height: 22px; color: var(--blue); margin-top: .2rem; }
.lp-rows b { display: block; font: 700 1rem var(--font-head); }
.lp-rows span { font-size: .88rem; color: var(--muted); }

.device { width: 330px; max-width: 100%; margin: 0 auto; border-radius: 46px; padding: 10px; background: linear-gradient(145deg, #1c2433, #0a0f1c); box-shadow: 0 50px 100px -40px rgba(10, 30, 70, .55), inset 0 0 0 1px rgba(255, 255, 255, .08); position: relative; }
.device .scr { border-radius: 37px; overflow: hidden; background: #f6f8fb; min-height: 640px; position: relative; }
.device .notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 20px; background: #0a0f1c; z-index: 5; }
.mini-top { background: linear-gradient(160deg, #0a0f1c, #16233a); color: #fff; padding: 48px 16px 18px; border-radius: 0 0 22px 22px; }
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .8rem; margin: 10px 12px; font-size: .78rem; }
.mini-photo { height: 132px; border-radius: 12px; background: linear-gradient(135deg, #cfe6ff 0%, #87bfff 60%, #3f8ef5 100%); position: relative; overflow: hidden; }
.mini-photo::after { content: "2026-09-27 09:41 · 35.7330, 51.4030 ±8m"; position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 8px; font: 500 9px var(--font-body); color: #fff; background: rgba(0, 0, 0, .45); direction: ltr; text-align: left; }
.mini-photo .car { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 60%; height: 36px; border-radius: 12px 16px 6px 6px; background: rgba(255, 255, 255, .85); }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento > div { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1.6rem; position: relative; overflow: hidden; }
.bento h3 { font-size: 1.15rem; }
.bento p { color: var(--muted); font-size: .9rem; }
.bento .b1 { grid-column: span 4; } .bento .b2 { grid-column: span 2; } .bento .b3 { grid-column: span 2; } .bento .b4 { grid-column: span 2; } .bento .b5 { grid-column: span 2; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr; } .bento > div { grid-column: auto !important; } }
.ring-chart { width: 120px; height: 120px; }

.lp-roles { border-top: 1px solid var(--line-2); }
.lp-roles div { display: grid; grid-template-columns: 56px 220px 1fr auto; gap: 1rem; align-items: center; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.lp-roles .icon { width: 24px; height: 24px; color: var(--ink-2); }
.lp-roles b { font: 700 1.05rem var(--font-head); }
.lp-roles span { color: var(--muted); font-size: .9rem; }
.lp-roles em { font-style: normal; font-size: .76rem; color: var(--faint); }
@media (max-width: 760px) { .lp-roles div { grid-template-columns: 36px 1fr; } .lp-roles span { grid-column: 2; } .lp-roles em { display: none; } }

.lp-prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-price { border-radius: 24px; padding: 1.6rem; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.lp-price .name { font: 700 1rem var(--font-head); display: flex; align-items: center; justify-content: space-between; }
.lp-price .amt { font: 700 2.1rem/1.1 var(--font-head); margin: 1.1rem 0 .2rem; }
.lp-price .amt small { font: 500 .8rem var(--font-body); color: var(--muted); }
.lp-price ul { list-style: none; padding: 0; margin: 1.2rem 0 1.4rem; font-size: .86rem; flex: 1; border-top: 1px solid var(--line); }
.lp-price li { padding: .5rem 0; border-bottom: 1px dashed var(--line); display: flex; gap: .5rem; }
.lp-price li .icon { color: var(--blue); margin-top: .3rem; width: 14px; height: 14px; stroke-width: 2.4; }
.lp-price.pro { background: linear-gradient(170deg, #0a1a33 0%, #0a0f1c 70%); color: #d8e2f0; border-color: transparent; position: relative; overflow: hidden; }
.lp-price.pro::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; top: -160px; left: -80px; background: #0084ff; filter: blur(80px); opacity: .55; }
.lp-price.pro > * { position: relative; }
.lp-price.pro .amt, .lp-price.pro .name { color: #fff; }
.lp-price.pro ul, .lp-price.pro li { border-color: rgba(255, 255, 255, .1); }
.lp-price.pro li .icon { color: #60b1ff; }
.lp-price.pro .amt small { color: #8fa3bf; }
@media (max-width: 1080px) { .lp-prices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lp-prices { grid-template-columns: 1fr; } }

.lp-dark { background: #0a0f1c; color: #c3cedd; border-radius: 36px; padding: 80px 64px; position: relative; overflow: hidden; }
.lp-dark::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); }
.lp-dark::after { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; top: -240px; right: -120px; background: #0084ff; filter: blur(110px); opacity: .45; }
.lp-dark > * { position: relative; z-index: 1; }
.lp-dark .lp-title { color: #fff; }
.lp-dark .lp-num { color: #60b1ff; }
.lp-sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .1); }
.lp-sec-grid div { padding: 1.4rem 1.4rem 1.4rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.lp-sec-grid b { display: block; color: #fff; font: 700 1rem var(--font-head); margin-bottom: .3rem; }
.lp-sec-grid span { font-size: .86rem; color: #8fa3bf; }
.lp-sec-grid .icon { width: 22px; height: 22px; color: #60b1ff; margin-bottom: .7rem; }
@media (max-width: 860px) { .lp-dark { padding: 48px 24px; border-radius: 26px; } .lp-sec-grid { grid-template-columns: 1fr; } }

.lp-road { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.lp-road div { padding: 1.3rem 1.2rem 0 1.4rem; border-inline-start: 1px solid var(--line); }
.lp-road div:first-child { border: 0; padding-inline-start: 0; }
.lp-road .tag { font: 600 .74rem var(--font-body); color: var(--muted); }
.lp-road .tag.now { color: var(--success); }
.lp-road h3 { font-size: 1.15rem; margin: .4rem 0 .6rem; }
.lp-road ul { margin: 0; padding: 0; list-style: none; font-size: .86rem; color: var(--muted); }
.lp-road li { padding: .28rem 0; }
@media (max-width: 960px) { .lp-road { grid-template-columns: 1fr 1fr; row-gap: 2rem; } .lp-road div:nth-child(odd) { border: 0; padding-inline-start: 0; } }

.lp-final { position: relative; border-radius: 36px; padding: 80px 40px; text-align: center; overflow: hidden; background: #f3f8ff; border: 1px solid rgba(0, 132, 255, .15); }
.lp-final .orb { position: absolute; width: 440px; top: -300px; left: 50%; transform: translateX(-50%); opacity: .9; }
.lp-final > *:not(.orb) { position: relative; z-index: 2; }
.lp-final h2 { font: 700 clamp(1.8rem, 3.5vw, 3rem)/1.25 var(--font-head); margin: 120px 0 .8rem; }
.lp-foot { padding: 60px 0 40px; font-size: .84rem; color: var(--muted); }
.lp-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.lp-foot h4 { font-size: .86rem; margin-bottom: .8rem; }
.lp-foot a { color: var(--ink-2); display: block; padding: .15rem 0; }
.lp-foot .bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 22px; font-size: .76rem; color: var(--faint); }
@media (max-width: 860px) { .lp-foot .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- demo role picker */
.role-card { display: flex; gap: .95rem; align-items: flex-start; text-align: start; width: 100%; font: inherit; cursor: pointer; border: 1px solid var(--line); background: rgba(255, 255, 255, .7); border-radius: 20px; padding: 1.15rem; transition: .2s; color: inherit; box-shadow: inset 0 4px 4px rgba(255, 255, 255, .4); }
.role-card:hover { border-color: rgba(0, 132, 255, .35); background: #fff; transform: translateY(-2px); box-shadow: 0 20px 40px -28px rgba(0, 60, 150, .45); }
.role-card .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; border: 1px solid rgba(0, 132, 255, .12); }
.role-card b { display: block; font: 700 .98rem var(--font-head); }
.role-card span { font-size: .8rem; color: var(--muted); }

/* ---------- field (PWA) */
.field-app { max-width: 560px; margin: 0 auto; min-height: 100vh; padding-bottom: 5.5rem; }
.field-top { background: linear-gradient(160deg, #0a0f1c 0%, #10213d 100%); color: #fff; padding: 1rem 16px 1.2rem; border-radius: 0 0 26px 26px; position: relative; overflow: hidden; }
.field-top::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; top: -150px; left: -60px; background: var(--blue); filter: blur(70px); opacity: .5; }
.field-top > * { position: relative; z-index: 1; }
.field-top a { color: #9fd0ff; }
.stage-card { border: 1px solid rgba(0, 132, 255, .25); background: linear-gradient(180deg, #f2f8ff, #fff 50%); border-radius: 22px; padding: 1.1rem; box-shadow: 0 20px 40px -30px rgba(0, 80, 200, .4); }
.camera-box { border-radius: 16px; overflow: hidden; background: #0a0f1c; aspect-ratio: 4/3; display: grid; place-items: center; color: #7f8ea6; position: relative; }
.camera-box img { width: 100%; height: 100%; object-fit: cover; }
.gps-state { display: flex; align-items: center; gap: .55rem; font-size: .8rem; padding: .55rem .8rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.gps-state .d { width: 9px; height: 9px; border-radius: 50%; background: var(--warning); flex: none; }
.gps-state.ok .d { background: var(--success); box-shadow: 0 0 0 4px rgba(18, 161, 80, .18); }
.gps-state.bad .d { background: var(--danger); }
.bottom-nav { position: fixed; bottom: 10px; left: 10px; right: 10px; display: flex; justify-content: space-around; padding: .45rem 0 calc(.45rem + env(safe-area-inset-bottom) * .5); z-index: 45; border-radius: 20px; background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(40px) saturate(180%); backdrop-filter: blur(40px) saturate(180%); border: 1px solid var(--glass-border); box-shadow: var(--glass-hi), 0 20px 40px -24px rgba(10, 30, 70, .4); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; font-size: .66rem; color: var(--muted); gap: .12rem; padding: .1rem .6rem; }
.bottom-nav a.active { color: var(--blue); font-weight: 650; }
.bottom-nav .icon { width: 21px; height: 21px; }
@media (min-width: 1081px) { .bottom-nav.panel-only { display: none; } }

/* ---------- print */
@media print { .sidebar, .topbar, .sos-fab, .bottom-nav, .no-print, .app-bg, .demo-bar { display: none !important; } .main { margin: 0; } body { background: #fff; } .card { box-shadow: none; } }
.demo-bar ~ .app .sidebar { top: 46px; }
@media (max-width: 1080px) { .demo-bar ~ .app .sidebar { top: 12px; } }

/* ==========================================================================
   Hero نسخه ۱.۲ — مطابق طرح Liquid Glass
   ========================================================================== */
.hx { position: relative; background: #fff; overflow: hidden; }
.hx-glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hx-glow span { position: absolute; border-radius: 50%; filter: blur(110px); }
.hx-glow span:nth-child(1) { width: 820px; height: 560px; top: -330px; left: -260px; background: #60b1ff; opacity: .5; }
.hx-glow span:nth-child(2) { width: 560px; height: 420px; top: -260px; left: 180px; background: #319aff; opacity: .32; }
.hx-glow span:nth-child(3) { width: 420px; height: 320px; top: 40px; left: -200px; background: #60b1ff; opacity: .22; }
.hx .lp-nav { margin-top: 30px; }
.hx-main { position: relative; z-index: 10; width: 100%; max-width: 1600px; margin: 0 auto; padding: 24px 64px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: 640px; }
.hx-copy { max-width: 720px; }
.hx-badge { display: inline-flex; align-items: center; gap: .6rem; padding: .42rem .9rem .42rem .6rem; border-radius: 99px; font: 500 .9rem var(--font-body); color: var(--ink-2); background: rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(0, 0, 0, .08); box-shadow: inset 0 4px 4px rgba(255, 255, 255, .25); }
.hx-badge .stars { display: inline-flex; gap: 2px; color: #ff801e; direction: ltr; }
.hx-badge .stars svg { width: 15px; height: 15px; fill: #ff801e; }
.hx-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: #0084ff; box-shadow: 0 0 0 4px rgba(0, 132, 255, .16); }
.hx-title { font: 800 75px/1.16 var(--font-head); color: #0a0f1c; margin: 26px 0 22px; }
.hx-title span { color: #0084ff; }
.hx-sub { font: 400 18px/1.95 var(--font-body); color: #4c566a; max-width: 580px; margin: 0; }
.hx-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 38px; }
.hx-btn { display: inline-flex; align-items: center; gap: 12px; padding: 10px 10px 10px 10px; padding-inline-start: 24px; border-radius: 16px; color: #fff; font: 600 17px var(--font-body); background: rgba(0, 132, 255, .8); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); box-shadow: inset 0 4px 4px 0 rgba(255, 255, 255, .35), 0 20px 40px -20px rgba(0, 110, 230, .8); transition: transform .25s ease, background .25s ease; }
.hx-btn:hover { transform: scale(1.02); color: #fff; background: rgba(0, 132, 255, .9); }
.hx-btn i { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #0084ff; display: grid; place-items: center; }
.hx-btn i .icon { width: 17px; height: 17px; stroke-width: 2.4; }
.hx-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 18px; border-radius: 16px; color: var(--ink); font: 600 16px var(--font-body); background: rgba(255, 255, 255, .4); border: 1px solid rgba(0, 0, 0, .08); box-shadow: inset 0 4px 4px rgba(255, 255, 255, .3); transition: transform .25s; }
.hx-ghost:hover { transform: scale(1.02); color: var(--ink); background: rgba(255, 255, 255, .8); }
.hx-visual { position: relative; height: 640px; }
.hx-orb { position: absolute; inset: -4% -8% -4% -12%; transform: scale(1.25); filter: hue-rotate(-55deg) saturate(250%) brightness(1.2) contrast(1.1); pointer-events: none; z-index: 1; }
.hx-orb video { mix-blend-mode: screen; }
.hx-copy { position: relative; z-index: 3; }
.hx-orb canvas, .hx-orb video { width: 100%; height: 100%; display: block; object-fit: contain; opacity: 0; transition: opacity 1.2s ease; }
.hx-orb canvas.ready, .hx-orb video { opacity: 1; }
.hx-orb.orb-fallback { mix-blend-mode: normal; filter: none; }
.hx-orb .orb { position: absolute; width: 70%; top: 15%; left: 15%; }
.hx-logos { position: relative; z-index: 10; max-width: 1600px; margin: 0 auto; padding: 10px 64px 64px; text-align: center; }
.hx-logos p { font: 500 .88rem var(--font-body); color: #8a93a3; margin-bottom: 26px; }
.hx-logos .row { justify-content: center; gap: 100px; row-gap: 28px; }
.hx-logos .mark { display: inline-flex; align-items: center; gap: 10px; color: #9aa3b2; transition: color .2s; }
.hx-logos .mark svg { height: 28px; width: 26px; }
.hx-logos .mark b { font: 800 20px var(--font-head); letter-spacing: 0; }
.hx-logos .mark:hover { color: #3b4556; }
@media (max-width: 1200px) { .hx-title { font-size: 60px; } .hx-main { padding: 40px 32px 0; } }
@media (max-width: 960px) {
  .hx-main { grid-template-columns: 1fr; min-height: 0; padding: 20px 20px 0; }
  .hx-visual { order: -1; height: 360px; margin: 0 -20px -30px; }
  .hx-orb { inset: -10% -10%; transform: scale(1.1); }
  .hx-title { font-size: 44px; margin-top: 18px; }
  .hx-sub { font-size: 16px; }
  .hx-logos { padding: 40px 20px 50px; }
  .hx-logos .row { gap: 40px; }
  .hx-logos .mark b { font-size: 16px; } .hx-logos .mark svg { height: 22px; }
}
@media (max-width: 420px) { .hx-title { font-size: 38px; } .hx-btn { font-size: 15px; } }

/* ---------- بنر سراسری SOS (بالاترین اولویت) */
.sos-banner { position: sticky; top: 84px; z-index: 29; margin: 12px 12px 0; display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; border-radius: 18px; color: #fff; background: rgba(229, 56, 59, .94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 4px 4px rgba(255, 255, 255, .25), 0 20px 40px -20px rgba(229, 56, 59, .9); font-size: .88rem; }
.sos-banner .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); flex: none; }
.sos-banner .ic .icon { width: 22px; height: 22px; }
.sos-banner.p1 { animation: sos-flash 1.2s ease-in-out infinite; }
@keyframes sos-flash { 0%, 100% { background: rgba(229, 56, 59, .95); } 50% { background: rgba(170, 20, 25, .95); } }
.sos-banner b { font-family: var(--font-head); }
@media (max-width: 1080px) { .sos-banner { top: 74px; margin: 10px 10px 0; } }
.field-sos { width: 100%; border: 0; border-radius: 18px; padding: 1rem; font: 800 1.05rem var(--font-head); color: #fff; background: rgba(229, 56, 59, .94); box-shadow: inset 0 4px 4px rgba(255,255,255,.25), 0 16px 30px -16px rgba(229,56,59,.9); display: flex; align-items: center; justify-content: center; gap: .6rem; cursor: pointer; }
.sos-state { border-radius: 16px; padding: .9rem 1rem; background: #fff5f5; border: 1px solid rgba(229, 56, 59, .3); color: #a4161a; }
input.ltr, textarea.ltr, input.mono { direction: ltr; text-align: left; display: block; }
.sidebar .nav { overflow-y: auto; }
