/* Home page narrative set-pieces — Eyes, Brain, Hands.
   These are page-specific compositions, not primitives.
   See docs/DESIGN_LANGUAGE.md §6 for the philosophy. */

/* ============================================================
   HERO MOCKUP — real product screenshot floating
   ============================================================ */
.np-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
  text-align: center;
}
.np-hero-copy h1 {
  font-size: var(--type-hero);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}
.np-hero-copy h1 .accent { color: var(--accent-primary); }
.np-hero-copy h1 .accent-2 { color: var(--accent-secondary); }
.np-hero-lede {
  font-size: 22px;
  line-height: 1.5;
  color: var(--text-dark-sec);
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}
.np-hero-cta {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-md);
}
.np-hero-mockup {
  margin-top: var(--space-lg);
  position: relative;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.np-hero-mockup .sb-media {
  border: 1px solid var(--border-dark);
}
.np-hero-mockup::after {
  /* subtle glow */
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(closest-side, rgba(0,212,255,0.18), transparent 70%);
  z-index: -1;
  filter: blur(40px);
  pointer-events: none;
}

/* ============================================================
   SECTION GRID — 2-column section bodies (copy + media)
   ============================================================ */
.np-2col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
}
.np-2col-reverse { grid-template-columns: 1.2fr 1fr; }
.np-2col-reverse .np-2col-copy { order: 2; }

@media (max-width: 900px) {
  .np-2col, .np-2col-reverse { grid-template-columns: 1fr; gap: var(--space-lg); }
  .np-2col-reverse .np-2col-copy { order: 0; }
}

.np-2col-copy h2 {
  font-size: var(--type-h2);
  font-weight: 600;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}
.np-2col-copy h2 .accent { color: var(--accent-primary); }
.np-2col-copy h2 .accent-2 { color: var(--accent-secondary); }
.np-2col-copy p { font-size: 19px; line-height: 1.55; margin-bottom: var(--space-md); }
.np-2col-copy ul { list-style: none; padding: 0; margin: var(--space-md) 0 var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm); }
.np-2col-copy li { padding-left: 28px; position: relative; line-height: 1.5; }
.np-2col-copy li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 16px;
  background: var(--accent-primary-d);
  border: 1px solid var(--accent-primary);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--accent-primary);
}
.sb-section-light .np-2col-copy li::before {
  background: var(--accent-secondary-d);
  border-color: var(--accent-secondary);
  box-shadow: inset 0 0 0 3px var(--accent-secondary);
}

/* ============================================================
   EYES SET-PIECE — region selection draws on screenshot
   ============================================================ */
.np-eyes-stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-dark);
  aspect-ratio: 16/10;
  background: var(--bg-dark-2);
}
.np-eyes-stage img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.np-eyes-region {
  position: absolute;
  left: 32%; top: 28%;
  width: 0; height: 0;
  border: 2px solid var(--accent-primary);
  background: rgba(0,212,255,0.10);
  border-radius: 4px;
  pointer-events: none;
  box-shadow: 0 0 0 100vw rgba(6,8,13,0.45);
  transition: width 1.2s var(--ease), height 1.2s var(--ease);
}
.np-eyes-region.drawing { width: 32%; height: 38%; }
.np-eyes-region.snap {
  animation: np-eyes-snap 0.3s var(--ease);
}
@keyframes np-eyes-snap {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); border-color: var(--accent-secondary); }
  100% { transform: scale(1); }
}
.np-eyes-thumb {
  position: absolute;
  right: 16px; bottom: 16px;
  width: 80px; height: 60px;
  border-radius: 6px;
  border: 2px solid var(--accent-primary);
  background: var(--bg-dark-2);
  opacity: 0;
  transform: scale(0.4) translate(0, 0);
}
.np-eyes-thumb.fly {
  animation: np-eyes-fly 1.2s var(--ease) forwards;
}
@keyframes np-eyes-fly {
  0%   { opacity: 0; transform: scale(0.4) translate(-100px, -80px); }
  30%  { opacity: 1; transform: scale(1.1) translate(-50px, -40px); }
  100% { opacity: 1; transform: scale(1) translate(0, 0); }
}

/* ============================================================
   BRAIN SET-PIECE — text streams into chat panel
   ============================================================ */
.np-brain-stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-dark);
  background: var(--bg-dark-1);
  aspect-ratio: 16/10;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.np-brain-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-dark-1);
  border-bottom: 1px solid var(--border-dark);
}
.np-brain-titlebar .dot {
  width: 11px; height: 11px; border-radius: 50%;
  display: inline-block;
}
.np-brain-titlebar .dot-r { background: #ff5f57; }
.np-brain-titlebar .dot-y { background: #febc2e; }
.np-brain-titlebar .dot-g { background: #28c840; }
.np-brain-titlebar .url {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dark-mut);
  letter-spacing: 0.02em;
}
.np-brain-screenshot {
  background-size: cover;
  background-position: top;
  position: relative;
  border-bottom: 1px solid var(--border-dark);
}
.np-brain-chat {
  background: var(--bg-dark-1);
  padding: var(--space-md);
  border-top: 1px solid var(--border-dark);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dark-pri);
  min-height: 88px;
}
.np-brain-chat::before {
  content: '$ superbased ask';
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.np-brain-stream { color: var(--text-dark-sec); }
.np-brain-stream::after {
  content: '▍';
  color: var(--accent-secondary);
  animation: np-blink 1s steps(2) infinite;
  margin-left: 2px;
}
@keyframes np-blink { 50% { opacity: 0; } }

/* ============================================================
   HANDS SET-PIECE — cursor moves, clicks, types
   ============================================================ */
.np-hands-stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-dark);
  aspect-ratio: 16/10;
  background: var(--bg-dark-2);
}
.np-hands-stage img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.np-hands-cursor {
  position: absolute;
  width: 22px;
  height: 22px;
  background: white;
  border: 2px solid var(--bg-dark-0);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  z-index: 5;
  left: 70%; top: 70%;
  transition: left 1s var(--ease), top 1s var(--ease), transform 0.15s var(--ease);
  pointer-events: none;
}
.np-hands-cursor.step-1 { left: 35%; top: 22%; }
.np-hands-cursor.step-2 { left: 35%; top: 22%; transform: scale(0.7); }
.np-hands-cursor.step-3 { left: 50%; top: 60%; transform: scale(1); }
.np-hands-cursor.step-4 { left: 50%; top: 60%; transform: scale(0.7); }

.np-hands-action {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  background: rgba(6,8,13,0.85);
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--accent-primary);
  z-index: 6;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.is-running .np-hands-action { opacity: 1; }

/* ============================================================
   PILLAR PROOF (under hero, before acts)
   ============================================================ */
.np-trust {
  text-align: center;
}
.np-trust-strip {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ============================================================
   GET-IT (final CTA section)
   ============================================================ */
.np-getit {
  text-align: center;
}
.np-getit h2 {
  font-size: var(--type-h2);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}
.np-getit-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}
.np-getit-mini {
  display: grid;
  grid-template-columns: repeat(2, 240px);
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-xl);
}
.np-getit-mini .sb-card { text-align: left; }
.np-getit-mini h3 { font-size: 24px; margin-bottom: 4px; font-weight: 600; }
.np-getit-mini .price { font-family: var(--font-display); font-size: 36px; font-weight: 700; }
.np-getit-mini .price small { font-size: 14px; color: var(--text-dark-sec); font-weight: 400; }

@media (max-width: 600px) {
  .np-getit-mini { grid-template-columns: 1fr; }
}
