/* About hero: aurora + glass code windows + binary drift */
.about-hero{isolation:isolate;
  background:linear-gradient(135deg,#071a41 0%,#0f3a8a 45%,#1769e0 100%)!important;background-size:100% 100%!important;animation:none!important}
.about-hero::after{z-index:0}
.about-hero>*:not(.hx){position:relative;z-index:2}
.hx{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}

/* aurora glow */
.hx-a{position:absolute;border-radius:50%;filter:blur(60px);opacity:.7;will-change:transform}
.hx-a.a1{width:420px;height:300px;left:-6%;top:-40%;background:#22d3ee;animation:hxA1 14s ease-in-out infinite alternate}
.hx-a.a2{width:460px;height:320px;left:38%;top:30%;background:#6366f1;opacity:.5;animation:hxA2 18s ease-in-out infinite alternate}
.hx-a.a3{width:380px;height:280px;right:-6%;top:-30%;background:#38bdf8;animation:hxA3 16s ease-in-out infinite alternate}
@keyframes hxA1{to{transform:translate(180px,60px) scale(1.2)}}
@keyframes hxA2{to{transform:translate(-220px,-50px) scale(1.15)}}
@keyframes hxA3{to{transform:translate(-160px,70px) scale(1.25)}}

/* drifting binary */
.hx-bin{position:absolute;top:0;font:600 11px/1.7 ui-monospace,Consolas,monospace;color:rgba(190,230,255,.16);animation:hxBin linear infinite;will-change:transform}
@keyframes hxBin{from{transform:translateY(110%)}to{transform:translateY(-110%)}}

/* glass code windows */
.hx-win{position:absolute;width:250px;border-radius:14px;overflow:hidden;font:500 12px/1.7 ui-monospace,Consolas,monospace;color:#e6f2ff;
  background:linear-gradient(135deg,rgba(255,255,255,.2),rgba(255,255,255,.07));border:1px solid rgba(255,255,255,.35);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 24px 50px -20px rgba(0,10,40,.6);will-change:transform}
.hx-l{left:2.5%;top:128px;animation:hxF 9s ease-in-out infinite}
.hx-r{right:2.5%;top:140px;animation:hxF 11s ease-in-out -4s infinite}
@keyframes hxF{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-12px) rotate(1deg)}}
.hx-bar{display:flex;align-items:center;gap:5px;padding:8px 12px;background:rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.18)}
.hx-bar b{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.55)}
.hx-bar b:nth-child(1){background:#ff7a7a}.hx-bar b:nth-child(2){background:#ffd166}.hx-bar b:nth-child(3){background:#5eead4}
.hx-bar span{margin-left:8px;font-size:11px;color:rgba(255,255,255,.75)}
.hx-code{position:relative;padding:10px 14px 16px;white-space:pre}
.hx-ln{opacity:0;transform:translateX(-8px);animation:hxLn 8s ease-out infinite}
@keyframes hxLn{0%{opacity:0;transform:translateX(-8px)}8%,86%{opacity:1;transform:none}96%,100%{opacity:0;transform:translateX(-8px)}}
.hx-code i{font-style:normal}
.hx-code .k{color:#ff9eb5}.hx-code .f{color:#8fe0ff}.hx-code .s{color:#b6f5c0}.hx-code .c{color:rgba(255,255,255,.5)}
.hx-cur{display:inline-block;width:6px;height:13px;margin-left:2px;vertical-align:-2px;background:#fff;animation:hxBlink 1s steps(1) infinite}
@keyframes hxBlink{50%{opacity:0}}

/* floating tech chips */
.hx-chip{position:absolute;padding:5px 14px;border-radius:999px;font:600 12px Inter,system-ui,sans-serif;letter-spacing:.04em;color:#fff;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.4);animation:hxF 8s ease-in-out infinite}
.hx-chip.c1{left:19%;top:70%;animation-delay:-1s}.hx-chip.c2{left:30%;top:16%;animation-delay:-3s}
.hx-chip.c3{right:19%;top:72%;animation-delay:-5s}.hx-chip.c4{right:28%;top:12%;animation-delay:-2s}

@media (max-width:1100px){.hx-win{display:none}.hx-chip.c1{left:6%}.hx-chip.c3{right:6%}}
@media (max-width:640px){.hx-chip{display:none}.hx-bin:nth-child(even){display:none}}
@media (prefers-reduced-motion:reduce){.hx *{animation:none!important}.hx-ln{opacity:1;transform:none}}
.about-hero>.hx{position:absolute!important;inset:0!important;z-index:0!important}
.hx-chip.c2,.hx-chip.c4{display:none}

/* ===== phone: keep the code windows, stacked above the heading ===== */
@media (max-width:820px){
  .about-hero{padding-top:170px!important}
  .hx-win{display:block;top:16px;width:calc(50% - 16px);font-size:9.5px;line-height:1.6}
  .hx-l{left:10px}.hx-r{right:10px;top:26px}
  .hx-bar{padding:5px 8px}.hx-bar span{font-size:9px}
  .hx-code{padding:6px 8px 10px}
  .hx-chip{display:none}
}
