/* Vertical product demo video. Keep the source fully visible on every screen. */
.demo-video-section {
  position: relative;
  overflow: hidden;
  padding: 104px 24px;
  color: #f4fbff;
  background: #0a3153;
  isolation: isolate;
}
.demo-video-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .42;
  background:
    radial-gradient(circle at 20% 10%, rgba(63, 201, 226, .22), transparent 34%),
    linear-gradient(135deg, transparent 0 62%, rgba(54, 189, 219, .12) 62.2%, transparent 62.6%),
    repeating-linear-gradient(125deg, transparent 0 108px, rgba(168, 231, 244, .08) 109px, transparent 111px 216px);
}
.demo-video-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(300px, .76fr);
  align-items: center;
  gap: clamp(38px, 6vw, 82px);
  max-width: var(--max);
  margin: 0 auto;
}
.demo-video-media {
  display: flex;
  justify-content: center;
  min-width: 0;
}
.demo-video-frame {
  position: relative;
  overflow: hidden;
  width: min(100%, 390px);
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(185, 235, 247, .28);
  border-radius: 24px;
  background: #071d35;
  box-shadow: 0 26px 60px rgba(1, 22, 43, .34), 0 0 0 8px rgba(113, 214, 235, .05);
}
.demo-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #071d35;
}
.demo-video-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #dff9ff;
  background: rgba(5, 31, 55, .76);
  border: 1px solid rgba(183, 232, 243, .28);
  border-radius: 999px;
  font: 500 10px/1 "DM Mono", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  pointer-events: none;
}
.demo-video-copy { max-width: 410px; }
.demo-video-kicker {
  margin-bottom: 14px;
  color: #72dced;
  font: 500 11px/1.4 "DM Mono", monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.demo-video-copy h2 {
  margin: 0;
  color: #fff;
  font-family: "Noto Sans SC", Manrope, sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.14;
  letter-spacing: -.06em;
}
.demo-video-copy h2 span { color: #72dced; }
.demo-video-intro {
  margin: 22px 0 0;
  color: #c6dfe8;
  font-size: 15px;
  line-height: 1.85;
}
.demo-video-track {
  display: grid;
  gap: 0;
  margin: 30px 0 26px;
  border-top: 1px solid rgba(185, 232, 243, .2);
}
.demo-video-track-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid rgba(185, 232, 243, .2);
}
.demo-video-track-item > span {
  color: #73dff0;
  font: 500 11px/1 "DM Mono", monospace;
}
.demo-video-track-item strong {
  display: block;
  color: #eefcff;
  font-size: 13px;
  font-weight: 700;
}
.demo-video-track-item small {
  display: block;
  margin-top: 4px;
  color: #98bac8;
  font-size: 11px;
}
.demo-video-copy .button { margin-top: 0; }
.demo-video-fallback { padding: 24px; color: #c6dfe8; }
.demo-video-fallback a { color: #72dced; text-decoration: underline; }
@media (max-width: 860px) {
  .demo-video-section { padding: 84px 24px; }
  .demo-video-inner { grid-template-columns: 1fr; gap: 44px; }
  .demo-video-frame { width: min(100%, 370px); }
  .demo-video-copy { max-width: 680px; }
}
@media (max-width: 480px) {
  .demo-video-section { padding: 68px 16px; }
  .demo-video-frame { width: min(100%, 330px); }
  .demo-video-frame { border-radius: 18px; }
  .demo-video-badge { top: 11px; left: 11px; }
  .demo-video-copy h2 { font-size: 34px; }
  .demo-video-intro { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-video-frame { scroll-behavior: auto; }
}
