/* DCN NET — Premium Promo Motion v1 | Home only. No UI libraries. */

/* A functional, readable fallback when JavaScript is missing or delayed. */
html:not(.dcn-motion-ready) body.dcn-home-premium [data-reveal],
html:not(.dcn-motion-ready) body.dcn-home-premium [data-reveal-group] > * {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  visibility: visible !important;
}
body.dcn-home-premium [data-reveal-group] > * {animation:none;}
body.dcn-home-premium [data-reveal],
body.dcn-home-premium [data-reveal-group] > * {
  transition-duration: .72s;
  transition-timing-function: cubic-bezier(.22,1,.36,1);
}
body.dcn-home-premium [data-reveal-group].is-visible > *:nth-child(n+7) {transition-delay:.38s;}

/* Hero title: staged lift and a restrained accent beneath the typography. */
body.dcn-home-premium .dcn-premium-hero{isolation:isolate;}
body.dcn-home-premium .dcn-premium-hero .hero-grid{z-index:2;}
body.dcn-home-premium .dcn-premium-hero .hero-copy{animation:none;}
body.dcn-home-premium .dcn-hero-kicker,
body.dcn-home-premium .dcn-hero-headline-inner,
body.dcn-home-premium .dcn-hero-lead,
body.dcn-home-premium .dcn-hero-actions,
body.dcn-home-premium .dcn-premium-hero .hero-mini{
  animation:dcn-premium-rise .82s cubic-bezier(.22,1,.36,1) both;
}
body.dcn-home-premium .dcn-hero-kicker{animation-delay:.07s;}
body.dcn-home-premium .dcn-hero-headline{position:relative;isolation:isolate;}
body.dcn-home-premium .dcn-hero-headline-inner{display:block;animation-delay:.19s;}
body.dcn-home-premium .dcn-hero-headline:after{
  content:"";display:block;width:clamp(82px,12vw,158px);height:5px;margin:19px 0 0;
  border-radius:20px;background:linear-gradient(90deg,#fff6cd,#fff,#ffe495);
  box-shadow:0 1px 24px rgba(255,255,255,.42);
  transform-origin:left center;animation:dcn-accent-draw .7s .52s both;
}
body.dcn-home-premium .dcn-hero-lead{animation-delay:.33s;}
body.dcn-home-premium .dcn-hero-actions{animation-delay:.44s;}
body.dcn-home-premium .dcn-premium-hero .hero-mini{animation-delay:.55s;}
body.dcn-home-premium .dcn-premium-hero .hero-mini span{animation:none;opacity:1;}
@keyframes dcn-premium-rise{
  from{opacity:0;transform:translate3d(0,26px,0);filter:blur(3px);}
  to{opacity:1;transform:translate3d(0,0,0);filter:blur(0);}
}
@keyframes dcn-accent-draw{from{opacity:0;transform:scaleX(0);}to{opacity:1;transform:scaleX(1);}}

/* Hero atmospheric lights: pointer-events none; only transforms are changed by JS. */
body.dcn-home-premium .dcn-ambient-parallax{
  position:absolute;inset:-8% 0 0;z-index:0;pointer-events:none;overflow:hidden;
  transform:translate3d(0,var(--dcn-parallax-offset,0px),0);
}
body.dcn-home-premium .dcn-ambient-light{position:absolute;display:block;border-radius:50%;pointer-events:none;}
body.dcn-home-premium .dcn-ambient-light-one{
  top:1%;left:17%;width:clamp(210px,29vw,460px);aspect-ratio:1;
  background:radial-gradient(circle,rgba(255,255,255,.23) 0%,rgba(255,255,255,.08) 32%,transparent 70%);
  animation:dcn-ambient-drift 11s ease-in-out infinite alternate;
}
body.dcn-home-premium .dcn-ambient-light-two{
  top:22%;right:-7%;width:clamp(240px,36vw,560px);aspect-ratio:1;
  background:radial-gradient(circle,rgba(255,247,195,.25),rgba(255,233,177,.08) 38%,transparent 70%);
  animation:dcn-ambient-drift 13s -4s ease-in-out infinite alternate-reverse;
}
@keyframes dcn-ambient-drift{
  from{transform:translate3d(-9px,5px,0) scale(.98);}
  to{transform:translate3d(12px,-13px,0) scale(1.04);}
}

/* Small, non-interactive glass labels floating beside the hero artwork. */
body.dcn-home-premium .dcn-float-chip{
  position:absolute;z-index:3;display:flex;align-items:center;gap:9px;
  padding:10px 14px;border-radius:999px;
  color:#142135;background:rgba(255,255,255,.95);border:1px solid rgba(255,255,255,.8);
  box-shadow:0 12px 32px rgba(29,31,52,.17);font-size:12px;font-weight:800;
  pointer-events:none;white-space:nowrap;
  animation:dcn-floating-label 5.8s ease-in-out infinite;
}
body.dcn-home-premium .dcn-float-chip i{
  display:block;width:9px;height:9px;flex:none;border-radius:50%;
  background:#eaa208;box-shadow:0 0 0 5px rgba(251,191,36,.17);
}
body.dcn-home-premium .dcn-float-chip-one{top:8%;left:-4%;animation-delay:-.6s;}
body.dcn-home-premium .dcn-float-chip-two{top:21%;right:-4%;animation-delay:-3.5s;}
@keyframes dcn-floating-label{
  0%,100%{transform:translate3d(0,0,0);}
  50%{transform:translate3d(0,-10px,0);}
}

/* Glow on selected marketing CTAs; never compromises link focus/clickability. */
body.dcn-home-premium .dcn-glow-btn{
  position:relative;isolation:isolate;
  box-shadow:0 12px 26px rgba(15,23,42,.18),0 0 0 2px rgba(255,221,116,.22);
  animation:dcn-soft-glow 3.5s ease-in-out infinite;
}
body.dcn-home-premium .dcn-glow-btn:hover,
body.dcn-home-premium .dcn-glow-btn:focus-visible{
  box-shadow:0 18px 36px rgba(15,23,42,.23),0 0 22px rgba(255,237,169,.48),0 0 0 3px rgba(255,236,166,.58);
  filter:brightness(1.07);
  animation-play-state:paused;
}
body.dcn-home-premium .dcn-glow-btn:focus-visible{
  outline:3px solid #fff3c3;outline-offset:4px;
}
@keyframes dcn-soft-glow{
  0%,100%{box-shadow:0 12px 26px rgba(15,23,42,.18),0 0 0 2px rgba(255,221,116,.15);}
  50%{box-shadow:0 14px 30px rgba(15,23,42,.2),0 0 19px rgba(255,240,189,.55),0 0 0 3px rgba(255,221,116,.35);}
}

@media (max-width:980px){
  body.dcn-home-premium .dcn-ambient-parallax{transform:none!important;}
  body.dcn-home-premium .dcn-float-chip{padding:8px 12px;font-size:11px;}
  body.dcn-home-premium .dcn-float-chip-one{top:4%;left:1%;}
  body.dcn-home-premium .dcn-float-chip-two{top:16%;right:0;}
}
@media (max-width:560px){
  body.dcn-home-premium .dcn-float-chip-one{top:3%;left:1%;}
  body.dcn-home-premium .dcn-float-chip-two{top:18%;right:1%;}
  body.dcn-home-premium .dcn-hero-headline:after{margin-top:13px;height:4px;}
}
@media (prefers-reduced-motion:reduce){
  html,body.dcn-home-premium{scroll-behavior:auto!important;}
  body.dcn-home-premium .dcn-hero-kicker,
  body.dcn-home-premium .dcn-hero-headline-inner,
  body.dcn-home-premium .dcn-hero-headline:after,
  body.dcn-home-premium .dcn-hero-lead,
  body.dcn-home-premium .dcn-hero-actions,
  body.dcn-home-premium .dcn-premium-hero .hero-mini,
  body.dcn-home-premium .dcn-ambient-light,
  body.dcn-home-premium .dcn-float-chip,
  body.dcn-home-premium .dcn-glow-btn,
  body.dcn-home-premium .network-card,
  body.dcn-home-premium .hero-orbit,
  body.dcn-home-premium .hero-visual,
  body.dcn-home-premium .help-bubble,
  body.dcn-home-premium .signal-dot,
  body.dcn-home-premium .nav,
  body.dcn-home-premium .top-marquee,
  body.dcn-home-premium .area-pulse .pin,
  body.dcn-home-premium .wa-float,
  body.dcn-home-premium [data-reveal],
  body.dcn-home-premium [data-reveal-group] > *{
    animation:none!important;transition:none!important;transform:none!important;opacity:1!important;filter:none!important;
  }
  body.dcn-home-premium .dcn-ambient-parallax{transform:none!important;}
  body.dcn-home-premium #partner-section .dcn-partner-v54-track{animation:none!important;transform:none!important;}
  body.dcn-home-premium #partner-section .dcn-partner-v54{overflow-x:auto!important;}
}
