/* =========================================================
   ORBITSUITE V10.7 — BANNER TYPOGRAPHY & FLOATING CTA POLISH
   Final override layer. Loaded after all earlier stylesheets.
   ========================================================= */

/* Home hero: preserve the requested scale, reduce visual heaviness. */
.hero h1{
  max-width:680px;
  margin:20px 0 22px;
  font-size:clamp(3.25rem,5vw,5.35rem);
  line-height:.98;
  letter-spacing:-4.2px;
  font-weight:750;
}
.hero-lead{
  max-width:690px;
  font-size:16px;
  line-height:1.72;
}

/* Every internal page banner uses the same readable hierarchy. */
.page-hero h1,
.seo-solution-hero .page-hero-copy h1,
.solution-page-hero .page-hero-copy h1{
  font-weight:750;
}
.page-hero-copy>p,
.seo-solution-hero .page-hero-copy>p,
.solution-page-hero .page-hero-copy>p{
  font-size:16px;
  line-height:1.72;
}

/* Premium floating demo CTA: compact icon by default, tooltip on hover/focus. */
.floating-demo{
  position:fixed;
  z-index:70;
  right:26px;
  bottom:24px;
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  min-width:54px;
  min-height:54px;
  padding:0;
  border:1px solid rgba(255,255,255,.66);
  border-radius:18px;
  background:linear-gradient(145deg,#7557f7 0%,#397ef4 50%,#18b9c6 100%);
  color:#fff;
  box-shadow:0 13px 30px rgba(33,54,105,.26),0 3px 10px rgba(20,33,65,.18);
  overflow:visible;
  isolation:isolate;
  text-decoration:none;
  animation:orbitDemoFloat 3.1s ease-in-out infinite;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease,border-radius .2s ease;
}
.floating-demo::after{
  content:"";
  position:absolute;
  z-index:-2;
  inset:-6px;
  border:1px solid rgba(87,121,247,.26);
  border-radius:23px;
  opacity:.8;
  animation:orbitDemoPulse 2.6s ease-out infinite;
  pointer-events:none;
}
.floating-demo::before{
  content:"Book an ERP Demo";
  position:absolute;
  z-index:3;
  top:50%;
  right:calc(100% + 12px);
  transform:translate(8px,-50%);
  padding:9px 12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:10px;
  background:#111c30;
  color:#fff;
  box-shadow:0 12px 30px rgba(8,18,35,.24);
  font-size:12.5px;
  font-weight:760;
  line-height:1;
  letter-spacing:0;
  white-space:nowrap;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
}
.floating-demo>.floating-demo-icon{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  border-radius:inherit;
  background:transparent;
}
.floating-demo>.floating-demo-icon svg{
  width:23px;
  height:23px;
  stroke-width:1.9;
}
.floating-demo>.floating-demo-label{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
  background:transparent!important;
}
@media(hover:hover) and (pointer:fine){
  .floating-demo:hover,
  .floating-demo:focus-visible{
    animation-play-state:paused;
    transform:translateY(-2px) scale(1.035);
    filter:saturate(1.06) brightness(1.02);
    box-shadow:0 18px 36px rgba(33,54,105,.32),0 4px 12px rgba(20,33,65,.20);
    outline:none;
  }
  .floating-demo:hover::before,
  .floating-demo:focus-visible::before{
    opacity:1;
    visibility:visible;
    transform:translate(0,-50%);
  }
}
.floating-demo:focus-visible{
  box-shadow:0 0 0 4px rgba(112,89,248,.18),0 18px 36px rgba(33,54,105,.32);
}
@keyframes orbitDemoFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-7px)}
}
@keyframes orbitDemoPulse{
  0%{transform:scale(.92);opacity:.7}
  72%,100%{transform:scale(1.22);opacity:0}
}

@media(max-width:720px){
  .hero h1{
    font-size:clamp(2.7rem,11.5vw,3.5rem);
    line-height:1.02;
    letter-spacing:-2.4px;
    font-weight:750;
  }
  .hero-lead{font-size:16px;line-height:1.72}
  .page-hero h1,
  .seo-solution-hero .page-hero-copy h1,
  .solution-page-hero .page-hero-copy h1{font-weight:750}
  .page-hero-copy>p,
  .seo-solution-hero .page-hero-copy>p,
  .solution-page-hero .page-hero-copy>p{font-size:16px;line-height:1.72}
  .floating-demo{
    right:15px;
    bottom:16px;
    width:48px;
    height:48px;
    min-width:48px;
    min-height:48px;
    border-radius:16px;
    animation-duration:3.4s;
  }
  .floating-demo::before{display:none}
  .floating-demo>.floating-demo-icon svg{width:21px;height:21px}
}

@media(prefers-reduced-motion:reduce){
  .floating-demo,.floating-demo::after{animation:none!important}
}
