/* Final reference-matched portfolio layout */
:root{--reference-blue:#078cff;--reference-cyan:#28c4ff}
.hero-cinematic{
 display:grid!important;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)!important;
 align-items:center!important;gap:clamp(24px,3vw,54px)!important;
 width:min(1500px,calc(100% - 84px))!important;max-width:1500px!important;
 min-height:calc(100svh - var(--nav-height,72px))!important;height:auto!important;
 padding:calc(var(--nav-height,72px) + 32px) 0 34px!important;margin:0 auto!important;
 overflow:hidden!important;position:relative;isolation:isolate
}
.hero-cinematic .hero-intro{grid-column:1;grid-row:1;max-width:660px;width:100%;align-self:center;z-index:5}
.hero-cinematic .hero-content h1{font-size:clamp(3.8rem,6.4vw,6.6rem)!important;line-height:.98!important;letter-spacing:-.055em;margin:18px 0 20px!important}
.hero-cinematic .hero-name-gradient{display:inline-block}
.hero-cinematic .hero-headline{font-size:clamp(1.35rem,2vw,1.9rem)!important;line-height:1.3!important;margin:0 0 18px!important}
.hero-cinematic .hero-content p{font-size:clamp(.98rem,1.15vw,1.1rem)!important;line-height:1.75!important;max-width:590px;margin:0 0 26px!important}
.hero-cinematic .hero-visual{
 grid-column:2;grid-row:1;position:relative;isolation:isolate;width:100%;height:min(790px,calc(100svh - 100px));
 min-height:640px;display:flex;align-items:flex-end;justify-content:center;overflow:visible;
 background:radial-gradient(ellipse at 50% 53%,rgba(0,112,255,.18),transparent 62%)
}
.hero-cinematic .hero-visual:after{content:"";position:absolute;z-index:0;left:-12%;right:-18%;bottom:0;height:30%;
 background:linear-gradient(180deg,transparent,rgba(4,20,42,.4)),linear-gradient(90deg,transparent,rgba(25,139,255,.2),transparent);
 border-top:1px solid rgba(53,164,255,.22);transform:perspective(400px) rotateX(55deg);transform-origin:bottom}
.hero-cinematic .hero-visual-glow{z-index:-2;width:100%;height:85%;left:0;bottom:5%;filter:blur(32px);
 background:radial-gradient(ellipse,rgba(0,145,255,.34),rgba(0,64,145,.15) 52%,transparent 74%)}
.hero-cinematic .hero-portal{z-index:-1;width:min(82%,560px);height:86%;left:9%;bottom:5%;
 border:2px solid rgba(35,157,255,.8);border-bottom-color:transparent;border-radius:50% 50% 4% 4% / 43% 43% 4% 4%;
 box-shadow:0 0 30px rgba(0,139,255,.3),inset 0 0 45px rgba(0,139,255,.14)}
.hero-cinematic .hero-portrait-stage{z-index:2;width:min(88%,560px);height:100%;max-height:790px;align-items:flex-end;justify-content:center;overflow:visible}
.hero-cinematic .hero-walking-portrait{width:auto!important;height:100%!important;max-width:100%;object-fit:contain!important;object-position:center bottom!important;
 border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
 filter:drop-shadow(0 22px 35px rgba(0,0,0,.5));transform-origin:center bottom;animation:referenceWalkIn 1.35s cubic-bezier(.2,.8,.2,1) both,referenceIdle 5s ease-in-out 1.4s infinite}
.hero-cinematic .hero-portrait-shadow{z-index:1;bottom:1%;width:62%;height:22px;background:rgba(0,0,0,.65);filter:blur(18px)}
.hero-cinematic .hero-tech-card{z-index:5;min-width:96px;padding:13px 14px;border-radius:15px;background:rgba(7,22,43,.82);
 border:1px solid rgba(78,171,255,.46);box-shadow:0 10px 32px rgba(0,0,0,.24),0 0 18px rgba(0,133,255,.12);backdrop-filter:blur(14px)}
.hero-cinematic .hero-tech-card b{font-size:1.5rem;color:#35baff}
.hero-cinematic .tech-laravel{top:13%;right:2%}.hero-cinematic .tech-php{top:29%;right:0;left:auto}
.hero-cinematic .tech-mysql{top:45%;right:1%}.hero-cinematic .tech-docker{top:61%;right:0;left:auto}
.hero-cinematic .tech-redis{top:77%;right:4%}.hero-cinematic .tech-livewire{top:5%;left:2%}
.hero-cinematic .hero-visual-caption{z-index:6;bottom:1%;left:50%;transform:translateX(-50%);white-space:nowrap}
.hero-cinematic .hero-metrics{margin:30px 0 24px}
.hero-cinematic .hero-metrics>div{min-width:105px;padding:0 17px}
.hero-cinematic .hero-metrics strong{font-size:1.35rem}
.hero-cinematic .hero-btns{gap:13px;flex-wrap:wrap}
.hero-cinematic .hero-btns .btn-primary{background:linear-gradient(110deg,#087bff,#10b8ff);box-shadow:0 12px 32px rgba(0,122,255,.28)}
/* Pricing and the rest of the page use the same glass / neon language. */
.pricing-section{background:linear-gradient(180deg,rgba(10,28,54,.58),rgba(4,12,25,.2))}
.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.pricing-card{position:relative;padding:30px 26px;border:1px solid rgba(77,156,235,.2);border-radius:20px;
 background:linear-gradient(145deg,rgba(15,37,66,.94),rgba(6,18,35,.96));display:flex;flex-direction:column;min-height:370px}
.pricing-card.pricing-featured{border-color:rgba(30,158,255,.72);box-shadow:0 18px 55px rgba(0,113,255,.15);transform:translateY(-8px)}
.pricing-label{display:inline-flex;align-self:flex-start;padding:6px 10px;border-radius:999px;background:rgba(0,137,255,.13);color:#69c6ff;font-size:.7rem;font-weight:800;letter-spacing:.12em}
.pricing-card h3{font-size:1.55rem;margin:18px 0 9px;color:#f4f8ff}
.pricing-desc{color:#a9bad0;line-height:1.65;min-height:54px}
.pricing-card ul{list-style:none;padding:0;margin:18px 0 25px;display:grid;gap:12px;color:#d3e0f2}
.pricing-card li:before{content:"✓";color:#35bdff;font-weight:900;margin-right:10px}
.pricing-card>a{margin-top:auto;display:inline-flex;justify-content:center;align-items:center;gap:8px}
@keyframes referenceWalkIn{from{opacity:0;transform:translateY(48px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes referenceIdle{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@media(max-width:1100px){
 .hero-cinematic{width:min(100% - 48px,1000px)!important;gap:18px!important}
 .hero-cinematic .hero-visual{min-height:580px;height:650px}
 .hero-cinematic .hero-tech-card{min-width:76px;padding:9px}
 .hero-cinematic .hero-metrics>div{min-width:88px;padding:0 10px}
}
@media(max-width:900px){
 .hero-cinematic{display:flex!important;flex-direction:column!important;width:min(100% - 32px,700px)!important;min-height:0!important;
  padding:calc(var(--nav-height,72px) + 30px) 0 42px!important;gap:6px!important;text-align:center;overflow:visible!important}
 .hero-cinematic .hero-intro{order:0;width:100%;max-width:none}
 .hero-cinematic .hero-availability{margin:0 auto 14px;justify-content:center}
 .hero-cinematic .hero-content h1{font-size:clamp(3rem,10vw,4.7rem)!important}
 .hero-cinematic .hero-headline,.hero-cinematic .hero-content p{margin-left:auto!important;margin-right:auto!important}
 .hero-cinematic .hero-btns,.hero-cinematic .hero-metrics,.hero-cinematic .social-hero{justify-content:center}
 .hero-cinematic .hero-visual{order:1;width:100%;height:auto;min-height:0;aspect-ratio:4/5;max-height:650px;margin:8px auto 0}
 .hero-cinematic .hero-portrait-stage{height:100%;max-height:none;width:90%}
 .hero-cinematic .hero-tech-card{min-width:68px;padding:8px}
 .hero-cinematic .hero-tech-card b{font-size:1.05rem}
 .hero-cinematic .hero-tech-card span{font-size:.62rem}
 .hero-cinematic .hero-portal{width:82%;height:88%;left:9%;bottom:5%}
 .hero-cinematic .hero-visual-caption{font-size:.65rem;white-space:normal;width:max-content;max-width:92%;text-align:center}
 .pricing-grid{grid-template-columns:1fr;max-width:560px;margin-inline:auto}
 .pricing-card.pricing-featured{transform:none}
}
@media(max-width:560px){
 .hero-cinematic{width:calc(100% - 28px)!important}
 .hero-cinematic .hero-content h1{font-size:clamp(2.8rem,13vw,3.8rem)!important}
 .hero-cinematic .hero-visual{aspect-ratio:4/5;max-height:510px}
 .hero-cinematic .hero-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 0}
 .hero-cinematic .hero-metrics>div{min-width:0;padding:0 10px}
 .hero-cinematic .hero-metrics>div:nth-child(2){border-right:0}
 .hero-cinematic .hero-metrics>div:first-child,.hero-cinematic .hero-metrics>div:nth-child(3){padding-left:0}
 .hero-cinematic .hero-tech-card{min-width:58px;padding:6px}
 .hero-cinematic .tech-php{top:30%}.hero-cinematic .tech-docker{top:63%}
 .hero-cinematic .hero-visual-caption{max-width:85%;font-size:.58rem}
}
@media(prefers-reduced-motion:reduce){.hero-cinematic .hero-walking-portrait{animation:none!important}}


/* Slow-motion walk treatment for Asim's transparent full-body suit portrait. */
.hero-cinematic .hero-portrait-stage{overflow:visible;perspective:1100px}
.hero-cinematic .hero-walking-portrait{
  object-fit:contain!important;object-position:center bottom!important;
  animation:asimSlowWalkEntrance 2.4s cubic-bezier(.18,.72,.24,1) both,
            asimSlowWalkLoop 4.8s ease-in-out 2.4s infinite!important;
  transform-origin:50% 92%;will-change:transform,filter;
  filter:drop-shadow(0 24px 30px rgba(0,0,0,.5)) drop-shadow(0 0 20px rgba(0,125,255,.12));
}
@keyframes asimSlowWalkEntrance{
  0%{opacity:0;transform:translate3d(0,54px,0) scale(.94)}
  65%{opacity:1;transform:translate3d(0,-5px,0) scale(1.015)}
  100%{opacity:1;transform:translate3d(0,0,0) scale(1)}
}
@keyframes asimSlowWalkLoop{
  0%,100%{transform:translate3d(0,0,0) scale(1) rotate(0deg)}
  25%{transform:translate3d(-3px,-5px,0) scale(1.006) rotate(-.35deg)}
  50%{transform:translate3d(0,-10px,0) scale(1.012) rotate(0deg)}
  75%{transform:translate3d(3px,-5px,0) scale(1.006) rotate(.35deg)}
}
@media(prefers-reduced-motion:reduce){.hero-cinematic .hero-walking-portrait{animation:none!important;transform:none!important}}
