/* راه برتر — صفحهٔ اصلی، زبان بصری نگارگری
   همهٔ قواعد زیر .lp یا body.lp-site هستند تا به پنل و صفحهٔ آپلود نشت نکنند. */

body.lp-site { background: #F6F1E6; }
body.lp-site .nav { display: none; }
body.lp-site > footer { display: none; }
body.lp-site #app { max-width: none; padding: 0; }

.lp {
  --p: var(--rb-navy-3, #1A365D);
  --p-dark: var(--rb-navy, #0B1A33);
  --gold: var(--rb-gold, #C6A15A);
  --gold-2: var(--rb-gold-2, #E4C98A);
  --gold-ink: var(--rb-gold-ink, #6B501C);
  --ink: #0E1A2B;
  --muted: #4E6278;
  --line: rgba(198, 161, 90, .72);
  --cream: #F6F1E6;
  --paper: #FBF8F1;
  --lapis: #1C6E8C;
  --s2: 12px;
  --s3: 16px;
  --s4: 24px;
  --s5: 32px;
  --s6: 48px;
  --s7: 72px;
  --measure: 62ch;
  --shadow: 0 10px 28px rgba(11, 26, 51, .06);
  font-family: Vazirmatn, Tahoma, system-ui, sans-serif;
  color: var(--ink);
  direction: rtl;
  line-height: 1.9;
  background-color: var(--cream);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'><g fill='none' stroke='%230B1A33' stroke-opacity='0.09' stroke-width='0.6'><path d='M36 8 L42 26 L60 20 L48 36 L60 52 L42 46 L36 64 L30 46 L12 52 L24 36 L12 20 L30 26 Z'/><path d='M36 24 L42 36 L36 48 L30 36 Z'/><circle cx='36' cy='36' r='3'/></g></svg>");
  background-size: 72px 72px;
}
.lp * { box-sizing: border-box; }
.lp a { color: inherit; text-decoration: none; }
.lp img, .lp svg { max-width: 100%; display: block; }
.lp h1, .lp h2, .lp h3, .lp h4 { margin: 0; line-height: 1.5; font-weight: 800; overflow-wrap: break-word; }
.lp p { margin: 0; overflow-wrap: break-word; }
.lp .wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.lp .measure { max-width: var(--measure); }

.lp .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0; color: var(--gold-ink); font-size: 13px; font-weight: 700; line-height: 1.6;
}
.lp .kicker .kick { width: 16px; height: 16px; flex: none; }
.lp .rule { margin-top: 12px; }
.lp .rule svg { width: min(240px, 68%); height: 20px; margin: 0 auto; }

.lp .sec, .lp-slider, .lp-foot { scroll-margin-top: 78px; }
.lp .sec { padding: 28px 0; }
.lp .sec.paper { background: #fff; }
.lp .sec-head { text-align: center; max-width: var(--measure); margin: 0 auto 16px; }
.lp .sec-head h2 { font-size: clamp(22px, 2.7vw, 30px); margin: 8px 0 10px; }
.lp .sec-head .lede { color: var(--muted); font-size: 15px; line-height: 1.9; margin-inline: auto; }

.lp .b {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 14.5px;
  padding: 12px 22px; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; min-height: 44px; white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.lp .b:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.lp .b-p { background: var(--p-dark); color: #fff; }
.lp .b-o { background: transparent; color: var(--p-dark); border-color: var(--gold); }
.lp .b-o:hover { background: rgba(198, 161, 90, .12); }

/* ---------- هدر ---------- */
.lp-head {
  position: sticky; top: 0; z-index: 60;
  background: var(--p-dark);
  border-bottom: 1px solid rgba(212, 179, 106, .22);
}
.lp-head.stuck { box-shadow: 0 8px 24px rgba(0, 0, 0, .28); }
.lp-head .row { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.lp-brand { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 800; font-size: 18px; color: #fff; }
.lp-brand .mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: #122544; color: var(--gold-2); font-size: 17px;
  box-shadow: inset 0 0 0 1px rgba(228, 201, 138, .55);
}
.lp-brand .nm { min-width: 0; }
.lp-brand small {
  display: block; font-size: 11px; font-weight: 500; color: #CFC6B4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw;
}
.lp-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; flex-wrap: wrap; justify-content: flex-end; }
/* style.css `nav a:not(.btn)` beats `.lp-nav a` and was painting --ink-2 on the navy bar. */
.lp-head .lp-nav a {
  font-size: 13.5px; font-weight: 600; color: #EDE6D6;
  padding: 8px 10px; border-radius: 8px; min-height: 44px;
  display: inline-flex; align-items: center;
  background: transparent; text-decoration: none;
}
.lp-head .lp-nav a:hover {
  background: rgba(212, 179, 106, .14); color: #F2D79A;
  text-decoration: underline; text-decoration-color: #F2D79A;
  text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.lp-nav a:focus-visible, .lp-brand:focus-visible, .lp-head .lp-mobile a:focus-visible {
  outline: 2px solid var(--gold-2); outline-offset: 2px;
}
.lp-head .cta { margin-inline-start: 8px; background: var(--gold); color: var(--p-dark); flex: none; }
.lp-head .cta:hover { background: var(--gold-2); }
.lp-burger {
  display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 10px; flex: none;
  border: 1px solid rgba(241, 235, 221, .35); background: transparent; color: #F1EBDD;
  font-size: 20px; cursor: pointer;
}
.lp-burger:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.lp-mobile { display: none; border-top: 1px solid rgba(212, 179, 106, .2); background: var(--p-dark); padding: 8px 0 16px; }
.lp-mobile.open { display: block; }
.lp-mobile a { display: block; padding: 12px 22px; font-size: 15px; color: #EDE6D6; min-height: 44px; }
.lp-head .lp-mobile a:not(.b) { color: #EDE6D6; }
.lp-head .lp-mobile a:not(.b):hover { background: rgba(212, 179, 106, .12); color: #F2D79A; }
.lp-mobile .b { margin: 8px 16px 0; width: calc(100% - 32px); }
.lp-mobile .b-o { color: #fff; border-color: rgba(228, 201, 138, .55); }
.lp-mobile .b-p { background: var(--gold); color: var(--p-dark); }

/* ---------- اسلایدر قهرمان ---------- */
.lp-slider { padding: 8px 0 4px; overflow: hidden; max-width: 100%; }
.lp-slider:focus { outline: none; }
.lp-slider:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.lp-track {
  display: flex; align-items: stretch; width: 100%; max-width: 100%;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: auto;
  scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.lp-track::-webkit-scrollbar { display: none; }
.lp-slide {
  flex: 0 0 100%; width: 100%; min-width: 100%; max-width: 100%;
  scroll-snap-align: start; scroll-snap-stop: always;
  box-sizing: border-box;
  display: flex; flex-direction: column;
}
.lp-slide-inner {
  flex: 1 1 auto; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 36px; align-items: center;
  padding-top: 28px; padding-bottom: 8px;
}
.lp-slide-copy { min-width: 0; }
.lp-slide-copy h1, .lp-slide-title {
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; line-height: 1.45;
  margin: 12px 0 14px; max-width: 16em; color: var(--ink);
}
.lp-slide-copy h1 em {
  font-style: normal;
  background-image: linear-gradient(var(--gold-2), var(--gold-2));
  background-repeat: no-repeat; background-size: 100% 7px; background-position: 0 92%;
}
.lp-slide-copy .lead { font-size: 16px; color: #31465F; max-width: var(--measure); }
.lp-slider .intro {
  margin-top: 16px; padding: 12px 14px; max-width: var(--measure);
  border-inline-start: 3px solid var(--gold); background: rgba(255, 255, 255, .55);
  font-size: 14.5px; color: #31465F;
}
.lp-slider .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.lp-slide-visual {
  min-width: 0; width: 100%; max-width: 100%;
  display: flex; justify-content: center; align-items: center;
}
.lp-ill {
  flex: none; width: 100%; max-width: 380px; min-width: 0;
  height: auto; aspect-ratio: 300 / 360; margin-inline: auto;
}

.lp-bars {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  padding: 2px 16px 14px; max-width: 1120px; margin: 0 auto;
}
.lp-bar {
  position: relative; flex: 1 1 0; max-width: 72px; height: 44px;
  padding: 0; border: 0; border-radius: 99px; background: transparent;
  cursor: pointer; appearance: none; -webkit-appearance: none;
}
.lp-bar::before {
  content: ""; position: absolute; inset-inline: 0; top: 50%; height: 4px;
  margin-top: -2px; border-radius: 99px; background: rgba(11, 26, 51, .28);
}
.lp-bar i {
  position: absolute; inset-inline-start: 0; top: 50%; height: 4px; margin-top: -2px;
  width: 0; border-radius: 99px; background: var(--gold);
  transition: width .12s linear; pointer-events: none;
}
.lp-bar:focus { outline: none; }
.lp-bar:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }

.lp-portrait {
  margin: 0; display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: 300px; min-width: 0;
}
.lp-arch {
  position: relative; width: 100%; aspect-ratio: 300 / 400;
  margin: 0 auto;
}
.lp-arch img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 8%;
  clip-path: url(#lpArchClip);
}
.lp-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lp-badge {
  position: static; margin: 12px 0 0; text-align: center; max-width: 100%;
}
.lp-badge .mark { width: 18px; height: 10px; margin: 0 auto 6px; }
.lp-badge b { display: block; font-size: 15px; font-weight: 800; color: var(--p-dark); line-height: 1.5; }
.lp-badge span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

.lp-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- نوار آمار ---------- */
.lp-stats:not([hidden]) {
  background: #fff; border-block: 1px solid var(--line); color: var(--ink);
}
.lp-stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; padding: 16px 0; }
.lp-stat { text-align: center; padding: 6px; }
.lp-stat b { display: block; font-size: 22px; font-weight: 900; color: var(--p-dark); line-height: 1.4; }
.lp-stat span { display: block; font-size: 13.5px; color: #31465F; }
.lp-stat small { display: block; font-size: 12px; color: var(--muted); }

/* ---------- کارت و نگاره‌ها ---------- */
.lp .card {
  position: relative; background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow);
}
.lp .svc.card, .lp .step.card, .lp .why-vig .card, .lp .about-vig .card { overflow: hidden; }
.lp .sec.paper .card { background: var(--paper); }
.lp .sec:not(.paper) .card { background: #fff; }
.lp .corn { position: absolute; width: 28px; height: 28px; pointer-events: none; z-index: 2; }
.lp .corn svg { width: 28px; height: 28px; }
.lp .corn-tl { top: 0; left: 0; }
.lp .corn-br { bottom: 0; right: 0; transform: rotate(180deg); }
.lp .vig {
  height: auto; overflow: visible;
  background: transparent; border-bottom: 1px solid rgba(198, 161, 90, .4);
}
.lp .vig svg { width: 100%; max-width: 100%; height: auto; aspect-ratio: 200 / 128; }

.lp .cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp .svc .body { padding: 12px 14px 14px; }
.lp .svc h3 { font-size: 16px; margin-bottom: 6px; color: var(--p-dark); }
.lp .svc p { font-size: 13.5px; color: var(--muted); line-height: 1.85; }

/* ---------- طرح‌ها ---------- */
.lp .plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.lp .plan { padding: 16px 14px 14px; display: flex; flex-direction: column; }
.lp .plan.hot { border-color: var(--gold); box-shadow: 0 12px 32px rgba(11, 26, 51, .08); }
.lp .plan .tag {
  display: inline-block; align-self: flex-start; margin-bottom: 8px;
  font-size: 12px; font-weight: 700; color: var(--gold-ink);
  border: 1px solid var(--gold); padding: 2px 8px; border-radius: 2px; line-height: 1.6;
}
.lp .plan h3 { font-size: 18px; }
.lp .plan .sub { color: var(--muted); font-size: 13.5px; margin-top: 6px; line-height: 1.75; }
.lp .price-note { margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.7; }
.lp .plan ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.lp .plan li { display: flex; gap: 8px; font-size: 13.5px; color: #31465F; line-height: 1.65; }
.lp .plan li::before { content: "✓"; color: var(--p); font-weight: 800; flex: none; }
.lp .plan .foot { margin-top: auto; padding-top: 12px; }
.lp .plan .foot .b { width: 100%; }

/* ---------- چرا ---------- */
.lp .why-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: center; }
.lp .why-vig { width: 100%; max-width: none; margin: 0; }
.lp .why-vig .card { padding: 0; }
.lp .why-vig .vig { border-bottom: none; }
.lp .sec-head.right { text-align: right; margin: 0 0 16px; max-width: none; }
.lp .sec-head.right .rule svg { margin: 0; }
.lp .why { display: grid; gap: 10px; }
.lp .why .it { display: flex; gap: 12px; padding: 12px 14px; align-items: flex-start; }
.lp .why .it .n {
  flex: none; width: 32px; height: 32px; margin-top: 2px;
  display: grid; place-items: center; color: var(--gold-ink); font-weight: 800; font-size: 14px;
}
.lp .why .it h3 { font-size: 15px; margin-bottom: 4px; }
.lp .why .it p { font-size: 13.5px; color: var(--muted); }

/* ---------- درباره ---------- */
.lp .about { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 32px; align-items: center; }
.lp .about-vig { width: 100%; max-width: none; margin: 0; }
.lp .about-vig .card { padding: 0; }
.lp .about-vig .vig { border-bottom: none; }
.lp .about h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 8px 0 12px; }
.lp .about p { color: #31465F; font-size: 15px; margin-bottom: 12px; max-width: var(--measure); }
.lp .sig { margin-top: 8px; display: flex; align-items: center; gap: 12px; }
.lp .sig .sham { width: 52px; height: 52px; flex: none; }
.lp .sig b { display: block; font-size: 14.5px; }
.lp .sig small { color: var(--muted); font-size: 12.5px; }
.lp .soc { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.lp .soc a {
  font-size: 13px; font-weight: 600; color: var(--p-dark); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; min-height: 44px;
  display: inline-flex; align-items: center;
}
.lp .soc a:hover { border-color: var(--p-dark); }
.lp .soc a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- مراحل ---------- */
.lp .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp .step { padding: 0 0 14px; }
.lp .step .step-vig { height: auto; overflow: visible; }
.lp .step .step-vig svg { width: 100%; max-width: 100%; height: auto; aspect-ratio: 200 / 128; margin: 0; }
.lp .step h3 { font-size: 15.5px; margin: 12px 14px 6px; }
.lp .step p { font-size: 13.5px; color: var(--muted); margin: 0 14px; }

/* ---------- پرسش ---------- */
.lp .faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.lp .faq details { padding: 2px 16px; }
.lp .faq summary {
  cursor: pointer; list-style: none; padding: 14px 4px; font-size: 15px; font-weight: 700; color: var(--p-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px;
}
.lp .faq summary::-webkit-details-marker { display: none; }
.lp .faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--gold-ink); flex: none; line-height: 1; }
.lp .faq details[open] summary::after { content: "−"; }
.lp .faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.lp .faq details p { padding: 0 4px 14px; font-size: 14px; color: var(--muted); max-width: var(--measure); }

/* ---------- دعوت پایانی ---------- */
.lp-cta {
  background: var(--p-dark); color: #F6F1E6; padding: 32px 0; text-align: center; position: relative;
}
.lp-cta .cta-vig { width: min(156px, 44vw); margin: 0 auto 4px; background: none; }
.lp-cta .cta-vig svg { width: 100%; max-width: 100%; height: auto; aspect-ratio: 168 / 108; background: none; }
.lp-cta h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 10px; }
.lp-cta p { color: #E6E0D3; font-size: 15px; margin: 0 auto 18px; max-width: var(--measure); }
.lp-cta .b { background: var(--gold); color: var(--p-dark); }
.lp-cta .b:hover { background: var(--gold-2); }

/* ---------- فوتر ---------- */
.lp-foot { background: transparent; color: #31465F; padding: 24px 0 14px; border-top: 1px solid var(--line); }
.lp-foot .cols { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 18px; }
.lp-foot h3 { color: var(--p-dark); font-size: 14px; margin-bottom: 10px; }
.lp-foot a, .lp-foot p { font-size: 13.5px; color: #31465F; display: block; margin-bottom: 4px; line-height: 1.6; }
.lp-foot a:hover { color: var(--p-dark); }
.lp-foot a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lp-foot .quick { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 8px; }
.lp-foot .quick a { margin: 0; }
.lp-foot .brandline { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--p-dark); font-weight: 800; }
.lp-foot .mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--p-dark); color: var(--gold-2); box-shadow: inset 0 0 0 1px rgba(228, 201, 138, .5);
}
.lp-foot .legal {
  margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(198, 161, 90, .35);
  display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between;
  font-size: 12px; color: var(--muted);
}

/* ---------- ظهور ---------- */
.lp .rv { opacity: 1; transform: none; }
.lp.anim .rv { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.lp.anim .rv.in { opacity: 1; transform: none; }

@media (hover: hover) {
  .lp .b-p:hover { background: #152C4D; transform: translateY(-1px); }
  .lp .svc:hover, .lp .plan:hover { transform: translateY(-2px); }
  .lp-cta .b:hover { transform: translateY(-1px); }
}

@media (max-width: 1024px) {
  .lp .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp .about, .lp .why-wrap { grid-template-columns: minmax(0, 1fr); }
  .lp .sec-head.right { text-align: center; }
  .lp .sec-head.right .rule svg { margin: 0 auto; }
  .lp-foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .lp .sec { padding: var(--s7) 0; }
  .lp .sec-head { margin-bottom: 28px; }
  .lp .wrap { padding: 0 22px; }
  .lp-slider { padding: 28px 0 8px; }
  .lp-slide-inner { padding-top: 36px; padding-bottom: 12px; gap: 40px; }
  .lp-cta { padding: 56px 0; }
  .lp-foot { padding: 40px 0 20px; }
}

@media (max-width: 860px) {
  .lp-nav, .lp-head .cta { display: none; }
  .lp-burger { display: grid; place-items: center; }
  .lp-slider { padding: 4px 0 0; }
  .lp-slide-inner {
    display: flex; flex-direction: column; align-items: stretch; justify-content: center;
    gap: 12px; padding-top: 8px; padding-bottom: 4px;
  }
  .lp-slide-visual { order: -1; flex: 0 0 auto; }
  .lp-slide-copy { flex: 0 0 auto; display: flex; flex-direction: column; }
  .lp-slider .acts { margin-top: 14px; padding-top: 0; }
  .lp-ill { max-width: 100%; }
  .lp-portrait, .lp-arch { width: 100%; max-width: 300px; }
  .lp-bars { padding: 0 16px 10px; gap: 6px; }
  .lp-bar { max-width: 56px; }
  .lp .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lp .plans, .lp .steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lp .step { padding: 0 0 10px; }
  .lp .step h3 { margin: 10px 12px 4px; }
  .lp .step p { margin: 0 12px; }
  .lp .svc h3 { font-size: 14.5px; }
  .lp .svc p { font-size: 12.5px; line-height: 1.7; }
  .lp-foot .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; }
  .lp-foot .cols > :first-child { grid-column: 1 / -1; }
  .lp-cta { padding: 32px 0; }
}

@media (max-width: 480px) {
  .lp-slide { overflow: hidden; }
  .lp .lp-ill {
    width: calc(100% + 32px); max-width: none; margin-inline: -16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp .rv, .lp.anim .rv { opacity: 1; transform: none; transition: none; }
  .lp .b:hover, .lp .svc:hover, .lp .plan:hover, .lp-cta .b:hover { transform: none; }
  .lp-track { scroll-behavior: auto; }
  .lp-bar i { transition: none; }
}
