/* ============ INWISE HERO 1B — scoped styles (namespaced .inw-hero) ============ */
/* להעלות לתיקיית תבנית הבן (Enfold Child) לצד functions.php */
.inw-hero{
  --inw-pink:#E5157F; --inw-purple:#6D28D9; --inw-blue:#0EA5E9; --inw-amber:#F59E0B;
  --inw-ink:#2A1B3D; --inw-muted:#6B5E80; --inw-soft:#9A8FB0; --inw-bg:#F6F3FF;
  position:relative; direction:rtl; box-sizing:border-box; overflow:hidden;
  background:var(--inw-bg); font-family:'Rubik',-apple-system,'Segoe UI',sans-serif;
  border-radius:24px; padding:clamp(28px,4vw,64px);
}
.inw-hero *{ box-sizing:border-box; }
.inw-hero__blob{ position:absolute; border-radius:50%; pointer-events:none; z-index:0; }
.inw-hero__blob--a{ width:620px; height:620px; right:-160px; top:-200px; background:radial-gradient(circle, rgba(229,21,127,.16), transparent 65%); }
.inw-hero__blob--b{ width:520px; height:520px; left:-140px; bottom:-220px; background:radial-gradient(circle, rgba(109,40,217,.16), transparent 65%); }

.inw-hero__inner{ position:relative; z-index:2; max-width:1280px; margin:0 auto; display:flex; align-items:center; gap:clamp(24px,4vw,64px); }

.inw-hero__text{ flex:1 1 46%; text-align:right; color:var(--inw-ink); }
.inw-hero__eyebrow{ display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid #EBD9F5; color:var(--inw-purple); font-size:14px; font-weight:600; padding:9px 16px; border-radius:999px; box-shadow:0 6px 16px -8px rgba(109,40,217,.3); }
.inw-hero__title{ font-size:clamp(38px,5.2vw,64px); line-height:1.05; font-weight:800; margin:22px 0 0; letter-spacing:-.02em; }
.inw-hero__title em{ color:var(--inw-pink); font-style:normal; }
.inw-hero__sub{ font-size:clamp(16px,1.5vw,19px); line-height:1.6; color:var(--inw-muted); margin:24px 0 0; max-width:480px; }
.inw-hero__cta{ display:flex; gap:14px; margin-top:34px; flex-direction:row-reverse; justify-content:flex-end; flex-wrap:wrap; }
.inw-hero__btn{ text-decoration:none; font-weight:700; font-size:17px; padding:16px 30px; border-radius:14px; transition:transform .15s ease, box-shadow .15s ease; display:inline-block; }
.inw-hero__btn--primary{ background:linear-gradient(100deg,var(--inw-pink),var(--inw-purple)); color:#fff !important; box-shadow:0 16px 34px -10px rgba(229,21,127,.5); }
.inw-hero__btn--ghost{ background:#fff; border:1px solid #E7DCF3; color:var(--inw-ink); }
.inw-hero__btn:hover{ transform:translateY(-2px); }
.inw-hero__stats{ display:flex; gap:26px; margin-top:38px; flex-direction:row-reverse; color:var(--inw-soft); font-size:13px; font-weight:500; flex-wrap:wrap; }

.inw-hero__anim{ flex:1 1 54%; display:flex; align-items:center; justify-content:center; min-height:420px; }
.inw-graph-wrap{ width:100%; max-width:580px; }
.inw-graph{ position:relative; width:580px; height:580px; transform-origin:center; }
.inw-graph__svg{ position:absolute; inset:0; width:100%; height:100%; }
.inw-graph__path{ animation:inwDash 9s linear infinite; }

.inw-hub{ position:absolute; left:290px; top:290px; transform:translate(-50%,-50%); width:118px; height:118px; border-radius:28px; background:linear-gradient(135deg,var(--inw-pink),var(--inw-purple)); display:flex; flex-direction:column; align-items:center; justify-content:center; color:#fff; box-shadow:0 20px 44px -12px rgba(109,40,217,.55); animation:inwHubPulse 3s ease-in-out infinite; z-index:3; }
.inw-hub__ai{ font-size:30px; font-weight:800; font-family:'Space Grotesk',sans-serif; }
.inw-hub__lbl{ font-size:11px; opacity:.9; }

.inw-node{ position:absolute; transform:translate(-50%,-50%); background:#fff; border-radius:18px; padding:13px 16px; display:flex; align-items:center; gap:10px; box-shadow:0 14px 30px -10px rgba(90,40,140,.25); z-index:2; white-space:nowrap; }
.inw-node__ic{ width:38px; height:38px; border-radius:11px; display:flex; align-items:center; justify-content:center; font-size:20px; color:#fff; }
.inw-node__t{ font-size:14px; font-weight:700; color:var(--inw-ink); }
.inw-node__s{ font-size:11px; color:var(--inw-soft); }
.inw-node--tr{ left:150px; top:140px; }
.inw-node--tl{ left:430px; top:140px; }
.inw-node--br{ left:150px; top:440px; }
.inw-node--bl{ left:430px; top:440px; }

@keyframes inwDash{ to { stroke-dashoffset:-400; } }
@keyframes inwHubPulse{ 0%,100%{ transform:translate(-50%,-50%) scale(1); } 50%{ transform:translate(-50%,-50%) scale(1.06); } }

@media (max-width:900px){
  .inw-hero__inner{ flex-direction:column; align-items:stretch; }
  .inw-hero__text{ text-align:center; order:1; }
  .inw-hero__eyebrow, .inw-hero__sub{ margin-inline:auto; }
  .inw-hero__cta, .inw-hero__stats{ justify-content:center; }
  .inw-hero__anim{ order:2; min-height:0; }
}
@media (prefers-reduced-motion:reduce){
  .inw-graph__path, .inw-hub{ animation:none; }
}
