/**
 * SoftTechVentures Button Components
 * Accessible, performant, beautifully styled buttons
 */

.stv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--stv-font-body);
  font-weight: 600;
  text-align: center;
  border-radius: var(--stv-radius-pill);
  transition: var(--stv-transition-smooth);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

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

/* Sizes */
.stv-btn--sm {
  padding: 0.5rem 1.125rem;
  font-size: var(--stv-text-xs);
}

.stv-btn--md {
  padding: 0.75rem 1.625rem;
  font-size: var(--stv-text-sm);
}

.stv-btn--lg {
  padding: 0.95rem 2.125rem;
  font-size: var(--stv-text-base);
}

/* Primary Button (Electric Violet / Purple Gradient) */
.stv-btn--primary {
  background: var(--stv-gradient-accent);
  color: var(--stv-color-white);
}

.stv-btn--primary:hover {
  background: var(--stv-gradient-accent-hover);
  transform: translateY(-2px);
  color: var(--stv-color-white);
}

.stv-btn--primary:active {
  transform: translateY(0);
}

/* Secondary / Outline Button */
.stv-btn--secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--stv-color-white);
  border: 1px solid var(--stv-color-border);
  backdrop-filter: blur(10px);
}

.stv-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--stv-color-border-hover);
  transform: translateY(-2px);
  color: var(--stv-color-white);
}

/* Accent Outline Button */
.stv-btn--outline {
  background: transparent;
  color: var(--stv-color-accent-light);
  border: 1px solid var(--stv-color-border-accent);
}

.stv-btn--outline:hover {
  background: var(--stv-color-accent-soft);
  border-color: var(--stv-color-accent);
  color: var(--stv-color-white);
  transform: translateY(-2px);
}

/* Icon in button */
.stv-btn svg {
  width: 1em;
  height: 1em;
  transition: transform var(--stv-transition-fast);
}

.stv-btn:hover svg {
  transform: translateX(3px);
}
