/* ============================================================
   ATHENAS — PREMIUM LUXURY BUTTON SYSTEM
   buttons.css  |  Loaded globally via header.php / head.php
   ============================================================ */

/* ── Token additions ── */
:root {
  --gold-1:   #a8c545;
  --gold-2:   #8fb332;
  --pink-1:   #a8c545;
  --purple-1: #8fb332;
  --blue-1:   #a8c545;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes luxuryGradientMove {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* ============================================================
   LUXURY MIXIN — applied via shared class .lux-btn
   and individually to every named CTA button
   ============================================================ */
.lux-btn,
.btn-header,
.primary-btn,
.gradient-btn,
.premium-cta-btn,
.site-demo-btn,
.bd-reply-form button[type="submit"],
.bd-newsletter-form button,
.contact-page .contact-form button,
.careers-page .jobs-search-btn,
.reply-form button[type="submit"] {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 15px 34px;
  border-radius: 999px;

  background: linear-gradient(
    135deg,
    #a8c545,
    #a8c545,
    #8fb332,
    #a8c545
  );
  background-size: 300% 300%;

  color: #ffffff !important;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;

  border: 1px solid rgba(255, 255, 255, 0.14);

  box-shadow:
    0 0 18px rgba(255, 180, 80, 0.28),
    0 0 40px rgba(168, 85, 247, 0.18);

  cursor: pointer;
  white-space: nowrap;

  animation: luxuryGradientMove 6s ease infinite;

  transition:
    transform  0.35s ease,
    box-shadow 0.35s ease;
}

/* ── Shine sweep pseudo-element ── */
.lux-btn::before,
.btn-header::before,
.primary-btn::before,
.gradient-btn::before,
.premium-cta-btn::before,
.site-demo-btn::before,
.bd-reply-form button[type="submit"]::before,
.bd-newsletter-form button::before,
.contact-page .contact-form button::before,
.careers-page .jobs-search-btn::before,
.reply-form button[type="submit"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: translateX(-120%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

/* ── Hover state ── */
.lux-btn:hover,
.btn-header:hover,
.primary-btn:hover,
.gradient-btn:hover,
.premium-cta-btn:hover,
.site-demo-btn:hover,
.bd-reply-form button[type="submit"]:hover,
.bd-newsletter-form button:hover,
.contact-page .contact-form button:hover,
.careers-page .jobs-search-btn:hover,
.reply-form button[type="submit"]:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 0 24px rgba(255, 190, 90, 0.45),
    0 0 60px rgba(255, 79, 216, 0.25),
    0 0 90px rgba(52, 200, 255, 0.18);
}

.lux-btn:hover::before,
.btn-header:hover::before,
.primary-btn:hover::before,
.gradient-btn:hover::before,
.premium-cta-btn:hover::before,
.site-demo-btn:hover::before,
.bd-reply-form button[type="submit"]:hover::before,
.bd-newsletter-form button:hover::before,
.contact-page .contact-form button:hover::before,
.careers-page .jobs-search-btn:hover::before,
.reply-form button[type="submit"]:hover::before {
  transform: translateX(120%);
}

/* ── Active press ── */
.lux-btn:active,
.btn-header:active,
.primary-btn:active,
.gradient-btn:active,
.premium-cta-btn:active,
.site-demo-btn:active {
  transform: scale(0.97);
}

/* ============================================================
   NAVBAR GET STARTED — extra gold glow
   ============================================================ */
.btn-header {
  font-size: 0.8125rem;
  padding: 0.65rem 1.6rem;
  box-shadow:
    0 0 25px rgba(255, 179, 71, 0.45),
    0 0 60px rgba(255, 79, 216, 0.22);
}

/* ============================================================
   HERO PRIMARY BUTTON — larger padding
   ============================================================ */
.primary-btn {
  padding: 18px 44px;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
}

/* ── Hero secondary stays glass ── */
.secondary-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 44px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.secondary-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.30), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
}

.secondary-btn:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 22px 60px rgba(255, 95, 210, 0.38);
}

.secondary-btn:hover::before { left: 130%; }

/* ============================================================
   CONTACT SEND MESSAGE — full width
   ============================================================ */
.contact-page .contact-form button {
  width: 100%;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
  padding: 16px 34px;
}

/* ============================================================
   SITE-WIDE DEMO BUTTON
   ============================================================ */
.site-demo-btn {
  min-height: 44px;
  padding: 13px 29px;
  font-size: 13px;
  letter-spacing: 0.22em;
}

/* ============================================================
   PREMIUM CTA BUTTON
   ============================================================ */
.premium-cta-btn {
  padding: 20px 48px;
  font-size: 16px;
  letter-spacing: 1px;
}

/* ============================================================
   CAREERS SEARCH BUTTON
   ============================================================ */
.careers-page .jobs-search-btn {
  width: 100%;
  height: 44px;
  padding: 0 20px;
  font-size: 13px;
  letter-spacing: 3px;
}

/* ============================================================
   LEARN MORE — underline style (no gradient fill)
   ============================================================ */
.learn-more,
.card-link {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  animation: none !important;
  color: #a8c545 !important;
  font-weight: 800;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.learn-more::after,
.card-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #a8c545, #a8c545);
  transition: width 0.35s ease;
  border-radius: 2px;
}

.learn-more:hover,
.card-link:hover {
  color: #fff !important;
  transform: translateX(4px);
}

.learn-more:hover::after,
.card-link:hover::after {
  width: 100%;
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .lux-btn,
  .btn-header,
  .primary-btn,
  .gradient-btn,
  .premium-cta-btn,
  .site-demo-btn {
    padding: 14px 24px;
    font-size: 14px;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    max-width: 280px;
  }

  .site-demo-btn {
    width: 100%;
    max-width: 100%;
    padding-inline: 20px;
    letter-spacing: 0.16em;
  }

  .premium-cta-btn {
    width: 100%;
  }
}

/* ============================================================
   RAVOX CTA BUTTON — must come last, overrides lux-btn rules
   ============================================================ */
.rv-cta-btn,
.rv-cta-btn:link,
.rv-cta-btn:visited {
  background: #b4ff3c !important;
  background-size: unset !important;
  color: #080c08 !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: 0 0 28px rgba(180,255,60,.40), 0 8px 24px rgba(0,0,0,.30) !important;
  animation: none !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  padding: 15px 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  width: fit-content !important;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease !important;
}

.rv-cta-btn:hover {
  background: #c8ff5a !important;
  color: #080c08 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 0 50px rgba(180,255,60,.60) !important;
}

.rv-cta-btn--ghost,
.rv-cta-btn--ghost:link,
.rv-cta-btn--ghost:visited {
  background: transparent !important;
  color: #b4ff3c !important;
  border: 1.5px solid rgba(180,255,60,.45) !important;
  box-shadow: none !important;
}

.rv-cta-btn--ghost:hover {
  background: rgba(180,255,60,.10) !important;
  border-color: #b4ff3c !important;
  color: #b4ff3c !important;
  transform: translateY(-3px) !important;
}

.rv-cta-btn::before { display: none !important; }
