/* ============================================
   COMPONENTS — Buttons, chips, tags, BMC
   Buttons: glass/border style — NO gradient fill
   Gradient is reserved for text only
   ============================================ */

/* ---- Base button ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--r-sm);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
  border: 1px solid transparent;
  outline: none;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
}

.btn svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  flex-shrink: 0;
}

/* Primary — glass with blue border glow */
.btn-primary {
  background: var(--card-bg);
  color: var(--text);
  border-color: var(--border-blue);
  box-shadow: 0 0 0 0 rgba(0,200,240,0);
  backdrop-filter: blur(8px);
}

.btn-primary:hover {
  background: var(--card-bg-h);
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 0 18px rgba(0,200,240,0.15);
  transform: translateY(-2px);
}

/* Outline — minimal */
.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--border-blue);
  color: var(--blue);
  background: var(--blue-dim);
  transform: translateY(-2px);
}

/* Accent — used for main hero CTAs only (2 placed prominently) */
.btn-accent {
  background: var(--card-bg);
  color: var(--blue);
  border-color: var(--border-blue);
  font-weight: 700;
}

.btn-accent:hover {
  background: rgba(0,200,240,0.1);
  border-color: var(--blue);
  box-shadow: 0 0 24px rgba(0,200,240,0.2);
  transform: translateY(-2px);
}

/* Magnetic wrapper */
.magnetic { will-change: transform; }

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--t);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--border-blue);
  color: var(--blue);
  background: var(--blue-dim);
}

/* ---- Highlight Chips ---- */
.highlight-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  font-size: 0.79rem;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: var(--t);
}

.highlight-chip:hover {
  border-color: var(--border-blue);
  color: var(--blue);
  background: var(--blue-dim);
  transform: translateY(-1px);
}

.chip-icon {
  width: 13px; height: 13px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

/* ---- Tech Tags ---- */
.tech-tag {
  padding: 3px 10px;
  border-radius: var(--r-sm);
  background: var(--violet-dim);
  border: 1px solid rgba(157,78,221,0.2);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--violet);
  transition: background 0.2s;
}

.tech-tag:hover {
  background: rgba(157,78,221,0.16);
}

/* ---- Project Link ---- */
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  font-size: 0.79rem;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: var(--t);
}

.project-link:hover {
  border-color: var(--border-blue);
  color: var(--blue);
  background: var(--blue-dim);
  transform: translateY(-1px);
}

/* ---- BMC — Nav ---- */
.bmc-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--r-sm);
  background: rgba(251,191,36,0.06);
  border: 1px solid rgba(251,191,36,0.18);
  font-size: 0.79rem;
  font-weight: 600;
  color: #b8860b;
  transition: var(--t);
  white-space: nowrap;
}

.bmc-nav:hover {
  background: rgba(251,191,36,0.12);
  border-color: rgba(251,191,36,0.36);
  transform: translateY(-1px);
}

.bmc-nav-icon { font-size: 0.9rem; }
.bmc-nav-text { display: none; }
