/* =========================================================
   SnifferBots — Shared Stylesheet
   Brand colors sampled directly from the official logo:
   blue #00ADEF · red #EC1C24 · gray #818286
   ========================================================= */

:root {
  /* Brand */
  --blue: #00ADEF;
  --blue-dark: #0089C4;
  --blue-deep: #0A2E45;   /* deep navy-blue for dark sections */
  --blue-deeper: #071E2F;
  --red: #EC1C24;
  --red-dark: #C4141B;
  --gray-brand: #818286;

  /* Status */
  --status-green: #1AAE64;
  --status-orange: #F5A623;
  --status-red: #EC1C24;

  /* Neutrals */
  --ink: #14202B;
  --ink-soft: #3C4A56;
  --gray-700: #57636D;
  --gray-500: #7C8892;
  --gray-300: #C7D0D6;
  --gray-200: #E2E8ED;
  --gray-100: #F1F5F8;
  --gray-50:  #F8FAFB;
  --white: #FFFFFF;

  /* Elevation & shape */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(10, 46, 69, 0.08);
  --shadow: 0 8px 24px rgba(10, 46, 69, 0.10);
  --shadow-lg: 0 20px 48px rgba(10, 46, 69, 0.16);

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { color: var(--gray-700); }
.lede { font-size: 1.15rem; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 768px) {
  section { padding: 56px 0; }
}

.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: rgba(0, 173, 239, 0.10);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow.red { color: var(--red-dark); background: rgba(236, 28, 36, 0.08); }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.05rem; }

.bg-alt { background: var(--gray-50); }
.bg-deep {
  background: linear-gradient(160deg, var(--blue-deeper) 0%, var(--blue-deep) 60%, #0d3a54 100%);
  color: var(--white);
}
.bg-deep h1, .bg-deep h2, .bg-deep h3, .bg-deep h4 { color: var(--white); }
.bg-deep p { color: rgba(255,255,255,0.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 10px 24px rgba(236,28,36,0.28); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px rgba(0,173,239,0.28); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--gray-200); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-h);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }

.nav-desktop { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-desktop a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-soft);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-desktop a:hover { background: var(--gray-100); color: var(--ink); }
.nav-desktop a.active { background: rgba(0,173,239,0.12); color: var(--blue-dark); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  align-items: center;
  justify-content: center;
}
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: 0.2s ease;
}
.hamburger span::before { position: absolute; top: -6px; }
.hamburger span::after { position: absolute; top: 6px; }

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 999;
  padding: 20px 24px;
  overflow-y: auto;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 16px 4px;
  font-size: 1.1rem;
  font-weight: 700;
  border-bottom: 1px solid var(--gray-100);
}
.nav-mobile .header-actions { flex-direction: column; align-items: stretch; margin-top: 20px; gap: 12px; }

@media (max-width: 980px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .header-actions .btn-sm.desktop-only { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 420px at 82% 18%, rgba(0,173,239,0.25), transparent 60%),
    radial-gradient(480px 380px at 100% 100%, rgba(236,28,36,0.16), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-copy .eyebrow { background: rgba(255,255,255,0.12); color: #BEE9FA; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin-bottom: 32px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.5rem; color: var(--white); }
.hero-stats div span { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.hero-visual {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual img { filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35)); }
.status-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.status-chip .dot { width: 9px; height: 9px; border-radius: 50%; }
.status-chip.green .dot { background: var(--status-green); }
.status-chip.orange .dot { background: var(--status-orange); }
.status-chip.top-left { top: 18px; left: -14px; }
.status-chip.bottom-right { bottom: 18px; right: -10px; }

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .status-chip { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 56px 0 64px;
}
.page-hero .eyebrow { background: rgba(255,255,255,0.12); color: #BEE9FA; }
.page-hero h1 { max-width: 780px; }
.page-hero p { max-width: 640px; margin-top: 16px; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon-badge { margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.96rem; }

.icon-badge {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,173,239,0.12);
  color: var(--blue-dark);
}
.icon-badge.red { background: rgba(236,28,36,0.10); color: var(--red-dark); }
.icon-badge svg { width: 26px; height: 26px; }

/* ---------- Numbered steps ---------- */
.steps { display: grid; gap: 20px; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.step .num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem;
}
.step h4 { margin-bottom: 6px; }
.step p { font-size: 0.95rem; margin: 0; }

/* ---------- Comparison table ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--gray-200); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--white); }
table.compare th, table.compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--gray-200); vertical-align: top; font-size: 0.94rem; }
table.compare thead th { background: var(--gray-50); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-700); }
table.compare th:first-child, table.compare td:first-child { position: sticky; left: 0; background: var(--white); font-weight: 700; min-width: 180px; }
table.compare thead th:first-child { background: var(--gray-50); }
table.compare td.win { background: rgba(26,174,100,0.06); }
table.compare tr:last-child td { border-bottom: none; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.tag.no { background: rgba(236,28,36,0.10); color: var(--red-dark); }
.tag.yes { background: rgba(26,174,100,0.12); color: #0E8A50; }
.tag.partial { background: rgba(245,166,35,0.14); color: #B4740E; }

/* ---------- Solution profile cards (arc-tested / gas suppression / sniffer) ---------- */
.solution-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  align-items: start;
}
.solution-card .thumb { border-radius: var(--radius); overflow: hidden; background: var(--gray-100); }
.solution-card .thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.solution-card dl { display: grid; grid-template-columns: 130px 1fr; row-gap: 10px; column-gap: 14px; margin: 14px 0 0; }
.solution-card dt { font-weight: 800; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray-500); }
.solution-card dd { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.solution-card.featured { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,173,239,0.12), var(--shadow); }
@media (max-width: 760px) {
  .solution-card { grid-template-columns: 1fr; }
  .solution-card .thumb img { aspect-ratio: 16/9; }
}

/* ---------- Status legend ---------- */
.status-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.status-legend .item { border-radius: var(--radius); padding: 22px; color: var(--white); }
.status-legend .item.green { background: linear-gradient(135deg, #1AAE64, #12894E); }
.status-legend .item.orange { background: linear-gradient(135deg, #F5A623, #D6860B); }
.status-legend .item.red { background: linear-gradient(135deg, #EC1C24, #B7141B); }
.status-legend h4 { color: var(--white); margin-bottom: 6px; }
.status-legend p { color: rgba(255,255,255,0.88); font-size: 0.92rem; margin: 0; }
@media (max-width: 760px) { .status-legend { grid-template-columns: 1fr; } }

/* ---------- Stat row ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-row .stat strong { display: block; font-size: 2.1rem; color: var(--blue-dark); }
.stat-row .stat span { font-size: 0.88rem; color: var(--gray-700); }
@media (max-width: 760px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { max-width: 520px; }
@media (max-width: 760px) { .cta-banner { padding: 36px 26px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deeper); color: rgba(255,255,255,0.75); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-grid h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer-grid a, .footer-grid p { color: rgba(255,255,255,0.68); font-size: 0.92rem; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--white); }
.footer-brand img { height: 38px; margin-bottom: 14px; }
.footer-brand p { max-width: 320px; font-size: 0.9rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-bottom a { color: rgba(255,255,255,0.7); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.mt-0{margin-top:0}.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-48{margin-top:48px}
.mb-0{margin-bottom:0}.mb-8{margin-bottom:8px}.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}.mb-32{margin-bottom:32px}
.text-center{text-align:center}
.flex{display:flex}.items-center{align-items:center}.gap-8{gap:8px}.gap-12{gap:12px}.gap-16{gap:16px}.wrap{flex-wrap:wrap}
.muted{color:var(--gray-500)}
.divider{height:1px;background:var(--gray-200);border:0;margin:0}
.badge-row{display:flex;flex-wrap:wrap;gap:10px}
.badge {
  display:inline-flex; align-items:center; gap:8px;
  background: var(--gray-100); border: 1px solid var(--gray-200);
  padding: 8px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 600; color: var(--ink-soft);
}
/* .reveal is kept as a marker class only — content is always fully visible
   immediately, on every page load, with or without JavaScript. (An earlier
   scroll-triggered fade-in was removed after QA showed it could leave
   below-the-fold content invisible; reliability matters more than the
   animation on a site like this.) */
.reveal { opacity: 1; }

.disclaimer-box {
  background: var(--gray-50);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: 0.86rem;
  color: var(--gray-700);
}
.disclaimer-box strong { color: var(--ink); }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 380px; border: 0; display: block; }
