/* Animated product walkthrough — free score → Interactive Code Review */

.ppc-product-demo {
  max-width: 920px;
  margin: 0 auto;
}

.ppc-demo-shell {
  background: #0c2340;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(12, 35, 64, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ppc-demo-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ppc-demo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.ppc-demo-dot:nth-child(1) { background: #e24b4a; }
.ppc-demo-dot:nth-child(2) { background: #efb927; }
.ppc-demo-dot:nth-child(3) { background: #1d9e75; }

.ppc-demo-url {
  flex: 1;
  margin-left: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ppc-demo-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 360px;
  background: #f4f7ff;
  overflow: hidden;
}

.ppc-demo-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
  padding: 20px 22px;
  overflow: auto;
}

.ppc-demo-scene.is-active {
  opacity: 1;
  pointer-events: auto;
}

.ppc-demo-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.ppc-demo-caption strong {
  color: #4dd9a8;
  font-weight: 600;
}

.ppc-demo-progress {
  display: flex;
  gap: 6px;
}

.ppc-demo-progress span {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.3s;
}

.ppc-demo-progress span.is-done { background: rgba(77, 217, 168, 0.45); }
.ppc-demo-progress span.is-current { background: #4dd9a8; }

/* Scene: paste */
.ppc-demo-paste-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 28px rgba(12, 35, 64, 0.12);
  max-width: 560px;
  margin: 12px auto 0;
}

.ppc-demo-paste-label {
  font-size: 11px;
  font-weight: 600;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.ppc-demo-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  line-height: 1.55;
  color: #0c2340;
  background: #f8faff;
  border: 1px dashed #c4d0e8;
  border-radius: 10px;
  padding: 12px;
  min-height: 140px;
  white-space: pre-wrap;
}

.ppc-demo-btn {
  display: block;
  width: 100%;
  margin-top: 14px;
  background: #1d9e75;
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.ppc-demo-btn.is-pulse {
  animation: ppcDemoPulse 1.2s ease infinite;
}

@keyframes ppcDemoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29, 158, 117, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(29, 158, 117, 0); }
}

/* Scene: loading */
.ppc-demo-loading {
  text-align: center;
  padding-top: 48px;
}

.ppc-demo-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e2e8f4;
  border-top-color: #1d9e75;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: ppcDemoSpin 0.9s linear infinite;
}

@keyframes ppcDemoSpin { to { transform: rotate(360deg); } }

.ppc-demo-steps {
  max-width: 280px;
  margin: 0 auto;
  text-align: left;
  font-size: 12px;
}

.ppc-demo-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  color: #718096;
}

.ppc-demo-step.is-active { color: #0c2340; font-weight: 600; }
.ppc-demo-step.is-done { color: #1d9e75; }

/* Scene: free score */
.ppc-demo-scores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.ppc-demo-score-tile {
  background: #fff;
  border: 1px solid #e2e8f4;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.ppc-demo-score-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #0c2340;
  line-height: 1;
}

.ppc-demo-score-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #718096;
  margin-top: 4px;
}

.ppc-demo-pillars {
  display: grid;
  gap: 8px;
}

.ppc-demo-pillar {
  background: #fff;
  border: 1px solid #e2e8f4;
  border-radius: 10px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}

.ppc-demo-pillar strong { color: #0c2340; display: block; font-size: 11px; }
.ppc-demo-pillar span { color: #718096; font-size: 10px; }

.ppc-demo-pillar-score {
  font-weight: 700;
  color: #0c447c;
  font-size: 15px;
}

.ppc-demo-pillar-bar {
  grid-column: 1 / -1;
  height: 4px;
  background: #edf1f9;
  border-radius: 2px;
  overflow: hidden;
}

.ppc-demo-pillar-bar i {
  display: block;
  height: 100%;
  background: #1d9e75;
  width: 0;
  transition: width 0.8s ease;
}

/* Scene: coach */
.ppc-demo-coach {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  height: 100%;
}

.ppc-demo-coach-bar {
  background: #0c2340;
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.ppc-demo-chip {
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  padding: 6px 4px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.ppc-demo-chip .v {
  display: block;
  font-size: 14px;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.55);
}

.ppc-demo-chip.is-active {
  border-color: #85b7eb;
  background: rgba(133, 183, 235, 0.12);
  color: #85b7eb;
}

.ppc-demo-chip.is-active .v { color: #fff; }

.ppc-demo-chip.is-bump .v {
  color: #4dd9a8;
  animation: ppcDemoBump 0.5s ease;
}

@keyframes ppcDemoBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.ppc-demo-coach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-height: 0;
}

.ppc-demo-code-pane {
  background: #0f1a2e;
  border-radius: 12px;
  padding: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.ppc-demo-code-pane .hl {
  background: rgba(133, 183, 235, 0.22);
  border-left: 2px solid #85b7eb;
  margin: 0 -12px;
  padding: 2px 12px;
}

.ppc-demo-q-pane {
  background: #fff;
  border: 1px solid #e2e8f4;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ppc-demo-q-meta {
  font-size: 10px;
  font-weight: 700;
  color: #1d9e75;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ppc-demo-q-text {
  font-size: 13px;
  font-weight: 600;
  color: #0c2340;
  line-height: 1.45;
}

.ppc-demo-answer {
  font-size: 12px;
  color: #4a5568;
  line-height: 1.55;
  border: 1px solid #e2e8f4;
  border-radius: 8px;
  padding: 10px;
  min-height: 72px;
}

.ppc-demo-answer .cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #0c2340;
  vertical-align: text-bottom;
  animation: ppcDemoBlink 0.9s step-end infinite;
}

@keyframes ppcDemoBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.ppc-demo-play-shell {
  margin-top: 16px;
}

.ppc-demo-play-btn {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #0c2340;
  box-shadow: 0 12px 48px rgba(12, 35, 64, 0.18);
  aspect-ratio: 960 / 676;
  min-height: 220px;
}

.ppc-demo-play-btn:focus-visible {
  outline: 3px solid #1d9e75;
  outline-offset: 3px;
}

.ppc-demo-play-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: top;
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 0;
}

.ppc-demo-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(12, 35, 64, 0.38);
  transition: background 0.2s ease;
}

.ppc-demo-play-btn:hover .ppc-demo-play-overlay {
  background: rgba(12, 35, 64, 0.52);
}

.ppc-demo-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(29, 158, 117, 0.92);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  padding-left: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.ppc-demo-play-label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.ppc-demo-video-wrap {
  margin-top: 16px;
}

.ppc-demo-video-wrap video {
  width: 100%;
  border-radius: 12px;
  background: #0c2340;
}

/* Landing / upload */
.ppc-demo-scene--landing { background: linear-gradient(180deg, #0c2340 0%, #0c2340 28%, #f4f7ff 28%); padding: 0; }
.ppc-demo-analyze-hero { background: #0c2340; color: #fff; text-align: center; font-family: 'Playfair Display', Georgia, serif; font-size: 15px; font-weight: 700; padding: 16px 16px 28px; }
.ppc-demo-upload-card { background: #fff; border-radius: 14px; margin: -18px 16px 12px; padding: 14px; box-shadow: 0 8px 32px rgba(12, 35, 64, 0.14); }
.ppc-demo-tabs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.ppc-demo-tab { font-size: 10px; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: #f4f7ff; color: #718096; }
.ppc-demo-tab.is-active { background: #0c2340; color: #fff; }
.ppc-demo-dropzone { border: 2px dashed #c4d0e8; border-radius: 12px; padding: 22px 14px; text-align: center; background: #f8faff; }
.ppc-demo-drop-ico { font-size: 28px; margin-bottom: 6px; }
.ppc-demo-drop-title { font-size: 12px; font-weight: 600; color: #0c2340; margin-bottom: 4px; }
.ppc-demo-drop-title em { color: #1d9e75; font-style: normal; }
.ppc-demo-drop-sub { font-size: 10px; color: #718096; }
.ppc-demo-trust { font-size: 10px; color: #4a5568; line-height: 1.45; margin-top: 10px; padding: 8px 10px; background: #f4f7ff; border-radius: 8px; }
.ppc-demo-ai-q { font-size: 11px; font-weight: 600; color: #0c2340; margin: 10px 0 6px; }
.ppc-demo-ai-opt { font-size: 10px; color: #2d3748; margin-bottom: 8px; }
.ppc-demo-ai-opt .is-on { color: #1d9e75; }

/* Results — matches analyze scorecard */
.ppc-demo-scene--results { padding: 14px 16px; }
.ppc-demo-res-meta { font-size: 10px; color: #718096; margin-bottom: 10px; }
.ppc-demo-res-meta strong { font-family: 'Playfair Display', Georgia, serif; font-size: 14px; color: #0c2340; }
.ppc-demo-scorecard { background: #0c2340; border-radius: 14px; padding: 14px; margin-bottom: 10px; }
.ppc-demo-summary { font-size: 11px; color: rgba(255, 255, 255, 0.85); line-height: 1.5; margin: 10px 0 0; }
.ppc-demo-score-tile { display: flex; align-items: center; gap: 8px; background: rgba(133, 183, 235, 0.08); border: 1px solid rgba(133, 183, 235, 0.25); border-radius: 10px; padding: 8px; }
.ppc-demo-score-ring { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #85b7eb; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', Georgia, serif; font-size: 14px; font-weight: 700; color: #85b7eb; flex-shrink: 0; }
.ppc-demo-score-band { font-size: 11px; font-weight: 700; color: #fff; }
.ppc-demo-pillar-mini { display: grid; gap: 6px; margin-bottom: 8px; }
.ppc-demo-pillar-row { background: #fff; border: 1px solid #e2e8f4; border-radius: 8px; padding: 8px 10px; display: grid; grid-template-columns: 1fr auto; gap: 4px; font-size: 10px; color: #4a5568; align-items: center; }
.ppc-demo-pillar-row strong { color: #0c447c; font-size: 13px; }
.ppc-demo-pillar-row .ppc-demo-pillar-bar { grid-column: 1 / -1; height: 3px; background: #edf1f9; border-radius: 2px; overflow: hidden; }
.ppc-demo-pillar-row .ppc-demo-pillar-bar i { display: block; height: 100%; background: #1d9e75; width: 0; transition: width 0.7s ease; }
.ppc-demo-upgrade { text-align: center; font-size: 11px; font-weight: 700; color: #1d9e75; padding: 8px; border: 1px solid rgba(29, 158, 117, 0.35); border-radius: 8px; background: rgba(29, 158, 117, 0.08); }

/* Email capture */
.ppc-demo-scene--email { padding: 16px; display: flex; align-items: center; justify-content: center; }
.ppc-demo-email-card { background: #fff; border: 1px solid #e2e8f4; border-radius: 14px; padding: 16px; width: 100%; max-width: 520px; box-shadow: 0 4px 20px rgba(12, 35, 64, 0.08); }
.ppc-demo-email-ey { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #1d9e75; margin-bottom: 6px; }
.ppc-demo-email-h { font-family: 'Playfair Display', Georgia, serif; font-size: 15px; color: #0c2340; margin: 0 0 6px; line-height: 1.3; }
.ppc-demo-email-sub { font-size: 11px; color: #4a5568; line-height: 1.45; margin: 0 0 12px; }
.ppc-demo-email-row { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.ppc-demo-email-input { flex: 1; min-width: 140px; border: 1.5px solid #e2e8f4; border-radius: 8px; padding: 9px 10px; font-size: 12px; font-family: inherit; }
.ppc-demo-email-btn { background: #1d9e75; color: #fff; border: none; border-radius: 8px; padding: 9px 12px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.ppc-demo-email-check { display: block; font-size: 11px; color: #2d3748; margin-bottom: 6px; }
.ppc-demo-email-check.is-checked { color: #1d9e75; font-weight: 600; }
.ppc-demo-email-fine { font-size: 10px; color: #718096; }

/* Coach — suggestions panel */
.ppc-demo-scene--coach { padding: 12px 14px; }
.ppc-demo-coach-right { display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow: hidden; }
.ppc-demo-tips-panel { background: #f8faff; border: 1px solid #e2e8f4; border-radius: 10px; padding: 10px; }
.ppc-demo-tips-head { font-size: 10px; font-weight: 700; color: #0c2340; margin-bottom: 4px; }
.ppc-demo-tips-head span { color: #718096; font-weight: 600; }
.ppc-demo-tips-gap { font-size: 10px; color: #4a5568; margin: 0 0 6px; line-height: 1.4; }
.ppc-demo-tips-list { margin: 0; padding-left: 16px; font-size: 10px; color: #2d3748; line-height: 1.45; }
.ppc-demo-tip { margin-bottom: 4px; transition: opacity 0.4s ease; }
.ppc-demo-tip--high::marker { color: #b7791f; }
.ppc-demo-tip--med::marker { color: #0c447c; }
.ppc-demo-loading-title { font-size: 14px; font-weight: 600; color: #0c2340; margin-bottom: 12px; }

.ppc-demo-coach-save {
  align-self: flex-start;
  margin-top: 4px;
  background: #1d9e75;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: default;
}

.ppc-demo-coach-save.is-pulse {
  animation: ppcDemoPulse 1.2s ease infinite;
  box-shadow: 0 0 0 0 rgba(29, 158, 117, 0.45);
}

@keyframes ppcDemoPulse {
  0% { box-shadow: 0 0 0 0 rgba(29, 158, 117, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(29, 158, 117, 0); }
  100% { box-shadow: 0 0 0 0 rgba(29, 158, 117, 0); }
}

/* Revise scene */
.ppc-demo-scene--revise {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ppc-demo-revise {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border: 1px solid #e2e8f4;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(12, 35, 64, 0.08);
}

.ppc-demo-revise-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d9e75;
  margin-bottom: 8px;
}

.ppc-demo-revise-box {
  font-size: 12px;
  line-height: 1.55;
  color: #2d3748;
  border: 1px solid #e2e8f4;
  border-radius: 10px;
  padding: 12px;
  min-height: 120px;
  background: #f8faff;
}

.ppc-demo-revise-actions {
  margin-top: 12px;
}

.ppc-demo-revise-status {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  color: #0c447c;
}

/* Impact / score improvement */
.ppc-demo-scene--impact {
  padding: 14px 16px;
  background: #f4f7ff;
}

.ppc-demo-impact-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.ppc-demo-scorebar {
  background: #0c2340;
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  gap: 8px;
}

.ppc-demo-scorebar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.ppc-demo-scorebar-label {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.ppc-demo-scorebar-nums {
  display: flex;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.ppc-demo-scorebar-nums .before {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.ppc-demo-scorebar-nums .arrow {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 700;
}

.ppc-demo-scorebar-nums .after {
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
}

.ppc-demo-scorebar-nums .delta {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(77, 217, 168, 0.2);
  color: #4dd9a8;
}

.ppc-demo-scorebar-nums .delta.is-flash {
  animation: ppcDemoBump 0.5s ease;
}

.ppc-demo-impact-card {
  flex: 1;
  padding: 16px 18px;
  background: linear-gradient(135deg, #f0fdf8 0%, #fff 72%);
  border: 1px solid rgba(29, 158, 117, 0.28);
  border-radius: 14px;
}

.ppc-demo-impact-head {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #0c2340;
  margin-bottom: 4px;
}

.ppc-demo-impact-sub {
  font-size: 12px;
  color: #4a5568;
  margin-bottom: 14px;
}

.ppc-demo-impact-group {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #718096;
  margin: 12px 0 8px;
}

.ppc-demo-impact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e2e8f4;
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #0c2340;
}

.ppc-demo-impact-row.is-active {
  border-color: rgba(12, 68, 124, 0.35);
  background: #f8faff;
  box-shadow: 0 2px 8px rgba(12, 68, 124, 0.06);
}

.ppc-demo-impact-values {
  display: flex;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.ppc-demo-impact-values .before {
  font-size: 14px;
  font-weight: 600;
  color: #718096;
}

.ppc-demo-impact-values .arrow {
  color: #cbd5e0;
  font-weight: 700;
}

.ppc-demo-impact-values .after {
  font-size: 16px;
  font-weight: 700;
  color: #0c2340;
}

.ppc-demo-impact-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(29, 158, 117, 0.15);
  color: #0d6b4f;
}

.ppc-demo-impact-badge.is-flash {
  animation: ppcDemoBump 0.5s ease;
}

.ppc-demo-impact-foot {
  font-size: 11px;
  color: #718096;
  margin: 12px 0 0;
  line-height: 1.45;
}

@media (max-width: 700px) {
  .ppc-demo-scores { grid-template-columns: 1fr; }
  .ppc-demo-coach-grid { grid-template-columns: 1fr; }
  .ppc-demo-coach-bar { grid-template-columns: repeat(3, 1fr); }
}

/* Product Hunt reel — 1280×720, vibe-coder focused */
.ppc-product-demo--ph {
  max-width: none;
  width: 1280px;
  height: 720px;
}

.ppc-product-demo--ph .ppc-demo-shell {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  position: relative;
}

.ppc-product-demo--ph .ppc-demo-stage {
  flex: 1;
  aspect-ratio: unset;
  min-height: 0;
  font-size: 115%;
}

.ppc-product-demo--ph .ppc-demo-stage.is-dark {
  background: #0c2340;
}

.ppc-product-demo--ph .ppc-demo-code {
  font-size: 13px;
  min-height: 160px;
}

.ppc-product-demo--ph .ppc-demo-btn {
  font-size: 16px;
  padding: 14px;
}

.ppc-product-demo--ph .ppc-demo-summary {
  font-size: 13px;
}

.ppc-product-demo--ph .ppc-demo-ph-hint {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 2;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.04em;
  pointer-events: none;
}

.ppc-demo-scene--hook,
.ppc-demo-scene--cta {
  background: #0c2340;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ppc-demo-hook,
.ppc-demo-ph-cta {
  text-align: center;
  color: #fff;
  padding: 24px;
}

.ppc-demo-hook-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1d9e75, #4dd9a8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #0c2340;
  margin: 0 auto 24px;
  box-shadow: 0 12px 40px rgba(29, 158, 117, 0.35);
}

.ppc-demo-hook-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.ppc-demo-hook-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto;
}

.ppc-demo-hook-pill {
  display: inline-block;
  margin-top: 22px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(29, 158, 117, 0.2);
  border: 1px solid rgba(77, 217, 168, 0.45);
  color: #4dd9a8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ppc-demo-cta-url {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  color: #4dd9a8;
  margin: 10px 0 16px;
}

.ppc-demo-diagnosis {
  background: rgba(183, 121, 31, 0.12);
  border: 1px solid rgba(183, 121, 31, 0.35);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: #2d3748;
  line-height: 1.45;
}

.ppc-demo-diagnosis-ey {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b7791f;
  margin-bottom: 4px;
}

.ppc-demo-pillar-row--weak {
  border-color: rgba(183, 121, 31, 0.45);
  background: rgba(183, 121, 31, 0.06);
}

.ppc-demo-pillar-row--weak strong {
  color: #b7791f;
}

.ppc-demo-scene--pillars {
  padding: 16px 20px;
  overflow: hidden;
}

.ppc-demo-pillars-head {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  color: #0c2340;
  margin-bottom: 12px;
}

.ppc-demo-pillars-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ppc-demo-pillar-card {
  background: #fff;
  border: 1px solid #e2e8f4;
  border-radius: 12px;
  padding: 12px 14px;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.ppc-demo-pillar-card.is-weak {
  border-color: rgba(183, 121, 31, 0.45);
  background: rgba(183, 121, 31, 0.04);
}

.ppc-demo-pillar-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.ppc-demo-pillar-q {
  font-size: 12px;
  font-weight: 600;
  color: #0c2340;
  line-height: 1.35;
}

.ppc-demo-pillar-statute {
  font-size: 10px;
  color: #718096;
  margin-top: 3px;
}

.ppc-demo-pillar-score {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #0c447c;
  flex-shrink: 0;
}

.ppc-demo-pillar-card.is-weak .ppc-demo-pillar-score {
  color: #b7791f;
}

.ppc-demo-pillar-finding {
  font-size: 11px;
  color: #4a5568;
  line-height: 1.45;
  margin-top: 8px;
}

.ppc-demo-scene--human {
  padding: 16px 20px;
}

.ppc-demo-human-ey {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1d9e75;
  margin-bottom: 10px;
}

.ppc-demo-human-scores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.ppc-demo-score-tile.is-highlight {
  border-color: rgba(77, 217, 168, 0.55);
  background: rgba(29, 158, 117, 0.12);
  box-shadow: 0 0 0 1px rgba(77, 217, 168, 0.2);
}

.ppc-demo-ai-panel {
  background: #fff;
  border: 1px solid #e2e8f4;
  border-radius: 12px;
  padding: 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ppc-demo-ai-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ppc-demo-ai-badge {
  font-size: 12px;
  font-weight: 600;
  color: #0c2340;
  margin-bottom: 8px;
}

.ppc-demo-ai-badge span {
  color: #1d9e75;
}

.ppc-demo-ai-note {
  font-size: 12px;
  color: #4a5568;
  line-height: 1.5;
  margin: 0;
}

.ppc-demo-scene--insight {
  padding: 16px 20px;
}

.ppc-demo-prior-art {
  text-align: center;
  background: #0c2340;
  color: #fff;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
}

.ppc-demo-prior-num {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 40px;
  color: #4dd9a8;
  line-height: 1;
}

.ppc-demo-prior-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 6px;
}

.ppc-demo-opp-card {
  background: #fff;
  border: 1px solid #e2e8f4;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.ppc-demo-opp-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ppc-demo-opp-head {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #718096;
  margin-bottom: 6px;
}

.ppc-demo-opp-impact {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(183, 121, 31, 0.15);
  color: #b7791f;
  margin-right: 6px;
}

.ppc-demo-opp-impact.is-med {
  background: rgba(12, 68, 124, 0.12);
  color: #0c447c;
}

.ppc-demo-opp-title {
  font-size: 13px;
  font-weight: 600;
  color: #0c2340;
  line-height: 1.4;
}

.ppc-demo-opp-body {
  font-size: 11px;
  color: #4a5568;
  line-height: 1.45;
  margin: 8px 0 0;
}
