/* AirKit Design System - Button Components */
/* Adapted for PayLoadz WordPress Theme */

/* Button Base Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border: none;
  border-radius: 0.5rem;
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  outline: none;
  white-space: nowrap;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  line-height: 1.2;
}

.btn:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: 2px;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Primary Buttons */
.btn-primary {
  background: var(--gradient-02);
  color: var(--color-shade-01);
  border: none;
}

.btn-primary:hover:not(:disabled) {
  background: var(--gradient-03);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 56, 92, 0.3);
  text-decoration: none;
}

.btn-primary:active:not(:disabled) {
  background: var(--gradient-01);
  transform: translateY(0);
}

.btn-primary:disabled {
  background: var(--color-neutral-03);
  color: var(--color-shade-01);
}

/* Secondary Buttons */
.btn-secondary {
  background: var(--color-shade-02);
  color: var(--color-shade-01);
  border: none;
}

.btn-secondary:hover:not(:disabled) {
  background: var(--color-shade-02);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 34, 34, 0.2);
  text-decoration: none;
}

.btn-secondary:disabled {
  background: var(--color-neutral-03);
  color: var(--color-shade-01);
}

/* Tertiary Buttons */
.btn-tertiary {
  background: transparent;
  color: var(--color-shade-02);
  border: 1px solid var(--color-shade-02);
}

.btn-tertiary:hover:not(:disabled) {
  background: var(--color-shade-02-05);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-tertiary:disabled {
  background: var(--color-neutral-03);
  color: var(--color-shade-01);
  border-color: var(--color-neutral-03);
}

/* Link Buttons */
.btn-link {
  background: transparent;
  color: var(--color-shade-02);
  border: none;
  text-decoration: underline;
  padding: 0;
  font-size: 0.875rem;
}

.btn-link:hover:not(:disabled) {
  color: var(--color-primary-02);
}

/* Button Sizes */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Button Groups */
.btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .btn {
    padding: 0.75rem 1.25rem;
  }
  
  .btn-group {
    flex-direction: column;
  }
}

