/* SkyCRM hero visual (v4b). Everything is scoped under .hero-scene.
   Theme: follows the site's [data-theme="dark"] on <html>. Final state is visible without JS. */
.hero-scene{
  --hs-card:rgba(255,255,255,.93); --hs-ink:#0F1C2E; --hs-mute:#8A8272; --hs-line:rgba(15,28,46,.08);
  --hs-note-bg:rgba(255,248,236,.95); --hs-note-ink:#3A2E1C; --hs-chip-bg:#FFE8DC; --hs-chip-ink:#B4471F;
  --hs-step:#EFE7DA; --hs-blue:#0B77F0; --hs-amber:#FFB547; --hs-coral:#FF6B4A; --hs-sky:#2FB9FD;
  --hs-sky-grad:linear-gradient(165deg,#0B1830 0%,#11284D 42%,#1C4F8F 70%,#E99A6B 100%);
  --hs-shadow:0 60px 120px -50px rgba(15,28,46,.55);
  position:relative;width:100%;aspect-ratio:1/1;direction:rtl;font-family:inherit;isolation:isolate}
[data-theme="dark"] .hero-scene{
  --hs-card:rgba(24,35,58,.93); --hs-ink:#EEF1F6; --hs-mute:#A9B2C1; --hs-line:rgba(255,255,255,.08);
  --hs-note-bg:rgba(246,236,220,.94); --hs-chip-bg:rgba(255,129,102,.18); --hs-chip-ink:#FF9B82;
  --hs-step:rgba(255,255,255,.12); --hs-blue:#3B95FF; --hs-amber:#FFC266;
  --hs-sky-grad:linear-gradient(165deg,#070F1F 0%,#0E2142 45%,#173F75 72%,#B9714F 100%);
  --hs-shadow:0 60px 120px -40px rgba(0,0,0,.7)}
.hero-scene *{box-sizing:border-box}
.hero-scene .hs-layer{position:absolute;will-change:transform}
.hero-scene i{display:block;font-style:normal}
/* sky */
.hero-scene .hs-sky{inset:4% 2% 4% 6%;border-radius:36px;overflow:hidden;background:var(--hs-sky-grad);box-shadow:var(--hs-shadow)}
.hero-scene .hs-sky i{position:absolute}
.hero-scene .hs-glow{width:70%;aspect-ratio:1;left:-10%;bottom:-38%;border-radius:50%;background:radial-gradient(closest-side,rgba(255,190,120,.85),rgba(255,140,90,.25) 55%,transparent)}
.hero-scene .hs-arc{border-radius:50%;border:1px solid rgba(255,255,255,.10)}
.hero-scene .hs-a1{width:120%;aspect-ratio:1;left:-60%;top:30%}.hero-scene .hs-a2{width:90%;aspect-ratio:1;left:-45%;top:45%}
.hero-scene .hs-horizon{left:0;right:0;bottom:22%;height:1px;background:linear-gradient(90deg,transparent,rgba(255,220,180,.5),transparent)}
.hero-scene .hs-grid{inset:0;background-image:radial-gradient(rgba(255,255,255,.18) 1px,transparent 1.2px);background-size:22px 22px;-webkit-mask-image:linear-gradient(#000,transparent 60%);mask-image:linear-gradient(#000,transparent 60%)}
/* glass board */
.hero-scene .hs-board{top:11%;right:10%;width:62%;padding:16px;border-radius:20px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#DCE6F5;font-size:12px}
.hero-scene .hs-board-top{display:flex;justify-content:space-between;margin-bottom:12px;font-weight:700}
.hero-scene .hs-board-top em{font-style:normal;opacity:.6;font-weight:500}
.hero-scene .hs-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.hero-scene .hs-cols b{display:block;font-size:10px;font-weight:500;opacity:.7;margin-bottom:6px;white-space:nowrap}
.hero-scene .hs-cols i{height:30px;border-radius:7px;background:rgba(255,255,255,.12);margin-bottom:6px}
.hero-scene .hs-cols i.hs-short{height:22px;opacity:.6}
.hero-scene .hs-cols i.hs-on{background:rgba(255,181,71,.45);box-shadow:inset 0 0 0 1px rgba(255,181,71,.7)}
.hero-scene .hs-cols i.hs-ok{background:rgba(47,185,253,.35)}
/* lead card */
.hero-scene .hs-lead{top:36%;right:22%;width:58%;background:var(--hs-card);border-radius:22px;padding:20px;color:var(--hs-ink);box-shadow:0 40px 80px -30px rgba(5,12,30,.6),inset 0 0 0 1px rgba(255,255,255,.35);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.hero-scene .hs-lead-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.hero-scene .hs-lead-head b{display:block;font-size:16px}.hero-scene .hs-lead-head small{color:var(--hs-mute);font-size:12px;white-space:nowrap}
.hero-scene .hs-av{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,var(--hs-amber),var(--hs-coral));color:#fff;font-weight:900}
.hero-scene .hs-chip{margin-inline-start:auto;font-size:11px;font-weight:700;color:var(--hs-chip-ink);background:var(--hs-chip-bg);border-radius:999px;padding:3px 10px;white-space:nowrap}
.hero-scene .hs-rows>div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--hs-line);font-size:12.5px}
.hero-scene .hs-rows span{color:var(--hs-mute)}.hero-scene .hs-rows b{font-weight:700;text-align:left}
.hero-scene .hs-steps{display:flex;gap:6px;margin-top:12px}
.hero-scene .hs-steps i{flex:1;height:4px;border-radius:4px;background:var(--hs-step)}
.hero-scene .hs-steps .hs-done{background:var(--hs-blue)}.hero-scene .hs-steps .hs-cur{background:linear-gradient(90deg,var(--hs-blue),var(--hs-amber))}
/* notes */
.hero-scene .hs-notes{inset:0;pointer-events:none}
.hero-scene .hs-note{position:absolute;width:30%;padding:11px 13px;border-radius:10px;font-size:12px;line-height:1.6;color:var(--hs-note-ink);background:var(--hs-note-bg);box-shadow:0 18px 30px -14px rgba(5,12,30,.55);border:1px solid rgba(255,255,255,.7)}
.hero-scene .hs-note b{display:block;font-size:12.5px}
.hero-scene .hs-note::before{content:"";position:absolute;top:10px;left:10px;width:6px;height:6px;border-radius:50%;background:var(--hs-amber)}
.hero-scene .hs-n1{top:24%;left:4%;rotate:-6deg}
.hero-scene .hs-n2{top:70%;left:8%;rotate:4deg}.hero-scene .hs-n2::before{background:var(--hs-coral)}
.hero-scene .hs-n3{top:78%;right:6%;rotate:-3deg}.hero-scene .hs-n3::before{background:var(--hs-sky)}
/* toast */
.hero-scene .hs-toast{top:4%;left:12%;display:flex;gap:10px;align-items:center;padding:10px 14px;border-radius:16px;background:rgba(15,28,46,.84);color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.12);box-shadow:0 20px 40px -18px rgba(0,0,0,.6);font-size:12px}
.hero-scene .hs-toast b{display:block;color:#FFC266;font-size:12px}.hero-scene .hs-toast small{opacity:.8}
.hero-scene .hs-toast-ic{flex:none;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:rgba(255,181,71,.18);color:#FFB547}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.hero-scene .hs-board{background:rgba(20,40,75,.85)}}
/* mobile: taller canvas, notes sit BELOW the lead card (no overlap) */
@media (max-width:900px){
  .hero-scene{aspect-ratio:4/5;max-width:min(420px,100%);margin-inline:auto}
  .hero-scene .hs-sky{inset:3% 2% 3% 2%;border-radius:28px}
  .hero-scene .hs-board{top:12%;right:7%;width:76%;padding:12px;font-size:10px}
  .hero-scene .hs-cols{gap:6px}
  .hero-scene .hs-cols b{font-size:9px;white-space:normal}
  .hero-scene .hs-cols i{height:22px}
  .hero-scene .hs-lead{top:31%;right:9%;width:82%;padding:14px}
  .hero-scene .hs-lead-head{gap:8px;margin-bottom:10px}
  .hero-scene .hs-lead-head b{font-size:14px}.hero-scene .hs-lead-head small{font-size:10.5px}
  .hero-scene .hs-av{width:34px;height:34px;border-radius:10px}
  .hero-scene .hs-rows>div{font-size:11px;padding:7px 0}
  .hero-scene .hs-row-opt{display:none!important}
  .hero-scene .hs-note{width:42%;font-size:10.5px;padding:8px 10px}.hero-scene .hs-note b{font-size:11px}
  .hero-scene .hs-n1{top:18%;left:2%}
  .hero-scene .hs-n2{top:auto;bottom:5%;left:5%}
  .hero-scene .hs-n3{top:auto;bottom:8%;right:6%}
  .hero-scene .hs-toast{top:1%;left:3%;right:auto;max-width:78%;font-size:10.5px;padding:8px 10px}
}
@media (prefers-reduced-motion:reduce){.hero-scene .hs-layer{will-change:auto}}
