/* =====================================================================
   Forge Digitals: site-wide animated aurora background
   Look: near-black at the top, deep indigo in the middle, soft violet and
   lavender light rising from the bottom edge. Dark and slow on purpose.
   Loaded LAST so it sits under everything and sections show it through.
   ===================================================================== */
:root {
  --au-0: #03020a;
  --au-1: #070419;
  --au-2: #0d0830;
  --au-3: #170e4f;
  --au-4: #2a1c7a;
}
html {
  background: var(--au-0) !important;
}
body {
  background: transparent !important;
}

/* Layer A: base gradient + two slow violet blobs (oversized so rotation never shows edges) */
html::before {
  content: "";
  position: fixed;
  inset: -18%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(46% 38% at 18% 92%, rgba(124, 58, 237, 0.5), transparent 72%),
    radial-gradient(42% 34% at 82% 88%, rgba(79, 70, 229, 0.46), transparent 72%),
    radial-gradient(70% 22% at 50% 104%, rgba(196, 181, 253, 0.34), transparent 74%),
    linear-gradient(
      180deg,
      var(--au-0) 0%,
      var(--au-1) 30%,
      var(--au-2) 54%,
      var(--au-3) 76%,
      var(--au-4) 100%
    );
  transform-origin: 50% 60%;
  animation: auA 26s ease-in-out infinite alternate;
  will-change: transform;
}
/* Layer B: drifting light bands near the bottom, moving the opposite way */
body::before {
  content: "";
  position: fixed;
  left: -25%;
  right: -25%;
  bottom: -18%;
  height: 78%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(32% 46% at 30% 88%, rgba(168, 139, 250, 0.3), transparent 70%),
    radial-gradient(30% 42% at 66% 96%, rgba(139, 92, 246, 0.34), transparent 70%),
    radial-gradient(24% 34% at 92% 78%, rgba(217, 70, 239, 0.14), transparent 70%),
    radial-gradient(26% 36% at 6% 74%, rgba(99, 102, 241, 0.26), transparent 70%);
  animation: auB 19s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
@keyframes auA {
  0% {
    transform: translate3d(-2.5%, 0, 0) rotate(-1.4deg) scale(1.02);
  }
  50% {
    transform: translate3d(2%, -1.5%, 0) rotate(0.8deg) scale(1.07);
  }
  100% {
    transform: translate3d(3%, 1%, 0) rotate(1.6deg) scale(1.03);
  }
}
@keyframes auB {
  0% {
    transform: translate3d(4%, 2%, 0) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate3d(-3%, -3%, 0) scale(1.08);
    opacity: 1;
  }
  100% {
    transform: translate3d(-5%, 1%, 0) scale(1.02);
    opacity: 0.82;
  }
}

/* ---------- Let the background show through every section ---------- */
.hero,
.sec,
.sec.lt,
.sec.about,
.sec.wp,
.sec.fs,
.sec.cs,
.sec.page-top,
.pk,
.tr,
.fq,
.qt,
.wr,
.pp,
.fin,
.pw,
.wk,
.jr,
.hx,
.hx.gl,
.sv-hero,
.sv-hero.sv-c2,
.wc,
.hw,
.ft,
.about.lt,
.about + .sec.lt {
  background: transparent !important;
}
.sv-aurora {
  display: none !important;
}

/* Soft gradient seam instead of hard edges between sections */
.sec::before {
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.28), transparent);
}

/* Footer: let the aurora be its backdrop; keep a dark base for text contrast */
.ft {
  background: linear-gradient(180deg, rgba(3, 2, 10, 0) 0%, rgba(3, 2, 10, 0.35) 100%) !important;
}

/* Slightly deepen the vignette so the page stays dark and premium */
.vig {
  opacity: 0.9;
}

@media (max-width: 860px) {
  html::before {
    inset: -10%;
  }
  body::before {
    height: 60%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html::before,
  body::before {
    animation: none;
  }
}

/* ---------- Text and cards that were designed for a light background ---------- */
/* Working process */
.hw-eb {
  color: #d8b4fe;
}
.hw-head h2 {
  color: #fff;
}
.hw-head p {
  color: #b9afd6;
}
.hw-gr {
  background-image: linear-gradient(90deg, #c4b5fd, #e879f9);
  -webkit-background-clip: text;
  background-clip: text;
}
.hw-n {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(221, 214, 254, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hw-s {
  padding: 20px 22px;
  border-radius: 22px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.12),
    rgba(139, 92, 246, 0.1) 55%,
    rgba(255, 255, 255, 0.04)
  ) !important;
  border: 1px solid rgba(221, 214, 254, 0.28) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 22px 44px -22px rgba(6, 3, 24, 0.8) !important;
}
.hw-s h3 {
  color: #fff;
}
.hw-s p {
  color: #c9bfe6;
}
.hw-k {
  color: #d8b4fe;
}

/* Testimonials heading */
.tr-eb {
  color: #e9e2ff;
}
.tr-head h2 {
  color: #fff;
}
.tr-head p {
  color: #b9afd6;
}

/* FAQ */
.fq-head h2,
.fq-l h3 {
  color: #fff;
}
.fq-head p,
.fq-lead,
.fq-side p {
  color: #b9afd6;
}
.fq-wm {
  -webkit-text-stroke: 2px rgba(196, 181, 253, 0.38);
}
.fq-i {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.04)
  ) !important;
  border: 1px solid rgba(221, 214, 254, 0.22) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 36px -24px rgba(6, 3, 24, 0.8) !important;
}
.fq-i.open {
  background: linear-gradient(
    160deg,
    rgba(196, 181, 253, 0.24),
    rgba(139, 92, 246, 0.12)
  ) !important;
  border-color: rgba(221, 214, 254, 0.5) !important;
}
.fq-i button {
  color: #fff;
}
.fq-p p {
  color: #cfc6ea;
}
.hw-eb,
.tr-eb {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(221, 214, 254, 0.3) !important;
  color: #e9d5ff !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
