/* =========================================================
   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}
}

/* =========================================================
   V10.8 — FLOATING DEMO CTA FINAL FIX
   Stable compact pill: icon only at rest, label expands on hover.
   This intentionally overrides every earlier floating-demo rule.
   ========================================================= */
.floating-demo{
  position:fixed!important;
  z-index:90!important;
  right:24px!important;
  bottom:24px!important;
  display:flex!important;
  flex-direction:row-reverse!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
  width:56px!important;
  height:56px!important;
  min-width:56px!important;
  min-height:56px!important;
  padding:5px!important;
  border:1px solid rgba(15,31,56,.14)!important;
  border-radius:999px!important;
  background:#101c31!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(15,31,56,.22)!important;
  overflow:hidden!important;
  isolation:auto!important;
  text-decoration:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  animation:orbitDemoSoftBounce 3.6s ease-in-out infinite!important;
  transition:width .24s ease,box-shadow .2s ease,transform .2s ease!important;
}
.floating-demo::before,
.floating-demo::after{
  content:none!important;
  display:none!important;
  animation:none!important;
}
.floating-demo>.floating-demo-icon{
  position:relative!important;
  z-index:2!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 44px!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,#7657f7 0%,#367ef3 52%,#18bcc8 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22)!important;
}
.floating-demo>.floating-demo-icon svg{
  width:21px!important;
  height:21px!important;
  stroke:#fff!important;
  stroke-width:1.9!important;
  fill:none!important;
}
.floating-demo>.floating-demo-label{
  position:static!important;
  display:block!important;
  flex:0 0 auto!important;
  width:auto!important;
  height:auto!important;
  max-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  clip:auto!important;
  white-space:nowrap!important;
  border:0!important;
  background:transparent!important;
  color:#fff!important;
  font-size:12.5px!important;
  font-weight:760!important;
  line-height:1!important;
  letter-spacing:0!important;
  opacity:0!important;
  transform:translateX(8px)!important;
  transition:max-width .24s ease,opacity .16s ease,transform .24s ease,padding .24s ease!important;
}
@media(hover:hover) and (pointer:fine){
  .floating-demo:hover,
  .floating-demo:focus-visible{
    width:181px!important;
    animation-play-state:paused!important;
    transform:translateY(-2px)!important;
    box-shadow:0 16px 34px rgba(15,31,56,.28)!important;
    outline:none!important;
  }
  .floating-demo:hover>.floating-demo-label,
  .floating-demo:focus-visible>.floating-demo-label{
    max-width:118px!important;
    padding:0 11px 0 10px!important;
    opacity:1!important;
    transform:translateX(0)!important;
  }
}
.floating-demo:focus-visible{
  outline:3px solid rgba(74,117,255,.22)!important;
  outline-offset:3px!important;
}
@keyframes orbitDemoSoftBounce{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-4px)}
}
@media(max-width:720px){
  .floating-demo{
    right:14px!important;
    bottom:14px!important;
    width:50px!important;
    height:50px!important;
    min-width:50px!important;
    min-height:50px!important;
    padding:4px!important;
    box-shadow:0 10px 24px rgba(15,31,56,.22)!important;
  }
  .floating-demo>.floating-demo-icon{
    flex-basis:40px!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
  }
  .floating-demo>.floating-demo-icon svg{width:19px!important;height:19px!important}
  .floating-demo>.floating-demo-label{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  .floating-demo{animation:none!important}
}

/* =========================================================
   V10.9 - Animated Floating Demo Icon
   More visible motion without a bulky pulse ring.
   ========================================================= */
.floating-demo{
  animation:orbitDemoFloat 2.4s cubic-bezier(.45,.05,.55,.95) infinite!important;
  transform-origin:center bottom!important;
}
.floating-demo>.floating-demo-icon{
  overflow:hidden!important;
  animation:orbitDemoIconBreath 2.4s ease-in-out infinite!important;
}
.floating-demo>.floating-demo-icon::after{
  content:""!important;
  position:absolute!important;
  inset:-35% auto -35% -70%!important;
  width:42%!important;
  display:block!important;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent)!important;
  transform:skewX(-18deg)!important;
  animation:orbitDemoShine 3.4s ease-in-out infinite!important;
  pointer-events:none!important;
}
.floating-demo>.floating-demo-icon svg{
  animation:orbitDemoGlyph 2.4s ease-in-out infinite!important;
  transform-origin:center!important;
}
@media(hover:hover) and (pointer:fine){
  .floating-demo:hover,
  .floating-demo:focus-visible{
    animation-play-state:paused!important;
  }
  .floating-demo:hover>.floating-demo-icon,
  .floating-demo:focus-visible>.floating-demo-icon,
  .floating-demo:hover>.floating-demo-icon svg,
  .floating-demo:focus-visible>.floating-demo-icon svg,
  .floating-demo:hover>.floating-demo-icon::after,
  .floating-demo:focus-visible>.floating-demo-icon::after{
    animation-play-state:paused!important;
  }
}
@keyframes orbitDemoFloat{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg)}
  20%{transform:translate3d(0,-5px,0) rotate(-1.3deg)}
  40%{transform:translate3d(0,-8px,0) rotate(.9deg)}
  60%{transform:translate3d(0,-5px,0) rotate(-.6deg)}
  80%{transform:translate3d(0,-2px,0) rotate(.35deg)}
}
@keyframes orbitDemoIconBreath{
  0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 0 0 rgba(59,130,246,0);filter:saturate(1)}
  50%{box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 5px 16px rgba(45,150,244,.34);filter:saturate(1.12)}
}
@keyframes orbitDemoGlyph{
  0%,100%{transform:scale(1) rotate(0deg)}
  44%{transform:scale(1.04) rotate(0deg)}
  52%{transform:scale(1.08) rotate(-5deg)}
  60%{transform:scale(1.08) rotate(5deg)}
  68%{transform:scale(1.04) rotate(0deg)}
}
@keyframes orbitDemoShine{
  0%,60%{left:-70%;opacity:0}
  68%{opacity:.9}
  82%{left:130%;opacity:.2}
  100%{left:130%;opacity:0}
}
@media(max-width:720px){
  .floating-demo{animation-duration:2.6s!important}
}
@media(prefers-reduced-motion:reduce){
  .floating-demo,
  .floating-demo>.floating-demo-icon,
  .floating-demo>.floating-demo-icon svg,
  .floating-demo>.floating-demo-icon::after{animation:none!important}
}

/* =========================================================
   V10.10 - Floating Contact CTA visual refinement
   Softer outline, fully readable text, compact hover state.
   ========================================================= */
.floating-demo{
  width:54px!important;
  height:54px!important;
  min-width:54px!important;
  min-height:54px!important;
  padding:4px!important;
  border:1px solid rgba(75,99,140,.18)!important;
  background:rgba(255,255,255,.96)!important;
  color:#17233b!important;
  box-shadow:0 8px 24px rgba(20,42,80,.14)!important;
  overflow:hidden!important;
  transition:width .26s cubic-bezier(.2,.8,.2,1),box-shadow .2s ease,transform .2s ease!important;
}
.floating-demo>.floating-demo-icon{
  flex:0 0 44px!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,#6f5cf6 0%,#4089f3 52%,#22b8cf 100%)!important;
  box-shadow:0 4px 12px rgba(60,116,230,.22), inset 0 1px 0 rgba(255,255,255,.32)!important;
}
.floating-demo>.floating-demo-label{
  color:#17233b!important;
  font-size:13px!important;
  font-weight:650!important;
  line-height:1.15!important;
  max-width:0!important;
  opacity:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  transform:translateX(6px)!important;
  padding:0!important;
}
@media(hover:hover) and (pointer:fine){
  .floating-demo:hover,
  .floating-demo:focus-visible{
    width:142px!important;
    background:#fff!important;
    border-color:rgba(75,99,140,.14)!important;
    box-shadow:0 12px 30px rgba(20,42,80,.16)!important;
    transform:translateY(-2px)!important;
  }
  .floating-demo:hover>.floating-demo-label,
  .floating-demo:focus-visible>.floating-demo-label{
    max-width:78px!important;
    padding:0 10px 0 8px!important;
    opacity:1!important;
    transform:translateX(0)!important;
  }
}
.floating-demo:focus-visible{
  outline:2px solid rgba(87,104,255,.28)!important;
  outline-offset:3px!important;
}
@media(max-width:720px){
  .floating-demo{
    width:50px!important;
    height:50px!important;
    min-width:50px!important;
    min-height:50px!important;
    padding:4px!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 7px 20px rgba(20,42,80,.14)!important;
  }
  .floating-demo>.floating-demo-label{display:none!important}
}
