/* =====================================================================
   GLOW-BORDER BUTTON  (from 21st.dev / Aceternity "Hover Border Gradient")
   Seen in the demo: pill-shaped button (rounded-full), small icon +
   label with 8px gap.
   How the original moves (reconstructed, source file not pasted):
   a soft spot of light travels round the 1px border, a quarter turn
   every second (top -> left -> bottom -> right). On hover the travelling
   light stops and the whole border glows evenly.
   Socialique version: it's a "Book a call" button, so the face is the
   accent (Soft Cornflower) with navy text; the light is white, travelling
   on a Harbour Blue border. On hover the border turns navy and a soft
   Cornflower glow appears around it. No JavaScript needed.

   Performance: the light is a large conic-gradient layer that ROTATES
   (transform), which phones animate on the graphics chip without
   repainting. (Animating the gradient angle itself repaints every frame,
   which is costly for the fixed phone button that's always on screen.)

   Markup:
     <a class="slq-glow-btn" href="https://calendly.com/monique-socialique/30min">
       <span class="slq-glow-btn__face">Book a discovery call <svg ...arrow... /></span>
     </a>
   ===================================================================== */

.slq-glow-btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; border-radius: var(--slq-radius-pill);
  padding: 1.5px; /* the visible border */
  text-decoration: none;
  background: var(--slq-harbour);
  transition: background 300ms var(--slq-ease-out), box-shadow 300ms var(--slq-ease-out);
}
/* The travelling light: a big square behind the face, rotating once every 4s (4 x 1s quarter turns) */
.slq-glow-btn::before {
  content: ""; position: absolute; z-index: 0; left: 50%; top: 50%;
  width: 300%; aspect-ratio: 1; translate: -50% -50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255, 255, 255, 0.95) 50deg, transparent 110deg, transparent 360deg);
  animation: slq-glow-travel 4s linear infinite;
  will-change: transform;
  transition: opacity 300ms var(--slq-ease-out);
}
.slq-glow-btn__face {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 12px 26px; box-sizing: border-box;
  border-radius: inherit;
  background: var(--slq-accent); color: var(--slq-on-accent);
  font: 500 0.9375rem/1 var(--slq-font-body); white-space: nowrap;
  transition: background var(--slq-base) var(--slq-ease-out);
}
.slq-glow-btn__face svg { width: 14px; height: 14px; transition: transform var(--slq-base) var(--slq-ease-out); }

/* Hover: the light stops and fades, the border turns navy and glows evenly */
@media (hover: hover) {
  .slq-glow-btn:hover { background: var(--slq-navy); box-shadow: 0 0 22px 2px rgba(126, 160, 203, 0.65); }
  .slq-glow-btn:hover::before { animation-play-state: paused; opacity: 0; }
  .slq-glow-btn:hover .slq-glow-btn__face { background: var(--slq-accent-hover); }
  .slq-glow-btn:hover .slq-glow-btn__face svg { transform: translateX(3px); }
}
.slq-glow-btn:active .slq-glow-btn__face { transform: translateY(1px); }
.slq-glow-btn:focus-visible { outline: 2px solid var(--slq-navy); outline-offset: 4px; }
.slq-section--navy .slq-glow-btn:focus-visible { outline-color: var(--slq-accent); }

/* Full-width version for the fixed phone button */
.slq-glow-btn--block { display: flex; }
.slq-glow-btn--block .slq-glow-btn__face { width: 100%; justify-content: center; }

@keyframes slq-glow-travel { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) { .slq-glow-btn::before { animation: none; } }
