/* ============================================================
   رصيد — Product page (light & clear)
   ============================================================ */
:root {
  --brand: #1e8049; --brand-600: #186c3d; --brand-soft: #e6f3eb;
  --deep: #14503c; --ink: #1c2b25; --ink-2: #5b6b64; --line: #e3e9e6;
  --in: #1e8049; --out: #dc3545; --bal: #0d6efd; --warn: #b7791f; --violet: #7c3aed;
}
html { overflow-x: clip; scroll-behavior: smooth; }
body { background: #fff; color: var(--ink); }
svg.lucide { width: 18px; height: 18px; flex-shrink: 0; }
.btn { border-radius: 50px; padding: 10px 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-ghost { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--deep); }
.btn-lg { padding: 13px 28px; font-size: 16px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 21px; line-height: 1.1; }
.logo small { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.logo .mk { width: 40px; height: 40px; border-radius: 12px; background: var(--deep); color: #fff; display: grid; place-items: center; }
.logo .mk svg { width: 22px; height: 22px; }
.links { display: flex; gap: 4px; margin-inline-start: auto; }
.links a { color: var(--ink-2); font-weight: 600; padding: 8px 12px; border-radius: 50px; }
.links a:hover { color: var(--brand); background: var(--brand-soft); }

/* Hero */
.hero { padding: 56px 0 36px; background: linear-gradient(180deg, #f3faf6, #fff); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.pill { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 50px; padding: 5px 14px 5px 6px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 18px; }
.pill b { background: var(--deep); color: #fff; border-radius: 50px; padding: 2px 10px; font-size: 12px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.hero h1 span { color: var(--brand); }
.hero p { font-size: 17.5px; color: var(--ink-2); line-height: 1.9; margin-bottom: 26px; max-width: 520px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks svg { color: var(--brand); width: 16px; height: 16px; }
.hero-visual { position: relative; padding-bottom: 30px; }
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 60px rgba(20,60,45,.14); }
.browser .bar { height: 30px; background: #eef2f0; display: flex; align-items: center; gap: 6px; padding: 0 12px; direction: ltr; }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #cbd5d0; }
.browser .bar i:nth-child(1) { background: #f87171; } .browser .bar i:nth-child(2) { background: #fbbf24; } .browser .bar i:nth-child(3) { background: #34d399; }
.browser .bar span { margin: 0 auto; font-size: 11px; color: #64748b; background: #fff; padding: 2px 16px; border-radius: 6px; }
.browser img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone { position: absolute; bottom: 0; left: -18px; width: 27%; border-radius: 22px; overflow: hidden; border: 5px solid #111; background: #111; box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.phone img { display: block; width: 100%; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; border-radius: 16px; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; margin-top: 8px; margin-bottom: 8px; }
.facts div { padding: 18px 14px; text-align: center; min-width: 0; }
.facts div + div { border-inline-start: 1px solid var(--line); }
.facts b { display: block; font-size: 24px; font-weight: 800; color: var(--deep); }
.facts span { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }

/* Sections */
.sec { padding: 64px 0; scroll-margin-top: 70px; }
.sec.soft { background: #f5f8f6; }
.head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 8px; }
.head p { color: var(--ink-2); font-size: 16.5px; margin: 0; }

.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feat article { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: #fff; transition: .2s; min-width: 0; }
.feat article:hover { border-color: #b9dcc7; box-shadow: 0 16px 34px rgba(20,60,45,.08); transform: translateY(-2px); }
.ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px; }
.ic svg { width: 22px; height: 22px; }
.ic.in { background: #e5f4ea; color: var(--in); } .ic.out { background: #fdecee; color: var(--out); }
.ic.bal { background: #e8f0fe; color: var(--bal); } .ic.warn { background: #fdf3dc; color: var(--warn); }
.ic.violet { background: #f1eafe; color: var(--violet); }
.feat h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 6px; }
.feat p { color: var(--ink-2); font-size: 14.5px; margin: 0; line-height: 1.8; }

.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tabs button { border: 1px solid var(--line); background: #fff; color: var(--ink-2); font: inherit; font-weight: 700; font-size: 14.5px; padding: 8px 18px; border-radius: 50px; cursor: pointer; }
.tabs button.on { background: var(--deep); border-color: var(--deep); color: #fff; }
.browser.big { max-width: 980px; margin: 0 auto; }

.users { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.user { border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; text-align: center; color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 4px; transition: .2s; min-width: 0; }
.user:hover { border-color: var(--brand); box-shadow: 0 14px 30px rgba(20,60,45,.08); color: var(--ink); }
.user .avatar { width: 56px; height: 56px; font-size: 19px; margin-bottom: 6px; }
.user b { font-size: 16px; }
.user small { color: var(--ink-2); font-size: 13px; }
.user .badge { margin: 6px 0; }
.user p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.7; }

.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 18px; justify-content: center; }
.prices article { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; text-align: center; }
.prices article.best { border: 2px solid var(--brand); }
.prices .tag { position: absolute; top: -12px; right: 50%; transform: translateX(50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 14px; border-radius: 50px; }
.prices h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.prices b { display: block; font-size: 36px; font-weight: 800; color: var(--deep); }
.prices b small { font-size: 15px; color: var(--ink-2); }
.prices p { color: var(--ink-2); font-size: 14px; margin: 8px 0 0; }

.cta { margin: 64px 0; border-radius: 22px; padding: 34px; background: linear-gradient(135deg, #1b5e47, #14503c); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta h2 { font-size: 26px; font-weight: 800; margin-bottom: 4px; color: #fff; }
.cta p { margin: 0; opacity: .85; }

.foot { border-top: 1px solid var(--line); padding: 22px 0; font-size: 14px; color: var(--ink-2); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.by { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 700; }
.by img { height: 24px; }

@media (max-width: 1000px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero p { max-width: none; }
  .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .users { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .nav .btn { padding: 8px 16px; font-size: 14px; }
  .hero { padding: 34px 0 24px; }
  .hero p { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .phone { left: -6px; width: 30%; border-width: 4px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-inline-start: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sec { padding: 46px 0; }
  .feat { grid-template-columns: minmax(0, 1fr); }
  .prices { grid-template-columns: minmax(0, 1fr); }
  .cta { padding: 26px 20px; text-align: center; justify-content: center; }
}
