/* ==========================================================================
   VIGIL ATLAS — Global Fraud Intelligence & Victim Protection
   Mobile-first stylesheet. Base = mobile. Override upward with min-width.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg-primary: #FAFBFC;
  --bg-secondary: #F4F6F8;
  --bg-white: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-hover: #F0F4F8;

  /* Accent */
  --accent-primary: #0D9488;
  --accent-dark: #0F766E;
  --accent-light: #CCFBF1;
  --accent-subtle: #F0FDFA;

  /* Status */
  --success: #059669;
  --success-light: #D1FAE5;
  --warning: #D97706;
  --warning-light: #FEF3C7;
  --danger: #DC2626;
  --danger-light: #FEE2E2;
  --critical: #991B1B;

  /* Text */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;

  /* Borders */
  --border-light: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-hover: #94A3B8;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.07), 0 8px 16px rgba(0, 0, 0, 0.03);
  --shadow-glow-green: 0 0 20px rgba(13, 148, 136, 0.15);

  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-blur: 16px;

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --nav-height: 52px;
}

@media (min-width: 992px) {
  :root { --nav-height: 60px; }
}

/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
}

p { margin: 0; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }
img, svg { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.container { max-width: 1200px; }

.mono { font-family: 'SFMono-Regular', Consolas, monospace; }

/* ============ TYPOGRAPHY SCALE ============ */
.eyebrow, .section-overline {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-headline { font-size: 1.75rem; font-weight: 800; }
.section-title { font-size: 1.35rem; font-weight: 700; margin-top: 4px; }
.section-desc { font-size: 0.875rem; color: var(--text-secondary); margin-top: 10px; max-width: 560px; }
.section-head.text-center .section-desc { margin-left: auto; margin-right: auto; }

@media (min-width: 992px) {
  .hero-headline { font-size: 3.25rem; }
  .section-title { font-size: 2rem; }
  .section-desc { font-size: 1rem; }
}

.text-accent-grad {
  background: linear-gradient(120deg, var(--accent-primary), #14B8A6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ SECTION RHYTHM ============ */
section { padding: 56px 16px; }
@media (min-width: 576px) { section { padding: 64px 20px; } }
@media (min-width: 768px) { section { padding: 80px 24px; } }
@media (min-width: 992px) { section { padding: 100px 32px; } }

.section-head { max-width: 640px; margin: 0 auto 32px; }
@media (min-width: 992px) { .section-head { margin-bottom: 48px; } }

/* ============ BUTTONS ============ */
.btn-vigil-primary {
  background: var(--accent-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  height: 40px;
  padding: 0 20px;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
}
.btn-vigil-primary:hover { background: var(--accent-dark); box-shadow: var(--shadow-glow-green); color: #fff; }
.btn-vigil-primary:active { transform: scale(0.98); }

@media (min-width: 992px) { .btn-vigil-primary { height: 44px; } }

.btn-link-vigil {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0 12px;
}
.btn-link-vigil:hover { color: var(--accent-primary); }

.btn-sm-vigil { height: 36px; padding: 0 16px; font-size: 0.8125rem; }

/* ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out;
  pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(3); opacity: 0; } }

/* ============ NAVBAR ============ */
.navbar-vigil {
  height: var(--nav-height);
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  z-index: 1030;
}
.navbar-vigil.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-light);
}
.nav-container {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 992px) { .nav-container { padding: 0 32px; } }

.navbar-brand-vigil {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-mark { height: 30px; width: 30px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-primary);
}
.brand-word-accent { color: var(--accent-primary); }
@media (min-width: 992px) { .brand-mark { height: 34px; width: 34px; } .brand-word { font-size: 1.15rem; } }

.navbar-toggler {
  border: none;
  background: none;
  font-size: 1.4rem;
  color: var(--text-primary);
  padding: 4px;
  line-height: 1;
}
.navbar-toggler:focus { box-shadow: none; }

.nav-links { gap: 4px; }
.nav-links .nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 12px !important;
  position: relative;
}
.nav-links .nav-link::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-links .nav-link:hover { color: var(--text-primary); }
.nav-links .nav-link:hover::after { transform: scaleX(1); }
.nav-links .dropdown-menu { border: 1px solid var(--border-light); box-shadow: var(--shadow-lg); border-radius: 10px; font-size: 0.8125rem; }

.nav-actions { display: flex; align-items: center; gap: 4px; }

/* Offcanvas mobile menu */
.offcanvas-vigil {
  background: #fff;
  max-width: 300px;
  z-index: 1045; /* must stay above the backdrop so the menu + its links are always clickable */
  pointer-events: auto;
}
/* Backdrop dims + blocks the page behind the menu (by design), but must never sit above the panel */
.offcanvas-backdrop {
  z-index: 1040;
}
.offcanvas-backdrop.show {
  opacity: 0.5;
}
.offcanvas-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; color: var(--text-primary); }
.mobile-nav-list li a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav-list li a i { font-size: 1.05rem; color: var(--accent-primary); width: 20px; }

/* ============ HERO ============ */
.hero-section {
  position: relative;
  padding-top: calc(var(--nav-height) + 32px);
  padding-bottom: 48px;
  padding-left: 16px; padding-right: 16px;
  background: var(--bg-white);
  overflow: hidden;
}
@media (min-width: 992px) {
  .hero-section { padding-top: calc(var(--nav-height) + 60px); padding-bottom: 100px; }
}

.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(13,148,136,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-world-bg {
  position: absolute; inset: 0;
  background-image: url('/assets/images/hero-bg.png');
  background-repeat: no-repeat;
  background-position: center 45%;
  background-size: 130% auto;
  opacity: 0.12;
  pointer-events: none;
}
@media (min-width: 992px) {
  .hero-world-bg { background-size: 78% auto; opacity: 0.14; }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
  animation: orb-float 22s ease-in-out infinite;
}
.hero-orb-1 { width: 240px; height: 240px; background: var(--accent-light); top: -60px; right: -60px; }
.hero-orb-2 { width: 200px; height: 200px; background: #A7F3D0; bottom: -40px; left: -60px; animation-delay: -8s; }
@media (min-width: 992px) {
  .hero-orb-1 { width: 420px; height: 420px; filter: blur(90px); }
  .hero-orb-2 { width: 360px; height: 360px; filter: blur(90px); }
}
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-16px, 20px); }
}

.hero-container { position: relative; z-index: 2; }
.hero-text-wrap { max-width: 720px; margin: 0 auto; }
.hero-sub { font-size: 0.875rem; margin-top: 14px; color: var(--text-secondary); }
@media (min-width: 992px) { .hero-sub { font-size: 1.0625rem; margin-top: 18px; } }

/* Search Panel */
.search-panel { max-width: 720px; margin: 32px auto 0; }
@media (min-width: 992px) { .search-panel { margin-top: 44px; } }

.search-form {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
}
.search-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 576px) {
  .search-row { flex-direction: row; align-items: center; }
}

.search-select-wrap { flex: 0 0 auto; }
.search-select {
  height: 40px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  padding: 0 32px 0 12px;
  min-width: 100%;
}
@media (min-width: 576px) { .search-select { min-width: 150px; } }
.search-select:focus { box-shadow: 0 0 0 3px var(--accent-light); border-color: var(--accent-primary); }

.search-input-wrap { position: relative; flex: 1 1 auto; }
.search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 0.9rem;
}
.search-input {
  height: 40px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding-left: 34px;
  font-size: 0.875rem;
  width: 100%;
}
.search-input:focus { box-shadow: 0 0 0 3px var(--accent-light); border-color: var(--accent-primary); }
.search-input.input-shake { animation: shake 0.4s; border-color: var(--danger); }
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

@media (min-width: 576px) { .search-btn { flex: 0 0 auto; } }
.search-btn { width: 100%; }
@media (min-width: 576px) { .search-btn { width: auto; min-width: 110px; } }

.btn-spinner {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
}
.search-btn.loading .btn-label { display: none; }
.search-btn.loading .btn-spinner { display: inline-block; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.trust-indicator {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
}
.trust-indicator i { color: var(--accent-primary); margin-right: 4px; }
.trust-indicator strong { color: var(--text-primary); }

/* Search Result Card */
.search-result-card {
  display: none;
  margin-top: 14px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-md);
}
.search-result-card.show { display: block; animation: fadeSlideIn 0.35s ease; }
@keyframes fadeSlideIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
/* The whole card is a click/keyboard target once it has a data-href (see script.js) */
.search-result-card[tabindex] {
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.search-result-card[tabindex]:hover,
.search-result-card[tabindex]:focus-visible {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}
.search-result-card[tabindex]:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; }
.result-card-cta { pointer-events: none; } /* card itself handles the click/keydown */
.result-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.result-head > div:nth-of-type(1) { flex: 1; min-width: 0; }
.result-avatar {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; object-fit: contain;
  background: var(--bg-white); border: 1px solid var(--border-light); padding: 4px;
}
.result-avatar-fallback {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-subtle);
  color: var(--accent-primary); display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.result-entity { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--text-primary); }
.result-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.result-score-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.result-bar-track { flex: 1; height: 8px; border-radius: 6px; background: var(--bg-secondary); overflow: hidden; }
.result-bar-fill { height: 100%; border-radius: 6px; transition: width 0.6s ease; }
.result-score-label { font-size: 0.75rem; font-weight: 700; color: var(--text-primary); min-width: 40px; text-align: right; }

/* ============ STATUS BADGES ============ */
.status-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.6875rem; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.03em;
  white-space: nowrap;
}
.status-verified { background: var(--success-light); color: var(--success); }
.status-caution { background: var(--warning-light); color: var(--warning); }
.status-danger { background: var(--danger-light); color: var(--danger); }

/* ============ LIVE STATS ============ */
.stats-section { padding-top: 32px; padding-bottom: 32px; background: var(--bg-white); }
.stat-card {
  background: var(--accent-subtle);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.stat-card:hover { border-color: var(--accent-light); transform: translateY(-2px); }
.stat-icon { font-size: 1.1rem; color: var(--accent-primary); margin-bottom: 8px; animation: iconPulse 3s ease-in-out infinite; }
@keyframes iconPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.stat-number { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--text-primary); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
@media (min-width: 992px) { .stat-number { font-size: 1.85rem; } .stat-card { padding: 24px; } }

/* ============ TRUSTED BY ============ */
.trusted-section { padding-top: 40px; padding-bottom: 40px; }
.trusted-scroll {
  overflow: hidden;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.trusted-scroll::-webkit-scrollbar { display: none; }
.trusted-track {
  display: flex;
  width: max-content;
  animation: trusted-marquee 32s linear infinite;
}
.trusted-scroll:hover .trusted-track,
.trusted-scroll:focus-within .trusted-track { animation-play-state: paused; }
.trusted-track-set { display: flex; align-items: center; gap: 28px; padding: 4px 14px 8px; flex-shrink: 0; }
.trusted-logo {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
  white-space: nowrap;
  filter: grayscale(1); opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}
.trusted-logo i { font-size: 0.95rem; }
.trusted-logo:hover, .trusted-logo:active { filter: grayscale(0); opacity: 1; color: var(--accent-dark); }
@keyframes trusted-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ FEATURES ============ */
.features-section { background: var(--bg-secondary); }
.features-grid { position: relative; z-index: 1; }
.features-grid > [class*="col-"] { perspective: 1000px; }
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 18px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.feature-card:hover { box-shadow: var(--shadow-glow-green); border-color: var(--accent-light); }
.feature-card:not([style*="rotate"]):hover { transform: translateY(-4px); }
.feature-card-glow {
  position: absolute;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(13,148,136,0.16), transparent 70%);
  border-radius: 50%;
  top: var(--glow-y, -20%);
  left: var(--glow-x, -20%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.feature-card:hover .feature-card-glow { opacity: 1; }
.feature-icon-wrap {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-subtle);
  color: var(--accent-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.feature-title { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.feature-desc { font-size: 0.8125rem; color: var(--text-secondary); }
@media (min-width: 992px) { .feature-card { padding: 24px; } }

/* ============ HOW IT WORKS ============ */
.how-steps { display: flex; flex-direction: column; gap: 8px; }
.how-step { text-align: center; max-width: 340px; margin: 0 auto; position: relative; padding-left: 0; }
.how-number {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  margin: 0 auto 12px;
  box-shadow: var(--shadow-glow-green);
}
.how-title { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.how-text { font-size: 0.8125rem; color: var(--text-secondary); }
.how-connector { width: 2px; height: 28px; margin: 0 auto; background: var(--border-light); }
.how-connector svg { display: none; }

@media (min-width: 992px) {
  .how-steps { flex-direction: row; align-items: flex-start; gap: 0; }
  .how-step { flex: 1; }
  .how-connector { flex: 0 0 80px; width: auto; height: auto; background: none; margin-top: 20px; }
  .how-connector svg { display: block; width: 100%; height: 10px; }
  .how-connector path { stroke: var(--border-medium); stroke-width: 2; stroke-dasharray: 6 6; }
}

/* ============ INVESTIGATION PREVIEW / DASHBOARD CARD ============ */
.preview-section { background: var(--bg-white); }
.preview-list { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.preview-list li { font-size: 0.8125rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 8px; }
.preview-list i { color: var(--success); margin-top: 2px; }

.dashboard-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  padding: 18px;
}
@media (min-width: 992px) { .dashboard-card { padding: 28px; } }

.dashboard-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.dc-label { font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 2px; }
.dc-name { font-size: 1.05rem; font-weight: 700; }
.dc-domain { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }
.dc-domain i { margin-right: 2px; }

.dashboard-card-body { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 18px 0; }
@media (min-width: 480px) { .dashboard-card-body { flex-direction: row; align-items: center; } }

.gauge-wrap { position: relative; width: 140px; height: 140px; flex-shrink: 0; }
.gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge-value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--text-primary); }
.gauge-max { font-size: 0.7rem; color: var(--text-muted); }

.dc-details { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; width: 100%; }
.dc-detail { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--text-secondary); }
.dc-detail i { color: var(--accent-primary); font-size: 0.85rem; }

.dashboard-card-foot {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 500;
  border-radius: 8px; padding: 10px 12px;
}
.dashboard-card-foot-negative { color: var(--danger); background: var(--danger-light); }
.dashboard-card-foot-positive { color: var(--success); background: var(--success-light); }

/* ============ THREAT MAP ============ */
.map-section { background: var(--bg-secondary); }
.map-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow-md);
}
.world-map { width: 100%; height: auto; display: block; }
.map-continents { color: #E2E8F0; }
.map-points .pt { fill: var(--accent-primary); opacity: 0.85; }
.map-points .pt:hover, .map-points .pt:focus-visible { opacity: 1; }
.map-arcs path { stroke: var(--accent-primary); opacity: 0.3; }

/* ============ FRAUD ALERTS TIMELINE ============ */
.alerts-timeline { display: flex; flex-direction: column; gap: 14px; }
.alert-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--border-medium);
  border-radius: 10px;
  padding: 16px;
}
.alert-item.alert-danger { border-left-color: var(--danger); }
.alert-item.alert-warning { border-left-color: var(--warning); }
.alert-badge {
  display: inline-block;
  font-size: 0.6875rem; font-weight: 700;
  padding: 3px 9px; border-radius: 100px;
  margin-bottom: 8px;
  background: var(--bg-secondary); color: var(--text-secondary);
}
.alert-danger .alert-badge { background: var(--danger-light); color: var(--danger); }
.alert-warning .alert-badge { background: var(--warning-light); color: var(--warning); }
.alert-title { font-size: 0.9375rem; font-weight: 600; margin-bottom: 6px; }
.alert-text { font-size: 0.8125rem; color: var(--text-secondary); }
.alert-meta { display: block; font-size: 0.7rem; color: var(--text-muted); margin-top: 10px; }
.alert-meta i { margin-right: 3px; }

@media (min-width: 992px) {
  .alerts-timeline { position: relative; padding-left: 0; }
  .alert-item { width: calc(50% - 20px); }
  .alert-item:nth-child(odd) { margin-right: auto; }
  .alert-item:nth-child(even) { margin-left: auto; }
}

/* ============ VICTIM GUIDANCE ============ */
.guidance-section { background: var(--bg-white); }
.guidance-card {
  background: var(--accent-subtle);
  border: 1px solid var(--accent-light);
  border-radius: 14px;
  padding: 18px;
  height: 100%;
}
.guidance-icon { font-size: 24px; color: var(--accent-primary); margin-bottom: 12px; display: block; }
.guidance-title { font-size: 0.9375rem; font-weight: 700; margin-bottom: 10px; }
.guidance-list li { font-size: 0.8125rem; color: var(--text-secondary); padding-left: 14px; position: relative; margin-bottom: 6px; }
.guidance-list li::before { content: '—'; position: absolute; left: 0; color: var(--accent-primary); }

/* ============ TESTIMONIALS ============ */
.testimonials-section { background: var(--bg-secondary); }
.testimonial-row { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px; }
@media (min-width: 992px) { .testimonial-row { flex-wrap: wrap; overflow: visible; scroll-snap-type: none; margin: 0; padding: 0; } }
.testimonial-row > [class*="col-"] { scroll-snap-align: start; flex-shrink: 0; width: 88%; }
@media (min-width: 992px) { .testimonial-row > [class*="col-"] { width: auto; } }

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 20px;
  height: 100%;
}
.testimonial-quote { font-size: 0.875rem; color: var(--text-primary); font-style: italic; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  flex-shrink: 0;
}
.author-name { font-size: 0.8125rem; font-weight: 700; color: var(--text-primary); }
.author-role { font-size: 0.7rem; color: var(--text-muted); }
.testimonial-swipe-hint { text-align: center; font-size: 0.7rem; color: var(--text-muted); margin-top: 12px; }

/* ============ NEWSLETTER ============ */
.newsletter-section { background: var(--bg-white); }
.newsletter-card {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-primary));
  border-radius: 18px;
  padding: 28px 20px;
  color: #fff;
  text-align: center;
}
.newsletter-title { color: #fff; font-size: 1.15rem; font-weight: 700; }
.newsletter-desc { color: rgba(255,255,255,0.85); font-size: 0.8125rem; margin-top: 8px; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; max-width: 420px; margin: 20px auto 0; }
@media (min-width: 576px) { .newsletter-form { flex-direction: row; } }
.newsletter-input-wrap { position: relative; flex: 1; }
.newsletter-input-wrap i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.85rem; }
.newsletter-input-wrap input { height: 40px; border-radius: 8px; border: none; padding-left: 34px; width: 100%; font-size: 0.8125rem; }
.newsletter-form .btn-vigil-primary { background: var(--text-primary); }
.newsletter-form .btn-vigil-primary:hover { background: #000; }
.btn-check { display: none; }
.newsletter-form.subscribed .btn-label { display: none; }
.newsletter-form.subscribed .btn-check { display: inline-flex; animation: checkPop 0.35s ease; }
@keyframes checkPop { from { transform: scale(0); } to { transform: scale(1); } }
@media (min-width: 992px) { .newsletter-card { padding: 48px; } .newsletter-title { font-size: 1.5rem; } }

/* ============ WHATSAPP REVIEW REQUEST ============ */
.whatsapp-section { background: var(--bg-secondary); }

.whatsapp-points { list-style: none; padding: 0; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 12px; }
.whatsapp-points li { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--text-secondary); }
.whatsapp-points li i { color: #25D366; font-size: 1rem; flex: 0 0 auto; }

.whatsapp-form { display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
@media (min-width: 576px) { .whatsapp-form { flex-direction: row; } }
.whatsapp-input-wrap { position: relative; flex: 1 1 auto; }
.whatsapp-input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.85rem; }
.whatsapp-input {
  width: 100%; height: 44px; border: 1px solid var(--border-light); border-radius: 10px;
  padding: 0 14px 0 36px; font-size: 0.875rem; color: var(--text-primary); background: var(--bg-white);
}
.whatsapp-input:focus { outline: none; box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18); border-color: #25D366; }
.whatsapp-form-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 10px; }

.btn-vigil-whatsapp {
  background: #25D366; color: #fff; border: none; border-radius: 10px; height: 44px; padding: 0 20px;
  font-weight: 600; font-size: 0.875rem; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; box-shadow: var(--shadow-sm); white-space: nowrap; flex: 0 0 auto;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease; position: relative; overflow: hidden;
}
.btn-vigil-whatsapp:hover { background: #1DA851; color: #fff; box-shadow: 0 0 20px rgba(37, 211, 102, 0.25); }
.btn-vigil-whatsapp:active { transform: scale(0.98); }

.btn-vigil-whatsapp-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--border-light);
  background: var(--bg-white); color: var(--text-primary); font-weight: 600; font-size: 0.8125rem;
  margin-top: 18px; box-shadow: var(--shadow-sm);
}
.btn-vigil-whatsapp-outline i { color: #25D366; }
.btn-vigil-whatsapp-outline:hover { border-color: #25D366; color: var(--text-primary); }

/* -- phone mockup -- */
.whatsapp-mockup-wrap { display: flex; flex-direction: column; align-items: center; }
.whatsapp-phone {
  width: 100%; max-width: 300px; background: #ECE5DD; border-radius: 28px; border: 8px solid var(--text-primary);
  box-shadow: var(--shadow-xl); overflow: hidden; position: relative;
}
.whatsapp-phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 90px; height: 16px;
  background: var(--text-primary); border-radius: 0 0 10px 10px; z-index: 2;
}
.whatsapp-phone-statusbar {
  display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 2px;
  background: #075E54; color: #fff; font-size: 0.6875rem; font-weight: 600;
}
.wps-icons { display: flex; gap: 6px; font-size: 0.7rem; }
.whatsapp-phone-header {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #075E54; color: #fff;
}
.whatsapp-phone-header i { font-size: 0.9rem; }
.wph-avatar {
  width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.15);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem;
}
.wph-name { font-size: 0.8125rem; font-weight: 600; flex: 1; }
.wph-actions { display: flex; gap: 12px; }
.whatsapp-phone-body { padding: 14px 10px; min-height: 320px; display: flex; flex-direction: column; gap: 8px; }
.wpb-day-chip {
  align-self: center; background: #E1F3FB; color: var(--text-secondary); font-size: 0.65rem; font-weight: 600;
  padding: 3px 10px; border-radius: 8px; margin-bottom: 6px;
}
.wa-bubble {
  max-width: 82%; padding: 8px 10px; border-radius: 8px; font-size: 0.75rem; line-height: 1.45;
  box-shadow: var(--shadow-sm); position: relative;
}
.wa-bubble-in { align-self: flex-start; background: #fff; color: var(--text-primary); border-top-left-radius: 2px; }
.wa-bubble-out { align-self: flex-end; background: #DCF8C6; color: var(--text-primary); border-top-right-radius: 2px; }
.wa-bubble-out i { font-size: 0.7rem; color: #34B7F1; margin-left: 4px; }
.whatsapp-phone-inputbar {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #F0F0F0; color: var(--text-muted);
}
.whatsapp-phone-inputbar i { font-size: 0.9rem; }
.wpi-field {
  flex: 1; background: #fff; border-radius: 20px; padding: 8px 14px; font-size: 0.75rem; color: var(--text-muted);
}

/* ============ FOOTER ============ */
.site-footer { background: var(--bg-secondary); padding: 48px 16px 24px; }
@media (min-width: 992px) { .site-footer { padding: 64px 32px 28px; } }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; color: var(--text-primary); font-size: 0.9375rem; margin-bottom: 8px; }
.footer-tagline { font-size: 0.75rem; color: var(--text-muted); max-width: 220px; }
.footer-whatsapp-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; height: 38px; padding: 0 16px;
  background: #25D366; color: #fff; border-radius: 9px; font-size: 0.75rem; font-weight: 600;
  box-shadow: var(--shadow-sm); transition: background 0.2s ease, box-shadow 0.2s ease;
}
.footer-whatsapp-btn:hover { background: #1DA851; color: #fff; box-shadow: 0 0 16px rgba(37, 211, 102, 0.25); }
.footer-whatsapp-btn i { font-size: 0.85rem; }
.footer-socials { display: flex; gap: 8px; margin-top: 14px; }
.footer-socials a {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-white); border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--text-secondary);
  transition: background 0.2s ease, color 0.2s ease;
}
.footer-socials a:hover { background: var(--accent-primary); color: #fff; }
.footer-heading { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-primary); margin-bottom: 14px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.8125rem; color: var(--text-secondary); }
.footer-links a:hover { color: var(--accent-primary); }
.footer-bottom { border-top: 1px solid var(--border-light); margin-top: 32px; padding-top: 18px; text-align: center; }
.footer-bottom p { font-size: 0.7rem; color: var(--text-muted); }

/* ============ FLOATING WHATSAPP FAB (speed-dial) ============ */
/* If a third-party livechat widget also docks bottom-right, bump
   --fab-bottom (or set the widget's own offset) so the two don't stack. */
:root { --fab-bottom: 16px; --fab-right: 16px; }

.fab-cluster {
  position: fixed;
  right: var(--fab-right); bottom: var(--fab-bottom);
  z-index: 1030;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}

.fab-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

.fab-menu-item {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg-white); color: var(--text-primary); border: 1px solid var(--border-light);
  border-radius: 999px; padding: 6px 6px 6px 16px;
  font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(10px) scale(0.92);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  pointer-events: none;
}
.fab-menu-item.fab-item-hidden { display: none; }
.fab-menu-item:hover { border-color: var(--border-hover); color: var(--text-primary); }
.fab-menu-item .fab-menu-icon {
  width: 32px; height: 32px; border-radius: 50%; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem;
  background: var(--bg-secondary); color: var(--text-secondary);
}
.fab-menu-item[data-fab-action="whatsapp"] .fab-menu-icon { background: #25D366; color: #fff; }
.fab-menu-item[data-fab-action="top"] .fab-menu-icon { background: var(--accent-light); color: var(--accent-dark); }

.fab-cluster.open .fab-menu-item:not(.fab-item-hidden) {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}
.fab-cluster.open .fab-menu-item:nth-child(1) { transition-delay: 0.02s; }
.fab-cluster.open .fab-menu-item:nth-child(2) { transition-delay: 0.08s; }

.fab-main {
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; position: relative;
  box-shadow: var(--shadow-xl);
  transition: background 0.2s ease, transform 0.15s ease;
}
.fab-main:hover { background: #1DA851; }
.fab-main:active { transform: scale(0.94); }
@media (min-width: 992px) { .fab-main { width: 60px; height: 60px; } }

.fab-main-icon, .fab-main-icon-close {
  position: absolute; transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.fab-main-icon-close { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.fab-cluster.open .fab-main-icon { opacity: 0; transform: rotate(90deg) scale(0.5); }
.fab-cluster.open .fab-main-icon-close { opacity: 1; transform: rotate(0) scale(1); }

/* attention pulse while closed, so it reads as tappable/recognizable */
.fab-main::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: fabPulse 2.6s ease-out infinite;
}
.fab-cluster.open .fab-main::before { display: none; }
@keyframes fabPulse {
  0% { transform: scale(0.9); opacity: 0.85; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { opacity: 0; }
}

@media (max-width: 575px) {
  :root { --fab-bottom: 14px; --fab-right: 14px; }
  .fab-main { width: 52px; height: 52px; font-size: 1.25rem; }
  .fab-menu-item { font-size: 0.75rem; padding: 5px 5px 5px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .fab-main::before { animation: none; }
  .fab-menu-item, .fab-main-icon, .fab-main-icon-close { transition: none; }
}

/* ============ AOS FADE UP OVERRIDE (respect subtlety) ============ */
[data-aos] { transition-duration: 500ms !important; }

/* ==========================================================================
   ENHANCED LAYER — richer motion, background depth, interactive polish
   ========================================================================== */

/* ---------------- SCROLL PROGRESS BAR ---------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  z-index: 1040;
  pointer-events: none;
}
.scroll-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-primary), #34D399, var(--accent-dark));
  background-size: 200% 100%;
  animation: progress-shimmer 3s linear infinite;
  transition: width 0.1s linear;
}
@keyframes progress-shimmer { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }

/* ---------------- AMBIENT CURSOR GLOW (desktop only) ---------------- */
.cursor-glow {
  position: fixed;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,0.08), transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}
.cursor-glow.active { opacity: 1; }
@media (max-width: 991px) { .cursor-glow { display: none; } }

/* ---------------- HERO: extra atmosphere ---------------- */
.hero-orb-3 {
  width: 140px; height: 140px;
  background: #99F6E4;
  top: 30%; left: 6%;
  animation-delay: -14s;
}
@media (min-width: 992px) { .hero-orb-3 { width: 220px; height: 220px; } }

.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(13,148,136,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,148,136,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black, transparent 75%);
  pointer-events: none;
}

.hero-scan-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 500px; height: 500px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0.35;
}
.hero-scan-ring circle { fill: none; stroke: var(--accent-primary); stroke-width: 0.6; stroke-dasharray: 4 8; }
.hero-scan-ring circle:first-child { animation: ring-rotate 40s linear infinite; }
.hero-scan-ring circle:last-child { animation: ring-rotate 30s linear infinite reverse; }
@keyframes ring-rotate { to { transform: rotate(360deg); } }
@media (max-width: 767px) { .hero-scan-ring { display: none; } }

.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent-primary);
  opacity: 0.35;
  animation: particle-drift linear infinite;
}
@keyframes particle-drift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.35; }
  100% { transform: translateY(-140px) translateX(var(--drift, 20px)); opacity: 0; }
}

.eyebrow-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(13,148,136,0.5);
  animation: dot-pulse 2s ease-out infinite;
  vertical-align: middle;
}
@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(13,148,136,0.45); }
  70% { box-shadow: 0 0 0 6px rgba(13,148,136,0); }
  100% { box-shadow: 0 0 0 0 rgba(13,148,136,0); }
}

.hl-word { display: inline-block; }

/* Quick chips */
.quick-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 6px 2px; }
.quick-chip {
  border: 1px dashed var(--border-medium);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 100px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.quick-chip:hover { border-color: var(--accent-primary); color: var(--accent-dark); background: var(--accent-subtle); }

.trust-row { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; }
@media (min-width: 576px) { .trust-row { flex-direction: row; justify-content: center; gap: 16px; } }
.trust-row .trust-indicator { margin-top: 0; }

.live-ticker-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 600; color: var(--accent-dark);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-light);
  padding: 5px 12px;
  border-radius: 100px;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(5,150,105,0.5);
  animation: dot-pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}

/* ---------------- MAGNETIC BUTTONS ---------------- */
.magnetic-btn { transition: transform 0.15s ease-out, background 0.2s ease, box-shadow 0.2s ease; }

/* ---------------- STATS BACKGROUND ---------------- */
.stats-section { position: relative; overflow: hidden; }
.stats-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.stats-bg-blob-1 { width: 260px; height: 260px; background: var(--accent-light); top: -80px; left: -60px; }
.stats-bg-blob-2 { width: 220px; height: 220px; background: #A7F3D0; bottom: -80px; right: -40px; }
.stats-section .container { position: relative; z-index: 1; }

.stat-card { position: relative; }
.stat-live-badge {
  position: absolute; top: 10px; right: 10px;
  font-size: 0.55rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--success);
  display: inline-flex; align-items: center;
}
.stat-live-badge i { font-size: 0.9rem; line-height: 1; }

/* ---------------- FEATURES BACKGROUND GRID ---------------- */
.features-section { position: relative; overflow: hidden; }
.features-bg-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(13,148,136,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black, transparent 80%);
  pointer-events: none;
}

/* ---------------- DASHBOARD CARD: scan line + pulse ---------------- */
.dashboard-card { position: relative; overflow: hidden; }
.dc-scan-line {
  position: absolute;
  left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(13,148,136,0.7), transparent);
  top: 0;
  animation: scan-sweep 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scan-sweep {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.dc-scanning-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--danger);
  margin-right: 5px;
  animation: dot-pulse-danger 1.6s ease-out infinite;
}
@keyframes dot-pulse-danger {
  0% { box-shadow: 0 0 0 0 rgba(220,38,38,0.5); }
  70% { box-shadow: 0 0 0 5px rgba(220,38,38,0); }
  100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); }
}
.gauge-wrap { transition: transform 0.3s ease; }

/* ---------------- MAP: legend, tooltip, glow ---------------- */
.map-section { position: relative; overflow: hidden; }
.map-bg-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(13,148,136,0.06), transparent 70%);
  pointer-events: none;
}
.map-live-counter {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; color: var(--text-secondary);
  margin-top: 12px;
}
.map-live-counter strong { color: var(--text-primary); }
.map-wrap { position: relative; }
.map-tooltip {
  position: absolute;
  display: none;
  background: var(--text-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  pointer-events: none;
  transform: translate(-50%, -120%);
  white-space: nowrap;
  z-index: 5;
  box-shadow: var(--shadow-lg);
}
.map-tooltip.visible { display: block; }
.map-tooltip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--text-primary);
}
.map-points .pt { cursor: pointer; }
.map-legend {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px;
  margin-top: 14px;
  font-size: 0.75rem; color: var(--text-muted);
}
.map-legend i { color: var(--accent-primary); margin-right: 5px; font-size: 0.7rem; }

/* ---------------- ALERT FILTER TABS ---------------- */
.alert-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: 24px;
}
.alert-filter {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.75rem; font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.alert-filter:hover { border-color: var(--accent-primary); color: var(--accent-dark); }
.alert-filter.active { background: var(--accent-primary); color: #fff; border-color: var(--accent-primary); }
.alert-item { transition: opacity 0.3s ease, transform 0.3s ease; }
.alert-item.hidden-filtered { display: none; }
.alert-empty-state { text-align: center; font-size: 0.8125rem; color: var(--text-muted); padding: 24px 0; }

/* ---------------- GUIDANCE BACKGROUND ---------------- */
.guidance-section { position: relative; overflow: hidden; }
.guidance-bg-shape {
  position: absolute;
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--accent-subtle), transparent 70%);
  border-radius: 50%;
  top: -160px; right: -160px;
  pointer-events: none;
}

/* ---------------- TESTIMONIAL DOTS ---------------- */
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.t-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-medium);
  border: none;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.t-dot.active { background: var(--accent-primary); transform: scale(1.3); }

.testimonial-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ---------------- NEWSLETTER: floating icons ---------------- */
.newsletter-card { position: relative; overflow: hidden; }
.newsletter-card::before, .newsletter-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}
.newsletter-card::before { width: 220px; height: 220px; top: -100px; right: -60px; }
.newsletter-card::after { width: 160px; height: 160px; bottom: -80px; left: -40px; }

/* ---------------- LIVE ACTIVITY TOAST ---------------- */
.activity-toast {
  position: fixed;
  left: 16px; bottom: 16px;
  max-width: 320px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  z-index: 1015;
  pointer-events: none;
}
.activity-toast.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.activity-toast-icon {
  color: var(--accent-primary);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.activity-toast-text { display: flex; flex-direction: column; gap: 2px; font-size: 0.75rem; color: var(--text-primary); }
.activity-toast-time { font-size: 0.65rem; color: var(--text-muted); }
.activity-toast-close {
  background: none; border: none; color: var(--text-muted);
  font-size: 0.9rem; padding: 0; margin-left: auto; flex-shrink: 0;
  line-height: 1;
}
.activity-toast-close:hover { color: var(--text-primary); }
@media (max-width: 575px) { .activity-toast { left: 12px; right: 12px; bottom: 76px; max-width: none; } }

/* ---------------- REDUCED MOTION: silence the new ambient effects ---------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-particle, .hero-scan-ring circle, .eyebrow-dot, .live-dot, .dc-scan-line, .dc-scanning-dot,
  .scroll-progress-fill, .stat-icon { animation: none !important; }
  .cursor-glow { display: none !important; }
}

/* ---------------- SELF-HOSTED REVEAL-ON-SCROLL (replaces AOS) ----------------
   Elements are visible by default. They only get hidden-then-fade-in behavior
   once the `js-reveal` class lands on <html> (set by a tiny inline script with
   zero network dependency) AND our IntersectionObserver has had a chance to
   tag off-screen elements with `.aos-pending`. This means a slow/broken CDN
   or script can never leave a section blank — worst case, it just appears
   unanimated. */
.js-reveal [data-aos].aos-pending {
  opacity: 0;
  transform: translateY(24px);
}
.js-reveal [data-aos][data-aos="fade-right"].aos-pending { transform: translateX(-24px); }
.js-reveal [data-aos][data-aos="fade-left"].aos-pending { transform: translateX(24px); }

.js-reveal [data-aos] {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-aos].aos-pending { opacity: 1; transform: none; transition: none; }
}


/* ==========================================================================
   SUB-PAGE SHARED CHROME
   Used by search-results.html, report-detail.html, submit-report.html
   ========================================================================== */

/* ---------------- PAGE HEADER / BREADCRUMB ---------------- */
.page-header {
  position: relative;
  padding-top: calc(var(--nav-height) + 28px);
  padding-bottom: 28px;
  padding-left: 16px; padding-right: 16px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}
@media (min-width: 992px) { .page-header { padding-top: calc(var(--nav-height) + 40px); padding-bottom: 40px; } }
.page-header-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(13,148,136,0.10) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  pointer-events: none;
}
.breadcrumb-vigil {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: var(--text-muted);
  margin-bottom: 12px;
}
.breadcrumb-vigil a { color: var(--text-muted); }
.breadcrumb-vigil a:hover { color: var(--accent-primary); }
.breadcrumb-vigil i { font-size: 0.65rem; }
.breadcrumb-vigil .current { color: var(--text-primary); font-weight: 600; }
.page-header-title { position: relative; z-index: 1; font-size: 1.5rem; font-weight: 800; }
@media (min-width: 992px) { .page-header-title { font-size: 2.1rem; } }
.page-header-sub { position: relative; z-index: 1; font-size: 0.8125rem; color: var(--text-secondary); margin-top: 8px; max-width: 640px; }
@media (min-width: 992px) { .page-header-sub { font-size: 0.9375rem; } }

/* ---------------- COMPACT SEARCH BAR (results/detail pages) ---------------- */
.compact-search-form {
  position: relative; z-index: 1;
  margin-top: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 6px;
  box-shadow: var(--shadow-md);
  max-width: 760px;
}

/* ==========================================================================
   SEARCH RESULTS PAGE
   ========================================================================== */
.results-layout { padding-top: 32px; padding-bottom: 56px; }

.results-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.results-count { font-size: 0.8125rem; color: var(--text-secondary); }
.results-count strong { color: var(--text-primary); }
.results-toolbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.results-sort {
  height: 36px; border: 1px solid var(--border-light); border-radius: 8px;
  font-size: 0.8125rem; padding: 0 10px; background-color: var(--bg-white); color: var(--text-primary);
}

.filter-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px;
  border-radius: 100px; border: 1px solid var(--border-light);
  background: var(--bg-white); color: var(--text-secondary);
  font-size: 0.8125rem; font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.filter-chip i { font-size: 0.85rem; }
.filter-chip:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.filter-chip.active { background: var(--accent-primary); border-color: var(--accent-primary); color: #fff; }
.filter-chip .chip-count { opacity: 0.7; font-weight: 500; }

.risk-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.risk-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px;
  border-radius: 100px; border: 1px dashed var(--border-medium);
  background: transparent; color: var(--text-secondary);
  font-size: 0.75rem; font-weight: 600;
}
.risk-chip .dot { width: 7px; height: 7px; border-radius: 50%; }
.risk-chip[data-risk="danger"] .dot { background: var(--danger); }
.risk-chip[data-risk="caution"] .dot { background: var(--warning); }
.risk-chip[data-risk="verified"] .dot { background: var(--success); }
.risk-chip.active { border-style: solid; color: var(--text-primary); border-color: var(--border-hover); }

.results-grid { display: flex; flex-direction: column; gap: 12px; }

.result-list-card {
  display: block;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.result-list-card:hover { border-color: var(--accent-light); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.rlc-top { display: flex; align-items: flex-start; gap: 12px; }
.rlc-icon {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
span.rlc-icon.rlc-icon-fallback { background: var(--accent-subtle); color: var(--accent-primary); }
img.rlc-icon { object-fit: contain; background: var(--bg-white); border: 1px solid var(--border-light); padding: 5px; }
.rlc-body { flex: 1; min-width: 0; }
.rlc-name-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rlc-name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--text-primary); overflow-wrap: anywhere; }
.rlc-category { font-size: 0.6875rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 700; margin-top: 2px; }
.rlc-desc { font-size: 0.8125rem; color: var(--text-secondary); margin-top: 8px; }
.rlc-meta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.rlc-meta { display: flex; align-items: center; gap: 5px; font-size: 0.75rem; color: var(--text-muted); }
.rlc-meta i { color: var(--accent-primary); }
.rlc-bottom { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-light); }
.rlc-bar-track { flex: 1; height: 6px; border-radius: 6px; background: var(--bg-secondary); overflow: hidden; }
.rlc-bar-fill { height: 100%; border-radius: 6px; }
.rlc-score { font-size: 0.75rem; font-weight: 700; color: var(--text-primary); min-width: 44px; text-align: right; }
.rlc-arrow { color: var(--text-muted); font-size: 0.9rem; }

.results-empty { text-align: center; padding: 56px 20px; }
.results-empty i { font-size: 2rem; color: var(--text-muted); margin-bottom: 14px; display: block; }
.results-empty p { font-size: 0.875rem; color: var(--text-secondary); max-width: 380px; margin: 0 auto; }

.results-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 32px; }
.page-btn {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid var(--border-light); background: var(--bg-white);
  color: var(--text-secondary); font-size: 0.8125rem; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}
.page-btn:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.page-btn.active { background: var(--accent-primary); border-color: var(--accent-primary); color: #fff; }
.page-btn[disabled] { opacity: 0.4; pointer-events: none; }

@media (min-width: 992px) {
  .results-layout-grid { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: flex-start; }
  .results-sidebar { position: sticky; top: calc(var(--nav-height) + 24px); }
}
.results-sidebar { display: none; }
@media (min-width: 992px) {
  .results-sidebar {
    display: block;
    background: var(--bg-white); border: 1px solid var(--border-light);
    border-radius: 14px; padding: 20px;
  }
  .sidebar-heading { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); margin-bottom: 12px; }
  .sidebar-block + .sidebar-block { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-light); }
}

/* ==========================================================================
   ENTITY REPORT (DETAIL) PAGE
   ========================================================================== */
.report-layout { padding-top: 32px; padding-bottom: 64px; background: var(--bg-secondary); }
.report-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 992px) { .report-grid { grid-template-columns: 1fr 320px; gap: 28px; align-items: flex-start; } }

.report-panel {
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: 16px; padding: 18px;
}
@media (min-width: 992px) { .report-panel { padding: 26px; } }
.report-panel + .report-panel { margin-top: 20px; }
.report-panel-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.report-panel-title i { color: var(--accent-primary); }

/* Review-status banner (verification_status / analyst_verdict) — sits
   above the summary panel so it's the first thing a viewer sees, since
   it qualifies everything below it. */
.review-banner {
  display: flex; align-items: flex-start; gap: 14px;
  border-radius: 14px; padding: 16px 18px; margin-bottom: 20px;
  border: 1px solid var(--border-light); background: var(--bg-white);
}
.review-banner-icon { font-size: 1.3rem; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.review-banner-body { flex: 1; min-width: 0; }
.review-banner-title { font-weight: 700; font-size: 0.9375rem; color: var(--text-primary); margin: 0 0 2px; }
.review-banner-text { font-size: 0.8125rem; color: var(--text-secondary); margin: 0; }
.review-banner-btn { flex-shrink: 0; white-space: nowrap; align-self: center; }

.review-banner-pending {
  background: var(--warning-light); border-color: transparent;
}
.review-banner-pending .review-banner-icon { color: var(--warning); }

.review-banner-reviewed {
  background: var(--success-light); border-color: transparent;
}
.review-banner-reviewed .review-banner-icon { color: var(--success); }

.review-banner-reviewed-scam {
  background: var(--danger-light); border-color: transparent;
}
.review-banner-reviewed-scam .review-banner-icon { color: var(--danger); }

@media (max-width: 575.98px) {
  .review-banner { flex-wrap: wrap; }
  .review-banner-btn { width: 100%; }
}

.report-summary-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; }
.report-entity-logo {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 12px; object-fit: contain;
  background: var(--bg-white); border: 1px solid var(--border-light); padding: 6px;
}
.report-entity-name { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--text-primary); overflow-wrap: anywhere; }
.report-entity-meta { font-size: 0.8125rem; color: var(--text-muted); margin-top: 6px; }
.report-entity-meta i { margin-right: 4px; color: var(--accent-primary); }
.report-stale-note { color: var(--warning); }
.report-refreshed-note { color: var(--success); font-weight: 600; }
.report-refreshed-note i { margin-right: 2px; color: var(--success); }
.report-actions { display: flex; align-items: center; gap: 8px; }
.report-refresh-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.report-refresh-btn #reportRefreshBtnIcon.spinning { display: inline-block; animation: spin 0.7s linear infinite; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 9px;
  border: 1px solid var(--border-light); background: var(--bg-white);
  color: var(--text-secondary); display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:hover { border-color: var(--accent-primary); color: var(--accent-primary); }

.report-gauge-row { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 24px; text-align: center; }
@media (min-width: 576px) { .report-gauge-row { flex-direction: row; text-align: left; } }
.report-gauge-wrap { position: relative; width: 168px; height: 168px; flex-shrink: 0; }
.report-gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.report-gauge-value { font-family: var(--font-display); font-size: 2rem; font-weight: 800; }
.report-gauge-max { font-size: 0.75rem; color: var(--text-muted); }
.report-gauge-note { font-size: 0.8125rem; color: var(--text-secondary); }
.report-gauge-note strong { color: var(--text-primary); }

.factor-list { display: flex; flex-direction: column; gap: 14px; }
.factor-row { display: flex; align-items: center; gap: 12px; }
.factor-label { flex: 0 0 150px; font-size: 0.8125rem; color: var(--text-secondary); }
.factor-track { flex: 1; height: 8px; border-radius: 6px; background: var(--bg-secondary); overflow: hidden; }
.factor-fill { height: 100%; border-radius: 6px; }
.factor-value { flex: 0 0 34px; font-size: 0.75rem; font-weight: 700; color: var(--text-primary); text-align: right; }

.evidence-list { display: flex; flex-direction: column; }
.evidence-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.evidence-item:last-child { border-bottom: none; padding-bottom: 0; }
.evidence-dot-col { display: flex; flex-direction: column; align-items: center; }
.evidence-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-primary); margin-top: 4px; }
.evidence-line { flex: 1; width: 1px; background: var(--border-light); margin-top: 4px; }
.evidence-text { font-size: 0.8125rem; color: var(--text-primary); }
.evidence-date { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }

.related-entity-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.related-entity-item:last-child { border-bottom: none; }
.related-entity-item > div:nth-of-type(1) { flex: 1; min-width: 0; }
.related-entity-name { font-size: 0.8125rem; font-weight: 600; color: var(--text-primary); overflow-wrap: anywhere; }
.related-entity-sub { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }
.related-entity-icon {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
}
span.related-entity-icon.related-entity-icon-fallback { background: var(--accent-subtle); color: var(--accent-primary); }
img.related-entity-icon { object-fit: contain; background: var(--bg-white); border: 1px solid var(--border-light); padding: 3px; }

.report-cta-card { background: var(--accent-subtle); border: 1px solid var(--accent-light); border-radius: 14px; padding: 18px; text-align: center; }
.report-cta-card p { font-size: 0.8125rem; color: var(--text-secondary); margin: 8px 0 14px; }

/* ---------------- SIGNAL SUMMARY PANEL ---------------- */
.signal-summary-panel { position: relative; }
/* Belt-and-suspenders for the verdict-publish toggle (see script.js
   renderEntity): this ID always wins, regardless of any other rule
   that might otherwise set display on a .report-panel. */
#signalSummaryPanel[hidden] { display: none !important; }
.signal-summary-stars { display: flex; align-items: center; gap: 4px; font-size: 1.1rem; color: var(--warning); margin-bottom: 10px; }
.signal-summary-stars i.bi-star { color: var(--border-light); }
.signal-stars-value { font-size: 0.8125rem; font-weight: 700; color: var(--text-primary); margin-left: 6px; }
.signal-stars-empty { font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); }
.signal-summary-headline { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text-primary); margin-bottom: 8px; }
.signal-summary-narrative { font-size: 0.875rem; line-height: 1.6; color: var(--text-secondary); }
.signal-summary-disclaimer {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 0.7rem; color: var(--text-muted); margin-top: 14px;
  padding-top: 12px; border-top: 1px solid var(--border-light);
}
.signal-summary-disclaimer i { margin-top: 2px; }

/* ---------------- LIVECHAT CTA CARD ---------------- */
.livechat-cta-card {
  background: var(--bg-white); border: 1px solid var(--border-light); border-radius: 14px;
  padding: 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.livechat-cta-card i.bi-headset { font-size: 1.4rem; color: var(--accent-primary); }
.livechat-cta-card h3 { font-size: 0.9375rem; font-weight: 700; color: var(--text-primary); margin: 0; }
.livechat-cta-card p { font-size: 0.8125rem; color: var(--text-secondary); margin: 4px 0 10px; }
.livechat-cta-compact { margin-top: 16px; padding: 16px; }

/* ==========================================================================
   SUBMIT REPORT PAGE
   ========================================================================== */
.submit-layout { padding-top: 32px; padding-bottom: 64px; }
.submit-wrap { max-width: 720px; margin: 0 auto; }

.step-indicator { display: flex; align-items: center; margin-bottom: 28px; }
.step-indicator-item { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.step-indicator-item .step-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-secondary); color: var(--text-muted);
  border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; z-index: 1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.step-indicator-item .step-name { font-size: 0.6875rem; color: var(--text-muted); margin-top: 6px; text-align: center; }
.step-indicator-item::after {
  content: ''; position: absolute; top: 15px; left: 50%; width: 100%; height: 2px;
  background: var(--border-light); z-index: 0;
}
.step-indicator-item:last-child::after { display: none; }
.step-indicator-item.done .step-dot { background: var(--accent-primary); border-color: var(--accent-primary); color: #fff; }
.step-indicator-item.done::after { background: var(--accent-primary); }
.step-indicator-item.active .step-dot { border-color: var(--accent-primary); color: var(--accent-primary); box-shadow: 0 0 0 4px var(--accent-light); }
.step-indicator-item.active .step-name { color: var(--text-primary); font-weight: 600; }

.form-card {
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: 16px; padding: 18px;
}
@media (min-width: 992px) { .form-card { padding: 32px; } }

.form-step { display: none; }
.form-step.active { display: block; animation: fadeSlideIn 0.3s ease; }
.form-step-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.form-step-desc { font-size: 0.8125rem; color: var(--text-secondary); margin-bottom: 22px; }

.form-group { margin-bottom: 18px; }
.form-label-vigil { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.form-label-vigil .optional { font-weight: 400; color: var(--text-muted); }
.form-control-vigil, select.form-control-vigil {
  width: 100%; height: 44px; border: 1px solid var(--border-light); border-radius: 9px;
  padding: 0 14px; font-size: 0.875rem; color: var(--text-primary); background-color: var(--bg-white);
}
textarea.form-control-vigil { height: auto; padding: 12px 14px; resize: vertical; min-height: 110px; }
.form-control-vigil:focus { outline: none; box-shadow: 0 0 0 3px var(--accent-light); border-color: var(--accent-primary); }
.form-hint { font-size: 0.7rem; color: var(--text-muted); margin-top: 6px; }
.form-error { font-size: 0.7rem; color: var(--danger); margin-top: 6px; display: none; }
.form-group.has-error .form-control-vigil { border-color: var(--danger); }
.form-group.has-error .form-error { display: block; }

.category-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 576px) { .category-picker { grid-template-columns: repeat(3, 1fr); } }
.category-option { position: relative; }
.category-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.category-option label {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  border: 1px solid var(--border-light); border-radius: 12px; padding: 16px 10px;
  font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.category-option label i { font-size: 1.2rem; color: var(--accent-primary); }
.category-option input:checked + label { border-color: var(--accent-primary); background: var(--accent-subtle); color: var(--text-primary); }
.category-option input:focus-visible + label { outline: 2px solid var(--accent-primary); outline-offset: 2px; }

.dropzone {
  border: 2px dashed var(--border-medium); border-radius: 12px;
  padding: 28px 16px; text-align: center; cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--accent-primary); background: var(--accent-subtle); }
.dropzone i { font-size: 1.6rem; color: var(--accent-primary); margin-bottom: 8px; display: block; }
.dropzone-text { font-size: 0.8125rem; color: var(--text-secondary); }
.dropzone-text strong { color: var(--accent-primary); }
.dropzone-hint { font-size: 0.7rem; color: var(--text-muted); margin-top: 4px; }

.file-list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.file-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-secondary); border-radius: 9px; padding: 8px 12px;
  font-size: 0.8125rem; color: var(--text-primary);
}
.file-item i.bi-file-earmark { color: var(--accent-primary); }
.file-item-name { flex: 1; overflow-wrap: anywhere; }
.file-item-size { font-size: 0.7rem; color: var(--text-muted); }
.file-item-remove { color: var(--text-muted); background: none; border: none; font-size: 0.9rem; }
.file-item-remove:hover { color: var(--danger); }

.review-block + .review-block { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border-light); }
.review-block-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); margin-bottom: 6px; }
.review-block-value { font-size: 0.875rem; color: var(--text-primary); }
.review-edit-link { font-size: 0.75rem; color: var(--accent-primary); font-weight: 600; }

.form-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.btn-vigil-secondary {
  background: var(--bg-white); color: var(--text-primary); border: 1px solid var(--border-light);
  border-radius: 10px; height: 40px; padding: 0 20px; font-weight: 600; font-size: 0.875rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-vigil-secondary:hover { border-color: var(--border-hover); }

.submit-success { text-align: center; padding: 20px 0 8px; }
.submit-success-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--success-light); color: var(--success);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 18px;
}
.submit-success-id { display: inline-block; margin-top: 10px; font-size: 0.8125rem; font-weight: 700; color: var(--text-primary); background: var(--bg-secondary); border-radius: 8px; padding: 6px 12px; }

/* ==========================================================================
   ABOUT / TRUST & SAFETY / PRIVACY POLICY / CONTACT PAGES
   ========================================================================== */

/* ---------------- ABOUT ---------------- */
.about-mission-section { background: var(--bg-white); padding-top: 40px; }
.about-mission-text { max-width: 760px; margin: 0 auto; text-align: center; }
.about-mission-text p { font-size: 0.9375rem; color: var(--text-secondary); margin-top: 14px; }
@media (min-width: 992px) { .about-mission-text p { font-size: 1.05rem; } }

.about-values-section { background: var(--bg-secondary); }

.about-timeline { display: flex; flex-direction: column; gap: 0; max-width: 680px; margin: 0 auto; }
.about-timeline-item { display: flex; gap: 18px; padding-bottom: 28px; position: relative; }
.about-timeline-item:last-child { padding-bottom: 0; }
.about-timeline-marker { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.about-timeline-year {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent-subtle); color: var(--accent-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.8125rem;
  border: 1px solid var(--accent-light); flex-shrink: 0;
}
.about-timeline-line { flex: 1; width: 2px; background: var(--border-light); margin-top: 4px; min-height: 20px; }
.about-timeline-body { padding-top: 12px; }
.about-timeline-title { font-size: 0.9375rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.about-timeline-text { font-size: 0.8125rem; color: var(--text-secondary); }

.about-team-note { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: 16px; padding: 24px; max-width: 680px; margin: 0 auto; text-align: center; }
.about-team-note i { font-size: 1.6rem; color: var(--accent-primary); margin-bottom: 12px; display: block; }
.about-team-note p { font-size: 0.875rem; color: var(--text-secondary); }

/* ---------------- TRUST & SAFETY ---------------- */
.methodology-steps { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 992px) { .methodology-steps { flex-direction: row; } }
.methodology-step {
  flex: 1; background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: 14px; padding: 20px; position: relative;
}
.methodology-step-num {
  width: 32px; height: 32px; border-radius: 9px; background: var(--accent-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.875rem; margin-bottom: 12px;
}
.methodology-step-title { font-size: 0.9375rem; font-weight: 700; margin-bottom: 6px; }
.methodology-step-text { font-size: 0.8125rem; color: var(--text-secondary); }

.data-source-list { display: flex; flex-direction: column; gap: 0; }
.data-source-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--border-light);
}
.data-source-item:last-child { border-bottom: none; }
.data-source-icon {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-subtle); color: var(--accent-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.data-source-name { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); }
.data-source-desc { font-size: 0.8125rem; color: var(--text-secondary); margin-top: 2px; }

.score-band-list { display: flex; flex-direction: column; gap: 10px; }
.score-band {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--border-light); border-radius: 12px; padding: 14px 16px;
}
.score-band-range {
  flex: 0 0 76px; font-family: var(--font-display); font-weight: 800; font-size: 0.9375rem;
}
.score-band[data-band="danger"] .score-band-range { color: var(--danger); }
.score-band[data-band="caution"] .score-band-range { color: var(--warning); }
.score-band[data-band="verified"] .score-band-range { color: var(--success); }
.score-band-text { font-size: 0.8125rem; color: var(--text-secondary); }
.score-band-text strong { color: var(--text-primary); }

.trust-callout {
  background: var(--accent-subtle); border: 1px solid var(--accent-light);
  border-radius: 14px; padding: 20px; display: flex; align-items: flex-start; gap: 14px;
}
.trust-callout i { font-size: 1.3rem; color: var(--accent-primary); flex-shrink: 0; margin-top: 2px; }
.trust-callout p { font-size: 0.8125rem; color: var(--text-secondary); }
.trust-callout strong { color: var(--text-primary); }

/* ---------------- PRIVACY POLICY (legal content) ---------------- */
.legal-layout { padding-top: 32px; padding-bottom: 64px; background: var(--bg-secondary); }
.legal-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 992px) { .legal-grid { grid-template-columns: 240px 1fr; gap: 32px; align-items: flex-start; } }

.legal-toc { display: none; }
@media (min-width: 992px) {
  .legal-toc {
    display: block; position: sticky; top: calc(var(--nav-height) + 24px);
    background: var(--bg-white); border: 1px solid var(--border-light);
    border-radius: 14px; padding: 18px;
  }
  .legal-toc-heading { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); margin-bottom: 10px; }
  .legal-toc-list { display: flex; flex-direction: column; gap: 2px; }
  .legal-toc-list a {
    font-size: 0.8125rem; color: var(--text-secondary); padding: 7px 8px; border-radius: 7px;
    display: block;
  }
  .legal-toc-list a:hover { background: var(--bg-secondary); color: var(--accent-primary); }
}

.legal-content { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: 16px; padding: 20px; }
@media (min-width: 992px) { .legal-content { padding: 32px 36px; } }
.legal-updated { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border-light); }
.legal-section { margin-bottom: 28px; scroll-margin-top: calc(var(--nav-height) + 20px); }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.legal-section h3 { font-size: 0.9375rem; font-weight: 700; margin: 16px 0 8px; color: var(--text-primary); }
.legal-section p { font-size: 0.8125rem; color: var(--text-secondary); margin-bottom: 10px; }
.legal-section ul { margin-bottom: 10px; }
.legal-section li { font-size: 0.8125rem; color: var(--text-secondary); padding-left: 16px; position: relative; margin-bottom: 6px; }
.legal-section li::before { content: '—'; position: absolute; left: 0; color: var(--accent-primary); }
.legal-section a { color: var(--accent-primary); font-weight: 600; }
.legal-section a:hover { text-decoration: underline; }

/* ---------------- CONTACT ---------------- */
.contact-layout { padding-top: 32px; padding-bottom: 64px; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: flex-start; } }

.contact-info-list { display: flex; flex-direction: column; gap: 12px; }
.contact-info-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--bg-white); border: 1px solid var(--border-light);
  border-radius: 14px; padding: 18px;
}
.contact-info-icon {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px;
  background: var(--accent-subtle); color: var(--accent-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-info-title { font-size: 0.875rem; font-weight: 700; color: var(--text-primary); }
.contact-info-text { font-size: 0.8125rem; color: var(--text-secondary); margin-top: 3px; }
.contact-info-link { font-size: 0.8125rem; color: var(--accent-primary); font-weight: 600; margin-top: 6px; display: inline-block; }

.contact-form-panel { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: 16px; padding: 20px; }
@media (min-width: 992px) { .contact-form-panel { padding: 28px; } }

.contact-success { text-align: center; padding: 30px 10px; }
.contact-success i { font-size: 1.8rem; color: var(--success); background: var(--success-light); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.contact-success p { font-size: 0.8125rem; color: var(--text-secondary); margin-top: 8px; }

/* ==========================================================================
   INNER PAGES — 404, Investigations, Verify, Wallet Lookup, Login,
   Fraud Alerts, Victim Guidance
   ========================================================================== */

.nav-links .nav-link.active { color: var(--text-primary); }
.nav-links .nav-link.active::after { transform: scaleX(1); }
.btn-link-vigil.active { color: var(--accent-primary); }

/* ---- Inner page hero band ---- */
.page-hero {
  position: relative;
  background: var(--bg-white);
  overflow: hidden;
  padding-top: calc(var(--nav-height) + 36px);
  padding-bottom: 40px;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(13,148,136,0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}
.page-breadcrumb { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 14px; }
.page-breadcrumb a { color: var(--text-muted); }
.page-breadcrumb a:hover { color: var(--accent-primary); }
.page-breadcrumb .sep { margin: 0 6px; }
.page-hero-title {
  font-family: var(--font-display); font-weight: 800; font-size: 1.75rem;
  margin-bottom: 12px; max-width: 780px; position: relative;
}
.page-hero-lede { font-size: 0.9375rem; color: var(--text-secondary); max-width: 640px; position: relative; }
@media (min-width: 992px) {
  .page-hero { padding-top: calc(var(--nav-height) + 72px); padding-bottom: 64px; }
  .page-hero-title { font-size: 2.75rem; }
  .page-hero-lede { font-size: 1.0625rem; }
}

/* ---- Generic content block spacing ---- */
.content-block { padding: 48px 16px; }
.content-block-alt { background: var(--bg-secondary); }
@media (min-width: 768px) { .content-block { padding: 64px 24px; } }
@media (min-width: 992px) { .content-block { padding: 88px 32px; } }

/* ---- CTA banner (redirects to homepage tool) ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent-primary));
  border-radius: 20px; padding: 32px 20px; text-align: center; color: #fff;
}
.cta-banner-title { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-bottom: 8px; }
.cta-banner-text { font-size: 0.875rem; opacity: 0.92; max-width: 480px; margin: 0 auto 22px; }
.cta-banner .btn-vigil-primary { background: #fff; color: var(--accent-dark); }
.cta-banner .btn-vigil-primary:hover { background: #F0FDFA; box-shadow: none; color: var(--accent-dark); }
.cta-banner .btn-vigil-secondary { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.cta-banner .btn-vigil-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
@media (min-width: 992px) { .cta-banner { padding: 56px 40px; } .cta-banner-title { font-size: 1.75rem; } }

/* ---- Check list (verify / wallet-lookup / investigations) ---- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.875rem; color: var(--text-secondary);
  padding: 10px 0; border-bottom: 1px solid var(--border-light);
}
.check-list li:last-child { border-bottom: none; }
.check-list i { color: var(--accent-primary); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.check-list i.bi-exclamation-triangle-fill { color: var(--warning); }

/* ---- Risk score bands (verify.html) ---- */
.risk-bands { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 720px; margin: 0 auto; }
@media (min-width: 768px) { .risk-bands { grid-template-columns: repeat(3, 1fr); } }
.risk-band { border-radius: 14px; padding: 20px 16px; text-align: center; }
.risk-band-score { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.risk-band-label { font-size: 0.8125rem; font-weight: 600; color: var(--text-secondary); margin-top: 6px; }
.risk-band.low { background: var(--success-light); }
.risk-band.low .risk-band-score { color: var(--success); }
.risk-band.medium { background: var(--warning-light); }
.risk-band.medium .risk-band-score { color: var(--warning); }
.risk-band.high { background: var(--danger-light); }
.risk-band.high .risk-band-score { color: var(--danger); }

/* ---- Chain badges (wallet-lookup.html) ---- */
.chain-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (min-width: 992px) { .chain-badges { justify-content: flex-start; } }
.chain-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-white); border: 1px solid var(--border-light); border-radius: 999px;
  padding: 8px 16px; font-size: 0.8125rem; font-weight: 600; color: var(--text-primary);
}
.chain-badge i { color: var(--accent-primary); }

/* ---- Severity legend (fraud-alerts.html) ---- */
.severity-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; font-size: 0.75rem; color: var(--text-secondary); }
.severity-legend span { display: inline-flex; align-items: center; gap: 6px; }
.severity-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.severity-dot.danger { background: var(--danger); }
.severity-dot.warning { background: var(--warning); }

/* ---- Error page (404.html) ---- */
.error-page { position: relative; text-align: center; padding-top: calc(var(--nav-height) + 56px); padding-bottom: 72px; overflow: hidden; }
.error-code {
  font-family: var(--font-display); font-weight: 800; font-size: 4.5rem; line-height: 1;
  background: linear-gradient(120deg, var(--accent-primary), #14B8A6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
}
.error-title { font-size: 1.3rem; font-weight: 700; margin-top: 14px; position: relative; }
.error-text { font-size: 0.9375rem; color: var(--text-secondary); max-width: 440px; margin: 10px auto 28px; position: relative; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; }
.error-links { margin-top: 44px; position: relative; }
.error-links-label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 10px; }
.error-links-row { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.error-links-row a { font-size: 0.8125rem; font-weight: 600; color: var(--accent-primary); }
.error-links-row a:hover { color: var(--accent-dark); text-decoration: underline; }
@media (min-width: 992px) {
  .error-code { font-size: 7.5rem; }
  .error-title { font-size: 1.75rem; }
}

/* ---- Auth / Login ---- */
.auth-section { position: relative; padding-top: calc(var(--nav-height) + 40px); padding-bottom: 64px; overflow: hidden; }
.auth-wrap { max-width: 420px; margin: 0 auto; position: relative; }
.auth-head { text-align: center; margin-bottom: 22px; }
.auth-switch { text-align: center; font-size: 0.8125rem; color: var(--text-secondary); margin-top: 18px; }
.auth-switch a { color: var(--accent-primary); font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-light); }
.auth-social-btn {
  width: 100%; height: 44px; border: 1px solid var(--border-light); border-radius: 9px; background: #fff;
  font-size: 0.8125rem; font-weight: 600; color: var(--text-primary);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.auth-social-btn:hover { border-color: var(--border-hover); background: var(--bg-hover); }
.form-check-vigil { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--text-secondary); cursor: pointer; }
.form-check-vigil input { accent-color: var(--accent-primary); width: 15px; height: 15px; }
.forgot-link { font-size: 0.8125rem; font-weight: 600; color: var(--accent-primary); }
.forgot-link:hover { color: var(--accent-dark); }
@media (min-width: 992px) { .auth-section { padding-top: calc(var(--nav-height) + 64px); } }

/* ---- Steps timeline (victim-guidance.html) ---- */
.steps-timeline { position: relative; max-width: 720px; margin: 0 auto; }
.steps-timeline::before {
  content: ''; position: absolute; left: 19px; top: 6px; bottom: 6px; width: 2px; background: var(--border-light);
}
.step-block { position: relative; padding-left: 56px; margin-bottom: 30px; }
.step-block:last-child { margin-bottom: 0; }
.step-block-num {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-white); color: var(--accent-dark); border: 2px solid var(--accent-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9375rem; font-family: var(--font-display); z-index: 1;
}
.step-block-title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 6px; }
.step-block-text { font-size: 0.875rem; color: var(--text-secondary); margin: 0; }

/* ---- Contact directory cards (victim-guidance.html) ---- */
.contact-card {
  background: var(--bg-white); border: 1px solid var(--border-light); border-radius: 14px;
  padding: 20px 18px; height: 100%;
}
.contact-card i { font-size: 1.35rem; color: var(--accent-primary); margin-bottom: 12px; display: block; }
.contact-card h3 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 6px; }
.contact-card p { font-size: 0.8125rem; color: var(--text-secondary); margin-bottom: 0; }

/* ---- Empathy callout (victim-guidance.html) ---- */
.empathy-note {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--accent-subtle); border: 1px solid var(--accent-light); border-radius: 16px;
  padding: 20px;
}
.empathy-note i { font-size: 1.3rem; color: var(--accent-primary); flex-shrink: 0; margin-top: 2px; }
.empathy-note p { font-size: 0.9375rem; color: var(--text-primary); margin: 0; line-height: 1.6; }

/* ---- Bootstrap accordion, re-themed (victim-guidance.html FAQ) ---- */
.accordion-vigil .accordion-item { border-color: var(--border-light); border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
.accordion-vigil .accordion-item:last-child { margin-bottom: 0; }
.accordion-vigil .accordion-button { font-weight: 600; font-size: 0.9375rem; color: var(--text-primary); padding: 16px 18px; }
.accordion-vigil .accordion-button:not(.collapsed) { background: var(--accent-subtle); color: var(--accent-dark); box-shadow: none; }
.accordion-vigil .accordion-button:focus { box-shadow: 0 0 0 3px var(--accent-light); border-color: var(--accent-primary); }
.accordion-vigil .accordion-button::after { flex-shrink: 0; }
.accordion-vigil .accordion-body { font-size: 0.875rem; color: var(--text-secondary); padding: 4px 18px 18px; line-height: 1.65; }
/* ==========================================================================
   REPORTS AREN'T ALWAYS BAD — positive (vouch) vs negative (warning) report
   styling. Reuses the existing --success/--danger palette so it matches the
   rest of the risk-level system rather than introducing new colors.
   ========================================================================== */

/* Step 1 of the submit-report form: "Warn others" vs "Vouch for it" */
.report-type-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.report-type-option { position: relative; }
.report-type-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.report-type-option label {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 1px solid var(--border-light); border-radius: 12px; padding: 18px 12px;
  text-align: center; cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.report-type-option label i { font-size: 1.35rem; }
.report-type-negative label i { color: var(--danger); }
.report-type-positive label i { color: var(--success); }
.report-type-label { font-size: 0.875rem; font-weight: 700; color: var(--text-primary); }
.report-type-sub { font-size: 0.7rem; color: var(--text-muted); }
.report-type-negative input:checked + label { border-color: var(--danger); background: var(--danger-light); }
.report-type-positive input:checked + label { border-color: var(--success); background: var(--success-light); }
.report-type-option input:focus-visible + label { outline: 2px solid var(--accent-primary); outline-offset: 2px; }

/* Result cards (hero search + results grid): positive/negative report chip */
.report-breakdown-chip { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 0.75rem; flex-wrap: wrap; }
.report-breakdown-chip i { margin-right: 3px; }
.report-breakdown-sep { color: var(--text-muted); }
.report-breakdown-negative { color: var(--danger); font-weight: 600; }
.report-breakdown-positive { color: var(--success); font-weight: 600; }

.rlc-meta-negative { color: var(--danger); }
.rlc-meta-negative i { color: var(--danger); }
.rlc-meta-positive { color: var(--success); }
.rlc-meta-positive i { color: var(--success); }

/* Report-details timeline: color the dot by report sentiment */
.evidence-dot-negative { background: var(--danger); }
.evidence-dot-positive { background: var(--success); }

/* Timeline dot for a report that's still pending verification — visually
   muted (hollow ring) since it has no effect on the score yet. */
.evidence-dot-pending { background: transparent; border: 2px solid var(--text-muted); width: 5px; height: 5px; }
/* ============================================================
   PROOF & SCREENSHOTS GALLERY (report-details.php)
   ============================================================ */
.evidence-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}
.evidence-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-secondary);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.evidence-thumb:hover,
.evidence-thumb:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  outline: none;
}
.evidence-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.evidence-thumb-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 6px 8px 5px;
  font-size: 0.7rem;
  line-height: 1.25;
  color: #fff;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0));
  text-align: left;
}

.evidence-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 11, 16, 0.92);
  padding: 24px;
}
.evidence-lightbox[hidden] { display: none; }
.evidence-lightbox-figure {
  margin: 0;
  max-width: min(92vw, 1000px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.evidence-lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 10px;
  box-shadow: var(--shadow-xl);
  object-fit: contain;
  background: #0b0f16;
}
.evidence-lightbox-figure figcaption {
  color: #E2E8F0;
  font-size: 0.85rem;
  text-align: center;
  max-width: 80ch;
}
.evidence-lightbox-close,
.evidence-lightbox-nav {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.15s ease;
}
.evidence-lightbox-close:hover,
.evidence-lightbox-nav:hover { background: rgba(255, 255, 255, 0.22); }
.evidence-lightbox-close { top: 20px; right: 20px; }
.evidence-lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.evidence-lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .evidence-lightbox-prev, .evidence-lightbox-next { width: 38px; height: 38px; }
}

/* Nav "Report a Scam" CTA — deliberately contrasts with the primary
   teal "Search VigilAtlas" button so it doesn't get lost next to it. */
.btn-vigil-report-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 38px;
  border-radius: 8px;
  border: 1.5px solid var(--danger);
  color: var(--danger);
  background: transparent;
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-vigil-report-cta:hover { background: var(--danger); color: #fff; }
@media (min-width: 992px) { .btn-vigil-report-cta { height: 44px; } }

/* Reporter-submitted evidence badge + PDF placeholder tile, both shown
   inside .evidence-thumb alongside/instead of the image (see
   renderEvidenceGallery in script.js). */
.evidence-thumb-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  color: #fff;
  background: rgba(13, 148, 136, 0.9);
}
.evidence-thumb-pdf {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.evidence-thumb-pdf i { font-size: 1.8rem; color: var(--danger); }