/* ═══════════════════════════════════════════════════════════════════════════
 * NEON FIBER — buyer-facing home + brand layer (2026-05-31)
 * Loaded after dashboard.css. Scoped under .nf so it never collides with the
 * analyst-tool styles. Plain-language, high-contrast, "badass" neon-on-black.
 * ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --nf-cyan:   #22D3EE;
  --nf-blue:   #3B82F6;
  --nf-violet: #A78BFA;
  --nf-ink:    #07090F;
  --nf-panel:  #0d1322;
  --nf-panel-2:#111a2e;
  --nf-line:   rgba(34, 211, 238, 0.14);
  --nf-line-2: rgba(34, 211, 238, 0.30);
  --nf-text:   #E8ECF4;
  --nf-muted:  #93A2BE;
  --nf-dim:    #5d6c8a;
  --nf-glow:   0 0 24px rgba(34, 211, 238, 0.40);
}

.nf, .nf * { box-sizing: border-box; }
.nf {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--nf-text);
  min-height: 100vh;
  letter-spacing: 0.01em;
}
.nf-wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ── Top nav ───────────────────────────────────────────────────────────── */
.nf-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  padding: 14px 22px;
  background: rgba(7, 9, 15, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nf-line);
}
.nf-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nf-brand img, .nf-brand svg { height: 34px; width: auto; display: block; }
.nf-brand .nf-word {
  font-family: 'Orbitron', sans-serif; font-weight: 700;
  font-size: 19px; letter-spacing: 0.14em;
  background: linear-gradient(92deg, var(--nf-cyan), var(--nf-violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.nf-nav .nf-spacer { flex: 1; }
.nf-nav a.nf-link, .nf-nav .nf-userbox {
  color: var(--nf-muted); text-decoration: none; font-size: 13.5px; font-weight: 500;
  padding: 7px 12px; border-radius: 9px; white-space: nowrap;
}
.nf-nav a.nf-link:hover { color: var(--nf-text); background: rgba(34,211,238,0.08); }
.nf-nav a.nf-link.is-active { color: var(--nf-cyan); }
.nf-userbox { color: var(--nf-dim); }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.nf-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.nf-btn-primary {
  color: #04121a;
  background: linear-gradient(95deg, var(--nf-cyan), #38d9f0 55%, var(--nf-blue));
  box-shadow: 0 0 0 rgba(34,211,238,0), 0 8px 26px rgba(34,211,238,0.28);
}
.nf-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 28px var(--nf-cyan), 0 10px 30px rgba(34,211,238,0.45); }
.nf-btn-ghost {
  color: var(--nf-text); background: rgba(34,211,238,0.06); border-color: var(--nf-line-2);
}
.nf-btn-ghost:hover { border-color: var(--nf-cyan); color: var(--nf-cyan); background: rgba(34,211,238,0.1); }
.nf-btn-sm { padding: 9px 15px; font-size: 13.5px; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.nf-hero { padding: 64px 0 30px; text-align: center; position: relative; }
.nf-eyebrow {
  font-family: 'Orbitron', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.36em; color: var(--nf-cyan); text-transform: uppercase;
  margin: 0 0 18px; opacity: 0.9;
}
.nf-bignum {
  font-family: 'Orbitron', sans-serif; font-weight: 800; line-height: 0.92;
  font-size: clamp(58px, 13vw, 150px); margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--nf-cyan) 70%, var(--nf-blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(34,211,238,0.35);
  filter: drop-shadow(0 0 22px rgba(34,211,238,0.30));
}
.nf-bignum-label {
  font-size: clamp(16px, 2.6vw, 22px); font-weight: 600; color: var(--nf-text);
  margin: 12px 0 0; max-width: 620px; margin-left: auto; margin-right: auto;
}
.nf-bignum-label b { color: var(--nf-cyan); font-weight: 700; }
.nf-substats {
  display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center;
  margin: 22px auto 30px; color: var(--nf-muted); font-size: 14px;
}
.nf-substats .nf-sub b { color: var(--nf-text); font-weight: 700; }
.nf-substats .dot { color: var(--nf-dim); }
.nf-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.nf-fresh { margin-top: 16px; font-size: 12.5px; color: var(--nf-dim); }
.nf-fresh .live-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--nf-cyan); box-shadow: 0 0 8px var(--nf-cyan); margin-right: 6px;
  vertical-align: middle; animation: nf-pulse 2.4s infinite;
}
@keyframes nf-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ── Section scaffolding ───────────────────────────────────────────────── */
.nf-section { padding: 30px 0; }
.nf-h2 {
  font-size: 22px; font-weight: 700; margin: 0 0 4px; color: var(--nf-text);
  display: flex; align-items: center; gap: 10px;
}
.nf-h2 .bar { width: 4px; height: 22px; border-radius: 3px; background: linear-gradient(var(--nf-cyan), var(--nf-violet)); box-shadow: var(--nf-glow); }
.nf-sub-h { color: var(--nf-muted); font-size: 14px; margin: 0 0 18px 14px; }

/* ── Confidence cards (the "guarantee") ────────────────────────────────── */
.nf-conf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.nf-conf {
  background: var(--nf-panel); border: 1px solid var(--nf-line); border-radius: 14px;
  padding: 18px 16px; position: relative; overflow: hidden;
}
.nf-conf::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--c, var(--nf-cyan)); box-shadow: 0 0 16px var(--c, var(--nf-cyan)); }
.nf-conf .n { font-family: 'Orbitron', sans-serif; font-size: 30px; font-weight: 800; color: var(--c, var(--nf-cyan)); }
.nf-conf .t { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin: 2px 0 6px; color: var(--nf-text); }
.nf-conf .d { font-size: 12.5px; color: var(--nf-muted); line-height: 1.5; }
.nf-conf.vh { --c: #22D3EE; } .nf-conf.h { --c: #3B82F6; }
.nf-conf.mo { --c: #A78BFA; } .nf-conf.lo { --c: #6b7a99; }

/* ── City + carrier bars ───────────────────────────────────────────────── */
.nf-bars { display: grid; gap: 10px; }
.nf-bar { display: grid; grid-template-columns: 150px 1fr 78px; align-items: center; gap: 14px; }
.nf-bar .lab { font-size: 14px; font-weight: 600; color: var(--nf-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf-bar .lab span { color: var(--nf-dim); font-weight: 500; font-size: 12px; }
.nf-bar .track { height: 12px; background: rgba(255,255,255,0.04); border-radius: 7px; overflow: hidden; }
.nf-bar .fill { height: 100%; border-radius: 7px; background: linear-gradient(90deg, var(--nf-blue), var(--nf-cyan)); box-shadow: 0 0 14px rgba(34,211,238,0.5); }
.nf-bar .val { text-align: right; font-family: 'Orbitron', sans-serif; font-size: 14px; font-weight: 700; color: var(--nf-cyan); }
.nf-bar.alt .fill { background: linear-gradient(90deg, var(--nf-violet), var(--nf-blue)); box-shadow: 0 0 14px rgba(167,139,250,0.45); }
.nf-bar.alt .val { color: var(--nf-violet); }

.nf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.nf-card {
  background: var(--nf-panel); border: 1px solid var(--nf-line); border-radius: 16px; padding: 22px;
}

/* ── How it works ──────────────────────────────────────────────────────── */
.nf-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nf-step { background: var(--nf-panel); border: 1px solid var(--nf-line); border-radius: 14px; padding: 20px; }
.nf-step .num { font-family: 'Orbitron', sans-serif; font-size: 13px; font-weight: 700; color: var(--nf-ink); background: var(--nf-cyan); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; box-shadow: var(--nf-glow); }
.nf-step h4 { margin: 12px 0 6px; font-size: 15.5px; color: var(--nf-text); }
.nf-step p { margin: 0; font-size: 13.5px; color: var(--nf-muted); line-height: 1.55; }

/* ── Plain-English definition strip ────────────────────────────────────── */
.nf-define {
  background: linear-gradient(120deg, rgba(34,211,238,0.07), rgba(167,139,250,0.05));
  border: 1px solid var(--nf-line); border-radius: 16px; padding: 22px 24px;
  font-size: 15.5px; line-height: 1.6; color: var(--nf-text);
}
.nf-define b { color: var(--nf-cyan); }

/* ── Empty / building state ────────────────────────────────────────────── */
.nf-empty { text-align: center; padding: 40px 20px; }
.nf-empty .nf-bignum { font-size: clamp(40px, 8vw, 88px); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.nf-foot { border-top: 1px solid var(--nf-line); margin-top: 40px; padding: 26px 0 50px; color: var(--nf-dim); font-size: 12.5px; text-align: center; }
.nf-foot a { color: var(--nf-muted); }

/* ── Explore (analyst) view — slim intro that replaced the old marketing block ── */
.explore-intro { padding: 6px 0 16px; }
.explore-intro h1 {
  font-family: 'Orbitron', sans-serif; font-size: 21px; font-weight: 700;
  letter-spacing: 0.04em; margin: 0 0 5px; color: var(--nf-text);
}
.explore-intro p { margin: 0; color: var(--nf-muted); font-size: 13.5px; line-height: 1.55; max-width: 780px; }
.explore-intro a { color: var(--nf-cyan); text-decoration: none; }
.explore-intro a:hover { text-decoration: underline; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .nf-conf-grid { grid-template-columns: 1fr 1fr; }
  .nf-two { grid-template-columns: 1fr; }
  .nf-steps { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .nf-conf-grid { grid-template-columns: 1fr; }
  .nf-bar { grid-template-columns: 110px 1fr 60px; gap: 9px; }
  .nf-nav a.nf-link.hide-sm { display: none; }
}
