/* FAQ hero: neon Q&A conversation */
.page-hero.has-fq .page-hero-canvas{display:none!important}
.page-hero.has-fq{isolation:isolate;
  background:radial-gradient(50% 130% at 6% 50%,rgba(30,110,255,.36),transparent 70%),radial-gradient(50% 130% at 94% 50%,rgba(255,150,40,.28),transparent 70%),linear-gradient(180deg,#030c26,#061a4a)!important}
.page-hero.has-fq::after{z-index:0;opacity:.3}
.page-hero.has-fq>*:not(.fq){position:relative;z-index:2}
.page-hero.has-fq>.fq{position:absolute!important;inset:0!important;z-index:0!important;overflow:hidden;pointer-events:none}

.fq-glow{position:absolute;top:-30%;width:420px;height:300px;border-radius:50%;filter:blur(70px);opacity:.55}
.fq-glow.l{left:-5%;background:#2f7bff}.fq-glow.r{right:-5%;background:#ff9d2e;opacity:.4}

/* drifting question / exclamation marks */
.fq-m{position:absolute;bottom:-40px;font:800 28px Poppins,Inter,sans-serif;color:rgba(120,180,255,.2);text-shadow:0 0 14px rgba(70,150,255,.5);opacity:0;animation:fqRise linear infinite;will-change:transform}
.fq-m:nth-child(3n){color:rgba(255,190,100,.2);text-shadow:0 0 14px rgba(255,160,50,.5)}
@keyframes fqRise{0%{transform:translateY(0) rotate(-8deg);opacity:0}15%{opacity:1}85%{opacity:.7}100%{transform:translateY(-300px) rotate(8deg);opacity:0}}

/* chat bubbles */
.fq-b{position:absolute;width:230px;height:80px;opacity:0;will-change:transform,opacity;animation:fqPop 12s linear infinite}
.fq-b svg{width:100%;height:100%;overflow:visible}
.fq-b .bd{fill:rgba(8,30,95,.62);stroke-width:1.6;stroke-linejoin:round}
.fq-b .bg{fill:none;stroke-width:1.5}
.fq-b .ln{fill:none;stroke-width:4.5;stroke-linecap:round;opacity:.45}
.fq-b.q .bd,.fq-b.q .bg,.fq-b.q .qm{stroke:#5db4ff}
.fq-b.q .bd{filter:drop-shadow(0 0 7px rgba(70,160,255,.9))}
.fq-b.q .ln{stroke:#9fd0ff}
.fq-b.q .qm{fill:none;stroke-width:2;stroke-linecap:round}
.fq-b.a .bd,.fq-b.a .bg,.fq-b.a .ck{stroke:#ffc15a}
.fq-b.a .bd{filter:drop-shadow(0 0 7px rgba(255,170,50,.9))}
.fq-b.a .ln{stroke:#ffd9a0}
.fq-b.a .ck{fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:30;stroke-dashoffset:30;animation:fqCheck 12s linear infinite;filter:drop-shadow(0 0 4px #ffb347)}
.fq-b.q.q1{left:2.5%;top:20px}.fq-b.q.q2{left:9%;top:118px}
.fq-b.a.a1{right:2.5%;top:44px}.fq-b.a.a2{right:9%;top:132px}
@keyframes fqPop{
  0%{opacity:0;transform:translateY(16px) scale(.82)}
  3.5%{opacity:1;transform:translateY(0) scale(1.05)}
  5.5%{transform:translateY(0) scale(1)}
  78%{opacity:1;transform:translateY(0) scale(1)}
  88%,100%{opacity:0;transform:translateY(-10px) scale(.96)}}
@keyframes fqCheck{0%,1%{stroke-dashoffset:30}6%,78%{stroke-dashoffset:0}88%,100%{stroke-dashoffset:30}}

/* typing indicator before each answer */
.fq-t{position:absolute;display:flex;gap:6px;align-items:center;justify-content:center;width:64px;height:34px;border-radius:17px;border:1.5px solid #ffc15a;background:rgba(8,30,95,.62);box-shadow:0 0 14px rgba(255,170,50,.6);opacity:0;animation:fqTyp 12s linear infinite}
.fq-t i{width:7px;height:7px;border-radius:50%;background:#ffd9a0;animation:fqDot .9s ease-in-out infinite}
.fq-t i:nth-child(2){animation-delay:.15s}.fq-t i:nth-child(3){animation-delay:.3s}
.fq-t.d1{right:2.5%;top:44px}.fq-t.d2{right:9%;top:132px}
@keyframes fqTyp{0%{opacity:0;transform:scale(.7)}2%{opacity:1;transform:scale(1)}9%{opacity:1}10.5%,100%{opacity:0}}
@keyframes fqDot{0%,100%{transform:translateY(0);opacity:.5}50%{transform:translateY(-5px);opacity:1}}

@media (max-width:1100px){.fq-b{width:180px;height:63px}.fq-b.q.q2{left:6%;top:110px}.fq-b.a.a2{right:6%;top:124px}}
@media (max-width:820px){.fq-b,.fq-t{display:none}}
@media (prefers-reduced-motion:reduce){.fq *{animation:none!important}.fq-b.q1,.fq-b.a1{opacity:1}.fq-b.a .ck{stroke-dashoffset:0}}

/* ===== phone: one Q&A pair above the heading, a second pair below ===== */
@media (max-width:820px){
  .page-hero.has-fq{padding-top:92px!important;padding-bottom:100px!important}
  .fq-b{display:block;width:152px;height:54px}
  .fq-b.q.q1{left:10px;top:14px}.fq-b.a.a1{right:10px;top:30px}
  .fq-b.q.q2{left:10px;top:auto;bottom:34px}.fq-b.a.a2{right:10px;top:auto;bottom:12px}
  .fq-t{display:flex;width:50px;height:28px}
  .fq-t.d1{right:10px;top:34px}.fq-t.d2{right:10px;top:auto;bottom:16px}
}
