/**
 * Axencia.co — Hero Buttons: Glass Look + Fixed Hover Animations
 * Modern, sleek, responsive
 */

/* ===== HERO ACTIONS — Glass morphism, fixed overflow ===== */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
}

.hero-actions .btn {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  min-width: 160px;
  text-align: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    background 0.3s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

/* Primary — Glass gradient base */
.hero-actions .btn-primary {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.85) 0%, rgba(37, 99, 235, 0.8) 50%, rgba(29, 78, 216, 0.85) 100%) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.hero-actions .btn-primary:hover {
  transform: translateY(-3px) scale(1.02) !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.95) 0%, rgba(37, 99, 235, 0.9) 50%, rgba(29, 78, 216, 0.95) 100%) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4),
    0 0 48px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.hero-actions .btn-primary:active {
  transform: translateY(-1px) scale(0.99) !important;
}

/* Ghost — Glass outline */
.hero-actions .btn-ghost {
  background: rgba(15, 23, 42, 0.4) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 130, 246, 0.45) !important;
  color: #93c5fd !important;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.hero-actions .btn-ghost:hover {
  transform: translateY(-3px) scale(1.02) !important;
  background: rgba(30, 58, 95, 0.55) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(96, 165, 250, 0.6) !important;
  color: #bfdbfe !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(59, 130, 246, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.hero-actions .btn-ghost:active {
  transform: translateY(-1px) scale(0.99) !important;
}

/* Shine sweep — fixed, no overflow */
.hero-actions .btn-primary::after,
.hero-actions .btn-ghost::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-12deg);
  transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.hero-actions .btn-primary:hover::after,
.hero-actions .btn-ghost:hover::after {
  left: 150%;
}

/* ===== MOBILE BOTTOM BAR — Enhanced glass ===== */
@media (max-width: 768px) {
  .mobile-bottom-bar::before {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.88) 100%);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
  }

  .mobile-bottom-bar .quick-action-btn {
    background: rgba(30, 58, 95, 0.5) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .mobile-bottom-bar .quick-action-btn:hover {
    background: rgba(30, 58, 95, 0.75) !important;
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3),
      0 0 30px rgba(59, 130, 246, 0.15);
  }
}

/* ===== RESPONSIVE HERO ===== */
@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 24px;
  }
}

@media (max-width: 480px) {
  .hero-actions .btn {
    font-size: 0.95rem;
    padding: 12px 20px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-actions .btn,
  .hero-actions .btn::after {
    transition-duration: 0.15s !important;
  }
}
