/**
 * Product Demo Walkthrough — live HTML mockups (no screenshot images).
 */
.hp-demo-page {
  --demo-ink: #0f172a;
  --demo-muted: #64748b;
  --demo-line: #e2e8f0;
  --demo-soft: #f8fafc;
  --demo-brand: #1d4ed8;
  --demo-brand-2: #0ea5e9;
  --demo-accent: #db2777;
  --demo-ok: #059669;
  --demo-warn: #d97706;
  --demo-sidebar: #0b1f3a;
  --demo-radius: 16px;
  --demo-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.hp-demo-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 2.25rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(14, 165, 233, 0.18), transparent 42%),
    radial-gradient(circle at 88% 10%, rgba(219, 39, 119, 0.12), transparent 36%),
    linear-gradient(180deg, #eff6ff 0%, #ffffff 70%);
}

.hp-demo-hero-inner {
  display: grid;
  gap: 1.25rem;
  max-width: 920px;
}

.hp-demo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.1);
  color: var(--demo-brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hp-demo-hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  line-height: 1.15;
  color: var(--demo-ink);
  letter-spacing: -0.02em;
}

.hp-demo-hero-lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--demo-muted);
  max-width: 68ch;
}

.hp-demo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.hp-demo-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.hp-demo-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--demo-line);
  color: var(--demo-ink);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.hp-demo-stat-chip i {
  color: var(--demo-brand);
}

/* Sticky section nav */
.hp-demo-toc {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--demo-line);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.hp-demo-toc-inner {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.7rem 0;
  scrollbar-width: thin;
}

.hp-demo-toc a {
  flex: 0 0 auto;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--demo-muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.15s ease;
}

.hp-demo-toc a:hover,
.hp-demo-toc a.is-active {
  color: var(--demo-brand);
  background: rgba(29, 78, 216, 0.08);
  border-color: rgba(29, 78, 216, 0.18);
}

/* Sections */
.hp-demo-section {
  padding: 3.25rem 0;
  scroll-margin-top: 5.5rem;
}

.hp-demo-section--alt {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hp-demo-section-head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  max-width: 760px;
}

.hp-demo-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--demo-brand), var(--demo-brand-2));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.25);
}

.hp-demo-section-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  color: var(--demo-ink);
  letter-spacing: -0.02em;
}

.hp-demo-section-head p {
  margin: 0;
  color: var(--demo-muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.hp-demo-grid {
  display: grid;
  gap: 1.5rem;
}

.hp-demo-grid--2 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
}

.hp-demo-grid--copy-first {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}

@media (max-width: 960px) {
  .hp-demo-grid--2,
  .hp-demo-grid--copy-first {
    grid-template-columns: 1fr;
  }
}

.hp-demo-copy {
  display: grid;
  gap: 0.9rem;
}

.hp-demo-copy h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--demo-ink);
}

.hp-demo-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.hp-demo-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--demo-line);
}

.hp-demo-steps .n {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 78, 216, 0.1);
  color: var(--demo-brand);
  font-size: 0.78rem;
  font-weight: 800;
}

.hp-demo-steps strong {
  display: block;
  color: var(--demo-ink);
  margin-bottom: 0.15rem;
}

.hp-demo-steps span {
  color: var(--demo-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hp-demo-note {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.92rem;
  line-height: 1.5;
}

.hp-demo-note--pink {
  background: #fdf2f8;
  border-color: #fbcfe8;
  color: #9d174d;
}

.hp-demo-note i {
  margin-right: 0.35rem;
}

/* Browser frame mockup */
.demo-browser {
  border-radius: var(--demo-radius);
  border: 1px solid var(--demo-line);
  background: #fff;
  box-shadow: var(--demo-shadow);
  overflow: hidden;
}

.demo-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  background: #f1f5f9;
  border-bottom: 1px solid var(--demo-line);
}

.demo-browser-dots {
  display: flex;
  gap: 0.3rem;
}

.demo-browser-dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #cbd5e1;
}

.demo-browser-dots span:nth-child(1) { background: #f87171; }
.demo-browser-dots span:nth-child(2) { background: #fbbf24; }
.demo-browser-dots span:nth-child(3) { background: #34d399; }

.demo-browser-url {
  flex: 1;
  min-width: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-browser-body {
  min-height: 280px;
  background: var(--demo-soft);
}

.demo-browser-caption {
  margin: 0.65rem 0 0;
  text-align: center;
  color: var(--demo-muted);
  font-size: 0.86rem;
}

/* Real screenshot inside browser frame */
.demo-shot {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.demo-shot-block {
  margin-top: 1.75rem;
}

.demo-shot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-top: 1.75rem;
}

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

.demo-shot-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ERP shell mockup */
.demo-erp {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 340px;
}

@media (max-width: 720px) {
  .demo-erp {
    grid-template-columns: 1fr;
  }
  .demo-erp-side {
    max-height: 220px;
    overflow: auto;
  }
}

.demo-erp-side {
  background: var(--demo-sidebar);
  color: #cbd5e1;
  padding: 0.85rem 0.55rem;
}

.demo-erp-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.55rem 0.85rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.55rem;
}

.demo-erp-brand i {
  color: #38bdf8;
}

.demo-erp-group {
  margin: 0.55rem 0 0.2rem;
  padding: 0 0.55rem;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: #64748b;
  font-weight: 700;
}

.demo-erp-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.1rem;
}

.demo-erp-nav li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.55rem;
  border-radius: 8px;
  font-size: 0.74rem;
  color: #cbd5e1;
}

.demo-erp-nav li.is-active {
  background: rgba(56, 189, 248, 0.16);
  color: #fff;
  font-weight: 700;
}

.demo-erp-nav li i {
  width: 1rem;
  text-align: center;
  opacity: 0.85;
  font-size: 0.72rem;
}

.demo-erp-main {
  padding: 0.9rem;
  background: #f1f5f9;
}

.demo-erp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.demo-erp-top h4 {
  margin: 0;
  font-size: 0.98rem;
  color: var(--demo-ink);
}

.demo-erp-top small {
  color: var(--demo-muted);
  font-size: 0.75rem;
}

.demo-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

@media (max-width: 640px) {
  .demo-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.demo-kpi {
  background: #fff;
  border: 1px solid var(--demo-line);
  border-radius: 10px;
  padding: 0.65rem 0.7rem;
}

.demo-kpi .v {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--demo-ink);
}

.demo-kpi .l {
  display: block;
  font-size: 0.7rem;
  color: var(--demo-muted);
  margin-top: 0.1rem;
}

.demo-panel {
  background: #fff;
  border: 1px solid var(--demo-line);
  border-radius: 12px;
  padding: 0.85rem;
}

.demo-panel h5 {
  margin: 0 0 0.65rem;
  font-size: 0.86rem;
  color: var(--demo-ink);
}

/* Form mockups */
.demo-form {
  display: grid;
  gap: 0.65rem;
}

.demo-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

@media (max-width: 520px) {
  .demo-form-row {
    grid-template-columns: 1fr;
  }
}

.demo-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.25rem;
}

.demo-field .box,
.demo-field select,
.demo-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  font-size: 0.8rem;
  color: var(--demo-ink);
}

.demo-field .box {
  min-height: 2.15rem;
  display: flex;
  align-items: center;
  color: #334155;
}

.demo-track-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
}

.demo-chip.is-on {
  border-color: #93c5fd;
  background: #eff6ff;
  color: var(--demo-brand);
}

.demo-chip.is-on-alt {
  border-color: #f9a8d4;
  background: #fdf2f8;
  color: #be185d;
}

.demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  border-radius: 9px;
  border: none;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.demo-btn--ghost {
  background: #fff;
  color: var(--demo-brand);
  border: 1px solid #bfdbfe;
}

.demo-btn--ok {
  background: linear-gradient(135deg, #059669, #10b981);
}

.demo-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

/* Tables */
.demo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.74rem;
}

.demo-table th,
.demo-table td {
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  color: #334155;
}

.demo-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
  font-size: 0.7rem;
}

.demo-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.demo-badge--ok {
  background: #d1fae5;
  color: #065f46;
}

.demo-badge--warn {
  background: #fef3c7;
  color: #92400e;
}

.demo-badge--info {
  background: #dbeafe;
  color: #1e40af;
}

/* Sidebar legend cards */
.hp-demo-sidebar-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

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

@media (max-width: 560px) {
  .hp-demo-sidebar-legend {
    grid-template-columns: 1fr;
  }
}

.hp-demo-side-card {
  background: #fff;
  border: 1px solid var(--demo-line);
  border-radius: 12px;
  padding: 0.9rem;
}

.hp-demo-side-card h4 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  color: var(--demo-ink);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hp-demo-side-card h4 i {
  color: var(--demo-brand);
  font-size: 0.85rem;
}

.hp-demo-side-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--demo-muted);
  line-height: 1.5;
}

/* Phone mockup */
.demo-phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.demo-phone {
  width: 210px;
  border-radius: 28px;
  border: 8px solid #0f172a;
  background: #0f172a;
  box-shadow: var(--demo-shadow);
  overflow: hidden;
}

.demo-phone-notch {
  height: 18px;
  background: #0f172a;
  position: relative;
}

.demo-phone-notch::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  width: 58px;
  height: 6px;
  border-radius: 999px;
  background: #1e293b;
}

.demo-phone-screen {
  background: linear-gradient(180deg, #eff6ff, #fff 45%);
  min-height: 360px;
  padding: 0.75rem;
}

.demo-phone-appbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--demo-ink);
  font-size: 0.8rem;
  font-weight: 800;
}

.demo-phone-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.7rem;
  margin-bottom: 0.55rem;
}

.demo-phone-card .t {
  font-size: 0.72rem;
  color: var(--demo-muted);
}

.demo-phone-card .v {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--demo-ink);
}

.demo-phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.demo-phone-tile {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.65rem 0.5rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #334155;
}

.demo-phone-tile i {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--demo-brand);
  font-size: 0.95rem;
}

.demo-phone-label {
  margin-top: 0.55rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--demo-ink);
}

/* Hall ticket / receipt paper */
.demo-paper {
  background: #fff;
  border: 1px dashed #94a3b8;
  border-radius: 10px;
  padding: 1rem;
}

.demo-paper-head {
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.65rem;
  margin-bottom: 0.65rem;
}

.demo-paper-head strong {
  display: block;
  font-size: 0.95rem;
  color: var(--demo-ink);
}

.demo-paper-head span {
  font-size: 0.75rem;
  color: var(--demo-muted);
}

.demo-paper-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.75rem;
  font-size: 0.78rem;
  color: #334155;
  margin-bottom: 0.75rem;
}

.demo-paper-meta b {
  color: #64748b;
  font-weight: 600;
}

/* Module cards grid */
.hp-demo-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

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

@media (max-width: 560px) {
  .hp-demo-modules {
    grid-template-columns: 1fr;
  }
}

.hp-demo-mod-card {
  background: #fff;
  border: 1px solid var(--demo-line);
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.hp-demo-mod-card .ico {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 78, 216, 0.1);
  color: var(--demo-brand);
  margin-bottom: 0.65rem;
}

.hp-demo-mod-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--demo-ink);
}

.hp-demo-mod-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--demo-muted);
  line-height: 1.55;
}

/* Final CTA */
.hp-demo-final-cta {
  margin: 1rem 0 3rem;
  padding: 2.25rem 1.5rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.22), transparent 40%),
    linear-gradient(135deg, #0b1f3a, #1d4ed8 70%);
  color: #fff;
  text-align: center;
  box-shadow: var(--demo-shadow);
}

.hp-demo-final-cta h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.hp-demo-final-cta p {
  margin: 0 auto 1.15rem;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.hp-demo-final-cta .hp-demo-hero-actions {
  justify-content: center;
}

.hp-demo-final-cta .hp-btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.hp-demo-final-cta .hp-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.demo-flow-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.demo-flow-pills span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid #bfdbfe;
}

.demo-import-zone {
  border: 2px dashed #93c5fd;
  border-radius: 12px;
  background: #eff6ff;
  padding: 1.25rem;
  text-align: center;
  color: #1e40af;
}

.demo-import-zone i {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  display: block;
}

.demo-import-zone strong {
  display: block;
  margin-bottom: 0.2rem;
}

.demo-import-zone small {
  color: #64748b;
}

.demo-map {
  height: 160px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.08), rgba(14, 165, 233, 0.12)),
    repeating-linear-gradient(0deg, transparent, transparent 18px, rgba(148, 163, 184, 0.2) 18px, rgba(148, 163, 184, 0.2) 19px),
    repeating-linear-gradient(90deg, transparent, transparent 18px, rgba(148, 163, 184, 0.2) 18px, rgba(148, 163, 184, 0.2) 19px);
  position: relative;
  overflow: hidden;
}

.demo-map-bus {
  position: absolute;
  left: 42%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: #1d4ed8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(29, 78, 216, 0.18);
}

.demo-map-route {
  position: absolute;
  left: 18%;
  top: 60%;
  width: 55%;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #1d4ed8);
  border-radius: 999px;
  transform: rotate(-12deg);
}

/* Sales walkthrough additions */
.hp-demo-eyebrow {
  margin: 0;
  color: var(--demo-brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-demo-value-strip {
  padding: 1.25rem 0;
  background: var(--demo-sidebar);
  color: #fff;
}

.hp-demo-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.hp-demo-value-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
}

.hp-demo-value-grid article > i {
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
}

.hp-demo-value-grid strong,
.hp-demo-value-grid span {
  display: block;
}

.hp-demo-value-grid strong {
  margin-bottom: 0.15rem;
  font-size: 0.86rem;
}

.hp-demo-value-grid span {
  color: #94a3b8;
  font-size: 0.76rem;
  line-height: 1.45;
}

.hp-demo-audience {
  padding-bottom: 2rem;
}

.hp-demo-role-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.hp-demo-role-card {
  display: flex;
  flex-direction: column;
  min-height: 215px;
  padding: 1.1rem;
  border: 1px solid var(--demo-line);
  border-radius: 15px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.hp-demo-role-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 16px 35px rgba(29, 78, 216, 0.12);
}

.hp-demo-role-card .ico {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: var(--demo-brand);
}

.hp-demo-role-card strong {
  margin-bottom: 0.45rem;
  color: var(--demo-ink);
  font-size: 0.96rem;
}

.hp-demo-role-card > span:not(.ico) {
  color: var(--demo-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.hp-demo-role-card small {
  margin-top: auto;
  padding-top: 0.8rem;
  color: var(--demo-brand);
  font-weight: 700;
}

.hp-demo-launch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: demo-launch;
}

.hp-demo-launch-grid article {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  border: 1px solid var(--demo-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.hp-demo-launch-grid .num {
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  color: #e2e8f0;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.hp-demo-launch-grid .ico {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  border-radius: 12px;
  background: rgba(29, 78, 216, 0.1);
  color: var(--demo-brand);
}

.hp-demo-launch-grid h3 {
  margin: 0 0 0.4rem;
  color: var(--demo-ink);
  font-size: 1rem;
}

.hp-demo-launch-grid p {
  min-height: 3.9em;
  margin: 0 0 0.7rem;
  color: var(--demo-muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.hp-demo-launch-grid .tag {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.7rem;
  font-weight: 700;
}

.hp-demo-sales-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #fff);
}

.hp-demo-sales-cta h3 {
  margin: 0.25rem 0;
  color: var(--demo-ink);
  font-size: 1.15rem;
}

.hp-demo-sales-cta p {
  margin: 0;
  color: var(--demo-muted);
  font-size: 0.9rem;
}

.hp-demo-sales-cta .hp-btn {
  flex: 0 0 auto;
}

.hp-demo-decision-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}

.hp-demo-outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.hp-demo-outcomes article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid var(--demo-line);
  border-radius: 14px;
  background: #fff;
}

.hp-demo-outcomes article > i {
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #ecfdf5;
  color: var(--demo-ok);
}

.hp-demo-outcomes h3 {
  margin: 0 0 0.25rem;
  color: var(--demo-ink);
  font-size: 0.92rem;
}

.hp-demo-outcomes p {
  margin: 0;
  color: var(--demo-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.hp-demo-checklist {
  padding: 1.25rem;
  border-radius: 16px;
  background: var(--demo-sidebar);
  color: #fff;
  box-shadow: var(--demo-shadow);
}

.hp-demo-checklist .hp-demo-eyebrow {
  color: #7dd3fc;
}

.hp-demo-checklist h3 {
  margin: 0.35rem 0 0.8rem;
  font-size: 1.2rem;
}

.hp-demo-checklist ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0;
}

.hp-demo-checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  color: #cbd5e1;
  font-size: 0.84rem;
  line-height: 1.45;
}

.hp-demo-checklist li i {
  margin-top: 0.2rem;
  color: #34d399;
}

.hp-demo-faq {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 0 1.25rem;
  margin-top: 2rem;
}

.hp-demo-faq-head {
  grid-row: 1 / span 6;
}

.hp-demo-faq-head h3 {
  margin: 0.35rem 0 0;
  color: var(--demo-ink);
  font-size: 1.35rem;
}

.hp-demo-faq details {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--demo-line);
}

.hp-demo-faq details:first-of-type {
  border-top: 1px solid var(--demo-line);
}

.hp-demo-faq summary {
  position: relative;
  padding-right: 1.5rem;
  color: var(--demo-ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.hp-demo-faq summary::-webkit-details-marker {
  display: none;
}

.hp-demo-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -0.1rem;
  color: var(--demo-brand);
  font-size: 1.25rem;
}

.hp-demo-faq details[open] summary::after {
  content: '−';
}

.hp-demo-faq details p {
  margin: 0.6rem 0 0;
  color: var(--demo-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 1050px) {
  .hp-demo-role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hp-demo-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hp-demo-role-grid,
  .hp-demo-launch-grid,
  .hp-demo-outcomes {
    grid-template-columns: 1fr;
  }

  .hp-demo-decision-grid,
  .hp-demo-faq {
    grid-template-columns: 1fr;
  }

  .hp-demo-faq-head {
    grid-row: auto;
    margin-bottom: 0.75rem;
  }

  .hp-demo-sales-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .hp-demo-role-card {
    min-height: 0;
  }

  .hp-demo-launch-grid p {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .hp-demo-value-grid {
    grid-template-columns: 1fr;
  }
}
