/* src/css/components/buttons.css */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-family-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md); /* Less rounded like Stripe/Vercel */
  transition: all var(--transition-normal) ease-in-out;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: var(--z-normal);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  transition: opacity var(--transition-normal) ease;
  opacity: 0;
}

/* Primary Button */
.btn-primary {
  background: var(--color-text-main);
  color: var(--color-bg-dark);
  box-shadow: 0 4px 14px 0 rgba(255, 255, 255, 0.39);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.23);
}

.btn-primary::before {
  display: none;
}

/* Glass Button (Electric blue glow) */
.btn-glass {
  background: rgba(0, 112, 243, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(0, 112, 243, 0.4);
}

.btn-glass:hover {
  background: rgba(0, 112, 243, 0.2);
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(0, 112, 243, 0.3);
  transform: translateY(-2px);
}

/* Text Button */
.btn-text {
  color: var(--color-text-muted);
  padding: 0.5rem 1rem;
}

.btn-text:hover {
  color: var(--color-primary);
  background: rgba(99, 102, 241, 0.1);
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
