/* ═══════════════════════════════════════════════════
   Digital Armor v3 — Patch CSS
   Apply on top of main.css and v2.css
═══════════════════════════════════════════════════ */

/* ── Why cards — lift + zoom on hover, not clickable ── */
.why-card {
  cursor: default;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.why-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  background: var(--navy-mid);
  z-index: 1;
}
/* Remove the top border accent line on hover — was implying clickability */
.why-card::before { display: none; }

/* ── Non-clickable compliance tags — no hover effect ── */
.tag:not(.tag-link) {
  cursor: default;
  pointer-events: none;
}
.cert:not(.cert-link) {
  cursor: default;
  pointer-events: none;
}

/* ── Remove Blue Team, RHCE, VMware from hero badges ──
   Handled in HTML — this just ensures no orphan styles */

/* ── Blog nav item ───────────────────────────────── */
.nav-links .nav-blog a {
  color: var(--steel-light);
}
.nav-links .nav-blog a:hover {
  color: var(--accent-bright);
}

/* ── Back to top button ──────────────────────────── */
#back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
#back-to-top svg { width: 18px; height: 18px; color: #fff; }
#back-to-top:hover { background: var(--accent-bright); transform: translateY(-2px); }
#back-to-top.visible { opacity: 1; pointer-events: auto; }
