/* ============================================================
   Veloblock — Root Site Enhancements
   Layered on top of existing template (style.css)
   ============================================================ */

/* ── Custom Properties ────────────────────────────────────── */
:root {
  --vb-primary: #3b82f6;
  --vb-glow:    rgba(59,130,246,0.25);
  --vb-success: #22c55e;
  --vb-danger:  #ef4444;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar        { width: 5px; }
::-webkit-scrollbar-track  { background: transparent; }
::-webkit-scrollbar-thumb  { background: rgba(59,130,246,0.3); border-radius: 4px; }

/* ── Smooth scroll ────────────────────────────────────────── */
html { scroll-behavior: smooth; }

/* ── Selection ────────────────────────────────────────────── */
::selection { background: var(--vb-glow); color: #fff; }

/* ── Primary button upgrade ───────────────────────────────── */
.trk-btn--primary {
  background: linear-gradient(135deg, var(--vb-primary), #6366f1) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 20px rgba(59,130,246,0.3) !important;
  transition: all 0.25s ease !important;
  position: relative;
  overflow: hidden;
}
.trk-btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.25s ease;
}
.trk-btn--primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(59,130,246,0.45) !important;
}
.trk-btn--primary:hover::after { background: rgba(255,255,255,0.06); }

/* ── Border/outline button ────────────────────────────────── */
.trk-btn--border {
  border: 1px solid rgba(59,130,246,0.4) !important;
  transition: all 0.25s ease !important;
}
.trk-btn--border:hover { border-color: var(--vb-primary) !important; }

/* ── Header glow on scroll ────────────────────────────────── */
.header-section {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* ── Form inputs ──────────────────────────────────────────── */
.form-control {
  transition: border-color 0.22s ease, box-shadow 0.22s ease !important;
}
.form-control:focus {
  border-color: rgba(59,130,246,0.5) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12) !important;
}

/* ── Cards hover lift ─────────────────────────────────────── */
.feature-item, .service-item, .plan-item, .testimonial-item, [class*="card"] {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.feature-item:hover, .service-item:hover {
  transform: translateY(-4px) !important;
}

/* ── Section headings ─────────────────────────────────────── */
.section-header h2, .section__title { letter-spacing: -0.3px; }

/* ── Gradient text utility ────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--vb-primary), #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Crypto badge ─────────────────────────────────────────── */
.crypto-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.25);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--vb-primary);
}

/* ── Price/number counters ────────────────────────────────── */
.counter-up, [class*="counter"] { font-variant-numeric: tabular-nums; letter-spacing: -0.5px; }

/* ── Table improvements ───────────────────────────────────── */
.table thead th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.8px; font-weight: 700; }
.table tbody tr { transition: background 0.18s ease; }
.table tbody tr:hover { background: rgba(59,130,246,0.04) !important; }

/* ── Navigation active indicator ─────────────────────────── */
.menu > li > a {
  position: relative;
  transition: color 0.22s ease;
}
.menu > li > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--vb-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.menu > li:hover > a::after,
.menu > li.current > a::after { transform: scaleX(1); }

/* ── Footer enhancements ──────────────────────────────────── */
footer a { transition: color 0.22s ease !important; }
footer a:hover { color: var(--vb-primary) !important; }

/* ── Scroll to top ────────────────────────────────────────── */
.scrollToTop {
  background: linear-gradient(135deg, var(--vb-primary), #6366f1) !important;
  box-shadow: 0 4px 20px var(--vb-glow) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  border-radius: 50% !important;
  width: 42px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.scrollToTop:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 30px var(--vb-glow) !important;
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.float-anim { animation: floatUp 3s ease infinite; }

/* ── Responsive tweaks ────────────────────────────────────── */
@media (max-width: 768px) {
  .btn, .trk-btn { font-size: 14px !important; padding: 10px 20px !important; }
}
