/* ─── HAWKSHAW DIGITAL — animations-addon.css ────────────── */

/* ── SPOTLIGHT CURSOR ───────────────────────────────────── */
@media (hover: hover) {
  *, *::before, *::after { cursor: none !important; }
}

#cursor {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  top: -190px;
  left: -190px;
  background: radial-gradient(
    circle,
    rgba(242, 169, 99, 0.28) 0%,
    rgba(31, 75, 167, 0.14) 45%,
    transparent 70%
  );
  will-change: transform;
  mix-blend-mode: normal;
  opacity: 0;
}

#cursor-ring {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(242, 169, 99, 0.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: width 0.25s, height 0.25s, border-color 0.2s;
  opacity: 0;
  background: transparent;
}
#cursor-ring::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  background: rgba(242, 169, 99, 0.9);
  border-radius: 50%;
}
@media (hover: none), (max-width: 900px) {
  #cursor, #cursor-ring { display: none !important; }
  *, *::before, *::after { cursor: auto !important; }
}

/* ── NAV ENTRANCE ───────────────────────────────────────── */
nav {
  animation: navSlideDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Gradient line under nav */
nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242,169,99,0.2), rgba(31,75,167,0.2), transparent);
}

/* ── HERO DASHBOARD 3D ──────────────────────────────────── */
.hero-dashboard {
  transform-style: preserve-3d;
  will-change: transform;
  transform-origin: center center;
}

/* ── CARD HOVER GLOW ────────────────────────────────────── */
.svc-card,
.who-card,
.diff-card,
.case-card {
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s !important;
}
.svc-card:hover,
.who-card:hover,
.diff-card:hover,
.case-card:hover {
  box-shadow: 0 0 0 1px rgba(242,169,99,0.15), 0 20px 48px rgba(0,0,0,0.35);
}
.risk-card {
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, background 0.3s !important;
}
.risk-card:hover {
  box-shadow: 0 0 0 1px rgba(242,169,99,0.2), 0 16px 40px rgba(0,0,0,0.3);
}

/* ── HERO BADGE GLOW PULSE ──────────────────────────────── */
.hero-badge {
  animation: badgeGlow 3s ease-in-out infinite;
}
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242,169,99,0); }
  50%       { box-shadow: 0 0 18px 3px rgba(242,169,99,0.12); }
}

/* ── STEP CIRCLE GLOW ON HOVER ──────────────────────────── */
.step-circle {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.step:hover .step-circle {
  background: rgba(242,169,99,0.1);
  border-color: rgba(242,169,99,0.45);
  box-shadow: 0 0 24px rgba(242,169,99,0.18);
  color: #fff;
}

/* ── COST ROW HIGHLIGHT ANIMATION ───────────────────────── */
.cost-row.highlight {
  animation: highlightPulse 3.5s ease-in-out infinite;
}
@keyframes highlightPulse {
  0%, 100% { border-color: rgba(31,75,167,0.25); box-shadow: none; }
  50%       { border-color: rgba(242,169,99,0.3); box-shadow: 0 0 20px rgba(242,169,99,0.06); }
}

/* ── DIFF CARD ICON FLOAT ───────────────────────────────── */
.diff-icon {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.diff-card:hover .diff-icon {
  transform: translateY(-4px) scale(1.1);
}

/* ── BUTTON TRANSITIONS ─────────────────────────────────── */
.btn-primary,
.btn-secondary,
.nav-cta,
.btn-calendly,
.btn-whatsapp {
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* ── METRIC VAL GLOW ────────────────────────────────────── */
.metric-val {
  text-shadow: 0 0 30px rgba(242,169,99,0.2);
}

/* ── WHO CARD RISK HOVER ────────────────────────────────── */
.who-card:hover .who-risk {
  color: rgba(242,169,99,0.8);
  transition: color 0.2s;
}

/* ── SVC CARD NUMBER HOVER ──────────────────────────────── */
.svc-card:hover .svc-num {
  color: #fff;
  transition: color 0.3s;
}

}

/* ── FOOTER LINK UNDERLINE ──────────────────────────────── */
.footer-links a {
  position: relative;
}
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.footer-links a:hover::after { transform: scaleX(1); }

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #060a14; }
::-webkit-scrollbar-thumb {
  background: rgba(242,169,99,0.25);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(242,169,99,0.45); }

/* ── TEXT SELECTION ─────────────────────────────────────── */
::selection {
  background: rgba(242,169,99,0.22);
  color: #fff;
}
/* ── GRAIN TEXTURE OVERLAY ──────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99997;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: grainShift 0.5s steps(1) infinite;
}
@keyframes grainShift {
  0%   { background-position: 0 0; }
  20%  { background-position: -50px -25px; }
  40%  { background-position: -100px 50px; }
  60%  { background-position: 50px -50px; }
  80%  { background-position: -25px 75px; }
  100% { background-position: 0 0; }
}

/* ── BADGE POP ANIMATION ────────────────────────────────── */
@keyframes badgePop {
  0%   { opacity: 0; transform: scale(0.8) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}