/* Original procedural DNA scene for the Mega Labs home hero. */
html .nabilo-hero,
html.nabilo-light .nabilo-hero{
  position:relative!important;
  isolation:isolate;
  height:clamp(690px,calc(100svh - 100px),880px)!important;
  min-height:690px!important;
  max-height:none!important;
  margin:0 clamp(12px,2.5vw,38px)!important;
  overflow:hidden;
  border:1px solid #4770b555;
  border-radius:25px!important;
  background:
    radial-gradient(ellipse 45% 65% at 73% 45%,#4250ac75 0%,#17255a42 48%,transparent 85%),
    radial-gradient(ellipse 38% 55% at 18% 90%,#a7154468 0%,transparent 80%),
    linear-gradient(125deg,#040d29 8%,#07163b 45%,#121447 75%,#070d24 100%)!important;
  box-shadow:0 22px 60px #020b2930;
}
html .nabilo-hero:before,
html.nabilo-light .nabilo-hero:before{
  content:"";
  z-index:1!important;
  background:
    radial-gradient(ellipse 44% 65% at 72% 42%,#5670d823,transparent 75%),
    linear-gradient(90deg,#030b22b8 0%,#0612327a 39%,transparent 71%)!important;
  pointer-events:none;
}
html.nabilo-ar .nabilo-hero:before{
  background:radial-gradient(ellipse 44% 65% at 28% 42%,#5670d823,transparent 75%),linear-gradient(270deg,#030b22b8 0%,#0612327a 39%,transparent 71%)!important;
}
html .nabilo-hero:after,
html.nabilo-light .nabilo-hero:after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:25%!important;
  z-index:5!important;
  background:linear-gradient(transparent,#050d29d9 78%,#050d29ef)!important;
  pointer-events:none;
}
.nabilo-hero-slide,.nabilo-hero-team{display:none!important}
.nabilo-dna-grid{
  position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.5;
  background-image:linear-gradient(#85abff0c 1px,transparent 1px),linear-gradient(90deg,#85abff0c 1px,transparent 1px);
  background-size:70px 70px;
  mask-image:radial-gradient(ellipse at 65% 50%,#000 0%,transparent 76%);
}
.nabilo-dna-canvas,.nabilo-dna-fallback,.nabilo-dna-glow{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.nabilo-dna-canvas{z-index:3;display:block;opacity:0;transition:opacity 1.2s ease}
.nabilo-dna-ready .nabilo-dna-canvas{opacity:1}
.nabilo-dna-fallback{z-index:2;display:grid;place-items:center;transition:opacity .8s ease}
.nabilo-dna-fallback svg{position:absolute;left:52%;top:7%;width:34%;height:86%;overflow:visible;filter:drop-shadow(0 0 28px #338dff8c);transform:rotate(-12deg)}
.nabilo-dna-ready .nabilo-dna-fallback{opacity:0}
.nabilo-ar .nabilo-dna-fallback svg{left:14%;transform:rotate(12deg)}
.nabilo-dna-glow{z-index:4;background:radial-gradient(ellipse 23% 34% at 72% 45%,#227fff2b,transparent 78%);mix-blend-mode:screen}
.nabilo-ar .nabilo-dna-glow{background:radial-gradient(ellipse 23% 34% at 28% 45%,#227fff2b,transparent 78%)}
body .nabilo-hero .nabilo-hero-copy{
  position:absolute!important;z-index:8!important;
  top:47%!important;bottom:auto!important;left:6%!important;right:auto!important;
  width:min(42%,610px)!important;transform:translateY(-50%)!important;
}
html.nabilo-ar body .nabilo-hero .nabilo-hero-copy{left:auto!important;right:6%!important;text-align:right!important;direction:rtl}
body .nabilo-hero .nabilo-eyebrow,
html.nabilo-light body .nabilo-hero .nabilo-eyebrow{
  display:inline-flex;align-items:center;gap:10px;padding:10px 15px;
  color:#dbecff!important;-webkit-text-fill-color:#dbecff!important;
  font:700 11px/1.3 'DM Sans',Arial,sans-serif;letter-spacing:.14em;
  border:1px solid #9ac7ff5e;border-radius:999px;background:#b4d9ff12;
  box-shadow:inset 0 0 20px #b1daff0b;backdrop-filter:blur(7px)
}
.nabilo-hero .nabilo-eyebrow:before{width:8px;height:8px;border-radius:50%;background:#25d5a5;box-shadow:0 0 13px #37f4c0;flex:none}
body .nabilo-hero h1,
html.nabilo-light body .nabilo-hero h1{
  max-width:700px;margin:0 0 25px!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-family:'DM Sans',Arial,sans-serif!important;font-size:clamp(64px,6.1vw,112px)!important;
  font-weight:700!important;line-height:.94!important;letter-spacing:-.068em!important;text-transform:none!important;
  text-shadow:0 8px 45px #02082380!important;
}
body .nabilo-hero h1 span,
html.nabilo-light body .nabilo-hero h1 span{color:#ff4165!important;-webkit-text-fill-color:#ff4165!important}
html.nabilo-ar body .nabilo-hero h1{font-family:Arial,'Segoe UI',sans-serif!important;font-size:clamp(60px,6vw,105px)!important;line-height:1.1!important;letter-spacing:0!important}
body .nabilo-hero .nabilo-hero-sub,
html.nabilo-light body .nabilo-hero .nabilo-hero-sub{color:#f4f8ff!important;-webkit-text-fill-color:#f4f8ff!important;font-size:clamp(20px,2.15vw,29px)!important;font-weight:600!important;line-height:1.32!important;max-width:550px}
body .nabilo-hero .nabilo-hero-small,
html.nabilo-light body .nabilo-hero .nabilo-hero-small{color:#b9ccef!important;-webkit-text-fill-color:#b9ccef!important;font-size:16px!important;line-height:1.6!important;max-width:510px;margin-bottom:28px!important}
body .nabilo-hero .nabilo-hero-actions .nabilo-btn{border-radius:999px!important;min-height:54px!important;padding:0 24px!important;font-size:14px!important;box-shadow:0 15px 35px #0004}
body .nabilo-hero .nabilo-btn.primary{background:linear-gradient(120deg,#e9003e,#fa3151)!important;border-color:#ff5170!important}
body .nabilo-hero .nabilo-btn.secondary,
html.nabilo-light body .nabilo-hero .nabilo-btn.secondary{background:#d2e1ff16!important;border-color:#b3c9ef77!important;color:#fff!important;backdrop-filter:blur(12px)}
body .nabilo-hero .nabilo-btn.secondary i{color:#d8e7ff!important}
.nabilo-dna-status{
  position:absolute;z-index:7;right:5.8%;bottom:10%;display:flex;align-items:center;gap:12px;
  min-width:210px;padding:14px 18px;border:1px solid #adc9ff52;border-radius:17px;
  background:linear-gradient(125deg,#102659b9,#091630bd);color:#d5e8ff;
  font:700 10px/1.5 'DM Sans',Arial,sans-serif;letter-spacing:.13em;
  box-shadow:0 17px 42px #0006;backdrop-filter:blur(12px)
}
.nabilo-dna-status strong{color:#fff;font-size:14px;letter-spacing:.07em}
.nabilo-dna-status-dot{width:9px;height:9px;flex:none;border-radius:50%;background:#37e5c2;box-shadow:0 0 0 5px #37e5c221,0 0 18px #37e5c2}
.nabilo-dna-status-ar{display:none;font:700 14px/1.5 Arial,sans-serif;letter-spacing:0}
.nabilo-ar .nabilo-dna-status{right:auto;left:5.8%;direction:rtl;text-align:right}
.nabilo-ar .nabilo-dna-status-en{display:none}.nabilo-ar .nabilo-dna-status-ar{display:block}
.nabilo-dna-ecg{position:absolute;z-index:6;right:1%;bottom:9%;width:60%;height:50px;overflow:visible;opacity:.75;pointer-events:none;filter:drop-shadow(0 0 9px #fc426f)}
.nabilo-dna-ecg path{fill:none;stroke:#fb436f;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1200;animation:nabiloDnaPulse 6s ease-in-out infinite}
.nabilo-ar .nabilo-dna-ecg{right:auto;left:1%;transform:scaleX(-1)}
@keyframes nabiloDnaPulse{0%,100%{stroke-dashoffset:1200;opacity:.3}32%,75%{stroke-dashoffset:0;opacity:1}}
@media(max-width:991px){body .nabilo-hero .nabilo-hero-copy{width:48%!important}body .nabilo-hero h1{font-size:clamp(54px,7vw,78px)!important}.nabilo-dna-status{bottom:7%}}
@media(max-width:767px){
  html .nabilo-hero,html.nabilo-light .nabilo-hero{height:790px!important;min-height:790px!important;max-height:none!important;margin:0 10px!important;border-radius:21px!important}
  html .nabilo-hero:before,html.nabilo-light .nabilo-hero:before,html.nabilo-ar .nabilo-hero:before{background:linear-gradient(180deg,#040c28c9 0%,#0717387a 38%,transparent 68%)!important}
  html .nabilo-hero:after,html.nabilo-light .nabilo-hero:after{height:28%!important;background:linear-gradient(transparent,#050d29d0 76%,#050d29ef)!important}
  body .nabilo-hero .nabilo-hero-copy,html.nabilo-ar body .nabilo-hero .nabilo-hero-copy{top:6%!important;bottom:auto!important;left:5%!important;right:5%!important;width:90%!important;transform:none!important}
  body .nabilo-hero h1,html.nabilo-light body .nabilo-hero h1{font-size:clamp(47px,11vw,67px)!important;margin-bottom:14px!important;max-width:620px}
  html.nabilo-ar body .nabilo-hero h1{font-size:clamp(48px,11vw,65px)!important}
  body .nabilo-hero .nabilo-hero-sub,html.nabilo-light body .nabilo-hero .nabilo-hero-sub{font-size:18px!important;max-width:500px;margin-bottom:9px!important}
  body .nabilo-hero .nabilo-hero-small,html.nabilo-light body .nabilo-hero .nabilo-hero-small{font-size:13px!important;line-height:1.48!important;max-width:480px;margin-bottom:18px!important}
  body .nabilo-hero .nabilo-hero-actions .nabilo-btn{min-height:43px!important;padding:0 13px!important;font-size:11px!important}
  .nabilo-dna-fallback svg{left:12%;top:46%;width:76%;height:51%;transform:rotate(-10deg)}
  .nabilo-ar .nabilo-dna-fallback svg{left:12%;transform:rotate(10deg)}
  .nabilo-dna-status{display:none}
  .nabilo-dna-ecg,.nabilo-ar .nabilo-dna-ecg{left:5%;right:auto;bottom:5%;width:90%;height:32px;transform:none}
}
@media(max-width:420px){
  html .nabilo-hero,html.nabilo-light .nabilo-hero{height:760px!important;min-height:760px!important}
  body .nabilo-hero h1,html.nabilo-light body .nabilo-hero h1{font-size:46px!important}
  html.nabilo-ar body .nabilo-hero h1{font-size:50px!important}
  body .nabilo-hero .nabilo-eyebrow{font-size:9px!important;letter-spacing:.08em}
}
@media(prefers-reduced-motion:reduce){.nabilo-dna-canvas,.nabilo-dna-fallback{transition:none}.nabilo-dna-ecg path{animation:none;stroke-dashoffset:0}}
.nabilo-dna-chip{position:absolute;z-index:6;display:flex;align-items:center;gap:10px;border:1px solid #9bc6ff4d;border-radius:14px;padding:13px 16px;background:linear-gradient(120deg,#153359c7,#141a3cbd);backdrop-filter:blur(12px);box-shadow:0 15px 35px #0003;color:#e9f4ff;font:600 12px/1.4 Arial,sans-serif;pointer-events:none;animation:nabiloChipFloat 7s ease-in-out infinite}
.nabilo-dna-chip-a{right:3%;top:18%}.nabilo-dna-chip-b{right:5%;top:57%;animation-delay:-3s}
.nabilo-ar .nabilo-dna-chip-a{right:auto;left:3%;direction:rtl}.nabilo-ar .nabilo-dna-chip-b{right:auto;left:5%;direction:rtl}
.nabilo-chip-orbit{color:#66ceff;font-size:23px;animation:nabiloChipSpin 12s linear infinite}
.nabilo-chip-wave{font-size:28px;color:#ff547b}
.nabilo-dna-chip i{width:6px;height:6px;border-radius:50%;background:#35e8c2;box-shadow:0 0 12px #35e8c2;animation:nabiloChipGlow 2.5s ease-in-out infinite}
@keyframes nabiloChipFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-13px)}}
@keyframes nabiloChipSpin{to{transform:rotate(360deg)}}
@keyframes nabiloChipGlow{50%{opacity:.35}}
@media(max-width:991px){.nabilo-dna-chip{font-size:10px;padding:9px}.nabilo-dna-chip-b{top:62%}}
@media(max-width:767px){.nabilo-dna-chip-a,.nabilo-ar .nabilo-dna-chip-a{top:auto;bottom:27%;left:auto;right:5%;max-width:165px}.nabilo-dna-chip-b{display:none}}
@media(prefers-reduced-motion:reduce){.nabilo-dna-chip,.nabilo-chip-orbit,.nabilo-dna-chip i{animation:none}}
