/* =============================================
   UTILITIES — buttons, theme toggle, marquee,
   whatsapp float, scroll animations
   ============================================= */

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius-pill); font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: var(--transition); border: 2px solid transparent; white-space: nowrap; }
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 0 30px var(--accent-glow); }
.btn--primary:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text-muted); border-color: transparent; }
.btn--ghost:hover { color: var(--text); }
.btn--lg { padding: 14px 32px; font-size: 1rem; }
.btn--full { width: 100%; }

/* ---------- THEME TOGGLE ---------- */
.theme-toggle {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem;
  transition: background var(--transition), border-color var(--transition), transform 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(20deg) scale(1.1); }

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 200; width: 58px; height: 58px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,0.45); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.65); }
.whatsapp-float__tooltip { position: absolute; right: 68px; background: #1a1a1a; color: #fff; font-size: 0.8rem; font-weight: 500; white-space: nowrap; padding: 6px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }
.whatsapp-float::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #25d366; opacity: 0;
  animation: wa-pulse 2.5s ease-out infinite;
}
@keyframes wa-pulse { 0%{transform:scale(1);opacity:0.7} 100%{transform:scale(1.7);opacity:0} }

/* ---------- MARQUEE ---------- */
.marquee-wrap { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); padding: 14px 0; transition: background 0.3s ease; }
.marquee { display: flex; gap: 32px; white-space: nowrap; animation: marquee 28s linear infinite; width: max-content; }
.marquee span { font-size: 0.88rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.marquee .sep { color: var(--accent); }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
