/* ============================================================
   DEMO v2 — Storytelling autoplay tour
   ============================================================ */

.demo-v2 {
  min-height: 100vh;
  padding-bottom: 80px;
}

/* === INTRO === */
.demo-v2-intro {
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}

.demo-v2-intro .eyebrow { margin-bottom: 14px; }

.demo-v2-intro h1 {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--text);
}
@media (max-width: 768px) {
  .demo-v2-intro h1 { font-size: 32px; }
}

.demo-v2-lead {
  font-size: 16px;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === STAGE === */
.demo-v2-stage {
  max-width: 1080px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.demo-v2-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 10px 10px 0 0;
  border-bottom: none;
}

.demo-v2-btn-play, .demo-v2-btn-restart {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.demo-v2-btn-play:hover, .demo-v2-btn-restart:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(31, 58, 92, 0.3);
}
.demo-v2-btn-restart {
  background: var(--bg-3);
  color: var(--text-2);
  border: 1px solid var(--border);
  font-size: 16px;
}
.demo-v2-btn-restart:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

.demo-v2-progress {
  flex: 1;
  height: 4px;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
}

.demo-v2-progress-bar {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 2px;
}

.demo-v2-scene-dots {
  display: flex;
  gap: 6px;
}

.demo-v2-scene-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-2);
  cursor: pointer;
  transition: all 0.2s;
}
.demo-v2-scene-dot:hover { transform: scale(1.4); }
.demo-v2-scene-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}
.demo-v2-scene-dot.completed {
  background: var(--accent);
  opacity: 0.4;
}

/* === FRAME (gdzie odgrywa się scena) === */
.demo-v2-frame {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 0 0 10px 10px;
  min-height: 500px;
  overflow: hidden;
  box-shadow:
    0 20px 40px -16px rgba(31, 58, 92, 0.15),
    0 8px 16px -8px rgba(31, 58, 92, 0.08);
}

/* === SCENE BASE === */
.scene {
  position: absolute;
  inset: 0;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}

.scene-active {
  opacity: 1;
  visibility: visible;
}

.scene-caption {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}
.scene-caption strong {
  color: var(--text);
  font-family: var(--font-serif);
  font-weight: 500;
}

.scene-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  flex: 1;
  align-items: center;
}
@media (max-width: 768px) {
  .scene-split { grid-template-columns: 1fr; gap: 16px; }
}

.scene-label {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}

/* ============================================================
   SCENE 0 — INTRO
   ============================================================ */
.scene-intro {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, var(--accent) 0%, #2c4d77 100%);
  margin: -36px -40px;
  padding: 36px 40px;
  color: white;
  position: relative;
  overflow: hidden;
}

.scene-intro::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  animation: intro-glow 8s ease-in-out infinite;
}
@keyframes intro-glow {
  0%, 100% { transform: translate(0, 0); opacity: 0.6; }
  50% { transform: translate(20px, 30px); opacity: 1; }
}

.scene-intro-clock {
  font-family: var(--font-serif);
  font-size: 96px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
  animation: clock-tick 1.6s ease-in-out;
}
@keyframes clock-tick {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

.scene-intro-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.scene-intro-subtitle {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.scene-intro-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.6;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

/* ============================================================
   SCENE 1 — KLIENT SKANUJE (telefon + panel)
   ============================================================ */
.scene-phone-wrap, .scene-panel-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-mockup {
  width: 240px;
  height: 460px;
  background: #1a1a1a;
  border-radius: 32px;
  padding: 8px;
  position: relative;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #2a2d33 0%, #1a1d23 100%);
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-app-header {
  padding: 38px 16px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 13px;
}
.phone-app-back { font-size: 22px; }
.phone-app-title { font-family: var(--font-serif); font-weight: 500; }

.phone-camera-frame {
  flex: 1;
  margin: 0 12px;
  background: #000;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.phone-paragon-flying {
  transform: rotate(-4deg) scale(0.85);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.phone-paragon-flying.captured {
  transform: rotate(0deg) scale(0.95);
}

.paragon-mini {
  background: #fef9ee;
  padding: 12px 14px;
  font-family: 'Courier New', monospace;
  font-size: 9px;
  color: #2a1f0e;
  width: 130px;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.paragon-mini-vendor {
  font-weight: 700;
  text-align: center;
  font-size: 11px;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.paragon-mini-line {
  display: flex;
  justify-content: space-between;
  margin: 2px 0;
}
.paragon-mini-line.bold { font-weight: 700; border-top: 1px dashed #2a1f0e; padding-top: 4px; margin-top: 6px; }

.phone-btn-capture {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 3px solid white;
  margin: 14px auto 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.phone-btn-capture.flashing {
  background: white;
  animation: capture-flash 0.4s;
}
.phone-btn-inner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  display: block;
}
@keyframes capture-flash {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); background: rgba(255, 255, 255, 0.5); }
}

.phone-status {
  position: absolute;
  bottom: 90px;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  font-size: 10px;
  opacity: 0.7;
}

/* === PANEL MOCKUP === */
.panel-mockup {
  width: 100%;
  max-width: 360px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px -10px rgba(31, 58, 92, 0.2);
  min-height: 320px;
  position: relative;
}

.panel-header {
  padding: 12px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel-tenant {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}
.panel-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
}

.panel-feed {
  padding: 16px;
  min-height: 240px;
}
.panel-feed-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-3);
  font-size: 13px;
}
.panel-feed-empty-icon {
  font-size: 32px;
  margin-bottom: 10px;
  opacity: 0.5;
}

.panel-toast {
  position: absolute;
  top: 70px;
  right: 14px;
  width: calc(100% - 28px);
  background: var(--bg);
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent);
  padding: 12px 14px;
  border-radius: 6px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 12px 32px -8px rgba(31, 58, 92, 0.25);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s, transform 0.4s;
  z-index: 5;
}
.panel-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.panel-toast-icon { font-size: 22px; }
.panel-toast-title {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}
.panel-toast-desc { font-size: 11px; color: var(--text-2); }

/* ============================================================
   SCENE 2 — AI ROZPOZNAJE
   ============================================================ */
.scene-paragon-full {
  display: flex;
  justify-content: center;
}

.paragon-card-large {
  background: #fef9ee;
  padding: 24px 28px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #2a1f0e;
  width: 280px;
  border-radius: 3px;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.2);
  position: relative;
}

.paragon-vendor-large {
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.paragon-vendor-sub-large {
  font-size: 11px;
  text-align: center;
  margin-bottom: 6px;
}
.paragon-meta-large {
  font-size: 10px;
  text-align: center;
  color: #4a3a1f;
  margin: 2px 0;
}

.paragon-divider {
  border-top: 1px dashed #2a1f0e;
  margin: 8px 0;
}
.paragon-line-large {
  display: flex;
  justify-content: space-between;
  margin: 4px 0;
  font-size: 12px;
}
.paragon-line-large.bold { font-weight: 700; font-size: 14px; }

.ph-highlight {
  position: relative;
  transition: background 0.4s;
}
.ph-highlight.scanning {
  background: rgba(31, 58, 92, 0.3);
  animation: scan-pulse 0.8s ease-in-out infinite;
}
.ph-highlight.found {
  background: rgba(26, 77, 62, 0.3);
}
@keyframes scan-pulse {
  0%, 100% { background: rgba(31, 58, 92, 0.2); }
  50% { background: rgba(31, 58, 92, 0.45); }
}

/* === AI RESULTS === */
.scene-ai-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.ai-status {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 6px;
  transition: all 0.3s;
}
.ai-status.done {
  background: rgba(26, 77, 62, 0.08);
  border-left-color: #1a4d3e;
  color: #1a4d3e;
}
.ai-status.done .ai-status-dots { display: none; }
.ai-status.done .ai-status-icon { animation: none; }

.ai-status-icon { font-size: 14px; animation: pulse-spin 1.4s linear infinite; }
@keyframes pulse-spin {
  from { opacity: 0.5; transform: rotate(0); }
  to { opacity: 1; transform: rotate(360deg); }
}

.ai-status-dots {
  margin-left: auto;
  display: inline-flex;
  gap: 3px;
}
.ai-status-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: dot-bounce 1.4s infinite ease-in-out;
}
.ai-status-dots span:nth-child(2) { animation-delay: 0.2s; }
.ai-status-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.ai-fields { display: flex; flex-direction: column; gap: 6px; }

.ai-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s;
}
.ai-field.revealed {
  opacity: 1;
  transform: translateX(0);
  background: var(--accent-soft);
  border-color: var(--accent);
}

.ai-field-label {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ai-field-value {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ai-field-text {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.ai-field-conf {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  font-weight: 500;
}

/* ============================================================
   SCENE 3 — ANOMALIA
   ============================================================ */
.scene-anomaly {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anomaly-doc-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.anomaly-doc-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.anomaly-doc-icon { font-size: 32px; }
.anomaly-doc-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 4px;
}
.anomaly-doc-vendor {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.anomaly-amounts {
  margin-bottom: 18px;
}
.anomaly-amount-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
}
.anomaly-amount-row.anomaly-amount-issue {
  border-top: 1px solid var(--border);
  padding-top: 10px;
  font-weight: 600;
  color: var(--text);
}

.anomaly-pulse {
  color: #d97777;
  margin-left: 6px;
  animation: anomaly-flash 1s ease-in-out infinite;
}
@keyframes anomaly-flash {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
}

.anomaly-warning {
  background: rgba(217, 119, 119, 0.1);
  border-left: 3px solid #d97777;
  padding: 14px 16px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s;
}
.anomaly-warning.show {
  opacity: 1;
  transform: translateY(0);
}
.anomaly-warning-title {
  color: #b14444;
  font-weight: 500;
  font-family: var(--font-serif);
  font-size: 14px;
  margin-bottom: 6px;
}
.anomaly-warning-detail {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}
.anomaly-warning-detail strong { color: var(--text); }

/* ============================================================
   SCENE 4 — BULK ACCEPT
   ============================================================ */
.scene-bulk { flex: 1; display: flex; flex-direction: column; }

.bulk-header {
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.bulk-header-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.bulk-header-meta {
  font-size: 12px;
  color: var(--text-3);
}

.bulk-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  max-height: 280px;
  overflow-y: auto;
}

.bulk-row {
  display: grid;
  grid-template-columns: 24px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 12px;
  transition: all 0.4s;
}
.bulk-row.checked {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.bulk-row.accepted {
  background: rgba(26, 77, 62, 0.08);
  border-color: #1a4d3e;
  color: var(--text-2);
}

.bulk-row-check {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border-2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  font-size: 11px;
  color: white;
  transition: all 0.2s;
}
.bulk-row.checked .bulk-row-check {
  background: var(--accent);
  border-color: var(--accent);
}
.bulk-row.checked .bulk-row-check::after { content: "✓"; }

.bulk-row.accepted .bulk-row-check {
  background: #1a4d3e;
  border-color: #1a4d3e;
}
.bulk-row.accepted .bulk-row-check::after { content: "✓"; }

.bulk-row-vendor { font-family: var(--font-serif); font-weight: 500; }
.bulk-row-amount { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.bulk-row-conf {
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 5px;
  border-radius: 2px;
}

.bulk-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--bg-2);
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
}
.bulk-action-bar.show {
  opacity: 1;
  transform: translateY(0);
}

.bulk-action-info { font-size: 13px; color: var(--text-2); }
.bulk-action-btn { font-size: 13px; }

/* ============================================================
   SCENE 5 — EKSPORT
   ============================================================ */
.scene-export { flex: 1; display: flex; flex-direction: column; gap: 18px; }

.export-month-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}
.export-month-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 14px;
}

.export-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.export-stat {
  text-align: center;
  padding: 12px 8px;
  background: var(--bg-3);
  border-radius: 4px;
}
.export-stat-value {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--accent);
}
.export-stat-label {
  font-size: 10px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.export-format-pick { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; }
.export-format-pick-label {
  font-size: 12px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.export-format-options { display: flex; gap: 6px; flex-wrap: wrap; }
.export-format-opt {
  padding: 6px 12px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-2);
  font-family: var(--font-mono);
}
.export-format-opt.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.export-progress {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  opacity: 0;
  transition: opacity 0.4s;
}
.export-progress.show { opacity: 1; }

.export-progress-label {
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 10px;
}
.export-progress-bar {
  height: 6px;
  background: var(--bg-3);
  border-radius: 3px;
  overflow: hidden;
}
.export-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #5a7ba8);
  transition: width 0.6s ease-out;
}

.export-result {
  background: rgba(26, 77, 62, 0.08);
  border: 1px solid #1a4d3e;
  border-left: 4px solid #1a4d3e;
  border-radius: 6px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s;
}
.export-result.show { opacity: 1; transform: translateY(0); }
.export-result-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #1a4d3e;
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold;
}
.export-result-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: #1a4d3e;
}
.export-result-meta { font-size: 11px; color: var(--text-3); margin-top: 2px; }

/* ============================================================
   SCENE 6 — WYNIK
   ============================================================ */
.scene-results {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.results-headline {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -1px;
  margin-bottom: 30px;
  color: var(--text);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 700px;
  margin-bottom: 36px;
}
@media (max-width: 768px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .results-headline { font-size: 26px; }
}

.result-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}
.result-card.show {
  opacity: 1;
  transform: translateY(0);
}
.result-card-1.show { transition-delay: 0s; }
.result-card-2.show { transition-delay: 0.2s; }
.result-card-3.show { transition-delay: 0.4s; }
.result-card-4.show { transition-delay: 0.6s; }

.result-value {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -1px;
}
.result-label {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 8px;
  letter-spacing: 0.02em;
}

.results-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.6;
  position: relative;
  padding: 0 24px;
}
.results-quote::before, .results-quote::after {
  content: '"';
  font-size: 32px;
  color: var(--accent);
  font-style: normal;
  position: absolute;
}
.results-quote::before { left: 0; top: -10px; }
.results-quote::after { right: 0; bottom: -20px; }

/* ============================================================
   REAL AI SECTION
   ============================================================ */
.demo-v2-real-ai {
  background: var(--bg-3);
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.real-ai-eyebrow {
  text-align: center;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
}

.demo-v2-real-ai h2 {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--text);
}
@media (max-width: 768px) { .demo-v2-real-ai h2 { font-size: 26px; } }

.demo-v2-real-ai h2 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
}

.real-ai-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}

.real-ai-dropzone-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.real-ai-dropzone {
  border: 2px dashed var(--border-2);
  background: var(--bg);
  padding: 56px 32px;
  text-align: center;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.3s;
}
.real-ai-dropzone:hover, .real-ai-dropzone.drag-over {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(31, 58, 92, 0.15);
}
.real-ai-dropzone-icon { color: var(--accent); margin-bottom: 16px; }
.real-ai-dropzone-title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text);
  margin-bottom: 6px;
}
.real-ai-dropzone-meta { font-size: 12px; color: var(--text-3); font-family: var(--font-mono); }

.real-ai-status {
  background: var(--bg);
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 6px;
  margin-top: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.real-ai-status.error {
  border-color: #d97777;
  background: rgba(217, 119, 119, 0.05);
  color: #b14444;
}

.real-ai-result {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin-top: 24px;
  box-shadow: 0 16px 32px -10px rgba(31, 58, 92, 0.15);
}

.real-ai-result h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 18px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.real-ai-result h3::before {
  content: "✓";
  width: 28px; height: 28px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.real-ai-result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
@media (max-width: 600px) { .real-ai-result-grid { grid-template-columns: 1fr; } }

.real-ai-result-field {
  background: var(--bg-3);
  padding: 12px 14px;
  border-radius: 6px;
  border-left: 3px solid var(--accent);
}
.real-ai-result-field-label {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.real-ai-result-field-value {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.real-ai-result-field-conf {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  margin-left: 8px;
}

.real-ai-result-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.real-ai-trust {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.real-ai-trust-item {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--text-3);
}
.real-ai-trust-icon { font-size: 16px; }
