/* UX NEXT — Scroll Progress Bar + Back to Top (premium, safe add-on) */

.mind-progress{
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  z-index: 99999;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
}

.mind-progress__bar{
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(7,140,3,.85), rgba(68,166,65,1), rgba(2,89,48,.85));
  box-shadow: 0 0 18px rgba(68,166,65,.35);
  transition: width .08s linear;
}

/* Back to top button */
.mind-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99999;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(68,166,65,.28);
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  color: rgba(242,242,242,.95);
  box-shadow: 0 16px 50px rgba(0,0,0,.55);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px) scale(.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, filter .22s ease, border-color .22s ease;
}

.mind-top:hover{
  filter: brightness(1.12);
  border-color: rgba(68,166,65,.55);
  transform: translateY(6px) scale(1);
}

.mind-top.is-on{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Simple arrow */
.mind-top svg{
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 10px rgba(68,166,65,.25));
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .mind-progress__bar{ transition:none; }
  .mind-top{ transition:none; }
}
