/* Fusion neon (100%): scoped exclusively to the two homepage hero CTAs.
   Keep their original fonts, colors, labels, links and responsive dimensions. */
.hero .hero-actions .fusion-blue,
.hero .hero-actions .fusion-white {
  position: relative;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: transform 200ms cubic-bezier(.2,.8,.2,1),
              box-shadow 240ms cubic-bezier(.2,.8,.2,1),
              filter 200ms cubic-bezier(.2,.8,.2,1);
}

.hero .hero-actions .fusion-blue:hover,
.hero .hero-actions .fusion-white:hover {
  transform: none;
}

/* The interaction adds light around the original colors; it never replaces them. */
.hero .hero-actions .fusion-blue:hover {
  background: var(--primary);
  color: #fff;
}

.hero .hero-actions .fusion-white:hover {
  background: #fff;
  color: var(--text);
}

.hero .hero-actions .fusion-blue:active,
.hero .hero-actions .fusion-white:active {
  transform: translateY(1px) scale(.98);
  transition-duration: 100ms;
}

.hero .hero-actions .fusion-blue:focus-visible,
.hero .hero-actions .fusion-white:focus-visible {
  outline: 3px solid #4687fb;
  outline-offset: 4px;
}

.hero .hero-actions .fusion-blue::before,
.hero .hero-actions .fusion-blue::after,
.hero .hero-actions .fusion-white::before,
.hero .hero-actions .fusion-white::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  transition: opacity 360ms cubic-bezier(.2,.8,.2,1),
              transform 360ms cubic-bezier(.2,.8,.2,1);
}

/* Blue: original #2563eb surface with a quiet, permanent cyan rim. */
.hero .hero-actions .fusion-blue {
  box-shadow: 0 10px 24px rgba(37,99,235,.20),
              0 0 9px rgba(34,172,238,.24);
}

.hero .hero-actions .fusion-blue::before {
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(143,214,255,.52);
  box-shadow: 0 0 7px rgba(34,186,243,.35),
              inset 0 0 8px rgba(76,167,247,.10);
  opacity: .54;
}

.hero .hero-actions .fusion-blue::after {
  left: 25%;
  right: 25%;
  bottom: -10px;
  height: 17px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(46,144,255,.64), rgba(46,144,255,.11) 50%, transparent 78%);
  filter: blur(9px);
  opacity: 0;
  transform: scaleX(.72);
}

/* White: Option A. Original white fill, dark lettering and thin gray border.
   It has NO permanent neon outline; only a brief interaction halo. */
.hero .hero-actions .fusion-white {
  box-shadow: 0 5px 13px rgba(15,23,42,.025);
}

.hero .hero-actions .fusion-white::before {
  inset: -2px;
  border-radius: inherit;
  border: 1px solid rgba(98,144,240,.46);
  box-shadow: 0 0 10px rgba(78,139,235,.30),
              inset 0 0 8px rgba(140,187,255,.10);
  opacity: 0;
}

.hero .hero-actions .fusion-white::after {
  left: 21%;
  right: 21%;
  bottom: -10px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(74,124,240,.50), rgba(74,124,240,.10) 51%, transparent 80%);
  filter: blur(10px);
  opacity: 0;
  transform: scaleX(.7);
}

.hero .hero-actions .fusion-blue.is-glowing,
.hero .hero-actions .fusion-blue:focus-visible,
.hero .hero-actions .fusion-blue:active {
  box-shadow: 0 10px 24px rgba(37,99,235,.20),
              0 0 18px rgba(34,172,238,.38),
              inset 0 0 12px rgba(95,185,255,.20);
}

.hero .hero-actions .fusion-blue.is-glowing::before,
.hero .hero-actions .fusion-blue:focus-visible::before,
.hero .hero-actions .fusion-blue:active::before {
  opacity: 1;
}

.hero .hero-actions .fusion-blue.is-glowing::after,
.hero .hero-actions .fusion-blue:focus-visible::after,
.hero .hero-actions .fusion-blue:active::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero .hero-actions .fusion-white.is-glowing::before,
.hero .hero-actions .fusion-white:focus-visible::before,
.hero .hero-actions .fusion-white:active::before {
  opacity: .50;
}

.hero .hero-actions .fusion-white.is-glowing::after,
.hero .hero-actions .fusion-white:focus-visible::after,
.hero .hero-actions .fusion-white:active::after {
  opacity: .57;
  transform: scaleX(1);
}

@media (hover: hover) and (pointer: fine) {
  .hero .hero-actions .fusion-blue:hover {
    box-shadow: 0 10px 24px rgba(37,99,235,.20),
                0 0 18px rgba(34,172,238,.38),
                inset 0 0 12px rgba(95,185,255,.20);
  }
  .hero .hero-actions .fusion-blue:hover::before { opacity: 1; }
  .hero .hero-actions .fusion-blue:hover::after { opacity: 1; transform: scaleX(1); }
  .hero .hero-actions .fusion-white:hover::before { opacity: .50; }
  .hero .hero-actions .fusion-white:hover::after { opacity: .57; transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-actions .fusion-blue,
  .hero .hero-actions .fusion-white,
  .hero .hero-actions .fusion-blue::before,
  .hero .hero-actions .fusion-blue::after,
  .hero .hero-actions .fusion-white::before,
  .hero .hero-actions .fusion-white::after {
    transition: none;
  }
  .hero .hero-actions .fusion-blue:active,
  .hero .hero-actions .fusion-white:active {
    transform: none;
  }
}
