.product-demo-page {
  --demo-purple: #7b52c8;
  --demo-purple-dark: #4b2e9a;
  --demo-ink: #171421;
  --demo-muted: #71687c;
  --demo-paper: #f8f6fb;
  --demo-lilac: #efe8f8;
  --demo-navy: #0e1729;
  --demo-lime: #dfff3f;
  background: var(--demo-paper);
  color: var(--demo-ink);
}

.demo-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(26, 15, 40, 0.07);
}

.demo-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 96px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 252, 0.96)), var(--demo-paper);
}

.demo-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.demo-orb-one {
  top: -280px;
  right: -210px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle at 35% 35%, #e9dbfa 0, #d6bdf3 48%, #c4a2ec 100%);
  opacity: 0.66;
}

.demo-orb-two {
  bottom: -220px;
  left: -180px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(123, 82, 200, 0.14);
  box-shadow:
    0 0 0 70px rgba(123, 82, 200, 0.035),
    0 0 0 140px rgba(123, 82, 200, 0.02);
}

.demo-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(540px, 1.1fr);
  gap: 42px;
  align-items: center;
}

.demo-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--demo-purple-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-eyebrow span {
  width: 27px;
  height: 2px;
  background: currentColor;
}

.demo-eyebrow.light {
  color: var(--demo-lime);
}

.demo-eyebrow.dark {
  color: #60516e;
}

.demo-hero-copy h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(46px, 4.8vw, 68px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.demo-hero-copy h1 em {
  display: block;
  color: var(--demo-purple);
  font-style: normal;
}

.demo-hero-copy > p {
  max-width: 600px;
  margin-top: 28px;
  color: var(--demo-muted);
  font-size: 18px;
  line-height: 1.7;
}

.demo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.demo-primary-button {
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--demo-purple);
  background: var(--demo-purple);
  color: #fff;
  font-weight: 700;
}

.demo-primary-button:hover {
  border-color: var(--demo-purple-dark);
  background: var(--demo-purple-dark);
}

.demo-secondary-button {
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid rgba(75, 46, 154, 0.26);
  background: rgba(255, 255, 255, 0.7);
  color: var(--demo-purple-dark);
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.demo-secondary-button:hover {
  border-color: var(--demo-purple);
  background: #fff;
}

.demo-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.demo-trust-row span {
  padding: 7px 11px;
  border: 1px solid rgba(123, 82, 200, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #6f647b;
  font-size: 11px;
  font-weight: 600;
}

.demo-video-frame {
  overflow: hidden;
  border: 1px solid rgba(46, 34, 62, 0.13);
  border-radius: 24px;
  background: #171421;
  box-shadow: 0 28px 70px rgba(52, 32, 71, 0.2);
}

.demo-video-frame-primary {
  transform: translateY(6px);
}

.demo-video-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(29, 22, 41, 0.1);
  background: rgba(255, 255, 255, 0.96);
  color: #6d6278;
  font-size: 11px;
  font-weight: 700;
}

.demo-video-bar strong {
  color: #8d8198;
  font-size: 10px;
}

.demo-video-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--demo-purple);
  box-shadow: 0 0 0 4px rgba(123, 82, 200, 0.12);
}

.demo-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #15111f;
}

.demo-value-strip {
  background: var(--demo-purple-dark);
  color: #fff;
}

.demo-value-strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  min-height: 72px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-value-strip-inner i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cba9f2;
}

.demo-story-section {
  padding: 112px 0;
  background: #fff;
}

.demo-section-heading,
.demo-tour-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 64px;
  align-items: end;
}

.demo-section-heading h2,
.demo-tour-heading h2,
.demo-cta-card h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.demo-section-heading > p,
.demo-tour-heading > p {
  color: var(--demo-muted);
  font-size: 17px;
  line-height: 1.7;
}

.demo-story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.demo-story-grid article {
  min-height: 260px;
  padding: 30px;
  border: 1px solid #e7e0ee;
  border-radius: 20px;
  background: linear-gradient(160deg, #fff 0, #fbf9fd 100%);
  box-shadow: 0 12px 30px rgba(65, 45, 86, 0.05);
}

.demo-story-grid article > span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--demo-lilac);
  color: var(--demo-purple-dark);
  font-size: 12px;
  font-weight: 800;
}

.demo-story-grid h3 {
  margin: 56px 0 12px;
  font-size: 19px;
  line-height: 1.25;
}

.demo-story-grid p {
  color: var(--demo-muted);
  font-size: 14px;
  line-height: 1.65;
}

.demo-tour-section {
  padding: 112px 0 120px;
  background: var(--demo-navy);
  color: #fff;
}

.demo-tour-heading > p {
  color: rgba(255, 255, 255, 0.64);
}

.demo-video-frame-tour {
  margin-top: 58px;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.demo-video-bar.dark-bar {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: #18243a;
  color: rgba(255, 255, 255, 0.72);
}

.demo-video-bar.dark-bar strong {
  color: rgba(255, 255, 255, 0.45);
}

.demo-video-bar.dark-bar .demo-video-dot {
  background: var(--demo-lime);
  box-shadow: 0 0 0 4px rgba(223, 255, 63, 0.1);
}

.demo-chapters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.demo-chapters button {
  display: flex;
  gap: 11px;
  align-items: center;
  min-height: 56px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.demo-chapters button:hover,
.demo-chapters button.active {
  transform: translateY(-1px);
  border-color: rgba(223, 255, 63, 0.42);
  background: rgba(223, 255, 63, 0.08);
  color: #fff;
}

.demo-chapters button span {
  color: var(--demo-lime);
  font-weight: 800;
}

.demo-cta-section {
  padding: 96px 0;
  background: linear-gradient(180deg, #f8f6fb 0, #fff 100%);
}

.demo-cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  padding: 64px;
  border-radius: 30px;
  background: var(--demo-purple-dark);
  color: #fff;
  box-shadow: 0 24px 70px rgba(75, 46, 154, 0.18);
}

.demo-cta-card::after {
  content: '';
  position: absolute;
  right: -170px;
  bottom: -230px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(223, 255, 63, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(223, 255, 63, 0.03),
    0 0 0 140px rgba(223, 255, 63, 0.018);
}

.demo-cta-card > * {
  position: relative;
  z-index: 1;
}

.demo-cta-card p {
  max-width: 680px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.demo-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  min-width: 250px;
}

.demo-lime-button {
  width: 100%;
  border: 1px solid var(--demo-lime);
  background: var(--demo-lime);
  color: var(--demo-navy);
  font-weight: 800;
}

.demo-lime-button:hover {
  border-color: #eeff91;
  background: #eeff91;
}

.demo-text-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 700;
}

.demo-text-link:hover {
  color: #fff;
}

.demo-text-link span {
  margin-left: 5px;
  color: var(--demo-lime);
}

.demo-footer {
  padding: 32px 0;
  background: #171421;
  color: rgba(255, 255, 255, 0.48);
}

.demo-footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.demo-footer img {
  width: 116px;
}

.demo-footer p {
  max-width: 760px;
  font-size: 10px;
  line-height: 1.6;
}

.demo-footer-inner > div {
  display: flex;
  gap: 16px;
  font-size: 11px;
}

.demo-footer a:hover {
  color: #fff;
}

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

  .demo-hero-copy {
    max-width: 760px;
  }

  .demo-video-frame-primary {
    transform: none;
  }

  .demo-story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .demo-cta-card {
    grid-template-columns: 1fr;
  }

  .demo-cta-actions {
    align-items: flex-start;
    max-width: 280px;
  }
}

@media (max-width: 760px) {
  .demo-hero,
  .demo-story-section,
  .demo-tour-section,
  .demo-cta-section {
    padding: 72px 0;
  }

  .demo-hero-grid {
    gap: 42px;
  }

  .demo-hero-copy h1 {
    font-size: clamp(43px, 14vw, 60px);
  }

  .demo-hero-copy > p {
    font-size: 16px;
  }

  .demo-hero-actions {
    flex-direction: column;
  }

  .demo-hero-actions .btn {
    width: 100%;
  }

  .demo-video-frame {
    border-radius: 16px;
  }

  .demo-video-bar {
    min-height: 38px;
    padding: 0 12px;
  }

  .demo-value-strip-inner {
    flex-wrap: wrap;
    gap: 11px 17px;
    min-height: 86px;
    padding: 15px 24px;
    font-size: 11px;
  }

  .demo-section-heading,
  .demo-tour-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .demo-story-grid {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .demo-story-grid article {
    min-height: 0;
  }

  .demo-story-grid h3 {
    margin-top: 32px;
  }

  .demo-video-frame-tour {
    margin-top: 38px;
  }

  .demo-chapters {
    grid-template-columns: 1fr;
  }

  .demo-cta-card {
    gap: 38px;
    padding: 38px 28px;
    border-radius: 22px;
  }

  .demo-cta-actions {
    width: 100%;
    max-width: none;
  }

  .demo-footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
