/* ==========================================================================
   HERO — محتوا و چیدمان قبلی، با رنگ‌بندی روشن جدید.
   ========================================================================== */
.hero{
  --mask:#f4f7ff; --mask-2:#ffffff; --mask-3:#2563eb; --trace:#8aa0ff;
  --paper:#ffffff; --paper-2:#eef3ff; --silk:#f5f8ff;
  --ink:#0f172a; --ink-2:#475569; --ink-3:#64748b; --line:#dfe6f3;
  --gold:#2563eb; --gold-2:#1d4ed8; --coral:#e0405c; --mint:#16a36a;
  --display:'Lalezar','Vazirmatn',sans-serif;
  font-size:13.5px;line-height:1.85;color:var(--tx);
}
.hero :focus-visible{outline:3px solid var(--blue-2);outline-offset:3px;border-radius:6px}
.hero .ic{width:20px;height:20px}
.hero .tag{box-shadow:none;line-height:inherit;letter-spacing:normal}

/* ===== hero ===== */
.hero{background:linear-gradient(180deg,#f3f6ff,#ffffff 85%);color:var(--tx);overflow:hidden;isolation:isolate}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:
  radial-gradient(900px 520px at 85% 0,rgba(59,130,246,.14),transparent 60%),radial-gradient(760px 480px at 8% 80%,rgba(124,77,219,.09),transparent 60%),
  radial-gradient(rgba(15,23,42,.07) 1px,transparent 1.3px) 0 0/22px 22px}
.hero-grid{display:grid;padding-block:clamp(22px,3.4vw,12px) 20px;align-items:center}
@media(min-width:1024px){.hero-grid{grid-template-columns:minmax(0,6fr) minmax(0,6fr);}}
.hero h1{font-family:var(--display);font-weight:400;font-size:clamp(26px,3.5vw,35px);line-height:1.22;margin-bottom:14px}
.hero .lead{color:var(--tx-2);max-width:54ch;font-size:14px;margin-bottom:24px}
.hero .cta{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:26px}
.hero .facts{list-style:none;display:grid;gap:10px;grid-template-columns:1fr 1fr;max-width:520px}
.hero .facts li{display:flex;gap:9px;align-items:flex-start;font-size:11.5px;color:#334155;line-height:1.6}
.hero .facts .ic{color:var(--gold);width:18px;height:18px;margin-top:3px}
@media(max-width:520px){.facts{grid-template-columns:1fr}}

.case-fig{position:relative;max-width:600px;margin-inline:auto;width:100%}
#board{width:100%;height:auto;filter:drop-shadow(0 28px 36px rgba(30,50,120,.28))}
.part{cursor:pointer;outline:none}
.part .hl{fill:none;stroke:var(--gold);stroke-width:3;stroke-dasharray:7 6;opacity:0;transition:opacity .2s}
.part:hover .hl,.part:focus-visible .hl,.part.active .hl{opacity:1}
.part.active .hl{animation:march 1.2s linear infinite}
@keyframes march{to{stroke-dashoffset:-26}}
.pin{transition:transform .2s}
.part:hover .pin,.part.active .pin{transform:scale(1.35)}
.spin{animation:spin 6s linear infinite}
.spin.s2{animation-duration:4.2s}.spin.s3{animation-duration:7.5s;animation-direction:reverse}
@keyframes spin{to{transform:rotate(360deg)}}
.trace{fill:none;stroke:#7f95f5;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.55;stroke-dasharray:1;animation:draw 2.4s ease-out both}
@keyframes draw{from{stroke-dashoffset:1}}
.case-cap{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;margin-top:10px;font-size:11px;color:var(--tx-3)}
.case-cap strong{color:var(--tx)}
.hero .hint{display:flex;gap:8px;align-items:center}
.hero .hint i{width:9px;height:9px;border-radius:50%;background:var(--gold)}

/* part datasheet */
.sheet{position:relative;z-index:2;background:var(--paper);color:var(--ink);border-radius:26px 8px 26px 8px;padding:clamp(18px,2.6vw,30px);display:grid;gap:16px;border:1px solid var(--line);box-shadow:0 24px 60px rgba(30,50,120,.14);margin-bottom:-1px}
@media(min-width:1000px){.sheet{grid-template-columns:1.25fr 1.2fr .9fr;align-items:start}}
.hero .sheet .tags{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.hero .tag{display:inline-block;padding:3px 12px;border-radius:8px;background:var(--grad);color:#fff;font-size:11px;font-weight:700}
.hero .stock{font-size:11px;color:var(--ink-2);display:flex;align-items:center;gap:6px;font-weight:600}
.hero .stock::before{content:"";width:8px;height:8px;border-radius:50%;background:#1EA97C}
.hero .sheet h3{font-size:16px;line-height:1.6;font-weight:800;margin-bottom:6px}
.hero .sheet p.d{font-size:11.5px;color:var(--ink-2)}
.hero .specs{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.hero .specs div{padding:10px 12px;border-block-end:1px solid var(--line);border-inline-end:1px solid var(--line);font-size:11px;background:#f6f8fe}
.hero .specs div:nth-child(2n){border-inline-end:0}
.hero .specs div:nth-last-child(-n+2){border-block-end:0}
.hero .specs span{display:block;color:var(--ink-3);font-size:10.5px}
.hero .specs strong{font-weight:700}
.hero .buy .row{display:flex;justify-content:space-between;gap:12px;align-items:flex-end;margin-bottom:12px}
.hero .buy small{display:block;color:var(--ink-3);font-size:10.5px}
.hero .price{font-size:19px;font-weight:800;line-height:1.3}
.hero .inst{font-size:14.5px;font-weight:800;color:var(--mask-3)}
.hero .buy .btns{display:grid;gap:8px}
.hero .buy .btns .two{display:grid;grid-template-columns:1fr 1fr;gap:8px}

.trust{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.trust ul{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:0}
@media(min-width:900px){.trust ul{grid-template-columns:repeat(4,1fr)}}
.trust li{display:flex;gap:12px;align-items:center;padding:12px 12px;border-inline-start:1px solid var(--line);font-size:11.5px}
.trust li:nth-child(odd){border-inline-start:0}
@media(min-width:900px){.trust li{border-inline-start:1px solid var(--line)!important}.trust li:first-child{border-inline-start:0!important}}
.trust small{display:block;color:var(--tx-3);font-size:10.5px}
.trust strong{font-weight:700;line-height:1.5;display:block}
.trust .ic{width:30px;height:30px;color:var(--gold);stroke-width:1.5}

