/* Home hero dashboard carousel (class prefix: hc-) */
.hc{--hc-bg:#120d1f;--hc-win:#171126;--hc-panel:#1f1733;--hc-line:rgba(255,255,255,.08);--hc-fg:#f4eefc;--hc-muted:#a99dc2;--hc-faint:#9488ad;--hc-brand:#5a1fb8;--hc-accent:#a020f0;--hc-light:#d25bff;--hc-ok:#3ddc97;--hc-warn:#f5a623;--hc-bad:#f2555a;--hc-he:'Noto Sans Hebrew','Manrope',system-ui,sans-serif;--hc-en:'Manrope','Noto Sans Hebrew',system-ui,sans-serif;position:relative;color:var(--hc-fg);font-family:var(--hc-he);font-size:16px;line-height:1.5;direction:rtl;text-align:right}
.hc *{box-sizing:border-box}
/* stage */
.hc-stage { position: relative; height: 470px; direction: ltr; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hc-slide {
  --hc-w: min(430px, 86vw);
  position: absolute; top: 14px; left: 50%; width: var(--hc-w); height: 440px; margin-left: calc(var(--hc-w) / -2);
  transition: transform .7s cubic-bezier(.22,.8,.24,1), opacity .6s ease, filter .6s ease;
  will-change: transform; cursor: pointer;
}
.hc-slide.hc-is-active { cursor: default; }

/* window */
.hc-win {
  height: 100%; direction: rtl; text-align: right; display: flex; flex-direction: column;
  padding: 16px 18px 18px; border-radius: 22px; background: linear-gradient(180deg, #1b142d, var(--hc-win));
  border: 1px solid rgba(160,32,240,.28); box-shadow: 0 34px 70px -34px rgba(160,32,240,.55), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.hc-is-active .hc-win { border-color: rgba(160,32,240,.5); box-shadow: 0 40px 80px -30px rgba(160,32,240,.7), 0 0 0 1px rgba(255,255,255,.03) inset; }
.hc-chrome { direction: ltr; display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--hc-line); }
.hc-file { font-family: var(--hc-en); font-size: 13px; color: var(--hc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hc-dots { display: flex; gap: 7px; flex-shrink: 0; }
.hc-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.hc-dots i:nth-child(1) { background: #27c46b; } .hc-dots i:nth-child(2) { background: #e8a33a; } .hc-dots i:nth-child(3) { background: #e5484d; }
.hc-body { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; flex: 1; min-height: 0; }
.hc-card { background: var(--hc-panel); border: 1px solid var(--hc-line); border-radius: 14px; padding: 13px 14px; min-width: 0; }
.hc-status { display: flex; align-items: center; gap: 12px; border-color: rgba(160,32,240,.4); background: linear-gradient(180deg, rgba(160,32,240,.12), rgba(160,32,240,.04)); }
.hc-ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(160,32,240,.18); border: 1px solid rgba(160,32,240,.4); display: grid; place-items: center; flex-shrink: 0; color: var(--hc-light); }
.hc-ico svg { width: 21px; height: 21px; }
.hc-txt { flex: 1; min-width: 0; }
.hc-txt b { display: block; font-size: 16px; font-weight: 700; line-height: 1.25; }
.hc-txt small { display: block; color: var(--hc-muted); font-size: 12.5px; line-height: 1.35; margin-top: 2px; }
.hc-badge { font-family: var(--hc-en); font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; background: rgba(160,32,240,.2); border: 1px solid rgba(160,32,240,.55); color: var(--hc-light); flex-shrink: 0; direction: ltr; }
.hc-badge::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--hc-light); margin-inline-end: 6px; vertical-align: 1px; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.hc-main { display: flex; flex-direction: column; min-height: 0; }
.hc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13.5px; color: var(--hc-muted); margin-bottom: 10px; }
.hc-row strong { font-family: var(--hc-en); color: var(--hc-light); font-weight: 700; direction: ltr; }
.hc-event { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 11px 14px; }
.hc-event span { display: flex; align-items: center; gap: 9px; min-width: 0; }
.hc-event span i { width: 7px; height: 7px; border-radius: 50%; background: var(--hc-ok); flex-shrink: 0; }
.hc-event time { color: var(--hc-faint); font-size: 12px; flex-shrink: 0; }

/* shared widgets */
.hc-bars { flex: 1; display: flex; align-items: flex-end; gap: 8px; direction: ltr; min-height: 0; }
.hc-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--hc-light), var(--hc-brand)); }
.hc-pill { font-size: 11.5px; padding: 2px 9px; border-radius: 99px; border: 1px solid; white-space: nowrap; flex-shrink: 0; }
.hc-p-ok { color: var(--hc-ok); border-color: rgba(61,220,151,.4); background: rgba(61,220,151,.1); }
.hc-p-warn { color: var(--hc-warn); border-color: rgba(245,166,35,.4); background: rgba(245,166,35,.1); }
.hc-p-bad { color: var(--hc-bad); border-color: rgba(242,85,90,.4); background: rgba(242,85,90,.1); }
.hc-p-info { color: var(--hc-light); border-color: rgba(210,91,255,.4); background: rgba(160,32,240,.14); }
.hc-list { display: grid; gap: 8px; align-content: start; }
.hc-li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 8px 10px; border-radius: 10px; background: #1a1329; border: 1px solid var(--hc-line); min-width: 0; }
.hc-li .hc-grow { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-li .hc-num { font-family: var(--hc-en); font-weight: 700; font-size: 13px; direction: ltr; flex-shrink: 0; }
.hc-av { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--hc-accent), var(--hc-brand)); font-size: 10.5px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; font-family: var(--hc-en); }
.hc-chk { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--hc-faint); flex-shrink: 0; display: grid; place-items: center; }
.hc-chk.hc-on { background: var(--hc-accent); border-color: var(--hc-accent); }
.hc-chk.hc-on::after { content: ''; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.hc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.hc-kpi { background: #1a1329; border: 1px solid var(--hc-line); border-radius: 11px; padding: 8px 10px; }
.hc-kpi b { display: block; font-family: var(--hc-en); font-size: 17px; line-height: 1.2; }
.hc-kpi span { font-size: 11.5px; color: var(--hc-muted); }
.hc-kpi em { font-style: normal; font-family: var(--hc-en); font-size: 11px; color: var(--hc-ok); font-weight: 700; }
.hc-spark { width: 100%; flex: 1; min-height: 0; display: block; }
.hc-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; min-height: 0; }
.hc-col h4 { margin: 0 0 7px; font-size: 12px; color: var(--hc-muted); font-weight: 500; display: flex; justify-content: space-between; }
.hc-col h4 span { font-family: var(--hc-en); color: var(--hc-faint); }
.hc-tk { background: #1a1329; border: 1px solid var(--hc-line); border-radius: 9px; padding: 7px 9px; margin-bottom: 7px; font-size: 12px; }
.hc-tk b { display: block; font-family: var(--hc-en); font-size: 12.5px; color: var(--hc-light); margin-top: 3px; direction: ltr; text-align: right; }
.hc-tk.hc-hl { border-color: rgba(160,32,240,.6); background: rgba(160,32,240,.12); }
.hc-chat { display: grid; gap: 7px; font-size: 13px; align-content: start; }
.hc-chat p { margin: 0; padding: 8px 11px; border-radius: 11px; max-width: 88%; }
.hc-bot { background: #2a2043; border-start-start-radius: 3px; }
.hc-me { background: rgba(160,32,240,.25); color: #f0d6ff; justify-self: end; border-end-end-radius: 3px; }
.hc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.hc-stats div { background: #1a1329; border: 1px solid var(--hc-line); border-radius: 10px; padding: 7px 10px; }
.hc-stats b { display: block; font-family: var(--hc-en); font-size: 15px; }
.hc-stats span { font-size: 11.5px; color: var(--hc-muted); }
.hc-funnel { display: grid; gap: 8px; align-content: start; }
.hc-funnel > div { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--hc-muted); }
.hc-lab { width: 78px; flex-shrink: 0; }
.hc-tr { flex: 1; direction: ltr; }
.hc-bar { display: flex; align-items: center; justify-content: flex-end; height: 24px; min-width: 40px; border-radius: 7px; background: linear-gradient(90deg, rgba(90,31,184,.95), rgba(210,91,255,.85)); padding-inline: 9px; font-family: var(--hc-en); font-size: 12px; font-weight: 700; color: #fff; }
.hc-bar.hc-cust { background: linear-gradient(90deg, #a020f0, #e08bff); box-shadow: 0 0 16px rgba(210,91,255,.45); }
.hc-tl { display: grid; gap: 0; align-content: start; }
.hc-tl > div { position: relative; padding: 0 22px 12px 0; font-size: 13px; }
.hc-tl > div::before { content: ''; position: absolute; right: 4px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--hc-accent); box-shadow: 0 0 0 3px rgba(160,32,240,.2); }
.hc-tl > div::after { content: ''; position: absolute; right: 8px; top: 18px; bottom: -2px; width: 1px; background: var(--hc-line); }
.hc-tl > div:last-child::after { display: none; }
.hc-tl small { display: block; color: var(--hc-faint); font-size: 11.5px; }

/* depth states set from script via data-d */
.hc-slide[data-d="0"]  { transform: translateX(0) scale(1); opacity: 1; z-index: 5; }
.hc-slide[data-d="1"]  { transform: translateX(78%) scale(.86); opacity: 1; filter: blur(1.5px) saturate(.8); z-index: 4; }
.hc-slide[data-d="-1"] { transform: translateX(-78%) scale(.86); opacity: 1; filter: blur(1.5px) saturate(.8); z-index: 4; }
.hc-slide[data-d="2"]  { transform: translateX(132%) scale(.74); opacity: 1; filter: blur(3px); z-index: 3; }
.hc-slide[data-d="-2"] { transform: translateX(-132%) scale(.74); opacity: 1; filter: blur(3px); z-index: 3; }
.hc-slide[data-d="far"] { transform: translateX(0) scale(.6); opacity: 0; pointer-events: none; z-index: 1; }
.hc-slide:not(.hc-is-active):hover { opacity: .75; }

/* controls */
.hc-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 6px; direction: ltr; }
.hc-nav { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(160,32,240,.4); background: rgba(160,32,240,.12); color: var(--hc-light); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.hc-nav:hover { background: rgba(160,32,240,.3); }
.hc-nav:focus-visible, .hc-chip:focus-visible { outline: 2px solid var(--hc-light); outline-offset: 2px; }
.hc-nav svg { width: 18px; height: 18px; }
.hc-label { min-width: 190px; text-align: center; font-weight: 500; }
.hc-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px auto 0; max-width: 900px; }
.hc-chip { font: inherit; font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--hc-line); background: rgba(255,255,255,.03); color: var(--hc-muted); cursor: pointer; transition: all .2s; }
.hc-chip:hover { color: var(--hc-fg); border-color: rgba(160,32,240,.5); }
.hc-chip[aria-current="true"] { color: #fff; background: linear-gradient(135deg, var(--hc-accent), var(--hc-brand)); border-color: transparent; }
.hc-note { text-align: center; margin-top: 30px; color: var(--hc-faint); font-size: 13.5px; }

@media (max-width: 560px) {
  .hc-stage { height: 450px; }
  .hc-slide[data-d="1"] { transform: translateX(86%) scale(.84); } .hc-slide[data-d="-1"] { transform: translateX(-86%) scale(.84); }
  .hc-label { min-width: 150px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .hc-slide { transition: none; } .hc-badge::before { animation: none; } }

.hc-stage{pointer-events:none}
.hc-slide{pointer-events:auto}
.hc-slide[data-d="far"]{pointer-events:none}
@media (min-width:1024px){.hc-stage{margin-inline:-110px}.hc-slide{--hc-w:min(390px,86vw)}}
.hc .hc-chips{margin-top:14px}.hc .hc-chip{font-size:13px;padding:5px 11px}

.hc-slide::after{content:'';position:absolute;inset:0;border-radius:22px;background:rgb(18,13,31);opacity:0;pointer-events:none;transition:opacity .6s ease}
.hc-slide[data-d="1"]::after,.hc-slide[data-d="-1"]::after{opacity:.5}
.hc-slide[data-d="2"]::after,.hc-slide[data-d="-2"]::after{opacity:.82}
