/* -----------------------------------------------------------
   SLIDE 5 — LIVE PROOF  (redesigned)
   ═══════════════════════════════════════════════════════════ */

/* Outer two-column layout: left=header+cards, right=robot photo */
.proof-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;  /* vertically center both columns */
  min-height: 580px;    /* push content to fill the 720px slide */
}

.proof-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proof-left .slide-header {
  margin-bottom: 0;
}

.proof-left h2 {
  font-size: 42px;
  margin-top: 8px;
  letter-spacing: -0.6px;
}

/* Stack cards: horizontal row (icon + text) */
.built-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.stack-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.32,0.72,0,1),
              box-shadow 0.3s cubic-bezier(0.32,0.72,0,1);
}

.stack-card:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-md);
}

/* Icon box — MUST have explicit min/max-width to prevent flex stretch */
.stack-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  flex-grow: 0;
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(37,99,235,0.2);
  background: rgba(220,237,255,0.5);
  color: var(--blue);
}

.stack-icon svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Icon colour variants */
.stack-icon-vision  { background: rgba(220,237,255,0.6); color: #2563eb; }
.stack-icon-control { background: rgba(220,255,237,0.6); color: #059669; border-color: rgba(5,150,105,0.2); }
.stack-icon-robot   { background: rgba(255,237,220,0.6); color: #d97706; border-color: rgba(217,119,6,0.2); }
.stack-icon-hw      { background: rgba(237,220,255,0.6); color: #7c3aed; border-color: rgba(124,58,237,0.2); }

/* Text wrapper inside stack-card — use explicit class to avoid matching icon div */
.stack-text { flex: 1; min-width: 0; }

.stack-card span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Per-card label colour */
.stack-card:has(.stack-icon-vision)  span { color: #2563eb; }
.stack-card:has(.stack-icon-control) span { color: #059669; }
.stack-card:has(.stack-icon-robot)   span { color: #d97706; }
.stack-card:has(.stack-icon-hw)      span { color: #7c3aed; }

.stack-card strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.stack-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
}

/* Right: robot photo frame — stretches to match left column height */
.proof-robot-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;  /* fill the same height as left column */
  min-height: 480px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(37,99,235,0.09) 0%, transparent 65%),
    linear-gradient(145deg, #eef4ff, #f6f9ff);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Inner blueprint grid overlay */
.proof-robot-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.proof-robot-img {
  position: relative;
  z-index: 1;
  /* object-contain so the FULL robot is always visible */
  width: auto;
  max-width: 90%;
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

/* Hardware annotation pills on the photo frame */
.hw-pin {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border: 1px solid rgba(37,99,235,0.28);
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(15,35,80,0.11);
  white-space: nowrap;
}

.hw-pin::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* Position pins relative to where they appear on the portrait robot photo */
.hw-pin-top { top: 15%; right: 12%; }
.hw-pin-mid { top: 18%; left: 10%; }
.hw-pin-bot { bottom: 23%; left: 28%; }

/* Shared type scale — scoped to use-card and timeline only (built-stack has its own rules in proof-slide) */
.use-card span,
.timeline span {
  display: block;
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.use-card strong,
.timeline strong {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.12;
  font-weight: 800;
}

/* ═══════════════════════════════════════════════════════════
