/* Product Demo Video showcase section (#product-demo) */
.demo-video-section {
  background: linear-gradient(180deg, #faf8f3 0%, #ffffff 30%);
  padding: 96px 0 88px;
  scroll-margin-top: 92px;
  border-top: 0;
}

.dv-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 34px;
}

.dv-header .eyebrow {
  color: #9b5911;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  margin-bottom: 10px;
}

.dv-header h2 {
  font-size: clamp(28px, 3.3vw, 40px);
  font-weight: 500;
  color: #0b1520;
  letter-spacing: -0.015em;
  line-height: 1.24;
  margin: 0 0 12px;
}

.dv-lead {
  font-size: 16px;
  line-height: 1.7;
  color: #496171;
  margin: 0;
}

.dv-frame {
  margin: 0 auto;
  max-width: 1060px;
  background: #0b1520;
  border: 1px solid #d5dfe6;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(11, 21, 32, 0.14), 0 4px 16px rgba(11, 21, 32, 0.06);
}

.dv-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  background: #0f1b29;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #9fb3c2;
  font-size: 12px;
}

.dv-dots {
  display: inline-flex;
  gap: 6px;
}

.dv-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.dv-bar-label {
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #c8d6e2;
}

.dv-duration {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.26);
  border-radius: 999px;
  padding: 2px 10px;
}

.dv-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #060a13;
}

.dv-player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #060a13;
}

.dv-play-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: radial-gradient(circle at center, rgba(6, 10, 19, 0.18) 0%, rgba(6, 10, 19, 0.42) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.28s ease, background 0.25s ease;
}

.dv-play-overlay:hover {
  background: radial-gradient(circle at center, rgba(6, 10, 19, 0.12) 0%, rgba(6, 10, 19, 0.34) 100%);
}

.dv-play-overlay:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: -4px;
}

.dv-play-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px 14px 18px;
  border-radius: 999px;
  background: rgba(9, 16, 30, 0.88);
  border: 1px solid rgba(56, 189, 248, 0.55);
  box-shadow: 0 18px 42px rgba(2, 6, 14, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  color: #f8fafc;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dv-play-overlay:hover .dv-play-pill {
  transform: scale(1.03);
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 22px 48px rgba(2, 6, 14, 0.65), 0 0 24px rgba(56, 189, 248, 0.25);
}

.dv-play-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  color: #06101f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dv-stage.is-started .dv-play-overlay {
  opacity: 0;
  pointer-events: none;
}

.dv-chapters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 16px;
  background: #0d1725;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.dv-chapter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 27, 44, 0.72);
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.dv-chapter-btn:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(20, 36, 58, 0.92);
  color: #f8fafc;
}

.dv-chapter-btn.is-active {
  border-color: rgba(56, 189, 248, 0.7);
  background: rgba(14, 165, 233, 0.16);
  color: #ffffff;
}

.dv-chapter-time {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: #38bdf8;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.dv-chapter-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dv-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: #f8fafb;
  color: #496171;
  font-size: 13px;
}

.dv-cta-link {
  border: 0;
  background: none;
  padding: 0;
  color: #124563;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.dv-cta-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .dv-chapters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .demo-video-section {
    padding: 54px 0 60px;
  }
  .dv-frame {
    border-radius: 13px;
  }
  .dv-chrome {
    padding: 9px 14px;
    font-size: 11px;
  }
  .dv-play-pill {
    padding: 10px 18px 10px 12px;
    font-size: 13.5px;
  }
  .dv-play-circle {
    width: 32px;
    height: 32px;
  }
  .dv-chapters {
    padding: 10px 12px;
    gap: 6px;
  }
  .dv-chapter-btn {
    padding: 8px 10px;
    font-size: 12px;
  }
  .dv-caption {
    padding: 12px 14px;
    font-size: 12.5px;
  }
}
