/* ============================================================
   pricing-animations.css — animations for the pricing page.
   NOT generated by Tailwind. Do not overwrite.
   ============================================================ */

/* ── 0. Theme-aware accent for the "who is this for" cards ──── */
body              { --who-accent: #2aa8ff; --who-accent-rgb: 42, 168, 255; }
body.theme-red    { --who-accent: #ff2a2a; --who-accent-rgb: 255, 42, 42; }
body.theme-green  { --who-accent: #39ff14; --who-accent-rgb: 57, 255, 20; }
body.theme-purple { --who-accent: #a855f7; --who-accent-rgb: 168, 85, 247; }

/* ── 1. Decipher reveal ──────────────────────────────────────── */
/* Hidden from first paint so the static text never flashes before
   the decipher effect takes over it — JS reveals each element the
   instant its own scramble-to-resolve animation begins. Layout
   space is kept (visibility, not display) so nothing shifts. */
#pricingLabel,
#pricingHeadline {
  visibility: hidden;
}

/* ── 2. Crossed-out monthly comparison ───────────────────────── */
/* Tailwind's `line-through` utility isn't present in the compiled
   stylesheet (purged as unused at build time), so the strikethrough
   never rendered — the old price just looked like plain text next
   to the new one. Drawn explicitly here instead. */
.price-was {
  text-decoration: line-through;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1.5px;
}

/* ── 4. Pro card border tracer ───────────────────────────────── */
@property --tracer-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.pricing-tracer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  padding: 3px;
  background: conic-gradient(
    from var(--tracer-angle),
    transparent 78%,
    rgba(42, 168, 255, 1) 87%,
    rgba(42, 168, 255, 0.45) 95%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: pricing-tracer-spin 4s linear infinite;
}

@keyframes pricing-tracer-spin {
  to { --tracer-angle: 360deg; }
}

body.theme-red .pricing-tracer {
  background: conic-gradient(
    from var(--tracer-angle),
    transparent 78%,
    rgba(255, 42, 42, 1) 87%,
    rgba(255, 42, 42, 0.45) 95%,
    transparent 100%
  );
}

body.theme-green .pricing-tracer {
  background: conic-gradient(
    from var(--tracer-angle),
    transparent 78%,
    rgba(57, 255, 20, 1) 87%,
    rgba(57, 255, 20, 0.45) 95%,
    transparent 100%
  );
}

body.theme-purple .pricing-tracer {
  background: conic-gradient(
    from var(--tracer-angle),
    transparent 78%,
    rgba(168, 85, 247, 1) 87%,
    rgba(168, 85, 247, 0.45) 95%,
    transparent 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .pricing-tracer { animation: none; }
}


/* ── 9. Ghosted staircase preview ─────────────────────────────
   Small glyph beside the "Your match" heading: three ascending
   bars with the middle (Pro) lit — a glimpse of the full climb
   that step 03 reveals, with the visitor's tier already in focus. */
.ghost-step {
  width: 14px;
  border: 1px solid #37444b;
  background-color: rgba(255, 255, 255, 0.02);
  opacity: 0.35;
}

.ghost-step-core { height: 28px; }
.ghost-step-pro  { height: 44px; opacity: 1; border-color: rgba(42, 168, 255, 1); background-color: rgba(42, 168, 255, 0.18); }
.ghost-step-max  { height: 60px; border-style: dashed; }

body.theme-red    .ghost-step-pro { border-color: rgba(255, 42, 42, 1);  background-color: rgba(255, 42, 42, 0.18); }
body.theme-green  .ghost-step-pro { border-color: rgba(57, 255, 20, 1);  background-color: rgba(57, 255, 20, 0.18); }
body.theme-purple .ghost-step-pro { border-color: rgba(168, 85, 247, 1); background-color: rgba(168, 85, 247, 0.18); }

/* ── 6. Comparison table row hover ──────────────────────────── */
.pricing-table-cell {
  transition: background-color 120ms ease;
}

.pricing-table-cell.row-hover {
  background-color: rgba(42, 168, 255, 0.07) !important;
}

.pricing-table-cell.row-hover.col-pro {
  background-color: rgba(42, 168, 255, 0.14) !important;
}

body.theme-red .pricing-table-cell.row-hover                  { background-color: rgba(255, 42,  42,  0.07) !important; }
body.theme-red .pricing-table-cell.row-hover.col-pro          { background-color: rgba(255, 42,  42,  0.14) !important; }
body.theme-green .pricing-table-cell.row-hover                { background-color: rgba(57,  255, 20,  0.07) !important; }
body.theme-green .pricing-table-cell.row-hover.col-pro        { background-color: rgba(57,  255, 20,  0.14) !important; }
body.theme-purple .pricing-table-cell.row-hover               { background-color: rgba(168, 85,  247, 0.07) !important; }
body.theme-purple .pricing-table-cell.row-hover.col-pro       { background-color: rgba(168, 85,  247, 0.14) !important; }

/* ══════════════════════════════════════════════════════════════
   Who section — terminal windows
   ══════════════════════════════════════════════════════════════ */

/* ── Panel ─────────────────────────────────────────────────── */
.who-terminal {
  border: 1px solid #37444b;
  background: #0e0e0e;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 480ms ease, transform 480ms ease, border-color 240ms ease, box-shadow 240ms ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.who-terminal.who-visible {
  opacity: 1;
  transform: translateY(0);
}

.who-terminals.who-has-hover .who-terminal:not(.who-hovered) {
  opacity: 0.25;
  transform: translateY(0);
}

.who-terminal.who-hovered {
  border-color: var(--who-accent);
  box-shadow: 0 0 0 1px rgba(var(--who-accent-rgb), 0.35), 0 16px 48px rgba(var(--who-accent-rgb), 0.12);
  transform: translateY(-6px) !important;
  opacity: 1 !important;
}

/* Scan line sweeps through body on hover */
.who-terminal.who-hovered .who-terminal-body::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 100px;
  background: linear-gradient(180deg, transparent, rgba(var(--who-accent-rgb), 0.05), transparent);
  animation: who-scan 2.8s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes who-scan {
  0%   { top: -100px; }
  100% { top: 100%;   }
}

/* ── Header ────────────────────────────────────────────────── */
.who-terminal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid #37444b;
  transition: border-color 240ms ease;
  flex-shrink: 0;
}

.who-terminal.who-hovered .who-terminal-header {
  border-bottom-color: rgba(var(--who-accent-rgb), 0.3);
}

.who-terminal-dots {
  display: flex;
  gap: 6px;
}

.who-terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #37444b;
  display: block;
  transition: background-color 240ms ease;
}

.who-terminal.who-hovered .who-terminal-dots span:nth-child(1) { background: var(--who-accent); }
.who-terminal.who-hovered .who-terminal-dots span:nth-child(2) { background: rgba(var(--who-accent-rgb), 0.55); }
.who-terminal.who-hovered .who-terminal-dots span:nth-child(3) { background: rgba(var(--who-accent-rgb), 0.2); }

.who-terminal-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7e9096;
  transition: color 240ms ease;
}

.who-terminal.who-hovered .who-terminal-title { color: var(--who-accent); }

.who-popular-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #001927;
  background: var(--who-accent);
  padding: 3px 8px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ── Body ──────────────────────────────────────────────────── */
.who-terminal-body {
  padding: 28px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* ── Lines — sequential reveal ─────────────────────────────── */
.who-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #7e9096;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 260ms ease, transform 260ms ease;
  position: relative;
  z-index: 1;
}

.who-terminal.who-visible .who-line:nth-child(1)  { opacity: 1; transform: none; transition-delay: 180ms; }
.who-terminal.who-visible .who-line:nth-child(2)  { opacity: 1; transform: none; transition-delay: 240ms; }
.who-terminal.who-visible .who-line:nth-child(3)  { opacity: 1; transform: none; transition-delay: 300ms; }
.who-terminal.who-visible .who-line:nth-child(4)  { opacity: 1; transform: none; transition-delay: 360ms; }
.who-terminal.who-visible .who-line:nth-child(5)  { opacity: 1; transform: none; transition-delay: 420ms; }
.who-terminal.who-visible .who-line:nth-child(6)  { opacity: 1; transform: none; transition-delay: 480ms; }
.who-terminal.who-visible .who-line:nth-child(7)  { opacity: 1; transform: none; transition-delay: 540ms; }
.who-terminal.who-visible .who-line:nth-child(8)  { opacity: 1; transform: none; transition-delay: 600ms; }
.who-terminal.who-visible .who-line:nth-child(9)  { opacity: 1; transform: none; transition-delay: 660ms; }
.who-terminal.who-visible .who-line:nth-child(10) { opacity: 1; transform: none; transition-delay: 720ms; }
.who-terminal.who-visible .who-line:nth-child(11) { opacity: 1; transform: none; transition-delay: 780ms; }
.who-terminal.who-visible .who-line:nth-child(12) { opacity: 1; transform: none; transition-delay: 840ms; }
.who-terminal.who-visible .who-line:nth-child(13) { opacity: 1; transform: none; transition-delay: 900ms; }
.who-terminal.who-visible .who-line:nth-child(14) { opacity: 1; transform: none; transition-delay: 960ms; }
.who-terminal.who-visible .who-line:nth-child(15) { opacity: 1; transform: none; transition-delay: 1020ms; }
.who-terminal.who-visible .who-line:nth-child(16) { opacity: 1; transform: none; transition-delay: 1080ms; }

/* Tier heading line */
.who-line-tier {
  font-size: 15px;
  font-weight: 700;
  color: #2aa8ff;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

body.theme-red    .who-line-tier { color: #ff2a2a; }
body.theme-green  .who-line-tier { color: #39ff14; }
body.theme-purple .who-line-tier { color: #a855f7; }

/* Price */
.who-price {
  color: #2aa8ff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.who-price-unit {
  font-size: 12px;
  color: #7e9096;
  font-weight: 400;
}

/* Description */
.who-line-desc {
  font-size: 15px;
  color: #e2e2e2;
  font-weight: 500;
  margin-bottom: 2px;
}

.who-line-sub {
  font-size: 12px;
  color: #7e9096;
  margin-bottom: 4px;
}

/* Divider */
.who-line-divider {
  height: 1px;
  background: #37444b;
  margin: 14px 0;
  transform: none !important;
}

/* Status rows */
.who-line-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 0;
}

.who-status-name {
  flex: 1;
  color: #b2c7d6;
  font-size: 12px;
}

.who-status-label {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.who-on      { color: #4ade80; }
.who-off     { color: #37444b; }
.who-limited { color: #f59e0b; }

/* Status dots */
.who-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.who-dot-on {
  background: #4ade80;
  animation: who-pulse-green 2.4s ease infinite;
}

.who-dot-off {
  background: #37444b;
}

.who-dot-limited {
  background: #f59e0b;
  animation: who-pulse-amber 3s ease infinite;
}

@keyframes who-pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}

@keyframes who-pulse-amber {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(245, 158, 11, 0); }
}

/* PICK THIS IF label */
.who-line-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4e6470;
  margin-top: 2px;
  margin-bottom: 2px;
}

/* Decision bullet lines */
.who-line-check {
  font-size: 12px;
  color: #a8bec8;
  line-height: 1.8;
  padding-left: 2px;
}

/* Sub-detail line (↳ terminal / workspace counts) */
.who-line-detail {
  font-size: 11px;
  color: #4e6470;
  padding-left: 18px;
  line-height: 1.6;
  margin-top: -2px;
  margin-bottom: 2px;
}

.who-line-detail-max {
  color: rgba(var(--who-accent-rgb), 0.5);
}

/* Blinking cursor */
.who-cursor {
  display: inline-block;
  opacity: 0;
  margin-left: 2px;
  animation: who-blink 1.1s step-end infinite;
}

.who-terminal.who-visible .who-cursor {
  opacity: 1;
}

@keyframes who-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Footer ────────────────────────────────────────────────── */
.who-terminal-footer {
  padding: 16px 24px;
  border-top: 1px solid #37444b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  transition: border-color 240ms ease;
  flex-shrink: 0;
}

.who-terminal.who-hovered .who-terminal-footer {
  border-top-color: rgba(var(--who-accent-rgb), 0.3);
}

.who-terminal-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7e9096;
  transition: color 240ms ease;
}

.who-terminal.who-hovered .who-terminal-label { color: var(--who-accent); }

.who-terminal-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--who-accent);
  text-decoration: none;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 240ms ease, transform 240ms ease;
  pointer-events: none;
}

.who-terminal.who-hovered .who-terminal-cta {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* ── Theme overrides ───────────────────────────────────────── */
/* Hover accents above now follow var(--who-accent) automatically.
   Only the popular badge's text color needs a per-theme override,
   since green is too light for white text. */
body.theme-green .who-popular-badge { color: #002600; }

@media (prefers-reduced-motion: reduce) {
  .who-terminal        { transition: opacity 1ms, border-color 1ms, box-shadow 1ms; transform: none !important; }
  .who-line            { transition: opacity 1ms; transform: none !important; }
  .who-terminal-cta   { transition: opacity 1ms; transform: none !important; }
  .who-dot-on, .who-dot-limited { animation: none; }
  .who-cursor          { animation: none; opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════
   // 03 — Upgrade Track
   ══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .pricing-tracer { animation: none; }
}


/* ── 9. Ghosted staircase preview ─────────────────────────────
   Small glyph beside the "Your match" heading: three ascending
   bars with the middle (Pro) lit — a glimpse of the full climb
   that step 03 reveals, with the visitor's tier already in focus. */
.ghost-step {
  width: 14px;
  border: 1px solid #37444b;
  background-color: rgba(255, 255, 255, 0.02);
  opacity: 0.35;
}

.ghost-step-core { height: 28px; }
.ghost-step-pro  { height: 44px; opacity: 1; border-color: rgba(42, 168, 255, 1); background-color: rgba(42, 168, 255, 0.18); }
.ghost-step-max  { height: 60px; border-style: dashed; }

body.theme-red    .ghost-step-pro { border-color: rgba(255, 42, 42, 1);  background-color: rgba(255, 42, 42, 0.18); }
body.theme-green  .ghost-step-pro { border-color: rgba(57, 255, 20, 1);  background-color: rgba(57, 255, 20, 0.18); }
body.theme-purple .ghost-step-pro { border-color: rgba(168, 85, 247, 1); background-color: rgba(168, 85, 247, 0.18); }

/* ── 6. Comparison table row hover ──────────────────────────── */
.pricing-table-cell {
  transition: background-color 120ms ease;
}

.pricing-table-cell.row-hover {
  background-color: rgba(42, 168, 255, 0.07) !important;
}

.pricing-table-cell.row-hover.col-pro {
  background-color: rgba(42, 168, 255, 0.14) !important;
}

body.theme-red .pricing-table-cell.row-hover                  { background-color: rgba(255, 42,  42,  0.07) !important; }
body.theme-red .pricing-table-cell.row-hover.col-pro          { background-color: rgba(255, 42,  42,  0.14) !important; }
body.theme-green .pricing-table-cell.row-hover                { background-color: rgba(57,  255, 20,  0.07) !important; }
body.theme-green .pricing-table-cell.row-hover.col-pro        { background-color: rgba(57,  255, 20,  0.14) !important; }
body.theme-purple .pricing-table-cell.row-hover               { background-color: rgba(168, 85,  247, 0.07) !important; }
body.theme-purple .pricing-table-cell.row-hover.col-pro       { background-color: rgba(168, 85,  247, 0.14) !important; }

/* ══════════════════════════════════════════════════════════════
   Who section — terminal windows
   ══════════════════════════════════════════════════════════════ */

/* ── Panel ─────────────────────────────────────────────────── */
.who-terminal {
  border: 1px solid #37444b;
  background: #0e0e0e;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 480ms ease, transform 480ms ease, border-color 240ms ease, box-shadow 240ms ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.who-terminal.who-visible {
  opacity: 1;
  transform: translateY(0);
}

.who-terminals.who-has-hover .who-terminal:not(.who-hovered) {
  opacity: 0.25;
  transform: translateY(0);
}

.who-terminal.who-hovered {
  border-color: var(--who-accent);
  box-shadow: 0 0 0 1px rgba(var(--who-accent-rgb), 0.35), 0 16px 48px rgba(var(--who-accent-rgb), 0.12);
  transform: translateY(-6px) !important;
  opacity: 1 !important;
}

/* Scan line sweeps through body on hover */
.who-terminal.who-hovered .who-terminal-body::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 100px;
  background: linear-gradient(180deg, transparent, rgba(var(--who-accent-rgb), 0.05), transparent);
  animation: who-scan 2.8s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes who-scan {
  0%   { top: -100px; }
  100% { top: 100%;   }
}

/* ── Header ────────────────────────────────────────────────── */
.who-terminal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid #37444b;
  transition: border-color 240ms ease;
  flex-shrink: 0;
}

.who-terminal.who-hovered .who-terminal-header {
  border-bottom-color: rgba(var(--who-accent-rgb), 0.3);
}

.who-terminal-dots {
  display: flex;
  gap: 6px;
}

.who-terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #37444b;
  display: block;
  transition: background-color 240ms ease;
}

.who-terminal.who-hovered .who-terminal-dots span:nth-child(1) { background: var(--who-accent); }
.who-terminal.who-hovered .who-terminal-dots span:nth-child(2) { background: rgba(var(--who-accent-rgb), 0.55); }
.who-terminal.who-hovered .who-terminal-dots span:nth-child(3) { background: rgba(var(--who-accent-rgb), 0.2); }

.who-terminal-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7e9096;
  transition: color 240ms ease;
}

.who-terminal.who-hovered .who-terminal-title { color: var(--who-accent); }

.who-popular-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #001927;
  background: var(--who-accent);
  padding: 3px 8px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ── Body ──────────────────────────────────────────────────── */
.who-terminal-body {
  padding: 28px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* ── Lines — sequential reveal ─────────────────────────────── */
.who-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #7e9096;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 260ms ease, transform 260ms ease;
  position: relative;
  z-index: 1;
}

.who-terminal.who-visible .who-line:nth-child(1)  { opacity: 1; transform: none; transition-delay: 180ms; }
.who-terminal.who-visible .who-line:nth-child(2)  { opacity: 1; transform: none; transition-delay: 240ms; }
.who-terminal.who-visible .who-line:nth-child(3)  { opacity: 1; transform: none; transition-delay: 300ms; }
.who-terminal.who-visible .who-line:nth-child(4)  { opacity: 1; transform: none; transition-delay: 360ms; }
.who-terminal.who-visible .who-line:nth-child(5)  { opacity: 1; transform: none; transition-delay: 420ms; }
.who-terminal.who-visible .who-line:nth-child(6)  { opacity: 1; transform: none; transition-delay: 480ms; }
.who-terminal.who-visible .who-line:nth-child(7)  { opacity: 1; transform: none; transition-delay: 540ms; }
.who-terminal.who-visible .who-line:nth-child(8)  { opacity: 1; transform: none; transition-delay: 600ms; }
.who-terminal.who-visible .who-line:nth-child(9)  { opacity: 1; transform: none; transition-delay: 660ms; }
.who-terminal.who-visible .who-line:nth-child(10) { opacity: 1; transform: none; transition-delay: 720ms; }
.who-terminal.who-visible .who-line:nth-child(11) { opacity: 1; transform: none; transition-delay: 780ms; }
.who-terminal.who-visible .who-line:nth-child(12) { opacity: 1; transform: none; transition-delay: 840ms; }
.who-terminal.who-visible .who-line:nth-child(13) { opacity: 1; transform: none; transition-delay: 900ms; }
.who-terminal.who-visible .who-line:nth-child(14) { opacity: 1; transform: none; transition-delay: 960ms; }
.who-terminal.who-visible .who-line:nth-child(15) { opacity: 1; transform: none; transition-delay: 1020ms; }
.who-terminal.who-visible .who-line:nth-child(16) { opacity: 1; transform: none; transition-delay: 1080ms; }

/* Tier heading line */
.who-line-tier {
  font-size: 15px;
  font-weight: 700;
  color: #2aa8ff;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

body.theme-red    .who-line-tier { color: #ff2a2a; }
body.theme-green  .who-line-tier { color: #39ff14; }
body.theme-purple .who-line-tier { color: #a855f7; }

/* Price */
.who-price {
  color: #2aa8ff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.who-price-unit {
  font-size: 12px;
  color: #7e9096;
  font-weight: 400;
}

/* Description */
.who-line-desc {
  font-size: 15px;
  color: #e2e2e2;
  font-weight: 500;
  margin-bottom: 2px;
}

.who-line-sub {
  font-size: 12px;
  color: #7e9096;
  margin-bottom: 4px;
}

/* Divider */
.who-line-divider {
  height: 1px;
  background: #37444b;
  margin: 14px 0;
  transform: none !important;
}

/* Status rows */
.who-line-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 0;
}

.who-status-name {
  flex: 1;
  color: #b2c7d6;
  font-size: 12px;
}

.who-status-label {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.who-on      { color: #4ade80; }
.who-off     { color: #37444b; }
.who-limited { color: #f59e0b; }

/* Status dots */
.who-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.who-dot-on {
  background: #4ade80;
  animation: who-pulse-green 2.4s ease infinite;
}

.who-dot-off {
  background: #37444b;
}

.who-dot-limited {
  background: #f59e0b;
  animation: who-pulse-amber 3s ease infinite;
}

@keyframes who-pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}

@keyframes who-pulse-amber {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(245, 158, 11, 0); }
}

/* PICK THIS IF label */
.who-line-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4e6470;
  margin-top: 2px;
  margin-bottom: 2px;
}

/* Decision bullet lines */
.who-line-check {
  font-size: 12px;
  color: #a8bec8;
  line-height: 1.8;
  padding-left: 2px;
}

/* Sub-detail line (↳ terminal / workspace counts) */
.who-line-detail {
  font-size: 11px;
  color: #4e6470;
  padding-left: 18px;
  line-height: 1.6;
  margin-top: -2px;
  margin-bottom: 2px;
}

.who-line-detail-max {
  color: rgba(var(--who-accent-rgb), 0.5);
}

/* Blinking cursor */
.who-cursor {
  display: inline-block;
  opacity: 0;
  margin-left: 2px;
  animation: who-blink 1.1s step-end infinite;
}

.who-terminal.who-visible .who-cursor {
  opacity: 1;
}

@keyframes who-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Footer ────────────────────────────────────────────────── */
.who-terminal-footer {
  padding: 16px 24px;
  border-top: 1px solid #37444b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  transition: border-color 240ms ease;
  flex-shrink: 0;
}

.who-terminal.who-hovered .who-terminal-footer {
  border-top-color: rgba(var(--who-accent-rgb), 0.3);
}

.who-terminal-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7e9096;
  transition: color 240ms ease;
}

.who-terminal.who-hovered .who-terminal-label { color: var(--who-accent); }

.who-terminal-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--who-accent);
  text-decoration: none;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 240ms ease, transform 240ms ease;
  pointer-events: none;
}

.who-terminal.who-hovered .who-terminal-cta {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* ── Theme overrides ───────────────────────────────────────── */
/* Hover accents above now follow var(--who-accent) automatically.
   Only the popular badge's text color needs a per-theme override,
   since green is too light for white text. */
body.theme-green .who-popular-badge { color: #002600; }

@media (prefers-reduced-motion: reduce) {
  .who-terminal        { transition: opacity 1ms, border-color 1ms, box-shadow 1ms; transform: none !important; }
  .who-line            { transition: opacity 1ms; transform: none !important; }
  .who-terminal-cta   { transition: opacity 1ms; transform: none !important; }
  .who-dot-on, .who-dot-limited { animation: none; }
  .who-cursor          { animation: none; opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════
   // 03 — Upgrade Track
   ══════════════════════════════════════════════════════════════ */

.climb-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding: 72px 0 56px;
  margin-bottom: 56px;
}

/* The rail line */
.climb-track-rail {
  position: absolute;
  top: 79px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: #37444b;
  z-index: 0;
}

.climb-track-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--who-accent) 0%, rgba(var(--who-accent-rgb),0.5) 100%);
  box-shadow: 0 0 10px rgba(var(--who-accent-rgb),0.35);
  transition: width 1400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.climb-track.climb-active .climb-track-fill { width: 100%; }

/* Nodes */
.climb-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  position: relative;
  z-index: 1;
  cursor: default;
}

.climb-node-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #37444b;
  background: #0d0d0d;
  transition: border-color 450ms ease, background 450ms ease, box-shadow 450ms ease, transform 220ms ease;
}

.climb-node-pro .climb-node-dot {
  width: 18px;
  height: 18px;
}

.climb-node.climb-node-lit .climb-node-dot {
  border-color: var(--who-accent);
  background: var(--who-accent);
  box-shadow: 0 0 0 5px rgba(var(--who-accent-rgb),0.12), 0 0 16px rgba(var(--who-accent-rgb),0.4);
}

.climb-node:hover .climb-node-dot {
  transform: scale(1.3);
}

.climb-node-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.climb-node-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4e6470;
  transition: color 300ms ease;
}

.climb-node.climb-node-lit .climb-node-name { color: #7e9096; }
.climb-node:hover .climb-node-name           { color: var(--who-accent); }

.climb-node-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #37444b;
  letter-spacing: 0.06em;
  transition: color 300ms ease;
}

.climb-node.climb-node-lit .climb-node-price { color: #4e6470; }
.climb-node:hover .climb-node-price          { color: #7e9096; }

.climb-node-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #001927;
  background: var(--who-accent);
  padding: 3px 10px;
  margin-bottom: 4px;
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 220ms ease;
}

/* Badge sits over the Pro dot — enlarge the badge on hover instead of
   letting the dot's glow scale up underneath it. */
.climb-node-pro:hover .climb-node-dot {
  transform: none;
}

.climb-node-pro:hover .climb-node-badge {
  transform: translateX(-50%) scale(1.08);
}

/* Callout */
.climb-node-callout {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: #0d0d0d;
  border: 1px solid #37444b;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease, border-color 200ms ease;
  z-index: 20;
}

.climb-node:hover .climb-node-callout {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  border-color: var(--who-accent);
  box-shadow: 0 8px 32px rgba(var(--who-accent-rgb),0.12);
}

/* Keep last callout from going off screen */
.climb-node:last-child .climb-node-callout {
  left: auto;
  right: 0;
  transform: translateY(-6px);
}
.climb-node:last-child:hover .climb-node-callout {
  transform: translateY(0);
}

.climb-callout-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #b2c7d6;
  line-height: 1.6;
}

.climb-callout-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--who-accent);
  text-decoration: none;
  margin-top: 4px;
  transition: opacity 150ms ease;
}
.climb-callout-cta:hover { opacity: 0.75; }

/* ══════════════════════════════════════════════════════════════
   // 03 — Mission Control Terminal (snap)
   ══════════════════════════════════════════════════════════════ */

.snap-terminal {
  border: 1px solid #37444b;
  background: #0d0d0d;
  overflow: hidden;
}

.snap-terminal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #37444b;
  flex-wrap: wrap;
}

.snap-terminal-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.snap-terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #37444b;
  display: block;
}

.snap-terminal-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7e9096;
  flex: 1;
}

.snap-col-tabs {
  display: flex;
  border: 1px solid #37444b;
  flex-shrink: 0;
}

.snap-tab {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4e6470;
  background: transparent;
  border: none;
  border-right: 1px solid #37444b;
  padding: 7px 16px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.snap-tab:last-child { border-right: none; }
.snap-tab:hover      { color: #b2c7d6; background: rgba(var(--who-accent-rgb),0.05); }

.snap-tab.snap-tab-active {
  color: var(--who-accent);
  background: rgba(var(--who-accent-rgb),0.08);
}

/* Body + grid */
.snap-body-wrap { overflow-x: auto; }

.snap-grid {
  display: grid;
  grid-template-columns: minmax(140px, 1.6fr) repeat(3, 1fr);
  min-width: 600px;
}

/* Cells */
.snap-cell {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #7e9096;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(55,68,75,0.6);
  border-right: 1px solid rgba(55,68,75,0.5);
  line-height: 1.5;
  transition: background 160ms ease, color 160ms ease;
  position: relative;
  opacity: 0;
  transform: translateX(-6px);
}

.snap-cell.snap-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 220ms ease, transform 220ms ease, background 160ms ease, color 160ms ease;
}

.snap-cell:last-child,
.snap-span-all { border-right: none; }

.snap-cell-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4e6470;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid #37444b;
  /* headers always visible */
  opacity: 1;
  transform: none;
}

.snap-cell-area {
  color: #7e9096;
}

.snap-section-cell {
  color: #4e6470;
  background: rgba(0,0,0,0.18);
  border-bottom: 1px solid #37444b;
  font-size: 11px;
  padding: 10px 18px;
  border-right: none;
}

.snap-span-all {
  grid-column: 1 / -1;
}

.snap-cell-center {
  text-align: center;
}

/* Active column highlight */
.snap-col-highlight {
  background: rgba(var(--who-accent-rgb),0.05);
  border-left: 1px solid rgba(var(--who-accent-rgb),0.2);
}

.snap-cell-head.snap-col-highlight {
  color: var(--who-accent);
  background: rgba(var(--who-accent-rgb),0.1);
  border-left-color: rgba(var(--who-accent-rgb),0.5);
}

/* Row hover — all cells in the same data-row highlight together via JS class */
.snap-cell.snap-row-hover {
  background: rgba(var(--who-accent-rgb),0.06);
  color: #c8d8e0;
}

.snap-cell.snap-col-highlight.snap-row-hover {
  background: rgba(var(--who-accent-rgb),0.1);
}

/* Value indicators */
.snap-ok      { color: #4ade80; font-weight: 700; }
.snap-dash    { color: #37444b; }
.snap-limited { color: #f59e0b; }

/* Cursor row */
.snap-cell-cursor {
  color: var(--who-accent);
  border-bottom: none;
  padding-top: 10px;
  padding-bottom: 18px;
  background: transparent !important;
  opacity: 1 !important;
  transform: none !important;
}

.snap-terminal-cursor {
  display: inline-block;
  animation: who-blink 1.1s step-end infinite;
}

/* Section scan typewriter cursor */
.snap-scan-cursor {
  display: inline-block;
  animation: who-blink 0.65s step-end infinite;
  color: #4e6470;
}

/* ══════════════════════════════════════════════════════════════
   Focused Single-Tier Snap View
   ══════════════════════════════════════════════════════════════ */

.snap-focus-body {
  padding: 0;
}

/* Scan header line */
.snap-scan-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #4e6470;
  padding: 14px 24px 10px;
  border-bottom: 1px solid rgba(55,68,75,0.4);
  min-height: 44px;
}

/* Feature list */
.snap-feat-list {
  padding: 8px 0;
}

/* Section dividers */
.snap-feat-section {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #37444b;
  padding: 16px 24px 8px;
  opacity: 0;
  transition: opacity 200ms ease;
}

.snap-feat-section.snap-in {
  opacity: 1;
}

/* Feature row */
.snap-feat-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(55,68,75,0.35);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease, background 150ms ease;
}

.snap-feat-row:last-child { border-bottom: none; }

.snap-feat-row.snap-in {
  opacity: 1;
  transform: none;
}

.snap-feat-row:hover {
  background: rgba(var(--who-accent-rgb),0.04);
}

/* Feature name */
.snap-feat-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #7e9096;
  width: 140px;
  flex-shrink: 0;
  transition: color 200ms ease;
}

.snap-feat-row:hover .snap-feat-name {
  color: #b2c7d6;
}

/* Bar track + fill */
.snap-feat-bar-track {
  flex: 1;
  height: 4px;
  background: rgba(55,68,75,0.5);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.snap-feat-bar {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: width 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background-color 300ms ease;
  background: var(--who-accent);
  box-shadow: 0 0 6px rgba(var(--who-accent-rgb),0.4);
}

/* Bar color states */
.snap-feat-bar.bar-active  { background: var(--who-accent); box-shadow: 0 0 6px rgba(var(--who-accent-rgb),0.4); }
.snap-feat-bar.bar-limited { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,0.4); }
.snap-feat-bar.bar-off     { background: transparent; box-shadow: none; }

/* Row hover — bar brightens */
.snap-feat-row:hover .snap-feat-bar.bar-active  { box-shadow: 0 0 10px rgba(var(--who-accent-rgb),0.7); }
.snap-feat-row:hover .snap-feat-bar.bar-limited { box-shadow: 0 0 10px rgba(245,158,11,0.7); }

/* Value label */
.snap-feat-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #b2c7d6;
  width: 220px;
  flex-shrink: 0;
  text-align: right;
  transition: opacity 180ms ease;
}

/* "Best for" row — no bar, value takes remaining space */
.snap-feat-row-nobar .snap-feat-val-solo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #b2c7d6;
  flex: 1;
  text-align: right;
}

/* Row out state (during tier switch) */
.snap-feat-row.snap-out {
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.snap-feat-section.snap-out {
  opacity: 0;
  transition: opacity 120ms ease;
}

/* Cursor line */
.snap-cursor-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--who-accent);
  padding: 12px 24px 18px;
}

/* Theme overrides for bars */
body.theme-red    .snap-feat-bar.bar-active { background: #ff2a2a; box-shadow: 0 0 6px rgba(255,42,42,0.4); }
body.theme-green  .snap-feat-bar.bar-active { background: #39ff14; box-shadow: 0 0 6px rgba(57,255,20,0.4); }
body.theme-purple .snap-feat-bar.bar-active { background: #a855f7; box-shadow: 0 0 6px rgba(168,85,247,0.4); }

@media (prefers-reduced-motion: reduce) {
  .climb-track-fill      { transition: width 1ms; }
  .climb-node-dot        { transition: none; }
  .climb-node-callout    { transition: none; }
  .snap-cell             { transition: none; }
  .snap-terminal-cursor  { animation: none; opacity: 1; }
  .snap-scan-cursor      { animation: none; opacity: 0; }
}

/* ── Pricing card hover scan + live process feed ─────────────── */

/* Lift card slightly off the page on hover */
.pricing-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

/* Includes list — items light up sequentially on hover */
.pricing-includes li {
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.pricing-card:hover .pricing-includes li {
  opacity: 1;
}

.pricing-includes li:nth-child(1) { transition-delay: 0ms; }
.pricing-includes li:nth-child(2) { transition-delay: 90ms; }
.pricing-includes li:nth-child(3) { transition-delay: 180ms; }
.pricing-includes li:nth-child(4) { transition-delay: 270ms; }
.pricing-includes li:nth-child(5) { transition-delay: 360ms; }

/* Live process feed footer */
.pricing-feed {
  margin-top: auto;
  padding-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: #6f8a9c;
  min-height: 1.6em;
  white-space: nowrap;
  overflow: hidden;
}

.pricing-feed-cursor {
  display: inline-block;
  margin-left: 2px;
  opacity: 0;
  animation: who-blink 1.1s step-end infinite;
}

.pricing-card:hover .pricing-feed-cursor,
.pricing-feed.feed-active .pricing-feed-cursor {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card         { transition: none; }
  .pricing-card:hover   { transform: none; }
  .pricing-includes li { transition: none; opacity: 1; }
  .pricing-feed-cursor { animation: none; opacity: 1; }
}
