/* Interaction layer, loaded only by the Hebrew corporate homepage. */
.oxpi-motion-control {
    position: absolute;
    z-index: 80;
    top: 14px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid #e2d9f338;
    border-radius: 30px;
    background: #21182fe8;
    color: #f2eafa;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
    backdrop-filter: blur(12px);
}
.oxpi-motion-control[hidden], .oxpi-flow-console[hidden] { display: none; }
.oxpi-motion-control svg { width: 13px; height: 13px; flex-shrink: 0; }
.oxpi-motion-control[aria-pressed="true"] svg { opacity: .5; }
.oxpi-motion-control:focus-visible, .oxpi-flow-console button:focus-visible {
    outline: 2px solid #a9edf4;
    outline-offset: 4px;
}
.oxpi-hero-circuit {
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: .65;
    mask-image: linear-gradient(transparent 12%, #000 52%);
    transform: translate3d(calc(var(--pointer-x, 0px) * -.7), calc(var(--pointer-y, 0px) * -.7), 0);
}
.oxpi-hero-circuit svg { width: 100%; height: 100%; }
.oxpi-circuit-base { fill: none; stroke: #c0b5d72b; stroke-width: 1; }
.oxpi-circuit-signal {
    fill: none;
    stroke: #b4e8ef;
    stroke-width: 1.5;
    stroke-dasharray: 28 520;
    animation: oxpi-circuit-pass 8s linear infinite;
}
.oxpi-hero-circuit circle { fill: #b4e8ef; opacity: .7; }
.implementation-hero .presenter-side img {
    transform: translate3d(calc(var(--pointer-x, 0px) * -.8), calc(var(--hero-depth, 0px) + var(--pointer-y, 0px)), 0);
    transition: transform .4s ease-out;
}
.implementation-hero .presenter-right img {
    transform: translate3d(var(--pointer-x, 0px), calc(var(--hero-depth, 0px) * .5 + var(--pointer-y, 0px) * -.7), 0);
}
.implementation-hero .hero-grid {
    transform: translate3d(calc(var(--pointer-x, 0px) * .5), calc(var(--hero-depth, 0px) * -.5), 0);
}
.oxpi-reveal {
    transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1), border-color .2s;
    transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0ms;
}
.oxpi-reveal.oxpi-awaiting { opacity: 0; transform: translate3d(0, 24px, 0); }
.oxpi-service-card { transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.oxpi-service-card.oxpi-reveal { transition: opacity .65s ease, transform .4s ease, border-color .3s ease, box-shadow .3s ease; }
.oxpi-service-photo img { transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.oxpi-service-body > a span { transition: transform .25s ease; }
.oxpi-service-card:focus-within { border-color: #9c79ba; }
.oxpi-service-body > a:hover span { transform: translateX(-5px); }
@media (hover: hover) and (pointer: fine) {
    .oxpi-service-card:not(.oxpi-awaiting):hover { transform: translateY(-6px); border-color: #b89bce; box-shadow: 0 22px 42px #33204412; }
    .oxpi-service-card:hover .oxpi-service-photo img { transform: scale(1.045); }
}
.oxpi-flow-console {
    --flow-progress: 0;
    position: relative;
    max-width: 1060px;
    margin: 0 auto 18px;
    padding: 23px 28px 19px;
    border: 1px solid #adcad84d;
    border-radius: 24px;
    background: linear-gradient(120deg, #161323f5, #202033f5);
    color: #f7f2fc;
    box-shadow: 0 20px 50px #110a221c;
}
.oxpi-flow-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 23px; }
.oxpi-flow-toolbar > p { display: flex; gap: 11px; align-items: center; font-size: 16px; font-weight: 500; }
.oxpi-console-mark {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border: 1px solid #cbb8e070;
    border-radius: 10px;
    color: #ace6ef;
    font-size: 20px;
    font-weight: 300;
}
.oxpi-flow-play {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 17px;
    border: 1px solid #aee1e651;
    border-radius: 12px;
    background: #afe7ef13;
    color: #c0edf1;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}
.oxpi-flow-play:hover { background: #afe7ef24; }
.oxpi-play-icon { font-size: 20px; line-height: 1; }
.is-playing .oxpi-play-icon { font-size: 0; }
.is-playing .oxpi-play-icon::after { content: "Ⅱ"; font-size: 16px; }
.oxpi-flow-track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
.oxpi-flow-track::before, .oxpi-flow-track::after {
    content: "";
    position: absolute;
    top: 17px;
    right: 12.5%;
    left: 12.5%;
    height: 1px;
    background: #b9b2cb32;
    pointer-events: none;
}
.oxpi-flow-track::after { background: #a9e2ea; transform: scaleX(var(--flow-progress)); transform-origin: right; transition: transform .6s ease; }
.oxpi-flow-track li { min-width: 0; }
.oxpi-flow-track button {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    min-height: 94px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #bdb1cc;
    font: inherit;
    cursor: pointer;
}
.oxpi-flow-track button > span {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    margin-bottom: 3px;
    border: 1px solid #645570;
    border-radius: 50%;
    background: #211c2d;
    font-size: 11px;
    transition: background .3s, color .3s, border-color .3s;
}
.oxpi-flow-track b { font-size: 15px; font-weight: 500; }
.oxpi-flow-track small { font-size: 11px; color: #ac9cbe; }
.oxpi-flow-track button:hover { color: #fff; }
.oxpi-flow-track button[aria-current="step"] { color: #eafcff; }
.oxpi-flow-track button[aria-current="step"] > span { background: #b7eaf0; color: #212239; border-color: #b7eaf0; }
.oxpi-flow-track .is-complete > span { color: #b7eaf0; border-color: #8bbbc3; }
.oxpi-flow-caption { display: flex; align-items: flex-start; gap: 9px; padding-top: 15px; margin-top: 7px; border-top: 1px solid #eee0ff16; }
.oxpi-flow-indicator { flex: 0 0 6px; height: 6px; border-radius: 50%; background: #b6e9ee; margin-top: 9px; }
.is-playing .oxpi-flow-indicator { animation: oxpi-flow-breathe 1.2s ease infinite alternate; }
.oxpi-flow-caption p { min-height: 48px; margin: 0; color: #d3c6df; font-size: 13px; line-height: 1.8; }
.execution-stage .execution-panel { background: linear-gradient(125deg, #30243de6, #292237ef); border-color: #c8add94f; }
.execution-panel .execution-request, .execution-panel .execution-steps > li, .execution-panel .execution-output { transition: background .35s, border-color .35s, transform .35s; }
.execution-panel .execution-request.oxpi-flow-focus { border-color: #a2dbe2; background: #acdce815; }
.execution-panel .execution-steps > li { animation: none; border-radius: 12px; padding: 7px 8px; margin-inline: -8px; }
.execution-panel .execution-steps > li.oxpi-flow-focus { background: #bceaf018; transform: translateX(-3px); }
.execution-panel .oxpi-flow-focus > span { border-color: #a9e5ea; color: #e1fcff; }
.execution-panel .execution-output.oxpi-flow-focus .artifact-document { border-color: #b6e9ee; background: #e8f6f6; }
.execution-panel .artifact-document { transition: border-color .4s, background .4s; animation: none; }
@keyframes oxpi-circuit-pass { to { stroke-dashoffset: -548; } }
@keyframes oxpi-flow-breathe { to { opacity: .3; } }
@media (max-width: 700px) {
    .oxpi-motion-control { top: 9px; left: 11px; min-height: 30px; padding: 5px 9px; font-size: 10px; }
    .oxpi-hero-circuit { opacity: .42; mask-image: linear-gradient(transparent 40%, #000 80%); }
    .oxpi-flow-console { padding: 18px 14px 13px; border-radius: 20px; margin-bottom: 15px; }
    .oxpi-flow-toolbar { align-items: flex-start; gap: 12px; margin-bottom: 22px; }
    .oxpi-flow-toolbar > p { gap: 7px; max-width: 130px; font-size: 14px; line-height: 1.6; }
    .oxpi-console-mark { flex-shrink: 0; width: 25px; height: 25px; border-radius: 8px; font-size: 17px; }
    .oxpi-flow-play { gap: 6px; padding: 8px 9px; font-size: 11px; min-width: 121px; }
    .oxpi-flow-track button { min-height: 69px; gap: 5px; }
    .oxpi-flow-track button > span { width: 32px; height: 32px; font-size: 10px; }
    .oxpi-flow-track b { font-size: 13px; }
    .oxpi-flow-track small { display: none; }
    .oxpi-flow-track::before, .oxpi-flow-track::after { top: 16px; }
    .oxpi-flow-caption { margin-top: 4px; padding-top: 13px; }
    .oxpi-flow-caption p { min-height: 71px; font-size: 12px; line-height: 1.9; }
}
/* The control pauses existing marquees/circuits too. No stored app preference. */
body[data-oxpi-motion="paused"] *,
body[data-oxpi-motion="paused"] *::before,
body[data-oxpi-motion="paused"] *::after { animation-play-state: paused !important; transition: none !important; scroll-behavior: auto !important; }
html:has(body[data-oxpi-motion="paused"]) { scroll-behavior: auto; }
body[data-oxpi-motion="paused"] .oxpi-reveal.oxpi-awaiting { opacity: 1; transform: none; }
body[data-oxpi-motion="paused"] .presenter-side img,
body[data-oxpi-motion="paused"] .hero-grid,
body[data-oxpi-motion="paused"] .oxpi-hero-circuit { transform: none; }
@media (prefers-reduced-motion: reduce) {
    body:not([data-oxpi-motion="running"]) .oxpi-reveal { opacity: 1; transform: none; transition: none; }
    body:not([data-oxpi-motion="running"]) .oxpi-hero-circuit { animation: none; transform: none; }
}
