/* ============================================================
   NORTH HORIZON PARTNERS — components.css
   Buttons, text links, custom cursor, pill tag.
   ============================================================ */

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 0.18s ease,
              transform 0.18s ease,
              box-shadow 0.18s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--accent);
  color: #080808;
}

.btn-primary:hover {
  background-color: #d4ff1a;
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

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

.btn-large {
  padding: 0.9rem 2rem;
  font-size: 0.96rem;
}


/* ── Text link ──────────────────────────────────────────────── */
.text-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.text-link:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
}


/* ── Custom cursor ──────────────────────────────────────────── */
/*
  Visible only on pointer:fine devices (desktop).
  Managed entirely by JS. mix-blend-mode:difference
  makes it appear light on dark bg, dark on light bg.
  Native cursor hidden so only the dot is visible.
*/

/* Hide native cursor on all elements when pointer:fine */
@media (pointer: fine) {
  *, *::before, *::after {
    cursor: none !important;
  }
}

.cursor-dot {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-7px, -7px);
  mix-blend-mode: difference;
  transition: opacity 0.2s ease;
  opacity: 0;
}

.cursor-dot.visible {
  opacity: 1;
}

@media (pointer: fine) {
  .cursor-dot {
    display: block;
  }
}


/* ── Pill tag ───────────────────────────────────────────────── */
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 1rem;
  border: 1px solid rgba(200, 255, 0, 0.35);
  border-radius: 100px;
  background: rgba(200, 255, 0, 0.09);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  width: fit-content;
  box-shadow: 0 0 12px rgba(200, 255, 0, 0.08);
}

/* Animated pulse dot inside pill tag */
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.35;
  animation: pulse-ring 2.2s ease-in-out infinite;
}
