/* ================================================================
   Faultline – Landing Page Styles
   ================================================================ */

/* Inter variable font – self-hosted (no external requests) */
/* latin-ext */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-var-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-var-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg-color: #fafbfd;
  --surface-color: #ffffff;
  --surface-muted: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-blue-light: #eff6ff;
  --accent-blue-50: rgba(37, 99, 235, 0.05);
  --border-color: #e2e8f0;
  --border-subtle: rgba(148, 163, 184, 0.2);
  --ring-color: rgba(37, 99, 235, 0.45);
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm:
    0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md:
    0 4px 12px -2px rgba(15, 23, 42, 0.08),
    0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg:
    0 12px 24px -4px rgba(15, 23, 42, 0.1),
    0 4px 8px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl:
    0 24px 48px -12px rgba(15, 23, 42, 0.12),
    0 12px 24px -8px rgba(15, 23, 42, 0.06);
  --shadow-blue: 0 4px 14px -3px rgba(37, 99, 235, 0.35);
  --shadow-blue-lg: 0 8px 32px -6px rgba(37, 99, 235, 0.3);
  --shadow-glow:
    0 0 0 1px rgba(37, 99, 235, 0.06),
    0 24px 48px -12px rgba(37, 99, 235, 0.15),
    0 12px 24px -8px rgba(15, 23, 42, 0.08);
  --font-sans:
    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --max-width: 1200px;
  --nav-height: 64px;
  --section-gap: 7rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  min-height: 100%;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- Background ---- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(148, 163, 184, 0.1) 1px,
    transparent 0
  );
  background-size: 40px 40px;
  mask-image: radial-gradient(
    ellipse 70% 50% at 50% 0%,
    black 20%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 70% 50% at 50% 0%,
    black 20%,
    transparent 100%
  );
}

/* Gradient mesh glow - top right */
body::before {
  content: "";
  position: fixed;
  top: -300px;
  right: -200px;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.08) 0%,
    rgba(59, 130, 246, 0.04) 30%,
    transparent 70%
  );
  z-index: -1;
  pointer-events: none;
}

/* Gradient mesh glow - left */
body::after {
  content: "";
  position: fixed;
  top: 300px;
  left: -400px;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.05) 0%,
    transparent 70%
  );
  z-index: -1;
  pointer-events: none;
}

/* ---- Typography ---- */
h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--text-primary);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

h4 {
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

.lead {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 640px;
}

a {
  color: inherit;
}

.text-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Layout ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Fade-up animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay {
  transition-delay: 0.15s;
}

.fade-up-delay-1 {
  transition-delay: 0.1s;
}

.fade-up-delay-2 {
  transition-delay: 0.2s;
}

.fade-up-delay-3 {
  transition-delay: 0.3s;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--nav-height);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(250, 251, 253, 0.75);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--border-subtle);
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.02);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-word {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.logo-mark {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.8);
  padding: 0.55rem 1.15rem;
  box-shadow:
    var(--shadow-blue),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow:
    var(--shadow-blue-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow:
    0 2px 8px -2px rgba(37, 99, 235, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.55rem 1.15rem;
  box-shadow:
    var(--shadow-xs),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--surface-muted);
  color: var(--text-primary);
  border-color: rgba(37, 99, 235, 0.28);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-xs);
}

.btn-lg {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.nav-cta {
  padding: 0.5rem 1rem;
  font-size: 0.86rem;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.logo:focus-visible {
  outline: 2px solid var(--ring-color);
  outline-offset: 2px;
}

/* ================================================================
   HERO
   ================================================================ */
.hero-section {
  padding: 3.5rem 0 2rem;
  position: relative;
}

/* Subtle hero glow */
.hero-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(
    ellipse at center,
    rgba(37, 99, 235, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

@media (min-width: 1280px) {
  .hero-section {
    padding-top: 5rem;
  }
}

.hero-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-blue);
  background: var(--accent-blue-light);
  border: 1px solid rgba(37, 99, 235, 0.15);
  margin-bottom: 1.25rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-blue);
  animation: pulse-dot 2s ease-in-out infinite;
}

h1 {
  margin-bottom: 1.25rem;
}

.scenario-q {
  margin-bottom: 1rem;
  padding: 0.75rem 1.25rem;
  border-left: 3px solid var(--accent-blue);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-secondary);
  background: var(--accent-blue-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.25rem;
}

.cta-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 0.01em;
  margin-top: 1rem;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* ---- Hotspot Map (Hero demo) ---- */
.hotspot-map {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 1.25rem;
}

.hotspot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.map-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--surface-color);
  box-shadow: var(--shadow-xs);
  padding: 0;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.map-card:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.map-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 0.95rem 0.75rem;
  border-bottom: 1px solid var(--surface-muted);
}

.map-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 0.95rem 0;
}

.map-card-title {
  margin: 0;
}

.risk-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.risk-label.hotspot {
  background: #fff1f2;
  color: #be123c;
  box-shadow: inset 0 0 0 1px rgba(190, 18, 60, 0.15);
}

.risk-label.watch {
  background: #fffbeb;
  color: #b45309;
  box-shadow: inset 0 0 0 1px rgba(180, 83, 9, 0.15);
}

.risk-label.healthy {
  background: #ecfdf5;
  color: #047857;
  box-shadow: inset 0 0 0 1px rgba(4, 120, 87, 0.15);
}

.people-metric {
  display: grid;
  gap: 0.3rem;
}

.people-line {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-primary);
}

.people-track {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: var(--surface-muted);
  overflow: hidden;
}

.people-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #cbd5e1;
  transition: width 0.5s ease;
}

.member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--surface-muted);
}

.member-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--surface-muted);
}

.member-list li:last-child {
  border-bottom: 0;
}

.member-name {
  min-width: 0;
  flex: 1;
  font-size: 0.82rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.depth-pips {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  margin-left: auto;
}

.depth-pips i {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: transparent;
}

.depth-pips.depth-limited i:nth-child(-n + 1),
.depth-pips.depth-working i:nth-child(-n + 2),
.depth-pips.depth-deep i:nth-child(-n + 3) {
  border-color: #10b981;
  background: #10b981;
}

.member-absent .member-name {
  text-decoration: line-through;
  color: var(--text-tertiary);
  opacity: 0.55;
}

.absent-label {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.map-card-footer {
  margin: auto 0 0;
  padding: 0.55rem 0.95rem 0.8rem;
  text-align: right;
  font-size: 0.65rem;
  color: var(--text-tertiary);
  font-style: italic;
}

.simulate-banner {
  margin: 0 0 0.85rem 0;
  padding: 0.55rem 0.85rem;
  font-size: 0.8rem;
  color: #1e40af;
  background: var(--accent-blue-light);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-sm);
}

.simulate-banner p {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: #1e40af;
  font-size: 0.8rem;
}

.simulate-label {
  white-space: nowrap;
}

.simulate-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b82f6;
  flex-shrink: 0;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

/* ================================================================
   TRUST BAR
   ================================================================ */
.trust-bar {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 1.25rem;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-logo {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: -0.01em;
  opacity: 0.6;
}

.trust-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-color);
}

/* ================================================================
   SECTION STRUCTURE
   ================================================================ */
.how-it-works,
.features-section,
.dashboard-section,
.faq-section {
  padding: var(--section-gap) 0;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.65rem;
  background: var(--accent-blue-light);
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.section-intro h2 {
  margin-bottom: 0.75rem;
}

.section-intro .lead {
  margin-top: 0.25rem;
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  list-style: none;
}

.step-card {
  position: relative;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* Gradient accent line at top of step cards */
.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 50%, #6366f1 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow-lg);
}

.step-card:hover::before {
  opacity: 1;
}

.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-blue);
  margin-bottom: 1.25rem;
  opacity: 0.6;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  margin-bottom: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.08);
}

.step-card h3 {
  margin-bottom: 0.5rem;
}

.step-card p {
  margin: 0;
  font-size: 0.93rem;
}

/* ================================================================
   FEATURES
   ================================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  position: relative;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  overflow: hidden;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* Gradient accent line at top of feature cards */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 50%, #6366f1 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  margin-bottom: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.08);
}

.card-num {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--accent-blue);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.7;
}

.card p {
  margin: 0;
  font-size: 0.93rem;
}

.card-simulate-featured {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.04) 0%,
    rgba(14, 165, 233, 0.03) 50%,
    rgba(255, 255, 255, 0.8) 100%
  );
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease;
}

/* Gradient accent line at top of featured card */
.card-simulate-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 50%, #6366f1 100%);
}

.card-simulate-featured:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 40px -12px rgba(37, 99, 235, 0.18),
    0 8px 16px -8px rgba(15, 23, 42, 0.06);
}

.card-simulate-featured-content {
  flex: 1;
  min-width: 240px;
}

.card-simulate-featured-content p {
  margin: 0;
}

.simulate-before-after {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.sim-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.sim-state-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.sim-mini-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--surface-color);
  padding: 0.8rem 1rem;
  min-width: 148px;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.sim-mini-card-warning {
  border-color: rgba(180, 83, 9, 0.25);
  box-shadow:
    var(--shadow-sm),
    0 0 0 1px rgba(180, 83, 9, 0.08);
}

.sim-area-name {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-primary);
}

.sim-people {
  font-size: 0.72rem;
  color: var(--text-tertiary);
}

.sim-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.sim-arrow small {
  font-size: 0.63rem;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}

.features-sub-grid {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

/* Actions featured card accent */
.card-actions-featured::before {
  background: linear-gradient(90deg, #059669 0%, #2563eb 60%, #7c3aed 100%);
}

/* Actions widget – inline mini-cards */
.actions-widget {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-shrink: 0;
  min-width: 260px;
  max-width: 340px;
}

.action-mini-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow:
    0 2px 8px -2px rgba(15, 23, 42, 0.1),
    0 1px 3px rgba(15, 23, 42, 0.06);
}

.action-mini-card-done {
  opacity: 1;
}

.action-mini-status {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.action-mini-open {
  border: 2px solid #94a3b8;
  background: #f8fafc;
}

.action-mini-circle {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
}

.action-mini-complete {
  background: #d1fae5;
  border: 2px solid #10b981;
  color: #047857;
}

.action-mini-body {
  flex: 1;
  min-width: 0;
}

.action-mini-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin: 0;
}

.action-mini-card-done .action-mini-title {
  text-decoration: line-through;
  color: var(--text-tertiary);
}

.action-mini-meta {
  font-size: 0.68rem;
  color: var(--text-tertiary);
  margin: 0.2rem 0 0;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .actions-widget {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
}

/* ================================================================
   DASHBOARD PREVIEW
   ================================================================ */
.dashboard-window {
  width: 100%;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  background: var(--surface-color);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.dashboard-window:hover {
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.08),
    0 32px 64px -16px rgba(37, 99, 235, 0.18),
    0 16px 32px -8px rgba(15, 23, 42, 0.1);
}

.window-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(180deg, #f8f9fb 0%, #f1f3f5 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 0.6rem 1rem;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

.window-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
}

.window-dot-red {
  background: #ff5f57;
}
.window-dot-yellow {
  background: #febc2e;
}
.window-dot-green {
  background: #28c840;
}

.window-fake-url {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-align: center;
  font-family: var(--font-mono);
  max-width: 280px;
  margin: 0 auto;
}

.dashboard-preview {
  background: var(--surface-color);
}

.dashboard-inner {
  padding: 0;
}

.dashboard-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.dashboard-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
}

.dashboard-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0.15rem 0 0;
}

.metric-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.metric-tile {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-top-width: 3px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 0.9rem 1rem;
}

.metric-tile-hotspot {
  border-top-color: #fb7185;
}
.metric-tile-watch {
  border-top-color: #fbbf24;
}
.metric-tile-healthy {
  border-top-color: #34d399;
}
.metric-tile-spd {
  border-top-color: #cbd5e1;
}

.metric-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--surface-muted);
  color: var(--text-tertiary);
}

.metric-chip-hotspot {
  background: #fff1f2;
  color: #be123c;
  box-shadow: inset 0 0 0 1px rgba(190, 18, 60, 0.15);
}

.metric-chip-watch {
  background: #fffbeb;
  color: #b45309;
  box-shadow: inset 0 0 0 1px rgba(180, 83, 9, 0.15);
}

.metric-chip-healthy {
  background: #ecfdf5;
  color: #047857;
  box-shadow: inset 0 0 0 1px rgba(4, 120, 87, 0.15);
}

.metric-value {
  margin: 0.7rem 0 0;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.attention-panel {
  padding: 1rem 1.5rem 1.25rem;
}

.attention-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0 0 0.6rem;
}

.attention-strip {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.4rem;
}

.attention-strip-hotspot {
  background: #fff8f8;
  border-color: rgba(251, 113, 133, 0.25);
}

.attention-strip-watch {
  background: #fffdf5;
  border-color: rgba(251, 191, 36, 0.25);
}

.attention-strip:last-child {
  margin-bottom: 0;
}

.attention-areas {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
}

/* ================================================================
   FAQ
   ================================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.faq-card {
  position: relative;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--surface-color);
  box-shadow: var(--shadow-xs);
  padding: 1.75rem;
  overflow: hidden;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.faq-card:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow-md);
}

.faq-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.faq-card p {
  margin: 0;
  font-size: 0.93rem;
}

/* ================================================================
   FINAL CTA
   ================================================================ */
.final-cta-section {
  padding: var(--section-gap) 0 4rem;
}

.final-cta {
  text-align: center;
  padding: 5rem 2rem;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #1e40af 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow:
    0 24px 64px -16px rgba(15, 23, 42, 0.3),
    0 12px 24px -8px rgba(15, 23, 42, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Subtle noise/grain texture */
.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
}

/* Soft glow behind CTA content */
.final-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.final-cta h2 {
  color: #ffffff;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.final-cta .text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.final-cta .lead {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto 2.5rem;
  max-width: 480px;
  position: relative;
  z-index: 1;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-white {
  background: #ffffff;
  color: var(--accent-blue);
  border: 1px solid rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
  box-shadow:
    0 4px 14px -3px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.btn-white:hover {
  background: #f0f9ff;
  color: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px -6px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.btn-white-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-white-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    0 8px 24px -6px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.cta-note-light {
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent-blue);
}

.footer-bottom {
  padding-top: 1.5rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  margin: 0;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 1rem;
  }

  .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .metric-tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .nav-links .nav-link {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 820px) {
  .card-simulate-featured {
    flex-direction: column;
    align-items: flex-start;
  }

  .simulate-before-after {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  :root {
    --section-gap: 4.5rem;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .navbar-inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hotspot-grid {
    grid-template-columns: 1fr;
  }

  .hotspot-grid .map-card:nth-child(n + 3) {
    display: none;
  }

  .hero-actions {
    display: none;
  }

  .final-cta {
    padding: 3.5rem 1.5rem;
  }
}

@media (max-width: 520px) {
  .simulate-before-after {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .sim-state {
    align-items: stretch;
  }

  .sim-mini-card {
    min-width: unset;
    width: 100%;
  }

  .sim-arrow {
    flex-direction: row;
    justify-content: center;
  }

  .sim-arrow svg {
    transform: rotate(90deg);
  }

  .sim-mini-card {
    padding: 0.65rem 0.75rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .navbar-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-cta {
    padding: 0.42rem 0.8rem;
    font-size: 0.8rem;
  }

  .card {
    padding: 1.5rem;
  }

  .step-card {
    padding: 1.5rem;
  }

  .metric-tiles {
    grid-template-columns: 1fr;
  }
}
