/* ── Dual Agent – Custom Styles ───────────────────────────── */
:root {
  --red:      #dd2928;
  --red-dark: #b91c1c;
  --navy:     #0e2d49;
  --navy-mid: #163d63;
  --white:    #ffffff;
  --off:      #f5f6f8;
  --text:     #1a2533;
  --muted:    #64748b;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Scroll-Reveal ── */
[data-anim] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
[data-anim="left"]  { transform: translateX(-28px); }
[data-anim="right"] { transform: translateX(28px); }
[data-anim="scale"] { transform: scale(0.92); }
[data-anim].visible {
  opacity: 1;
  transform: none;
}
[data-delay="1"] { transition-delay: 0.10s; }
[data-delay="2"] { transition-delay: 0.20s; }
[data-delay="3"] { transition-delay: 0.30s; }
[data-delay="4"] { transition-delay: 0.40s; }
[data-delay="5"] { transition-delay: 0.50s; }
[data-delay="6"] { transition-delay: 0.60s; }

@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1; transform: none; transition: none; }
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.18s var(--ease-bounce), box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(221,41,40,0.35);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(221,41,40,0.45);
}
.btn-primary:active { transform: scale(0.97); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  padding: 13px 26px;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.18s var(--ease-bounce);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ── Cards ── */
.card-lift {
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(14,45,73,0.14);
}

/* ── Hero gradient ── */
.hero-gradient {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a7a 50%, var(--navy-mid) 100%);
}

/* ── Feature icon ── */
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Step number ── */
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(221,41,40,0.4);
}

/* ── Score ring ── */
.score-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--red);
}

/* ── Nav ── */
.nav-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-link:hover { color: #fff; }

/* ── Tag/badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(221,41,40,0.15);
  border: 1px solid rgba(221,41,40,0.35);
  color: #f87171;
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Signal chips ── */
.signal-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ── Footer ── */
.footer-link {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s;
}
.footer-link:hover { color: rgba(255,255,255,0.9); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(14,45,73,0.3); border-radius: 3px; }

/* ── Prose overrides ── */
.prose h2 { color: var(--navy); }
.prose h3 { color: var(--navy); }

/* ── Download section glow ── */
.download-glow {
  background: linear-gradient(135deg, var(--red) 0%, #b91c1c 100%);
  box-shadow: 0 24px 80px rgba(221,41,40,0.4);
}

/* ── Mobile nav ── */
#mobile-menu { display: none; }
#mobile-menu.open { display: block; }
