﻿/* LEADSTHINKING | Intelligence Command Center */

:root {
  --bg: #071014;
  --bg-2: #0C181D;
  --bg-3: #0F1F25;
  --accent: #19D3AE;
  --accent-2: #4DA3FF;
  --highlight: #B8F7E8;
  --text: #F4F8F7;
  --muted: #91A5A3;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.14);
  --glow-teal: rgba(25, 211, 174, 0.35);
  --glow-blue: rgba(77, 163, 255, 0.28);
  --danger-soft: #7A9A96;
  --warm: #E8B86D;
  --font-display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --container: 1200px;
  --nav-h: 76px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, blockquote { margin: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 2000;
  background: var(--accent);
  color: var(--bg);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

h1, h2, h3, h4, .logo-wordmark {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.35rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 800;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h4 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(25, 211, 174, 0.2);
  animation: pulse-dot 2s ease-in-out infinite;
}

.section-sub {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 42rem;
  font-size: 1.05rem;
}

.section-head {
  margin-bottom: 3rem;
  max-width: 46rem;
}

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.35s;
  white-space: nowrap;
}

.btn-sm { padding: 0.65rem 1.15rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }

.btn-primary {
  background: var(--accent);
  color: #04110e;
  box-shadow: 0 8px 30px rgba(25, 211, 174, 0.22);
}
.btn-primary:hover {
  background: var(--highlight);
  box-shadow: 0 0 28px var(--glow-teal);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  border-color: rgba(25, 211, 174, 0.45);
  background: rgba(25, 211, 174, 0.06);
}

.btn-ghost-nav {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  transition: color 0.2s;
}
.btn-ghost-nav:hover { color: var(--text); }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.logo-wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.95rem;
  letter-spacing: 0;
}
.logo-wordmark strong {
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
}
.logo-wordmark span {
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-size: 0.88em;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--nav-h);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: rgba(7, 16, 20, 0.55);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.navbar.is-scrolled {
  background: rgba(7, 16, 20, 0.88);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--nav-h);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.55rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1.5rem;
  background: rgba(7, 16, 20, 0.97);
  border-bottom: 1px solid var(--border);
}
.mobile-menu[hidden] { display: none !important; }
.mobile-menu a {
  padding: 0.85rem 0.5rem;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; margin-top: 0.5rem; }
.mobile-menu .btn { width: 100%; }

@media (min-width: 1100px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

.hero-signal-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}
.hero-signal-bg svg { width: 100%; height: 100%; }

.signal-path {
  stroke-dasharray: 8 14;
  animation: path-flow 18s linear infinite;
}
.signal-path.delay-1 { animation-delay: -6s; opacity: 0.7; }
.signal-path.delay-2 { animation-delay: -12s; opacity: 0.5; }

@keyframes path-flow {
  to { stroke-dashoffset: -200; }
}

.hero-layout {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1080px) {
  .hero-layout {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
  }
}

.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-sub {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  max-width: 34rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.trust-line {
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.85;
}

.dash-chrome {
  background: linear-gradient(165deg, rgba(15, 31, 37, 0.95), rgba(12, 24, 29, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.2rem 1.3rem;
  box-shadow:
    0 0 0 1px rgba(25, 211, 174, 0.04),
    0 40px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

.dash-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.dash-icon {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--glow-teal);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--highlight);
  background: rgba(25, 211, 174, 0.08);
  border: 1px solid rgba(25, 211, 174, 0.25);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

@media (min-width: 520px) {
  .kpi-grid { grid-template-columns: repeat(4, 1fr); }
}

.kpi-card {
  background: rgba(7, 16, 20, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.8rem;
  transition: border-color 0.25s, transform 0.3s var(--ease);
}
.kpi-card:hover {
  border-color: rgba(25, 211, 174, 0.3);
  transform: translateY(-2px);
}

.kpi-label {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.kpi-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.kpi-delta {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}

.signal-flow {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}
.signal-flow::-webkit-scrollbar { display: none; }

.flow-step {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0.4rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}
.flow-step.active {
  color: var(--highlight);
  border-color: rgba(25, 211, 174, 0.4);
  background: rgba(25, 211, 174, 0.1);
  box-shadow: 0 0 16px rgba(25, 211, 174, 0.12);
}

.flow-arrow {
  flex-shrink: 0;
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  position: relative;
}
.flow-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  border: 3.5px solid transparent;
  border-left-color: var(--accent);
  opacity: 0.7;
}

.lead-panel {
  background: linear-gradient(180deg, rgba(12, 24, 29, 0.4), rgba(7, 16, 20, 0.8));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.lead-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.lead-header h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.lead-header p { color: var(--muted); font-size: 0.85rem; }

.intent-ring {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.intent-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.intent-ring span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 5;
}
.ring-fg {
  fill: none;
  stroke: var(--accent);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 188.4;
  stroke-dashoffset: calc(188.4 - (188.4 * var(--score) / 100));
  filter: drop-shadow(0 0 6px var(--glow-teal));
}
.ring-fg.blue {
  stroke: var(--accent-2);
  filter: drop-shadow(0 0 6px var(--glow-blue));
}

.lead-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.meta-pill {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.meta-pill.high {
  color: var(--highlight);
  border-color: rgba(25, 211, 174, 0.35);
  background: rgba(25, 211, 174, 0.1);
}

.lead-action {
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(25, 211, 174, 0.06);
  border: 1px solid rgba(25, 211, 174, 0.18);
}
.action-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.lead-action p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.ai-insight { margin-bottom: 0.9rem; }
.ai-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.35rem;
}
.ai-insight p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.mini-chart { height: 52px; }
.mini-chart svg { width: 100%; height: 100%; }
.chart-line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-line 2.2s var(--ease) 0.4s forwards;
}
.chart-area { opacity: 0; animation: fade-in 1s ease 1.2s forwards; }
.chart-dot {
  opacity: 0;
  animation: fade-in 0.5s ease 1.8s forwards, pulse-dot 2s ease-in-out 2s infinite;
}

@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }

.trust-strip {
  padding: 2.75rem 0 3.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  text-align: center;
}

.trust-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.75rem;
  margin-bottom: 1.25rem;
}
.logo-strip span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: rgba(145, 165, 163, 0.55);
  transition: color 0.25s;
}
.logo-strip span:hover { color: var(--muted); }

.metric-note {
  font-size: 0.75rem;
  color: rgba(145, 165, 163, 0.65);
}

.compare-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .compare-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

.compare-panel {
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.compare-panel h3 { margin-bottom: 1.35rem; font-size: 1.15rem; }
.compare-panel ul { display: grid; gap: 0.75rem; }
.compare-panel li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.compare-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.traditional { background: rgba(12, 24, 29, 0.4); }
.traditional li::before { background: var(--danger-soft); opacity: 0.6; }

.intelligent {
  background: linear-gradient(160deg, rgba(25, 211, 174, 0.08), rgba(12, 24, 29, 0.95));
  border-color: rgba(25, 211, 174, 0.28);
  box-shadow: 0 0 50px rgba(25, 211, 174, 0.06);
}
.intelligent h3 { color: var(--highlight); }
.intelligent li { color: var(--text); }
.intelligent li::before {
  background: var(--accent);
  box-shadow: 0 0 8px var(--glow-teal);
}

.intel-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(25, 211, 174, 0.12), transparent 70%);
  pointer-events: none;
}

.engine-section { background: var(--bg-2); }

.engine-stage {
  display: grid;
  gap: 2rem;
  padding: 2rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(7, 16, 20, 0.6), rgba(15, 31, 37, 0.4));
}

.signal-nodes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.signal-node {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  transition: border-color 0.25s, color 0.25s, background 0.25s, box-shadow 0.3s;
  animation: node-breathe 4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.25s);
}
.signal-node:hover {
  color: var(--highlight);
  border-color: rgba(25, 211, 174, 0.4);
  background: rgba(25, 211, 174, 0.08);
  box-shadow: 0 0 20px rgba(25, 211, 174, 0.12);
}

@keyframes node-breathe {
  0%, 100% { border-color: var(--border); }
  50% { border-color: rgba(77, 163, 255, 0.25); }
}

.engine-core {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 200px;
}

.engine-connectors {
  position: absolute;
  width: min(100%, 420px);
  height: 200px;
  opacity: 0.45;
}
.connector {
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 1;
  stroke-dasharray: 4 8;
  animation: path-flow 12s linear infinite;
  opacity: 0.5;
}

.engine-orb {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(circle at 35% 30%, rgba(25, 211, 174, 0.25), rgba(7, 16, 20, 0.95) 65%);
  border: 1px solid rgba(25, 211, 174, 0.4);
  box-shadow: 0 0 40px rgba(25, 211, 174, 0.2), inset 0 0 30px rgba(25, 211, 174, 0.08);
  z-index: 1;
}

.orb-pulse {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(25, 211, 174, 0.25);
  animation: orb-ring 2.8s ease-out infinite;
}
.orb-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  line-height: 1.45;
  color: var(--highlight);
  position: relative;
  z-index: 1;
}

@keyframes orb-ring {
  0% { transform: scale(0.92); opacity: 0.8; }
  100% { transform: scale(1.25); opacity: 0; }
}

.engine-outputs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.output-chip {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(7, 16, 20, 0.6);
}
.output-chip.highlight {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(25, 211, 174, 0.3);
}
