/* BlindReach marketing landing page styles. Design tokens + component styles
   are copied from assets/style.css so the landing page and the app look identical.
   Rendered by landing.php (shown to logged-out visitors at the site root). */
/* ==========================================================================
   BlindReach landing page — self-contained. Design tokens + component styles
   are copied verbatim from the app's assets/style.css so this page and the
   real product always look like the same thing. No framework, no build step.
   ========================================================================== */

/* ---- design tokens (from the app) ---- */
:root {
  --ink: #0a1020;
  --ink-2: #0e1628;
  --panel: #121c31;
  --panel-2: #16223b;
  --border: #22304e;
  --text: #e7ecf5;
  --muted: #8b99b0;
  --amber: #ffb224;          /* blind spots — the prize */
  --amber-dim: rgba(255, 178, 36, 0.12);
  --blue: #6f93bd;           /* has-website leads */
  --blue-dim: rgba(111, 147, 189, 0.12);
  --teal: #4fc3c8;           /* social-only */
  --teal-dim: rgba(79, 195, 200, 0.12);
  --green: #3ecf8e;
  --red: #ff6b6b;
  --bad: #ff8a3d;            /* bad website */
  --bad-dim: rgba(255, 138, 61, 0.14);
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, #14203a 0%, var(--ink) 55%),
    var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.01em; line-height: 1.15; }
a { color: inherit; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
img, svg { max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber);
}

/* ---- brand (radar dot, from the app) ---- */
.brand { display: flex; align-items: center; gap: 10px; }
.brand .name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; }
.radar-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--amber); position: relative; flex: none; }
.radar-dot::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--amber);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(255, 178, 36, 0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(255, 178, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 178, 36, 0); }
}

/* ---- buttons (from the app) ---- */
.btn {
  border-radius: 8px; padding: 11px 18px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; transition: filter .12s, background .12s, color .12s;
  display: inline-block; text-decoration: none; cursor: pointer; text-align: center;
}
.btn-primary { background: var(--amber); color: #201400; font-family: var(--font-head); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }

/* Visible keyboard focus everywhere interactive. */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 8px;
}

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.02em;
  background: var(--amber-dim); color: var(--amber);
  border: 1px solid rgba(255,178,36,0.4); border-radius: 999px; padding: 4px 11px;
  white-space: nowrap;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 16, 32, 0.82); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 20px; max-width: var(--maxw); margin: 0 auto; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav .login { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 7px 4px; }
.nav .login:hover { color: var(--amber); }
.nav-right .btn { white-space: nowrap; }

/* ---- hero ---- */
/* Only set the vertical padding — the horizontal 20px must come from .wrap (this
   element is class="hero wrap"). A `padding` shorthand here would zero out the
   side padding and push the hero content (and the scanner card) to the screen
   edge on mobile. */
.hero { padding-top: 56px; padding-bottom: 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.3rem); font-weight: 700; }
.hero h1 .hl { color: var(--amber); }
.hero .sub { color: var(--muted); font-size: 1.12rem; margin: 20px 0 26px; max-width: 34ch; }
.hero .fineprint { font-size: 0.85rem; color: var(--muted); margin-top: 12px; }
.hero .fineprint strong { color: var(--text); font-weight: 600; }

/* email capture form */
.capture { display: flex; gap: 10px; flex-wrap: wrap; max-width: 460px; }
.capture input[type="email"] {
  flex: 1 1 210px; min-width: 0;
  background: var(--ink-2); border: 1px solid var(--border); color: var(--text);
  border-radius: 8px; padding: 12px 14px; font-size: 0.98rem;
}
.capture input::placeholder { color: var(--muted); }
.capture input:focus { outline: none; border-color: var(--amber); }
.capture .btn-primary { flex: 0 0 auto; }
.form-msg { font-size: 0.9rem; margin-top: 12px; min-height: 1.2em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--red); }

/* ---- trial CTA (real signup path — front and center for cold traffic) ---- */
.btn-sm { padding: 8px 14px; font-size: 0.86rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.hero-cta { margin-top: 26px; }
.trial-terms { font-size: 0.86rem; color: var(--muted); margin-top: 14px; max-width: 46ch; line-height: 1.5; }
.trial-terms strong { color: var(--text); font-weight: 600; }
/* Secondary waitlist path, visually stepped down from the trial CTA. */
.hero-waitlist { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.or-line { font-size: 0.85rem; color: var(--muted); margin-bottom: 11px; }
.waitlist-card .btn-lg { display: inline-block; }
.wl-sep { border: none; border-top: 1px solid var(--border); max-width: 340px; margin: 30px auto 0; }
.wl-alt { font-size: 0.88rem; color: var(--muted); max-width: 48ch; margin: 22px auto 16px; line-height: 1.5; }

/* ---- hero scanner visual (CSS/SVG only) ---- */
.scanner {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border); border-radius: 16px; padding: 16px;
  box-shadow: 0 20px 60px -30px rgba(0,0,0,0.8);
}
.scan-bar {
  display: flex; align-items: center; gap: 9px;
  background: var(--ink-2); border: 1px solid var(--border); border-radius: 9px;
  padding: 9px 12px; font-size: 0.9rem; color: var(--text); margin-bottom: 12px;
}
.scan-bar .mag { color: var(--muted); flex: none; }
.scan-bar .q { flex: 1; color: var(--text); }
.scan-bar .live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--amber); }
.scan-bar .live .b { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); animation: blip 1s steps(2,end) infinite; }
@keyframes blip { 50% { opacity: 0.25; } }

.scan-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.biz {
  background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--blue);
  border-radius: 8px; padding: 8px 10px;
}
.biz.flag { border-left-color: var(--amber); }
.biz.flag.social { border-left-color: var(--teal); }
.biz .bn { font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; }
.biz .bs { font-size: 0.68rem; color: var(--muted); margin-top: 3px; display: flex; align-items: center; gap: 5px; }
.tag { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.05em; border-radius: 4px; padding: 1px 5px; }
.tag.no { background: var(--amber-dim); color: var(--amber); }
.tag.soc { background: var(--teal-dim); color: var(--teal); }
.tag.site { background: var(--blue-dim); color: var(--blue); }
.biz.flag .bn { color: var(--text); }
/* flagged rows get a soft amber glow pulse to draw the eye */
.biz.flag { animation: flagpulse 3.4s ease-in-out infinite; }
.biz.flag.social { animation: flagpulse-t 3.4s ease-in-out infinite; }
@keyframes flagpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,178,36,0); } 40% { box-shadow: 0 0 14px -2px rgba(255,178,36,0.4); } }
@keyframes flagpulse-t { 0%,100% { box-shadow: 0 0 0 0 rgba(79,195,200,0); } 40% { box-shadow: 0 0 14px -2px rgba(79,195,200,0.4); } }
/* the sweeping scan line */
.scan-sweep {
  position: absolute; left: 0; right: 0; height: 46%;
  background: linear-gradient(180deg, rgba(255,178,36,0) 0%, rgba(255,178,36,0.14) 55%, rgba(255,178,36,0.32) 100%);
  border-bottom: 1px solid rgba(255,178,36,0.55);
  pointer-events: none; top: -46%; animation: sweep 3.4s linear infinite; border-radius: 8px;
}
@keyframes sweep { 0% { top: -46%; } 100% { top: 100%; } }
.scan-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 0.72rem; color: var(--muted); font-family: var(--font-mono); }
.scan-foot .hit { color: var(--amber); }

/* ---- generic content sections ---- */
.section h2 { font-size: clamp(1.6rem, 3.6vw, 2.15rem); }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 60ch; margin-top: 14px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* problem */
.problem { background: linear-gradient(180deg, transparent, rgba(255,138,61,0.05), transparent); }
.problem h2 .hl { color: var(--bad); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.step {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 22px 20px;
  border-top: 3px solid var(--border);
}
.step:nth-child(1) { border-top-color: var(--blue); }
.step:nth-child(2) { border-top-color: var(--amber); }
.step:nth-child(3) { border-top-color: var(--green); }
.step .num { font-family: var(--font-mono); font-size: 0.82rem; color: var(--amber); letter-spacing: 0.1em; }
.step h3 { font-size: 1.12rem; margin: 8px 0 8px; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* ---- product tour (recreated app UI, sample data) ---- */
.tour-note {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-size: 0.82rem; color: var(--muted);
  background: var(--panel); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px;
}
.tour-note .i { color: var(--amber); }
.tour-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.panel {
  background: var(--panel-2); border: 1px solid var(--border); border-radius: 16px; padding: 16px 16px 18px;
}
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.panel-head h3 { font-size: 1.02rem; }
.panel-head .k { font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

/* app components (copied styling) — score chip, board card, tile, mrr, today */
.score-chip { font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600; border-radius: 6px; padding: 2px 8px; border: 1px solid var(--border); color: var(--muted); flex: none; }
.score-chip.hot { color: var(--amber); border-color: var(--amber); background: var(--amber-dim); }

.today-prospect { display: flex; align-items: center; gap: 11px; background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--amber); border-radius: 9px; padding: 10px 12px; margin-bottom: 8px; }
.today-prospect.social { border-left-color: var(--teal); }
.tp-main { flex: 1; min-width: 0; }
.tp-name { font-weight: 600; font-family: var(--font-head); font-size: 0.9rem; }
.tp-meta { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.tp-call { flex: none; font-size: 1.05rem; padding: 3px 8px; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; }

.dp-mini { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 10px 11px; margin-top: 12px; }
.dp-mini .dp-h { display: flex; justify-content: space-between; align-items: center; }
.dp-mini .dp-t { font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; }
.dp-mini .dp-r { font-family: var(--font-mono); font-size: 0.68rem; color: var(--amber); }
.dp-mini .dp-i { display: flex; align-items: center; gap: 7px; font-size: 0.8rem; margin-top: 7px; color: var(--text); }
.dp-mini .dp-i .ck { width: 13px; height: 13px; border: 1.5px solid var(--muted); border-radius: 3px; flex: none; }
.dp-mini .dp-i.done .ck { background: var(--green); border-color: var(--green); }
.dp-mini .dp-i.done span { color: var(--muted); text-decoration: line-through; }

.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.board-col { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 7px; }
.board-col .col-h { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); padding: 2px 3px 7px; display: flex; justify-content: space-between; }
.board-card { background: var(--panel); border: 1px solid var(--border); border-left: 3px solid var(--blue); border-radius: 8px; padding: 8px 9px; margin-bottom: 7px; }
.board-card:last-child { margin-bottom: 0; }
.board-card.blind { border-left-color: var(--amber); }
.board-card.social { border-left-color: var(--teal); }
.board-card .bc-name { font-weight: 600; font-family: var(--font-head); font-size: 0.78rem; }
.board-card .bc-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 5px; gap: 6px; }
.board-card .bc-value { font-family: var(--font-mono); font-size: 0.72rem; color: var(--green); }
.mini-score { font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted); border: 1px solid var(--border); border-radius: 5px; padding: 1px 5px; }
.mini-score.hot { color: var(--amber); border-color: var(--amber); background: var(--amber-dim); }

.mrr-banner { background: linear-gradient(135deg, rgba(62,207,142,0.14), var(--panel) 70%); border: 1px solid rgba(62,207,142,0.35); border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; }
.mrr-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.mrr-num { font-family: var(--font-head); font-size: 1.9rem; color: var(--green); line-height: 1.1; margin-top: 2px; }
.mrr-mo { font-size: 0.95rem; color: var(--muted); font-family: var(--font-body); }
.mrr-sub { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.snap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; background: var(--panel); border: 1px solid var(--border); border-top: 3px solid var(--blue); border-radius: 10px; padding: 11px 13px; }
.tile.qual { border-top-color: var(--amber); }
.tile .tile-label { font-size: 0.74rem; color: var(--muted); }
.tile .tile-count { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 600; margin-top: 3px; }
.tile .tile-today { position: absolute; top: 7px; right: 8px; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; color: var(--green); background: rgba(62,207,142,0.14); border: 1px solid var(--green); border-radius: 999px; padding: 2px 6px; }

/* reports funnel */
.funnel { display: flex; flex-direction: column; gap: 9px; }
.frow { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 10px; font-size: 0.8rem; }
.frow .fl { color: var(--muted); }
.fbar { height: 20px; border-radius: 5px; background: var(--ink-2); overflow: hidden; }
.fbar span { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--blue), var(--amber)); }
.frow .fn { font-family: var(--font-mono); color: var(--text); }
.frow.won .fbar span { background: linear-gradient(90deg, var(--green), var(--green)); }
.frow.won .fn { color: var(--green); }

/* ---- waitlist callout ---- */
.waitlist { }
.waitlist-card {
  background: linear-gradient(160deg, rgba(255,178,36,0.10), var(--panel) 62%);
  border: 1px solid rgba(255,178,36,0.4); border-radius: 18px;
  padding: 40px 32px; text-align: center;
}
.waitlist-card h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.waitlist-card .lead { margin: 14px auto 24px; }
.waitlist-card .capture { margin: 0 auto; justify-content: center; }
.perks { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 22px; font-size: 0.86rem; color: var(--muted); }
.perks span { display: inline-flex; align-items: center; gap: 7px; }
.perks .c { color: var(--green); }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--border); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer .brand .name { font-size: 1.05rem; }
.footer .copy { font-size: 0.8rem; color: var(--muted); }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero .sub { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .tour-grid { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
}
@media (max-width: 520px) {
  .board { grid-template-columns: 1fr 1fr; }
  .nav-inner { gap: 8px; }
  .nav-right { gap: 10px; }
  .nav .name { font-size: 1.08rem; }
  .pill { font-size: 0.66rem; padding: 3px 8px; }
  .waitlist-card { padding: 30px 18px; }
  .capture .btn-primary, .capture .btn-ghost { flex: 1 1 100%; }
  .hero-cta .btn-lg { display: block; }
}
/* Phones: drop the decorative nav pill so the wordmark + Log in + the "Start free
   trial" CTA fit on one row without crowding (the trial terms are stated in full
   in the hero and waitlist sections regardless). */
@media (max-width: 560px) {
  .nav .pill { display: none; }
}

/* ---- reduced motion: pause/simplify all animation ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .radar-dot::after,
  .scan-bar .live .b,
  .biz.flag, .biz.flag.social,
  .scan-sweep { animation: none !important; }
  /* keep the scan line as a static "scanned" marker rather than hiding it */
  .scan-sweep { top: 100%; opacity: 0.5; }
}
