/* Corporate hero: AI head <-> brain head (blue / amber neon on dark navy) */
.page-hero.has-cp .page-hero-canvas{display:none!important}
.page-hero.has-cp{isolation:isolate;
  background:radial-gradient(60% 120% at 6% 55%,rgba(30,110,255,.38),transparent 70%),radial-gradient(60% 120% at 94% 55%,rgba(255,150,40,.30),transparent 70%),linear-gradient(180deg,#030c26,#061a4a 100%)!important}
.page-hero.has-cp::after{z-index:0;opacity:.35}
.page-hero.has-cp>*:not(.cp){position:relative;z-index:2}
.page-hero.has-cp>.cp{position:absolute!important;inset:0!important;z-index:0!important;overflow:hidden;pointer-events:none}

/* faint drifting words */
.ai-words{position:absolute;left:0;top:50%;transform:translateY(-50%);white-space:nowrap;filter:blur(1.2px)}
.ai-words span{display:inline-block;font:800 76px/1 Poppins,Inter,system-ui,sans-serif;letter-spacing:.04em;color:rgba(110,150,235,.12);animation:aiDrift 90s linear infinite}
@keyframes aiDrift{to{transform:translateX(-50%)}}

/* energy flowing from the AI head to the brain head */
.ai-flow{position:absolute;inset:0;width:100%;height:100%}
.ai-flow path{fill:none;vector-effect:non-scaling-stroke}
.ai-flow .fl{stroke:rgba(140,190,255,.16);stroke-width:1}
.ai-flow .fp{stroke:url(#aiGrad);stroke-width:2.4;stroke-linecap:round;stroke-dasharray:70 930;animation:aiFlow 6s linear infinite;filter:drop-shadow(0 0 5px rgba(120,190,255,.9))}
.ai-flow .fp.f2{animation-duration:7.5s;animation-delay:-2s}.ai-flow .fp.f3{animation-duration:5s;animation-delay:-3s;stroke-width:1.8}
@keyframes aiFlow{from{stroke-dashoffset:1000}to{stroke-dashoffset:0}}

/* the two heads */
.ai-head{position:absolute;top:6px;width:250px;height:275px}
.ai-head.ai{left:.5%}
.ai-head.brain{right:.5%;transform:scaleX(-1)}
.ai-head svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.ai-glow{position:absolute;left:23%;top:26%;width:48%;height:48%;border-radius:50%;filter:blur(18px);opacity:.8;will-change:transform,opacity}
.ai-head.ai .ai-glow{background:radial-gradient(circle,rgba(70,160,255,.95),rgba(40,110,255,.25) 60%,transparent 72%);animation:aiPulse 4s ease-in-out infinite}
.ai-head.brain .ai-glow{left:24%;top:22%;width:56%;height:56%;background:radial-gradient(circle,rgba(255,190,70,.95),rgba(255,130,20,.3) 60%,transparent 72%);animation:aiPulse 4s ease-in-out -2s infinite}
@keyframes aiPulse{0%,100%{opacity:.45;transform:scale(.85)}50%{opacity:1;transform:scale(1.12)}}

.ai-head .hd{fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ai-head.ai .hd{stroke:#4aa8ff;filter:drop-shadow(0 0 5px rgba(60,150,255,.95))}
.ai-head.brain .hd{stroke:#ffc15a;filter:drop-shadow(0 0 5px rgba(255,170,50,.95))}

/* AI chip + circuit */
.ai-head .chip{fill:rgba(20,70,200,.35);stroke:#7cc4ff;stroke-width:2;filter:drop-shadow(0 0 6px rgba(80,170,255,1))}
.ai-head .chip2{fill:rgba(10,40,140,.55);stroke:#9bd3ff;stroke-width:1.2}
.ai-head .aitxt{fill:#dff1ff;font:800 22px Poppins,Inter,sans-serif;filter:drop-shadow(0 0 6px rgba(120,200,255,1))}
.ai-head .tr{fill:none;stroke:rgba(110,190,255,.55);stroke-width:1.1;stroke-linecap:round}
.ai-head .tp{fill:none;stroke:#e6f6ff;stroke-width:1.8;stroke-linecap:round;stroke-dasharray:14 86;animation:aiTrace 2.6s linear infinite;filter:drop-shadow(0 0 3px #7cc4ff)}
@keyframes aiTrace{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
.ai-head .nd{fill:#bfe6ff;filter:drop-shadow(0 0 4px #5fb6ff);animation:aiBlink 2.4s ease-in-out infinite}
.ai-head .nd:nth-of-type(odd){animation-delay:-1.1s}
@keyframes aiBlink{0%,100%{opacity:.35}50%{opacity:1}}

/* brain with firing synapses */
.ai-head .brain{fill:rgba(255,160,40,.14);stroke:#ffd27a;stroke-width:1.8;stroke-linejoin:round;filter:drop-shadow(0 0 7px rgba(255,170,50,1));animation:aiBrain 4s ease-in-out -2s infinite}
@keyframes aiBrain{0%,100%{fill:rgba(255,160,40,.1)}50%{fill:rgba(255,190,70,.32)}}
.ai-head .fold{fill:none;stroke:#fff1c9;stroke-width:1.4;stroke-linecap:round;stroke-dasharray:22 78;animation:aiFire 2.8s linear infinite;filter:drop-shadow(0 0 4px #ffb347)}
.ai-head .fold:nth-of-type(2n){animation-delay:-1s}.ai-head .fold:nth-of-type(3n){animation-delay:-1.9s}
@keyframes aiFire{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}

@media (max-width:1100px){.ai-head{width:190px;height:209px}}
@media (max-width:760px){.ai-head{width:120px;height:132px;opacity:.85}.ai-words span{font-size:50px}}
@media (prefers-reduced-motion:reduce){.page-hero.has-cp .cp *{animation:none!important}}

/* ===== phone: heads sit in a band above the heading with the energy flow between them ===== */
@media (max-width:820px){
  .page-hero.has-cp{padding-top:150px!important}
  .ai-head{width:112px;height:123px;top:10px;opacity:1}
  .ai-head.ai{left:2%}.ai-head.brain{right:2%}
  .ai-flow{height:140px;bottom:auto;left:4.5%;right:auto;width:91%}
  .ai-words{top:75px;transform:none}
}
