/* =========================
   DreamWealth UI FX (safe)
========================= */

.dw-uifx-root { position: relative; }

/* Smooth motion preference */
@media (prefers-reduced-motion: reduce){
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Reveal animation */
.dw-fx-reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.dw-fx-reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* CTA Buttons */
.dw-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .2px;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  user-select: none;
}
.dw-cta span{ position: relative; z-index: 2; }

.dw-cta:active{ transform: scale(.98); }
.dw-cta:hover{ transform: translateY(-1px); }

.dw-cta-primary{
  background: #00ffcc;
  color: #07121a;
  box-shadow: 0 14px 35px rgba(0,0,0,.22);
}
.dw-cta-dark{
  background: #07121a;
  color: #00ffcc;
  box-shadow: 0 14px 35px rgba(0,0,0,.25);
}
.dw-cta-ghost{
  background: rgba(255,255,255,.06);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.18);
}

/* Shimmer sweep */
.dw-cta::before{
  content:"";
  position:absolute;
  inset:-50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-60%) rotate(12deg);
  transition: transform .55s ease;
  z-index: 1;
}
.dw-cta:hover::before{ transform: translateX(60%) rotate(12deg); }

/* Cards */
.dw-card{
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: 16px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dw-card:hover{
  transform: translateY(-3px);
  border-color: rgba(0,255,204,.22);
  box-shadow: 0 18px 55px rgba(0,0,0,.25);
}

/* Scroll to top */
.dw-scrolltop{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(7,18,26,.72);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, border-color .25s ease;
  backdrop-filter: blur(10px);
}
.dw-scrolltop.is-on{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.dw-scrolltop:hover{
  border-color: rgba(0,255,204,.35);
}
