/* =========================================================
   Footer legacy (kept as in old site) + scrolltop
   - scoped so it does NOT override new global buttons
   ========================================================= */

.footer{
  position:relative;
  padding: 84px 0 34px;
  background: rgba(0,0,0,.92);
  color:#fff;
  overflow:hidden;
}
.footer-glow{
  position:absolute; inset:-40% -20%;
  background:
    radial-gradient(circle at 25% 25%, rgba(129,34,169,.35), transparent 45%),
    radial-gradient(circle at 70% 30%, rgba(229,46,113,.32), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(155,93,229,.32), transparent 50%);
  filter: blur(55px);
  opacity:.9;
  pointer-events:none;
}
.footer-inner{ position:relative; z-index:1; }

.footer-cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
}
.footer-cta h2{ font-size: 1.45rem; font-weight:900; }
.footer-cta p{ color: rgba(255,255,255,.78); margin-top: 8px; line-height:1.6; max-width: 780px; }

.footer-grid{
  margin-top: 28px;
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr 1fr;
  gap: 18px;
  padding: 10px 0;
}
.footer-logo{
  font-size: 1.7rem;
  font-weight:900;
  letter-spacing:-0.5px;
}
.footer-logo span{
  background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.footer-desc{ margin-top: 12px; color: rgba(255,255,255,.78); line-height:1.7; }

.footer-col h3{ font-weight:900; margin-bottom: 12px; color:#fff; }
.footer-col ul{ list-style:none; display:flex; flex-direction:column; gap: 10px; }
.footer-col a{ color: rgba(255,255,255,.82); transition: color .2s ease; }
.footer-col a:hover{ color:#fff; }

.footer-social{
  margin-top: 14px;
  display:flex;
  gap: 10px;
}
.social-btn{
  width: 42px; height:42px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color:#fff;
  transition: transform .25s ease, background .25s ease;
}
.social-btn:hover{ transform: translateY(-3px); background: rgba(255,255,255,.12); }
.social-btn svg{ width: 20px; height:20px; }

.footer-bottom{
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.10);
  display:flex;
  justify-content:space-between;
  gap: 12px;
  color: rgba(255,255,255,.75);
  font-size: 13px;
}
.footer-mini{ color: rgba(255,255,255,.65); }

@media (max-width: 980px){
  .footer-cta{ flex-direction:column; align-items:flex-start; }
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction:column; }
}

/* =========================================================
   REVEAL / REDUCED MOTION
   ========================================================= */
.reveal{
  opacity:0;

.footer .footer-cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 14px 34px;
  border-radius: 999px;
  font-weight:700;
  font-size: 15px;
  border:1px solid transparent;
  cursor:pointer;
  user-select:none;
  position:relative;
  overflow:hidden;
  color:#fff;
  background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3));
  background-size:200% 100%;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease, background-position .25s ease;
  text-decoration:none;
}
.footer .footer-cta-btn::before,
.footer .footer-cta-btn::after{ content:none !important; }

.footer .footer-cta-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(0,0,0,.12);
  background-position: 100% 50%;
}
.footer .footer-cta-btn:active{ transform: translateY(-1px); }

.scrolltop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(14px);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.4);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.9);
  transition:
    opacity .35s ease,
    transform .35s ease,
    box-shadow .35s ease;
  z-index: 999;
}

.scrolltop.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scrolltop:hover {
  box-shadow:
    0 18px 50px rgba(155,93,229,0.35),
    inset 0 0 0 1px rgba(155,93,229,0.4);
}

.scrolltop-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-family: 'Manrope';
    font-weight: 700;
    color: #111111b3;
    transition: transform .35s ease;
}

.scrolltop:hover .scrolltop-icon {
  transform: translateY(-2px);
}

/* SVG progress ring */
.progress-ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.progress-ring__bg {
  fill: none;
  stroke: rgba(0,0,0,0.08);
  stroke-width: 3;
}

.progress-ring__progress {
  fill: none;
  stroke: url(#scrollGradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
