/* ── TOKENS ── */
:root {
  --lj-primary:      #433591;
  --lj-primary-dark: #342870;
  --lj-primary-mid:  #5b47c5;
  --lj-primary-50:   #f0eeff;
  --lj-primary-100:  #ddd6fe;
  --lj-accent:       #ff5588;
  --lj-accent-50:    #fff0f5;
  --lj-accent-100:   #ffd6e4;
  --lj-success:      #10B981;
  --lj-success-50:   #ECFDF5;
  --lj-amber:        #F59E0B;
  --lj-amber-50:     #FFFBEB;
  --lj-bg:           #ffffff;
  --lj-bg-alt:       #fafafa;
  --lj-surface:      #ffffff;
  --lj-ink:          #0f0a1e;
  --lj-body-text:    #2d2450;
  --lj-muted:        #6b6490;
  --lj-hairline:     #e8e4f5;
  --lj-font-heading: 'Estedad','Vazirmatn',sans-serif;
  --lj-font-body:    'Vazirmatn',sans-serif;

  /* ── TYPE SCALE (1.2 minor-third, base 16px) ──
     One ladder for the whole theme. Never hand-pick a font-size again. */
  --fs-xs:   0.75rem;   /* 12px — captions, meta, unit labels          */
  --fs-sm:   0.875rem;  /* 14px — small body, nav, buttons             */
  --fs-base: 1rem;      /* 16px — body                                 */
  --fs-md:   1.125rem;  /* 18px — lead / card titles                   */
  --fs-lg:   1.375rem;  /* 22px — sub-headings                         */
  --fs-xl:   1.75rem;   /* 28px — section titles (small screens)       */
  --fs-2xl:  2.25rem;   /* 36px — section titles                       */
  --fs-3xl:  3rem;      /* 48px — hero                                 */

  /* line-heights */
  --lh-tight: 1.25;
  --lh-snug:  1.5;
  --lh-body:  1.8;

  /* ── SPACING SCALE (8pt grid) ──
     Every margin / padding / gap picks from here. No stray px. */
  --sp-1: 0.25rem;  /*  4 */
  --sp-2: 0.5rem;   /*  8 */
  --sp-3: 0.75rem;  /* 12 */
  --sp-4: 1rem;     /* 16 */
  --sp-5: 1.5rem;   /* 24 */
  --sp-6: 2rem;     /* 32 */
  --sp-7: 3rem;     /* 48 */
  --sp-8: 4rem;     /* 64 */
  --sp-9: 6rem;     /* 96 — section rhythm */

  /* ── RADIUS SCALE ── */
  --r-sm:  0.375rem;  /*  6 */
  --r-md:  0.625rem;  /* 10 */
  --r-lg:  1rem;      /* 16 — cards */
  --r-xl:  1.25rem;   /* 20 — feature cards */
  --r-pill: var(--r-sm);   /* squared — NO circles per design rule */

  --lj-ease:         cubic-bezier(.2,.7,.2,1);
  --lj-ease-pop:     cubic-bezier(.34,1.56,.64,1);
  --shadow-card:     0 1px 3px rgba(67,53,145,.07), 0 2px 6px rgba(67,53,145,.05);
  --shadow-hover:    0 16px 44px -12px rgba(67,53,145,.28);
  --shadow-btn:      0 6px 20px -6px rgba(67,53,145,.55);
}

/* ── DARK THEME ── override only surface/text tokens; brand hues stay */
.dark {
  --lj-primary:      #7c6cf0;
  --lj-primary-dark: #6353d8;
  --lj-primary-mid:  #9385ff;
  --lj-primary-50:   #201a3a;   /* dark tint used as "primary-50" bg */
  --lj-primary-100:  #322a5c;
  --lj-accent:       #ff6f9c;
  --lj-accent-50:    #34172a;
  --lj-accent-100:   #4a2039;
  --lj-success:      #34d399;
  --lj-success-50:   #0f2e26;
  --lj-amber:        #fbbf24;
  --lj-amber-50:     #3a2e12;
  --lj-bg:           #0d0a1a;
  --lj-bg-alt:       #14102a;
  --lj-surface:      #171232;
  --lj-ink:          #f4f2fb;
  --lj-body-text:    #cdc7e6;
  --lj-muted:        #9089b3;
  --lj-hairline:     #2a2450;
  --shadow-card:     0 1px 3px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.3);
  --shadow-hover:    0 16px 44px -12px rgba(0,0,0,.6);
  --shadow-btn:      0 6px 20px -6px rgba(124,108,240,.5);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--lj-font-body);
  background: var(--lj-bg);
  color: var(--lj-body-text);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

/* ── LAYOUT ── */
.container { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--sp-5); }
.section    { padding-block: var(--sp-9); }
.section-alt { background: var(--lj-bg-alt); }

/* ── TYPE — all sizes come from the scale ── */
.lj-display {
  font-family: var(--lj-font-heading);
  font-size: clamp(var(--fs-xl), 6vw, var(--fs-3xl));
  font-weight: 800; line-height: var(--lh-tight);
  letter-spacing: -.025em; color: var(--lj-ink);
}
@media (max-width: 480px) { .lj-display { font-size: var(--fs-xl); } }
.lj-h2 {
  font-family: var(--lj-font-heading);
  font-size: clamp(var(--fs-xl), 3vw, var(--fs-2xl));
  font-weight: 800; line-height: var(--lh-tight);
  letter-spacing: -.018em; color: var(--lj-ink);
}
.lj-h3  { font-size: var(--fs-md); font-weight: 600; color: var(--lj-ink); line-height: var(--lh-snug); }
.lj-lead { font-size: var(--fs-base); line-height: var(--lh-body); color: var(--lj-body-text); }
.lj-body { font-size: var(--fs-sm); line-height: var(--lh-body); color: var(--lj-body-text); }
.lj-small { font-size: var(--fs-xs); color: var(--lj-muted); line-height: var(--lh-snug); }
.lj-stat  {
  font-family: var(--lj-font-heading);
  font-size: clamp(var(--fs-xl), 4vw, var(--fs-2xl));
  font-weight: 800; line-height: 1.1; color: var(--lj-primary);
}

/* ── ANIMATION ── */
@keyframes rise { from { opacity:0; transform:translateY(16px) } to { opacity:1; transform:none } }
.rise { animation: rise .45s var(--lj-ease) both; }
.d1{animation-delay:50ms} .d2{animation-delay:110ms} .d3{animation-delay:170ms}
.d4{animation-delay:230ms} .d5{animation-delay:290ms} .d6{animation-delay:350ms}
@media(prefers-reduced-motion:reduce){ .rise{animation:none;opacity:1} }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  background: var(--lj-primary); color: #fff;
  border: none; border-radius: var(--r-md);
  font-family: var(--lj-font-body); font-size: var(--fs-sm); font-weight: 600;
  cursor: pointer; box-shadow: var(--shadow-btn);
  transition: background 150ms, transform 150ms, box-shadow 150ms;
}
.btn-primary:hover { background: var(--lj-primary-dark); transform: translateY(-2px); box-shadow: 0 10px 28px -6px rgba(67,53,145,.65); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  background: transparent; color: var(--lj-primary);
  border: 1.5px solid color-mix(in srgb, var(--lj-primary) 30%, transparent);
  border-radius: var(--r-md);
  font-family: var(--lj-font-body); font-size: var(--fs-sm); font-weight: 600;
  cursor: pointer;
  transition: background 150ms, border-color 150ms, transform 150ms;
}
.btn-secondary:hover { background: var(--lj-primary-50); border-color: var(--lj-primary); transform: translateY(-1px); }

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--lj-accent-50); color: #c0225a;
  border: 1px solid var(--lj-accent-100);
  border-radius: var(--r-sm); padding: 5px 15px;
  font-size: var(--fs-sm); font-weight: 600;
}
.badge .dot { width: 7px; height: 7px; background: var(--lj-accent); border-radius: var(--r-sm); flex-shrink: 0; }

/* ══════════════════════════
   NAVBAR
══════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--lj-surface) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--lj-hairline);
  height: 68px; display: flex; align-items: center;
}
.dark .navbar {
  background: color-mix(in srgb, #0d0a1a 82%, transparent);
  border-bottom-color: rgba(124,108,240,.18);
  box-shadow: 0 1px 0 rgba(124,108,240,.08), 0 8px 24px -16px rgba(0,0,0,.8);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--sp-5);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: .625rem;
  background: linear-gradient(135deg, var(--lj-primary), var(--lj-primary-mid));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(67,53,145,.35);
}
.logo-mark svg { width: 20px; height: 20px; fill: #fff; }
.dark .logo-mark { background: linear-gradient(135deg, var(--lj-primary-mid), var(--lj-accent)); box-shadow: 0 3px 14px rgba(124,108,240,.5); }
.brand-name { font-family: var(--lj-font-heading); font-size: var(--fs-md); font-weight: 800; color: var(--lj-ink); }
.accent-dot { color: var(--lj-accent); }
.nav-links { display: flex; align-items: center; gap: var(--sp-6); }
.nav-links > a, .nav-links > .has-mega > a { font-size: var(--fs-sm); font-weight: 600; color: var(--lj-muted); transition: color 150ms; }
.nav-links > a:hover, .nav-links > a.active, .has-mega:hover > a { color: var(--lj-primary); }

/* ══════════════════════════
   MEGA MENU
══════════════════════════ */
.has-mega { position: static; }
.has-mega > a { display: inline-flex; align-items: center; gap: var(--sp-1); cursor: pointer; }
.has-mega > a .caret { width: 14px; height: 14px; transition: transform 200ms; }
.has-mega:hover > a .caret { transform: rotate(180deg); }

.mega {
  position: absolute; inset-inline: 0; top: 100%;
  padding-top: var(--sp-3);   /* hover-bridge instead of a dead margin gap */
  opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none;
  transition: opacity 200ms var(--lj-ease), transform 200ms var(--lj-ease), visibility 200ms;
  z-index: 60;
}
.has-mega.open .mega, .has-mega:hover .mega { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.has-mega.open > a .caret, .has-mega:hover > a .caret { transform: rotate(180deg); }
.mega-inner {
  max-width: 72rem; margin-inline: auto;
  background: var(--lj-surface);
  border: 1.5px solid var(--lj-hairline);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-hover);
  display: grid; grid-template-columns: 1fr 250px;
  overflow: hidden;
}
.mega-panels { min-width: 0; grid-column: 1; }
.mega-rail { grid-column: 2; }
/* right rail: platform list */
.mega-rail {
  background: linear-gradient(180deg, var(--lj-bg-alt), var(--lj-surface));
  padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-1);
  border-inline-start: 1px solid var(--lj-hairline);
}
.mega-rail-title { font-size: var(--fs-xs); font-weight: 700; color: var(--lj-muted); padding: var(--sp-2) var(--sp-4) var(--sp-3); }
.mega-plat {
  position: relative;
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md);
  font-size: var(--fs-sm); font-weight: 700; color: var(--lj-body-text);
  cursor: pointer; transition: background 150ms, color 150ms, box-shadow 150ms;
}
.mega-plat::after { content: ''; margin-inline-start: auto; width: 7px; height: 7px; border-inline-start: 2px solid var(--lj-hairline); border-block-end: 2px solid var(--lj-hairline); transform: rotate(45deg); transition: border-color 150ms; }
.mega-plat:hover, .mega-plat.active { background: var(--lj-surface); color: var(--lj-primary); box-shadow: var(--shadow-card); }
.mega-plat.active::before { content: ''; position: absolute; inset-inline-end: 0; inset-block: 20%; width: 3px; border-radius: 3px; background: var(--lj-primary); }
.mega-plat:hover::after, .mega-plat.active::after { border-color: var(--lj-primary); }
.mega-plat .mp-ic { width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.mega-plat .mp-ic svg { width: 19px; height: 19px; color: #fff; }

/* content panel: category columns */
.mega-panel { padding: var(--sp-6); }
.mega-panel-head {
  display: flex; align-items: center; gap: var(--sp-3);
  padding-bottom: var(--sp-4); margin-bottom: var(--sp-5);
  border-bottom: 1.5px solid var(--lj-hairline);
}
.mega-panel-head .mp-ic { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.mega-panel-head .mp-ic svg { width: 22px; height: 22px; color: #fff; }
.mega-panel-head b { font-size: var(--fs-lg); font-weight: 800; color: var(--lj-ink); }
.mega-panel-head .mph-all { margin-inline-start: auto; font-size: var(--fs-sm); font-weight: 700; color: var(--lj-primary); display: inline-flex; align-items: center; gap: var(--sp-1); }
.mega-panel-head .mph-all svg { width: 14px; height: 14px; }
.mega-panel-head .mph-all:hover { color: var(--lj-primary-dark); }
.mega-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--sp-8); }
.mega-group h4 { font-size: var(--fs-sm); font-weight: 800; color: var(--lj-ink); margin-bottom: var(--sp-3); display: flex; align-items: center; gap: var(--sp-2); }
.mega-group h4::before { content: ''; width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, var(--lj-primary), var(--lj-accent)); flex-shrink: 0; }
.mega-group ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-1); }
.mega-group a {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-sm); color: var(--lj-muted); font-weight: 500;
  padding: var(--sp-1) var(--sp-2); border-radius: var(--r-sm);
  transition: color 150ms, background 150ms, transform 150ms;
}
.mega-group a::before { content: ''; width: 5px; height: 5px; border-radius: var(--r-sm); background: var(--lj-hairline); flex-shrink: 0; transition: background 150ms; }
.mega-group a:hover { color: var(--lj-primary); background: var(--lj-primary-50); transform: translateX(-3px); }
.mega-group a:hover::before { background: var(--lj-accent); }
.mega-group.solo h4 { border: none; margin-bottom: 0; }
/* platform panels: only the active one shows */
.mega-content { display: none; }
.mega-content.active { display: block; }
@media (max-width: 1023px) { .has-mega .mega { display: none; } }
.nav-auth { display: flex; align-items: center; gap: var(--sp-3); }
/* theme toggle */
.theme-toggle {
  width: 38px; height: 38px; border-radius: var(--r-md);
  border: 1.5px solid var(--lj-hairline); background: var(--lj-surface);
  display: grid; place-items: center; cursor: pointer; color: var(--lj-body-text);
  transition: background 150ms, color 150ms, border-color 150ms;
}
.theme-toggle:hover { background: var(--lj-primary-50); color: var(--lj-primary); border-color: var(--lj-primary-100); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
.dark .theme-toggle .icon-sun { display: block; }
.dark .theme-toggle .icon-moon { display: none; }
.btn-ghost { font-size: var(--fs-sm); font-weight: 600; color: var(--lj-body-text); padding: var(--sp-2) var(--sp-4); border-radius: .625rem; transition: background 150ms; }
.btn-ghost:hover { background: var(--lj-primary-50); color: var(--lj-primary); }
.btn-nav {
  font-size: var(--fs-sm); font-weight: 600; color: #fff; padding: var(--sp-2) 18px;
  border-radius: .625rem; background: var(--lj-primary);
  box-shadow: 0 2px 8px rgba(67,53,145,.3);
  transition: background 150ms;
}
.btn-nav:hover { background: var(--lj-primary-dark); }
.hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--lj-ink); }

/* ══════════════════════════
   MOBILE MENU (drawer)
══════════════════════════ */
.m-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(15,10,30,.5); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.m-overlay.open { opacity: 1; visibility: visible; }
.m-drawer {
  position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 100;
  width: min(88vw, 22rem);
  background: var(--lj-surface);
  box-shadow: -12px 0 40px -12px rgba(15,10,30,.4);
  transform: translateX(100%);
  transition: transform .3s var(--lj-ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
[dir="rtl"] .m-drawer { transform: translateX(-100%); }
.m-drawer.open { transform: none !important; }
.m-head { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--lj-hairline); }
.m-head .brand-name { font-family: var(--lj-font-heading); font-weight: 800; color: var(--lj-ink); }
.m-close { background: none; border: none; cursor: pointer; color: var(--lj-muted); display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); }
.m-close:hover { background: var(--lj-bg-alt); color: var(--lj-ink); }
.m-close svg { width: 22px; height: 22px; }
.m-body { padding: var(--sp-3); flex: 1; }
.m-link {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  width: 100%; padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md);
  font-size: var(--fs-sm); font-weight: 700; color: var(--lj-body-text);
  font-family: inherit; text-align: start;
  background: none; border: none; cursor: pointer;
  transition: background 150ms, color 150ms;
}
button.m-link:focus-visible { outline: 2px solid var(--lj-primary); outline-offset: -2px; }
button.m-link:focus { outline: none; }
.m-link:hover, .m-link.active { background: var(--lj-primary-50); color: var(--lj-primary); }
.m-link .m-caret { width: 16px; height: 16px; transition: transform .2s; color: var(--lj-muted); }
/* accordion for services */
.m-acc-panel { max-height: 0; overflow: hidden; transition: max-height .3s var(--lj-ease); }
.m-acc.open .m-acc-panel { max-height: 620px; }
.m-acc.open > .m-link .m-caret { transform: rotate(180deg); }
.m-sub { padding: var(--sp-1) var(--sp-4) var(--sp-3) var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-1); }
.m-sub a { display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-2); border-radius: var(--r-sm); font-size: var(--fs-sm); color: var(--lj-muted); font-weight: 500; }
.m-sub a::before { content: ''; width: 5px; height: 5px; border-radius: var(--r-sm); background: var(--lj-primary-100); flex-shrink: 0; }
.m-sub a:hover { background: var(--lj-bg-alt); color: var(--lj-primary); }
.m-sub .m-plat { font-weight: 700; color: var(--lj-ink); margin-top: var(--sp-2); }
.m-sub .m-plat::before { display: none; }
.m-sub .m-plat .mp-ic { width: 22px; height: 22px; border-radius: var(--r-sm); display: grid; place-items: center; flex-shrink: 0; }
.m-sub .m-plat .mp-ic svg { width: 13px; height: 13px; color: #fff; }
.m-divider { height: 1px; background: var(--lj-hairline); margin: var(--sp-3) var(--sp-2); }
.m-foot { padding: var(--sp-4) var(--sp-5) var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); border-top: 1px solid var(--lj-hairline); }
.m-foot .btn-primary, .m-foot .btn-secondary { justify-content: center; width: 100%; }

/* ══════════════════════════
   HERO
══════════════════════════ */
.hero {
  padding-block: var(--sp-8) var(--sp-8);
  background:
    linear-gradient(180deg, var(--lj-bg-alt) 0%, var(--lj-bg) 70%);
  position: relative; overflow: hidden;
}
/* soft ambient glows — full-bleed, no hard seam */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 88% 8%, rgba(67,53,145,.10), transparent 60%),
    radial-gradient(50% 50% at 12% 92%, rgba(255,85,136,.07), transparent 62%);
  pointer-events: none;
}
/* faint dotted grid — technical / dashboard feel */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(67,53,145,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
          mask-image: linear-gradient(180deg, #000, transparent 70%);
  pointer-events: none;
}
/* two-column asymmetric layout: copy (right, wider) + live panel (left) */
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.25fr .85fr;
  align-items: center; gap: var(--sp-9);
}
.hero-content { position: relative; }
.hero h1 { margin-block: var(--sp-6) var(--sp-5); line-height: 1.5; }
/* pink gradient on key word */
.hero h1 .grad {
  background: linear-gradient(135deg, var(--lj-primary) 30%, var(--lj-accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero .subtitle { max-width: 46ch; margin-bottom: var(--sp-7); line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.hero-meta {
  margin-top: var(--sp-6); font-size: var(--fs-sm); color: var(--lj-body-text);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6);
}
.hero-meta > span {
  display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 600;
}
.hero-meta .check {
  color: var(--lj-success); display: inline-flex; flex-shrink: 0;
  width: 18px; min-width: 18px; height: 18px;
  align-items: center; justify-content: center;
}
.hero-meta .check svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── live order panel (left column) — the "advanced" custom element ── */
.hero-panel {
  position: relative;
  background: var(--lj-surface);
  border: 1.5px solid var(--lj-hairline);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-hover);
  padding: var(--sp-5);
}
.hero-panel::before {  /* accent top edge */
  content: ''; position: absolute; inset-inline: var(--sp-6); top: 0; height: 3px;
  background: linear-gradient(90deg, var(--lj-primary), var(--lj-accent));
}
.hp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); }
.hp-title { font-weight: 700; font-size: var(--fs-sm); color: var(--lj-ink); }
.hp-live { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-xs); font-weight: 600; color: var(--lj-success); }
.hp-live .pulse { width: 7px; height: 7px; background: var(--lj-success); border-radius: var(--r-sm); box-shadow: 0 0 0 0 rgba(16,185,129,.6); animation: hp-pulse 1.8s infinite; }
@keyframes hp-pulse { 70%{ box-shadow: 0 0 0 7px rgba(16,185,129,0);} 100%{ box-shadow: 0 0 0 0 rgba(16,185,129,0);} }
.hp-row { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3); border: 1px solid var(--lj-hairline); border-radius: var(--r-md); margin-bottom: var(--sp-3); }
.hp-ic { width: 34px; height: 34px; border-radius: var(--r-md); display: grid; place-items: center; flex-shrink: 0; }
.hp-ic.ig { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); }
.hp-ic.tg { background: #26A5E4; }
.hp-ic svg { width: 18px; height: 18px; color: #fff; }
.hp-row .hp-txt { flex: 1; min-width: 0; }
.hp-name { font-size: var(--fs-sm); font-weight: 600; color: var(--lj-ink); }
.hp-sub  { font-size: var(--fs-xs); color: var(--lj-muted); }
.hp-bar { height: 6px; background: var(--lj-primary-50); border-radius: var(--r-sm); overflow: hidden; margin-top: var(--sp-1); }
.hp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--lj-primary), var(--lj-primary-mid)); border-radius: var(--r-sm); }
.hp-pct { font-size: var(--fs-xs); font-weight: 700; color: var(--lj-primary); font-variant-numeric: tabular-nums; }
.hp-foot { display: flex; align-items: center; justify-content: space-between; margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px dashed var(--lj-hairline); }
.hp-foot .lbl { font-size: var(--fs-xs); color: var(--lj-muted); }
.hp-foot .val { font-family: var(--lj-font-heading); font-weight: 800; color: var(--lj-ink); font-variant-numeric: tabular-nums; }
.hp-foot .hp-ok { display: inline-flex; align-items: center; gap: var(--sp-1); color: var(--lj-success); }
.hp-foot .hp-ok svg { width: 15px; height: 15px; }

/* hero illustration (left column) — animated growth SVG */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-visual img { width: 100%; max-width: 480px; height: auto; }
@media (max-width: 860px) { .hero-visual { order: 2; } }

/* platform logos row — spans full grid width, sits below both columns, left-aligned */
.hero-platforms {
  grid-column: 1 / -1;
  margin-top: var(--sp-4); padding-top: var(--sp-5);
  border-top: 1px dashed var(--lj-hairline);
  display: flex; flex-direction: column; align-items: flex-end; gap: var(--sp-3);
}
.hero-platforms .p-platforms-eyebrow {
  align-self: flex-end;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em;
  color: var(--lj-muted); text-transform: none;
}
.hero-platforms .p-platforms-list {
  display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .hero-panel { transform: none; order: 2; }
}
.hero-platforms .p-platforms-label {
  font-size: var(--fs-xs); font-weight: 600; color: var(--lj-muted);
  margin-inline-end: var(--sp-1);
}
.hero-platforms .p-pill {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: transparent; border: none; padding: 0;
  font-size: var(--fs-sm); font-weight: 600; color: var(--lj-muted);
}
.p-icon {
  width: 22px; height: 22px; border-radius: var(--r-sm);
  display: grid; place-items: center; flex-shrink: 0;
}
.p-icon svg { width: 13px; height: 13px; color: #fff; }
.pi-ig { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); }
.pi-tg { background: #26A5E4; }
.pi-yt { background: #FF0000; }
.pi-tt { background: #010101; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.pi-rb { background: #6C4BF6; }
.pi-tw { background: #010101; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); } /* X/twitter */
.pi-fb { background: #1877F2; }

/* ══════════════════════════
   ORDER WIDGET (خرید فوری)
══════════════════════════ */
.order {
  background:
    radial-gradient(70% 90% at 92% 0%, rgba(255,85,136,.10), transparent 60%),
    var(--lj-bg-alt);
  border-block: 1px solid var(--lj-hairline);
}
.order-card {
  background: var(--lj-surface);
  border: 1.5px solid var(--lj-hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  max-width: 48rem; margin-inline: auto;
}
.order-head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  flex-wrap: wrap;
  padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--lj-hairline);
}
.order-head-title { display: flex; align-items: center; gap: var(--sp-3); }
.order-head .oh-ic { width: 40px; height: 40px; border-radius: var(--r-md); flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--lj-primary), var(--lj-primary-mid)); color: #fff; }
.order-head .oh-ic svg { width: 20px; height: 20px; }
.order-head h2 { font-family: var(--lj-font-heading); font-size: var(--fs-md); font-weight: 800; color: var(--lj-ink); }
.order-head p { font-size: var(--fs-xs); color: var(--lj-muted); }
/* compact inline stepper — lives in the header, top-left */
.order-steps { display: flex; align-items: center; gap: var(--sp-2); }
.order-step { display: flex; align-items: center; gap: var(--sp-2); }
.order-step:not(:last-child)::after {
  content: ''; width: 18px; height: 2px; background: var(--lj-hairline);
  border-radius: 1px; margin-inline-start: var(--sp-1);
}
.order-step .os-n {
  width: 26px; height: 26px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  font-family: var(--lj-font-heading); font-weight: 800; font-size: var(--fs-xs);
  background: var(--lj-surface); color: var(--lj-muted);
  border: 1.5px solid var(--lj-hairline);
}
.order-step.active .os-n { background: var(--lj-primary); color: #fff; border-color: var(--lj-primary); }
.order-step.done .os-n { background: var(--lj-success); color: #fff; border-color: var(--lj-success); }
.order-step .os-t { font-size: var(--fs-xs); font-weight: 600; color: var(--lj-muted); }
.order-step.active .os-t { color: var(--lj-ink); }
/* hide inactive step labels on small screens to keep it tidy */
@media (max-width: 560px) {
  .order-step:not(.active) .os-t { display: none; }
}
.order-body { padding: var(--sp-5); display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4) var(--sp-5); }
.order-field { display: flex; flex-direction: column; gap: var(--sp-2); }
.order-field.full { grid-column: 1 / -1; }
.order-field label { font-size: var(--fs-sm); font-weight: 600; color: var(--lj-ink); }
.order-input, .order-select {
  width: 100%; padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--lj-hairline); border-radius: var(--r-md);
  font-family: inherit; font-size: var(--fs-sm); color: var(--lj-ink); background: var(--lj-surface);
  transition: border-color 150ms, box-shadow 150ms;
}
/* custom chevron on the select (native arrow removed), placed on the RTL-leading side */
.order-select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6490' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left var(--sp-4) center;
  padding-inline-start: var(--sp-8);
}
.order-input:focus, .order-select:focus { outline: none; border-color: var(--lj-primary); box-shadow: 0 0 0 3px var(--lj-primary-50); }
.order-hint { font-size: var(--fs-xs); color: var(--lj-muted); }
.order-price {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  background: var(--lj-primary-50); border: 1px solid var(--lj-primary-100);
  border-radius: var(--r-md); padding: var(--sp-3) var(--sp-5);
}
.order-price .op-label { font-size: var(--fs-sm); font-weight: 600; color: var(--lj-body-text); }
.order-price .op-val { font-family: var(--lj-font-heading); font-size: var(--fs-lg); font-weight: 800; color: var(--lj-primary); font-variant-numeric: tabular-nums; }
.order-price .op-val small { font-size: var(--fs-sm); font-weight: 600; color: var(--lj-muted); }
.order-submit {
  grid-column: 1 / -1;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: var(--sp-3); border-radius: var(--r-md); border: none;
  background: var(--lj-primary); color: #fff;
  font-family: inherit; font-size: var(--fs-sm); font-weight: 700; cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background 150ms, transform 150ms;
}
.order-submit:hover { background: var(--lj-primary-dark); transform: translateY(-2px); }
.order-submit svg { width: 16px; height: 16px; }
@media (max-width: 720px) {
  .order-steps { grid-template-columns: 1fr; gap: var(--sp-3); }
  .order-body { grid-template-columns: 1fr; }
}

/* ══════════════════════════
   PRICING TIERS
══════════════════════════ */
.pricing-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  gap: var(--sp-5); align-items: start;
  max-width: 56rem; margin-inline: auto;
}
.price-card {
  position: relative;
  background: var(--lj-surface);
  border: 1.5px solid var(--lj-hairline);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--lj-ease), box-shadow .3s, border-color .3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--lj-primary-100); }

/* header band: big amount + unit, tinted */
.price-head {
  position: relative;
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  text-align: center;
  background: linear-gradient(180deg, var(--lj-primary-50), var(--lj-surface));
  border-bottom: 1px solid var(--lj-hairline);
}
.price-amount { font-family: var(--lj-font-heading); font-size: var(--fs-3xl); font-weight: 800; color: var(--lj-primary); line-height: 1; font-variant-numeric: tabular-nums; }
.price-label { font-size: var(--fs-sm); font-weight: 700; color: var(--lj-ink); margin-top: var(--sp-2); }
.price-unit { font-size: var(--fs-xs); color: var(--lj-muted); margin-top: var(--sp-1); }

.price-feats { list-style: none; margin: 0; padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.price-feats li { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); color: var(--lj-body-text); line-height: var(--lh-snug); }
.price-feats li .fc { width: 20px; height: 20px; border-radius: var(--r-sm); background: var(--lj-success-50); display: grid; place-items: center; flex-shrink: 0; }
.price-feats li .fc svg { width: 12px; height: 12px; color: var(--lj-success); }

.price-foot { padding: 0 var(--sp-5) var(--sp-5); }
.price-value { font-family: var(--lj-font-heading); font-size: var(--fs-xl); font-weight: 800; color: var(--lj-ink); font-variant-numeric: tabular-nums; display: block; text-align: center; margin-bottom: var(--sp-3); }
.price-value small { font-size: var(--fs-sm); font-weight: 500; color: var(--lj-muted); }
.price-btn {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-2);
  width: 100%; padding: var(--sp-3); border-radius: var(--r-md);
  background: var(--lj-primary-50); color: var(--lj-primary); border: 1.5px solid var(--lj-primary-100);
  font-weight: 700; font-size: var(--fs-sm);
  transition: background 150ms, color 150ms, border-color 150ms, transform 150ms;
}
.price-btn svg { width: 16px; height: 16px; }
.price-btn:hover { background: var(--lj-primary); color: #fff; border-color: var(--lj-primary); transform: translateY(-1px); }

/* featured tier — lifted, purple header, ribbon */
.price-card.featured {
  border-color: var(--lj-primary); box-shadow: var(--shadow-hover);
  transform: translateY(-8px);
}
.price-card.featured:hover { transform: translateY(-12px); }
.price-card.featured .price-head {
  background: linear-gradient(160deg, var(--lj-primary-dark), var(--lj-primary-mid));
  border-bottom-color: transparent;
}
.price-card.featured .price-amount { color: #fff; }
.price-card.featured .price-label { color: rgba(255,255,255,.92); }
.price-card.featured .price-unit { color: rgba(255,255,255,.7); }
.price-card.featured::before {
  content: "محبوب‌ترین"; position: absolute; top: var(--sp-3); inset-inline-start: var(--sp-3);
  z-index: 1;
  background: var(--lj-accent); color: #fff;
  font-size: var(--fs-xs); font-weight: 700; padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-sm);
}
.price-card.featured .price-btn { background: var(--lj-primary); color: #fff; border-color: var(--lj-primary); }
.price-card.featured .price-btn:hover { background: var(--lj-primary-dark); }
@media (max-width: 980px) { .pricing-grid { grid-auto-flow: row; grid-template-columns: 1fr 1fr; max-width: 34rem; } .price-card.featured { transform: none; } }
@media (max-width: 520px) { .pricing-grid { grid-template-columns: 1fr; max-width: 22rem; } }

/* ══════════════════════════
   STATS
══════════════════════════ */
.stats-strip {
  border-top: 1px solid var(--lj-hairline);
  border-bottom: 1px solid var(--lj-hairline);
  background: linear-gradient(90deg, var(--lj-primary-50) 0%, var(--lj-surface) 50%, var(--lj-accent-50) 100%);
  padding-block: var(--sp-6);
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-4); text-align: center; }
.stat-item { padding: var(--sp-3); }
.stat-num { font-family: var(--lj-font-heading); font-size: clamp(var(--fs-xl),3.5vw,var(--fs-2xl)); font-weight: 800; color: var(--lj-primary); display: inline-flex; align-items: baseline; gap: var(--sp-1); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-unit { font-size: var(--fs-sm); font-weight: 700; color: var(--lj-accent); }
.stat-item:nth-child(2) .stat-num { color: var(--lj-accent); }
.stat-item:nth-child(4) .stat-num { color: var(--lj-success); }
.stat-label { font-size: var(--fs-sm); color: var(--lj-muted); font-weight: 600; margin-top: .3rem; display: block; }

/* ══════════════════════════
   PLATFORM CHIPS + SERVICES
══════════════════════════ */
/* Editorial, right-anchored section head (RTL) — deliberately NOT the
   centered "AI landing page" look. An accent rule ties title to eyebrow. */
/* Section head — centered, balanced, editorial. Badge on top, then title with
   a short accent underline (not a right-edge bar), then lead. Confident and
   on-brand on every page. */
.section-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-3);
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: var(--sp-7);
}
.section-title-block h1,
.section-title-block h2 {
  margin: 0;
  position: relative;
  padding-bottom: var(--sp-4);
}
.section-title-block h1::after,
.section-title-block h2::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 50%;
  transform: translateX(50%);
  width: 56px;
  height: 4px;
  background: var(--lj-accent);
  border-radius: var(--r-sm);
}
.section-title-block p { margin: 0; max-width: 44ch; }

.chips-row { display: flex; align-items: center; justify-content: flex-start; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-6); margin-bottom: var(--sp-2); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 18px; border-radius: var(--r-sm);
  background: var(--lj-surface); border: 1.5px solid var(--lj-hairline);
  font-size: var(--fs-sm); font-weight: 600; color: var(--lj-muted);
  cursor: pointer;
  transition: all 150ms;
}
.chip:hover { border-color: var(--lj-primary-100); color: var(--lj-primary); background: var(--lj-primary-50); }
.chip.active { background: var(--lj-primary); border-color: var(--lj-primary); color: #fff; }

.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-5); margin-top: var(--sp-6); }

.svc-card {
  background: var(--lj-surface);
  border: 1.5px solid var(--lj-hairline);
  border-radius: var(--r-lg); padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--lj-ease), box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: color-mix(in srgb, var(--lj-primary) 28%, transparent);
}
.svc-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-5); }
.platform-icon {
  width: 46px; height: 46px; border-radius: .75rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.platform-icon svg { width: 24px; height: 24px; fill: #fff; }
.pi-bg-ig { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); }
.pi-bg-tg { background: #26A5E4; border-radius: var(--r-sm); }
.pi-bg-yt { background: #FF0000; }
.pi-bg-tt { background: #000; }
.pi-bg-rb { background: #39B54A; }
.pi-bg-tw { background: #1DA1F2; border-radius: var(--r-sm); }

.speed-pill {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  background: var(--lj-accent-50); color: #c0225a;
  border: 1px solid var(--lj-accent-100);
  border-radius: var(--r-sm); padding: 3px 10px; font-size: var(--fs-xs); font-weight: 600;
}
.guarantee-pill {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  background: var(--lj-success-50); color: #065F46;
  border: 1px solid #BBF7D0;
  border-radius: var(--r-sm); padding: 3px 10px; font-size: var(--fs-xs); font-weight: 600;
}
.svc-name { font-size: var(--fs-md); font-weight: 700; color: var(--lj-ink); margin-bottom: var(--sp-2); line-height: var(--lh-snug); }
.svc-desc { font-size: var(--fs-sm); color: var(--lj-muted); line-height: var(--lh-snug); margin-bottom: var(--sp-5); }
/* price block + order button side by side (the preferred style) */
.svc-footer {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3);
}
.svc-price-block { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-1); }
.svc-price { font-family: var(--lj-font-heading); font-size: var(--fs-md); font-weight: 800; color: var(--lj-primary); font-variant-numeric: tabular-nums; }
.svc-price-unit { font-size: var(--fs-xs); color: var(--lj-muted); font-weight: 400; }
.svc-qty { font-size: var(--fs-xs); color: var(--lj-muted); background: var(--lj-bg-alt); border-radius: var(--r-sm); padding: 2px var(--sp-2); display: inline-block; }
.btn-order {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4); border-radius: var(--r-md);
  background: var(--lj-primary-50); color: var(--lj-primary);
  border: 1.5px solid var(--lj-primary-100);
  font-size: var(--fs-sm); font-weight: 700;
  transition: background 150ms, color 150ms, border-color 150ms;
  white-space: nowrap;
}
.btn-order:hover { background: var(--lj-primary); color: #fff; border-color: var(--lj-primary); }

/* ══════════════════════════
   HOW IT WORKS
══════════════════════════ */
/* Numbered step rows (RTL). Each row = a big number node tied directly to a
   card. A connector line links consecutive numbers. Number and card align on
   the same baseline so nothing floats. */
.steps-flow {
  position: relative;
  max-width: 52rem; margin-inline: auto;
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.step-row {
  position: relative;
  display: grid; grid-template-columns: 64px 1fr; gap: var(--sp-5);
  align-items: stretch;
}
/* connector between number nodes */
.step-row:not(:last-child) .step-node::after {
  content: ''; position: absolute; top: 64px; bottom: calc(-1 * var(--sp-4));
  inset-inline-end: 31px; width: 2px;
  background: var(--lj-hairline);
}
.step-node {
  position: relative;
  width: 64px; height: 64px; border-radius: var(--r-md);
  display: grid; place-items: center;
  font-family: var(--lj-font-heading); font-size: var(--fs-xl); font-weight: 800; color: #fff;
}
.sn-1 { background: linear-gradient(135deg, var(--lj-primary), var(--lj-primary-mid)); }
.sn-2 { background: linear-gradient(135deg, #c0225a, var(--lj-accent)); }
.sn-3 { background: linear-gradient(135deg, #059669, var(--lj-success)); }
.step-body {
  background: var(--lj-surface);
  border: 1.5px solid var(--lj-hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: var(--sp-5);
  display: flex; align-items: flex-start; gap: var(--sp-4);
  transition: transform .3s var(--lj-ease), box-shadow .3s, border-color .3s;
}
.step-row:hover .step-body { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--lj-primary-100); }
.step-body .step-ic {
  display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
  border-radius: var(--r-md); background: var(--lj-bg-alt); color: var(--lj-primary);
}
.step-body .step-ic svg { width: 22px; height: 22px; }
.step-body .step-txt h3 { font-size: var(--fs-md); font-weight: 700; color: var(--lj-ink); margin-bottom: var(--sp-2); }
.step-body .step-txt p { font-size: var(--fs-sm); color: var(--lj-muted); line-height: var(--lh-body); }
@media (max-width: 640px) {
  .step-row { grid-template-columns: 48px 1fr; gap: var(--sp-3); }
  .step-node { width: 48px; height: 48px; font-size: var(--fs-lg); }
  .step-row:not(:last-child) .step-node::after { top: 48px; inset-inline-end: 23px; }
}

/* ══════════════════════════
   TRUST
══════════════════════════ */
/* Why-us: split layout — visual on one side, text + icon features on the other. */
.why-grid {
  display: grid; grid-template-columns: .9fr 1.1fr;
  align-items: center; gap: var(--sp-8);
}
.why-visual {
  position: relative;
  border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(60% 60% at 80% 20%, rgba(255,85,136,.3), transparent 60%),
    linear-gradient(135deg, var(--lj-primary-dark), var(--lj-primary-mid));
}
.why-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* stat chip floating on the visual */
.why-visual .why-badge {
  position: absolute; inset-block-end: var(--sp-5); inset-inline-start: var(--sp-5);
  background: rgba(255,255,255,.95); border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  display: flex; align-items: center; gap: var(--sp-3);
  box-shadow: var(--shadow-hover);
}
.why-badge .wb-ic { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--lj-success-50); color: var(--lj-success); display: grid; place-items: center; }
.why-badge .wb-ic svg { width: 22px; height: 22px; }
.why-badge b { display: block; font-family: var(--lj-font-heading); font-weight: 800; color: var(--lj-ink); font-size: var(--fs-md); }
.why-badge small { color: var(--lj-muted); font-size: var(--fs-xs); }

.why-text > p { margin: var(--sp-4) 0 var(--sp-6); color: var(--lj-body-text); font-size: var(--fs-base); line-height: var(--lh-body); max-width: 48ch; }
/* icon feature row below the text */
.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.why-feature { display: flex; align-items: flex-start; gap: var(--sp-3); }
.why-feature .wf-ic {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--r-md);
  display: grid; place-items: center; background: var(--lj-primary-50); color: var(--lj-primary);
}
.why-feature.pink .wf-ic { background: var(--lj-accent-50); color: var(--lj-accent); }
.why-feature.green .wf-ic { background: var(--lj-success-50); color: var(--lj-success); }
.why-feature.amber .wf-ic { background: var(--lj-amber-50); color: var(--lj-amber); }
.why-feature .wf-ic svg { width: 22px; height: 22px; }
.why-feature h3 { font-size: var(--fs-sm); font-weight: 700; color: var(--lj-ink); margin-bottom: var(--sp-1); }
.why-feature p { font-size: var(--fs-xs); color: var(--lj-muted); line-height: var(--lh-snug); }
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .why-features { grid-template-columns: 1fr; }
}

/* ══════════════════════════
   TESTIMONIALS
══════════════════════════ */
.testi-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--sp-5); margin-bottom: var(--sp-6);
}
.testi-head .section-title-block { margin-bottom: 0; }
.testi-nav { display: flex; gap: var(--sp-2); flex-shrink: 0; }
.testi-arrow {
  width: 44px; height: 44px; border-radius: 999px; cursor: pointer;
  display: grid; place-items: center;
  background: var(--lj-surface); border: 1.5px solid var(--lj-hairline);
  color: var(--lj-body-text);
  transition: background 150ms, border-color 150ms, color 150ms, transform 150ms;
}
.testi-arrow:hover {
  background: var(--lj-primary); border-color: var(--lj-primary); color: #fff;
  transform: translateY(-2px);
}
.testi-arrow svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .testi-nav { display: none; } }

/* horizontal carousel — scroll-snap, one row, swipe/drag */
.testi-grid {
  display: flex; gap: var(--sp-5);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline-start: 0;
  padding-block: var(--sp-2); padding-inline: 4px;
  margin-inline: -4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* fade the far (overflow) edge so the partial card reads as intentional */
  -webkit-mask-image: linear-gradient(to left, #000 88%, transparent 100%);
          mask-image: linear-gradient(to left, #000 88%, transparent 100%);
}
.testi-grid::-webkit-scrollbar { display: none; }
/* remove fade once scrolled to the end (JS toggles .is-end) */
.testi-grid.is-end { -webkit-mask-image: none; mask-image: none; }
.testi-card {
  flex: 0 0 clamp(17rem, 30%, 22rem);
  scroll-snap-align: start;
  background: var(--lj-surface);
  border: 1.5px solid var(--lj-hairline);
  border-radius: 1.125rem; padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--lj-ease), box-shadow .3s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
/* accent top bar */
.testi-card::before {
  content: '';
  display: block; width: 36px; height: 3px;
  background: linear-gradient(90deg, var(--lj-primary), var(--lj-accent));
  border-radius: var(--r-sm); margin-bottom: var(--sp-4);
}
.stars { font-size: var(--fs-sm); letter-spacing: .1em; margin-bottom: .625rem; color: var(--lj-amber); }
.testi-quote { font-size: var(--fs-sm); color: var(--lj-body-text); line-height: 1.8; margin-bottom: var(--sp-5); }
.testi-author { display: flex; align-items: center; gap: var(--sp-3); }
.testi-avatar {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--lj-primary-100); color: var(--lj-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--fs-sm); flex-shrink: 0;
}
.testi-name { font-size: var(--fs-sm); font-weight: 600; color: var(--lj-ink); }
.testi-handle { font-size: var(--fs-xs); color: var(--lj-muted); }

/* ══════════════════════════
   FAQ
══════════════════════════ */
.faq-list { max-width: 680px; margin-inline: auto; margin-top: var(--sp-7); display: flex; flex-direction: column; gap: .625rem; }
.faq-item {
  background: var(--lj-surface); border: 1.5px solid var(--lj-hairline);
  border-radius: .875rem; overflow: hidden; transition: border-color .2s;
}
.faq-item.open { border-color: color-mix(in srgb, var(--lj-primary) 30%, transparent); }
.faq-q {
  padding: var(--sp-4) var(--sp-5);
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-size: var(--fs-sm); font-weight: 600; color: var(--lj-ink); gap: var(--sp-4);
}
.faq-item.open .faq-q { color: var(--lj-primary); }
.faq-arrow { flex-shrink: 0; color: var(--lj-muted); transition: transform .25s var(--lj-ease); }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--lj-accent); }
.faq-a {
  display: none; padding: 0 var(--sp-5) var(--sp-4);
  font-size: var(--fs-sm); color: var(--lj-body-text); line-height: 1.8;
  border-top: 1px solid var(--lj-hairline);
  padding-top: .875rem;
}
.faq-item.open .faq-a { display: block; }

/* ══════════════════════════
   SOCIAL FOLLOW BAND (optional, off by default)
══════════════════════════ */
.social-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 120% at 88% 0%, rgba(255,85,136,.22), transparent 60%),
    linear-gradient(135deg, var(--lj-primary-dark), var(--lj-primary));
  padding-block: var(--sp-8);
}
.social-band-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--sp-7);
}
.social-band-text .badge { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.2); color: #fff; margin-bottom: var(--sp-4); }
.social-band-text .badge .dot { background: var(--lj-accent); }
.social-band-text h2 { color: #fff; }
.social-band-text p { color: rgba(255,255,255,.82); margin-top: var(--sp-3); max-width: 48ch; font-size: var(--fs-base); line-height: var(--lh-body); }
.social-band-links { display: flex; flex-direction: column; gap: var(--sp-3); min-width: 17rem; }
.social-follow {
  display: flex; align-items: center; gap: var(--sp-3);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md); padding: var(--sp-3) var(--sp-4);
  transition: background 150ms, transform 150ms, border-color 150ms;
}
.social-follow:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); transform: translateX(-3px); }
.social-follow .sf-ic { width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.social-follow .sf-ic svg { width: 22px; height: 22px; color: #fff; }
.social-follow span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.35; flex: 1; }
.social-follow b { color: #fff; font-size: var(--fs-sm); font-weight: 700; }
.social-follow small { color: rgba(255,255,255,.6); font-size: var(--fs-xs); direction: ltr; text-align: start; }
.social-follow .sf-go { width: 18px; height: 18px; color: rgba(255,255,255,.5); flex-shrink: 0; transition: color 150ms, transform 150ms; }
.social-follow:hover .sf-go { color: #fff; transform: translateX(-3px); }
@media (max-width: 780px) {
  .social-band-inner { grid-template-columns: 1fr; }
}

/* ══════════════════════════
   FOOTER
══════════════════════════ */
.footer {
  position: relative;
  background:
    radial-gradient(80% 120% at 85% -10%, rgba(67,53,145,.35), transparent 60%),
    #0a0716;
  color: rgba(255,255,255,.65);
  padding-block: var(--sp-8) var(--sp-5);
  overflow: hidden;
}
.footer::before {   /* top accent hairline */
  content: ''; position: absolute; inset-inline: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--lj-primary), var(--lj-accent), transparent);
}
.footer-grid { display: grid; grid-template-columns: 2.4fr 1fr 1fr 1.2fr; gap: var(--sp-7); margin-bottom: var(--sp-7); }
.footer-logo { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.footer-logo .logo-mark { box-shadow: none; }
.footer-logo .brand-name { color: #fff; }
.footer-brand p { font-size: var(--fs-sm); line-height: 2; max-width: 34ch; color: rgba(255,255,255,.68); }

/* newsletter */
.footer-news { margin-top: var(--sp-5); }
.footer-news label { display: block; font-size: var(--fs-xs); color: rgba(255,255,255,.5); margin-bottom: var(--sp-2); }
.footer-news form { display: flex; gap: var(--sp-2); max-width: 22rem; }
.footer-news input {
  flex: 1; min-width: 0; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md);
  padding: var(--sp-2) var(--sp-3); color: #fff; font-family: inherit; font-size: var(--fs-sm);
}
.footer-news input::placeholder { color: rgba(255,255,255,.35); }
.footer-news input:focus { outline: none; border-color: var(--lj-accent); }
.footer-news button {
  background: var(--lj-primary); color: #fff; border: none; border-radius: var(--r-md);
  padding: var(--sp-2) var(--sp-4); font-weight: 700; font-size: var(--fs-sm); cursor: pointer;
  transition: background 150ms;
}
.footer-news button:hover { background: var(--lj-primary-mid); }

.footer-col h4 { font-size: var(--fs-sm); font-weight: 700; color: #fff; margin-bottom: var(--sp-4); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); color: rgba(255,255,255,.5); transition: color 150ms, transform 150ms; }
.footer-col a:hover { color: #fff; transform: translateX(-3px); }
/* small square platform chip inside footer links */
.f-plat { width: 22px; height: 22px; border-radius: var(--r-sm); display: grid; place-items: center; flex-shrink: 0; }
.f-plat svg { width: 12px; height: 12px; color: #fff; }

/* social row */
.footer-social { display: flex; gap: var(--sp-2); margin-top: var(--sp-5); }
.footer-social a {
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: grid; place-items: center; color: rgba(255,255,255,.6);
  transition: background 150ms, color 150ms, transform 150ms;
}
.footer-social a:hover { background: var(--lj-primary); color: #fff; border-color: transparent; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: var(--sp-5);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-4);
  font-size: var(--fs-sm); color: rgba(255,255,255,.35);
}
.footer-seals { display: flex; gap: var(--sp-3); align-items: center; }
.seal {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md); padding: var(--sp-2) var(--sp-3); font-size: var(--fs-xs); color: rgba(255,255,255,.6);
}
.seal svg { width: 14px; height: 14px; color: var(--lj-success); }

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media(max-width:1023px) {
  .desktop-nav  { display: none !important; }
  .desktop-auth { display: none !important; }
  .hamburger    { display: flex !important; }
  .stats-grid   { grid-template-columns: repeat(2,1fr); }
  .services-grid{ grid-template-columns: repeat(2,1fr); }
  .steps-grid   { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .trust-grid   { grid-template-columns: repeat(2,1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
}
@media(max-width:640px) {
  .services-grid { grid-template-columns: 1fr; }
  .testi-card    { flex-basis: 85%; }
  .footer-grid   { grid-template-columns: 1fr; }
}

/* ── Footer follow-us row (merged from old social band) ── */
.footer-follow {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--sp-6);
  padding-bottom: var(--sp-7); margin-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer-follow-text .badge { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.18); color: #fff; }
.footer-follow-text .badge .dot { background: var(--lj-accent); }
.footer-follow-text p { color: rgba(255,255,255,.72); margin-top: var(--sp-3); max-width: 44ch; font-size: var(--fs-sm); line-height: var(--lh-body); }
.footer-follow-links { display: flex; gap: var(--sp-4); flex-wrap: nowrap; justify-content: flex-end; }
.footer-follow-links .social-follow {
  width: 14.5rem; padding: var(--sp-4);
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.10);
}
.footer-follow-links .social-follow:hover {
  background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.22);
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
@media (max-width: 780px) {
  .footer-follow { grid-template-columns: 1fr; }
  .footer-follow-links { flex-wrap: wrap; justify-content: stretch; gap: var(--sp-3); }
  .footer-follow-links .social-follow { flex: 1 1 100%; width: auto; }
}

/* ============ likejo pagination (numbered, Persian, RTL) — shared ============ */
.lj-pagination { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); flex-wrap: wrap; margin-block: var(--sp-6) var(--sp-3); }
.lj-pagination .lj-page {
  min-width: 40px; height: 40px; padding: 0 var(--sp-3);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: var(--fs-sm); font-weight: 600; color: var(--lj-body-text);
  background: var(--lj-bg); border: 1px solid var(--lj-hairline); border-radius: var(--r-md);
  text-decoration: none; transition: border-color .15s var(--lj-ease), background .15s var(--lj-ease), color .15s var(--lj-ease);
}
.lj-pagination .lj-page:hover { border-color: var(--lj-primary); color: var(--lj-primary); }
.lj-pagination .lj-page.is-active { background: var(--lj-primary); border-color: var(--lj-primary); color: #fff; cursor: default; }
.lj-page-nav { width: 40px; padding: 0; color: var(--lj-muted); }
.lj-page-nav svg { width: 18px; height: 18px; }
.lj-pagination .lj-page.is-disabled { opacity: .4; pointer-events: none; }
.lj-page-gap { color: var(--lj-muted); padding: 0 var(--sp-1); }
.lj-pagination-info { text-align: center; font-size: var(--fs-sm); color: var(--lj-muted); margin-top: var(--sp-2); }
