/* ============================================================
   Buttons (shared)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 30px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  will-change: transform, box-shadow;
  transition:
    transform 0.32s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.32s cubic-bezier(0.34, 1.4, 0.64, 1),
    border-color 0.22s ease,
    color 0.22s ease,
    background 0.22s ease;
}
.btn svg {
  transition: transform 0.32s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.btn:hover svg { transform: translateX(5px); }
.btn:active svg { transform: translateX(3px); }

/* Accessible keyboard focus */
.btn:focus-visible {
  outline: 2px solid var(--brand-1);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-btn-h);
}
.btn--primary:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -6px rgba(58, 80, 191, 0.50);
  transition-duration: 0.08s;
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-strong);
  padding: 15.5px 28px;
}
.btn--secondary:hover {
  transform: translateY(-3px);
  border-color: var(--brand-2);
  color: var(--brand-2);
  box-shadow: 0 10px 24px -12px rgba(58, 80, 191, 0.35);
}
.btn--secondary:active {
  transform: translateY(-1px);
  transition-duration: 0.08s;
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .btn, .btn svg, .btn:hover, .btn:active {
    transform: none !important;
    transition-duration: 0.1s !important;
  }
}

