/* ==========================================================================
   APEX CREATOR UNIFIED BUTTON DESIGN SYSTEM
   Standardized Font: 'Plus Jakarta Sans', 'Inter', sans-serif
   Zero-jump text: stable text position with smooth color transitions
   Authentic Brand Palette:
     - Primary Filled: linear-gradient(135deg, #0878ed, #0a69d8) [Matches 'Start My Free Calendar →']
     - Primary Hover:  linear-gradient(135deg, #0a84ff, #096ad8)
     - Unfilled Light: Border 1.5px solid #0878ed, Color #0878ed, Bg #ffffff [Matches 'Preview The Audit']
     - Unfilled Dark:  Border 1.5px solid rgba(8,120,237,0.55), Color #ffffff, Bg rgba(8,120,237,0.08)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PRIMARY ACTION PILL: FILLED BLUE GRADIENT
   Matches "Start My Free Calendar →" with rolling arrow micro-interaction
   -------------------------------------------------------------------------- */
.apexcreator-btn-roll,
.btn--roll-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 26px;
  min-height: 50px;
  background: linear-gradient(135deg, #0878ed 0%, #0a69d8 100%);
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 50px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 25px rgba(8, 120, 237, 0.28);
  cursor: pointer;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1),
              box-shadow 0.35s ease,
              border-color 0.3s ease;
}

/* Hover brightening gradient overlay */
.apexcreator-btn-roll::before,
.btn--roll-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a84ff 0%, #096ad8 100%);
  opacity: 0;
  border-radius: 50px;
  z-index: -1;
  transition: opacity 0.35s ease;
}

/* Label text stays stationary (zero jump, perfectly centered) */
.apexcreator-btn-roll .apexcreator-btn-text,
.btn--roll-primary .apexcreator-btn-text {
  position: relative;
  display: inline-block;
  line-height: 1.2;
  color: #ffffff !important;
  transition: none;
}

/* Circular arrow badge */
.apexcreator-btn-roll .apexcreator-btn-icon,
.btn--roll-primary .apexcreator-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1),
              background-color 0.3s ease,
              color 0.3s ease;
}

.apexcreator-btn-roll .apexcreator-btn-icon svg,
.btn--roll-primary .apexcreator-btn-icon svg {
  display: block;
  width: 13px;
  height: 13px;
}

/* Hover States for Primary Filled Button */
.apexcreator-btn-roll:hover,
.btn--roll-primary:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 14px 30px rgba(8, 120, 237, 0.42);
}

.apexcreator-btn-roll:hover::before,
.btn--roll-primary:hover::before {
  opacity: 1;
}

.apexcreator-btn-roll:hover .apexcreator-btn-text,
.btn--roll-primary:hover .apexcreator-btn-text {
  color: #ffffff !important;
}

.apexcreator-btn-roll:hover .apexcreator-btn-icon,
.btn--roll-primary:hover .apexcreator-btn-icon {
  background: #ffffff;
  color: #0878ed;
  transform: rotate(45deg) scale(1.08);
}

.apexcreator-btn-roll:active,
.btn--roll-primary:active {
  transform: translateY(0) scale(0.98);
}


/* --------------------------------------------------------------------------
   2. UNFILLED / OUTLINE BUTTON: MATCHES "Preview The Audit"
   Light sections (Hero, Calendar, Agency Statement, Pre-Footer)
   -------------------------------------------------------------------------- */
.apexcreator-btn-ghost,
.apexcreator-btn-ghost--dark,
.btn--unfilled {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  min-height: 50px;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0878ed !important;
  background: #ffffff;
  border: 1.5px solid #0878ed;
  border-radius: 50px;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  text-decoration: none;
  transition: color 0.35s ease,
              border-color 0.35s ease,
              background-color 0.35s ease,
              transform 0.35s cubic-bezier(0.19, 1, 0.22, 1),
              box-shadow 0.35s ease;
}

.apexcreator-btn-ghost::before,
.apexcreator-btn-ghost--dark::before,
.btn--unfilled::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: #0878ed;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  transition: width 0.45s cubic-bezier(0.19, 1, 0.22, 1),
              height 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

.apexcreator-btn-ghost:hover,
.apexcreator-btn-ghost--dark:hover,
.btn--unfilled:hover {
  color: #ffffff !important;
  border-color: #0878ed;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(8, 120, 237, 0.25);
}

.apexcreator-btn-ghost:hover::before,
.apexcreator-btn-ghost--dark:hover::before,
.btn--unfilled:hover::before {
  width: 320px;
  height: 320px;
}

.apexcreator-btn-ghost:active,
.apexcreator-btn-ghost--dark:active,
.btn--unfilled:active {
  transform: translateY(0) scale(0.98);
}


/* --------------------------------------------------------------------------
   3. UNFILLED BUTTON ON DARK SECTIONS (The 4 dark service cards in #services)
   Transparent/Subtle dark tint -> Glows with blue fill on hover
   -------------------------------------------------------------------------- */
.svc-row .apexcreator-btn-ghost,
.svc-row__actions .apexcreator-btn-ghost,
.apexcreator-btn-ghost--dark-bg {
  color: #096ad8 !important;
  background: #ffffff;
  border: 1.5px solid #096ad8;
}

.svc-row .apexcreator-btn-ghost::before,
.svc-row__actions .apexcreator-btn-ghost::before,
.apexcreator-btn-ghost--dark-bg::before {
  background: linear-gradient(135deg, #0878ed 0%, #0a69d8 100%);
}

.svc-row .apexcreator-btn-ghost:hover,
.svc-row__actions .apexcreator-btn-ghost:hover,
.apexcreator-btn-ghost--dark-bg:hover {
  color: #ffffff !important;
  border-color: #0878ed;
  box-shadow: 0 12px 28px rgba(8, 120, 237, 0.4);
}


/* --------------------------------------------------------------------------
   4. LIQUID FILL / SLIDE-UP PILL (Alternative variant)
   -------------------------------------------------------------------------- */
.apexcreator-btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff !important;
  background-color: #0878ed;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}

.apexcreator-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a84ff 0%, #096ad8 100%);
  transform: translateY(101%);
  border-radius: 50px;
  z-index: -1;
  transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}

.apexcreator-btn-primary:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 14px 28px rgba(8, 120, 237, 0.4);
}

.apexcreator-btn-primary:hover::before {
  transform: translateY(0);
}

.apexcreator-btn-primary:active {
  transform: translateY(0) scale(0.98);
}


/* --------------------------------------------------------------------------
   5. COMPATIBILITY & HARMONIZATION FOR STANDARD .btn & .btn--p
   Ensures calendar and legacy buttons share identical font and pill curvature
   -------------------------------------------------------------------------- */
.btn {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  border-radius: 50px !important;
  letter-spacing: -0.01em;
}

.btn--p {
  background: linear-gradient(135deg, #0878ed, #0a69d8) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 10px 25px rgba(8, 120, 237, 0.28) !important;
}

.btn--p:hover {
  background: linear-gradient(135deg, #0a84ff, #096ad8) !important;
  box-shadow: 0 14px 28px rgba(8, 120, 237, 0.38) !important;
}
