.demo-page {
  background:
    linear-gradient(180deg, rgba(237, 242, 239, 0.9), rgba(255, 255, 255, 0.96) 44%),
    #fbfcf8;
}

.demo-hero,
.demo-stage,
.demo-conversion {
  width: var(--page);
  margin: 0 auto;
}

.demo-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: 70px;
  align-items: center;
  padding: 78px 0 72px;
}

.demo-start {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.demo-cover {
  position: relative;
  overflow: hidden;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
}

.demo-cover img {
  width: 100%;
  min-height: 500px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
}

.cover-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background: rgba(10, 35, 31, 0.90);
  box-shadow: 0 20px 50px rgba(10, 35, 31, 0.22);
}

.cover-caption strong,
.cover-caption span {
  display: block;
}

.cover-caption span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.demo-stage {
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1.38fr);
  gap: 20px;
  align-items: stretch;
  padding: 24px;
  border-radius: 8px;
  background: #eef3f0;
  box-shadow: 0 22px 62px rgba(35, 55, 49, 0.08);
}

.narration-panel,
.product-simulator,
.storyboard button,
.demo-conversion {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(35, 55, 49, 0.06);
}

.narration-panel {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 28px;
}

.step-count {
  margin-top: auto;
  color: var(--brass);
  font-size: 14px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.narration-panel h2 {
  margin-top: 14px;
  font-size: 40px;
}

.narration-panel > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.speaker-card {
  margin-top: 26px;
  padding: 18px;
  border-left: 4px solid var(--brass);
  border-radius: 8px;
  background: #fbfcf8;
}

.speaker-card span,
.speaker-card strong {
  display: block;
}

.speaker-card span {
  color: var(--jade-dark);
  font-size: 13px;
  font-weight: 900;
}

.speaker-card strong {
  margin-top: 8px;
  color: var(--ink-2);
  line-height: 1.65;
}

.demo-controls {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.demo-controls button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--jade-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  transition:
    transform 360ms var(--ease-out),
    background 360ms var(--ease-out);
}

.demo-controls button:hover {
  transform: translateY(-1px);
  background: var(--jade);
}

.product-simulator {
  overflow: hidden;
  min-height: 560px;
  background:
    linear-gradient(135deg, rgba(10, 79, 69, 0.96), rgba(20, 32, 29, 0.98)),
    var(--jade-dark);
}

.sim-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  font-weight: 800;
}

.sim-header strong {
  margin-left: auto;
  color: #fff;
}

.sim-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 5px rgba(181, 138, 69, 0.18);
}

.sim-body {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  padding: 20px;
}

.sim-phone,
.sim-dashboard {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.sim-phone {
  overflow: hidden;
  min-height: 488px;
}

.phone-top {
  padding: 18px;
  color: #fff;
  background: var(--jade);
}

.phone-top span,
.phone-top strong {
  display: block;
}

.phone-top span {
  font-size: 13px;
  font-weight: 850;
  opacity: 0.78;
}

.phone-top strong {
  margin-top: 6px;
  font-size: 20px;
}

.phone-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.phone-item {
  padding: 13px;
  border-radius: 8px;
  background: #f5f8f5;
  transform: translateY(0);
  transition:
    transform 460ms var(--ease-out),
    background 460ms var(--ease-out);
}

.phone-item:first-child {
  background: rgba(15, 127, 102, 0.10);
  transform: translateY(-2px);
}

.phone-item span,
.phone-item strong {
  display: block;
}

.phone-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.phone-item strong {
  margin-top: 4px;
  color: var(--ink);
  line-height: 1.45;
}

.sim-dashboard {
  padding: 22px;
  color: var(--ink);
}

.dash-title span,
.dash-title strong {
  display: block;
}

.dash-title span {
  color: var(--jade-dark);
  font-size: 13px;
  font-weight: 900;
}

.dash-title strong {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.2;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.metric-card {
  min-height: 118px;
  padding: 16px;
  border-radius: 8px;
  background: #f5f8f5;
}

.metric-card span,
.metric-card strong {
  display: block;
}

.metric-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.metric-card strong {
  margin-top: 8px;
  font-size: 26px;
  font-variant-numeric: tabular-nums;
}

.dash-note {
  margin-top: 18px;
  padding: 16px;
  border-left: 4px solid var(--brass);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfcf8;
  line-height: 1.65;
}

.storyboard {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.storyboard button {
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 14px;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    transform 360ms var(--ease-out),
    background 360ms var(--ease-out),
    color 360ms var(--ease-out);
}

.storyboard button:hover,
.storyboard button.active {
  color: #fff;
  background: var(--jade-dark);
  transform: translateY(-2px);
}

.storyboard span {
  color: var(--brass);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.storyboard strong {
  font-size: 15px;
}

.demo-conversion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 76px;
  margin-bottom: 92px;
  padding: 34px;
}

.demo-conversion h2 {
  max-width: 820px;
  font-size: 38px;
}

@media (max-width: 1120px) {
  .demo-hero,
  .demo-stage {
    grid-template-columns: 1fr;
  }

  .narration-panel,
  .product-simulator {
    min-height: auto;
  }

  .storyboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .demo-hero {
    gap: 34px;
    padding-top: 54px;
  }

  .demo-cover img {
    min-height: 330px;
  }

  .cover-caption {
    position: static;
    margin-top: 10px;
  }

  .demo-stage {
    width: calc(100% - 24px);
    padding: 12px;
  }

  .narration-panel {
    padding: 20px;
  }

  .narration-panel h2 {
    font-size: 31px;
  }

  .sim-body,
  .dash-grid,
  .storyboard {
    grid-template-columns: 1fr;
  }

  .sim-phone {
    min-height: auto;
  }

  .demo-conversion {
    align-items: stretch;
    flex-direction: column;
    margin-top: 54px;
    padding: 22px;
  }

  .demo-conversion h2 {
    font-size: 30px;
  }
}
