/* ==========================================================================
   HERO + SIGNATURE NETWORK GRAPH
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--space-10) + 2rem);
  padding-bottom: var(--space-9);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-graph-wrap { order: -1; height: 280px; }
}

.hero-copy .eyebrow { margin-bottom: var(--space-5); }

.hero h1 {
  font-size: var(--fs-display-xl);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-5);
}

.hero h1 .line { display: block; }

.hero-lede {
  font-size: var(--fs-body-lg);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: var(--space-6);
}

.hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-7);
}

.hero-stats {
  display: flex;
  gap: var(--space-7);
  flex-wrap: wrap;
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  display: block;
}

.hero-stat .label {
  font-size: var(--fs-caption);
  color: var(--text-muted);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

/* ---- Network graph ---- */
.hero-graph-wrap {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
}

#network-graph {
  width: 100%;
  height: 100%;
  display: block;
}

.graph-caption {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: var(--tracking-wide);
  pointer-events: none;
}

.graph-caption span { display: flex; align-items: center; gap: 6px; }

.graph-caption .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}

/* ---- Ambient backdrop ---- */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(124, 77, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 50% at 0% 80%, rgba(25, 211, 255, 0.10), transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(154,174,198,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154,174,198,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  z-index: 0;
}

@media (max-width: 560px) {
  .hero { min-height: auto; padding-top: calc(var(--space-9) + 1.5rem); }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas { flex-direction: column; }
}
