/* iTech Team hero — real developer ambient background */
.hero{isolation:isolate}
.hero>.wrap{position:relative;z-index:2}
.dev-scene{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;user-select:none}
.dev-photo{position:absolute;top:-5%;right:-5%;bottom:-8%;left:31%;background:url('/assets/dev-programmer-human-seo.webp?v=20261023-seo1') 68% 50%/cover no-repeat;opacity:.56;filter:blur(1.25px) brightness(.72) saturate(.82) contrast(1.04);transform:scale(1.045);transform-origin:68% 48%;animation:devCinematic 17s ease-in-out infinite alternate}
.dev-scene:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#070b16 0%,#070b16f2 22%,#070b16c9 38%,#070b166b 55%,#070b1622 75%,#070b164f 100%),linear-gradient(180deg,#070b161f 0%,transparent 34%,#070b16a6 100%);z-index:2}
.dev-light{position:absolute;z-index:1;right:20%;top:18%;width:42%;height:44%;border-radius:50%;background:radial-gradient(circle,#2ea7ff20 0,#6376ff14 34%,transparent 72%);filter:blur(26px);animation:devLightPulse 5.5s ease-in-out infinite}
@keyframes devCinematic{0%{transform:scale(1.045) translate3d(0,0,0)}50%{transform:scale(1.065) translate3d(-7px,2px,0)}100%{transform:scale(1.055) translate3d(-2px,-4px,0)}}
@keyframes devLightPulse{0%,100%{opacity:.55;transform:scale(1)}50%{opacity:.9;transform:scale(1.08)}}
html[data-theme="light"] .dev-photo{opacity:.26;filter:blur(1.5px) brightness(.95) saturate(.62)}
html[data-theme="light"] .dev-scene:after{background:linear-gradient(90deg,#f5f7fc 0%,#f5f7fcea 24%,#f5f7fcae 42%,#f5f7fc5e 61%,#f5f7fc38 80%,#f5f7fc66 100%),linear-gradient(180deg,#f5f7fc18,transparent 38%,#f5f7fc9c 100%)}
@media(max-width:900px){.dev-photo{left:16%;right:-38%;top:0;bottom:-2%;opacity:.38;background-position:66% 50%;filter:blur(1.45px) brightness(.66) saturate(.78)}.dev-scene:after{background:linear-gradient(90deg,#070b16 0%,#070b16ee 34%,#070b16ab 57%,#070b1638 78%,#070b1668 100%),linear-gradient(180deg,#070b1620,transparent 32%,#070b16b0 100%)}}
@media(max-width:600px){.dev-photo{left:8%;right:-74%;top:4%;bottom:2%;opacity:.28;background-position:69% 50%;filter:blur(1.7px) brightness(.62) saturate(.72)}.dev-light{right:-5%;top:18%;width:70%;height:46%}}
@media(prefers-reduced-motion:reduce){.dev-photo,.dev-light{animation:none!important}}

/* Floating live-code window: separate from the programmer */
.dev-floating-code{position:absolute;left:1.8%;right:auto;bottom:10.5%;width:25%;height:20%;z-index:3;opacity:.78;transform:rotateZ(-1.1deg) translate3d(0,0,0);filter:blur(.08px);animation:devCodeFloat 8.5s ease-in-out infinite}
.dev-live-screen{width:100%;height:100%;overflow:hidden;border-radius:13px;background:linear-gradient(180deg,rgba(5,10,20,.88),rgba(4,8,16,.82));border:1px solid rgba(112,154,255,.18);box-shadow:0 18px 45px rgba(0,0,0,.24),0 0 25px rgba(61,139,255,.13),inset 0 0 24px rgba(29,70,140,.12);backdrop-filter:blur(8px)}
.dev-editor-bar{height:22px;display:flex;align-items:center;gap:6px;padding:0 9px;border-bottom:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.035)}
.dev-editor-bar span{width:5px;height:5px;border-radius:50%;background:#64708b}.dev-editor-bar span:nth-child(1){background:#ff6b78}.dev-editor-bar span:nth-child(2){background:#f0c35d}.dev-editor-bar span:nth-child(3){background:#4fd6a2}
.dev-editor-bar b{margin-left:6px;color:#8490aa;font:600 7px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.02em}
.dev-live-screen pre{position:relative;margin:0;padding:10px 12px;height:calc(100% - 22px);overflow:hidden;white-space:pre-wrap;font:600 8px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#91c9ff;text-shadow:0 0 7px rgba(61,155,255,.24)}
.dev-code-caret{display:inline-block;width:4px;height:8px;margin-left:1px;vertical-align:-1px;background:#71d9ff;box-shadow:0 0 8px rgba(69,188,255,.8);animation:devCaretBlink .8s steps(1,end) infinite}
@keyframes devCaretBlink{0%,48%{opacity:1}49%,100%{opacity:.08}}
@keyframes devCodeFloat{0%,100%{transform:rotateZ(-1.1deg) translate3d(0,0,0)}50%{transform:rotateZ(-.35deg) translate3d(7px,-8px,0)}}
html[data-theme="light"] .dev-floating-code{opacity:.4}.dev-floating-code .dev-live-screen{mix-blend-mode:normal}
@media(max-width:1100px){.dev-floating-code{left:1%;right:auto;bottom:8%;width:29%;height:19%;opacity:.62}.dev-live-screen pre{font-size:7px}}
@media(max-width:760px){.dev-floating-code{left:-5%;right:auto;bottom:5%;width:40%;height:16%;opacity:.32}.dev-live-screen pre{font-size:5.5px;padding:6px 8px}.dev-editor-bar{height:16px}.dev-editor-bar b{font-size:5.5px}.dev-live-screen pre{height:calc(100% - 16px)}}
@media(max-width:520px){.dev-floating-code{left:-13%;right:auto;bottom:5%;width:55%;height:14%;opacity:.18;filter:blur(.35px)}}
@media(prefers-reduced-motion:reduce){.dev-floating-code,.dev-code-caret{animation:none!important}}
