/* Demo gallery at /demos/. On-brand dark, unlike the demos it links to — this
   is a Virtual Vanguards page and should read as one.

   Prefixed .dm- so it cannot collide with landing.css or the per-demo
   stylesheets, which share the same origin. */

.dm-wrap { width: min(1180px, 100% - 2.6rem); margin-inline: auto; }
.dm-narrow { width: min(760px, 100% - 2.6rem); }

/* ---------- hero ---------- */
.dm-hero {
  position: relative; overflow: hidden;
  padding: 5rem 0 3.6rem; text-align: center;
}
.dm-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 320px at 20% -10%, rgba(99,102,241,.24), transparent 62%),
    radial-gradient(680px 320px at 82% 4%, rgba(6,182,212,.18), transparent 62%);
}
.dm-hero > .dm-wrap { position: relative; }
.dm-hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.05; margin: 0 0 1.2rem; color: #fff;
}
.dm-lede {
  color: var(--text-light, #cbd5e1); font-size: 1.1rem;
  max-width: 60ch; margin: 0 auto 2rem; line-height: 1.75;
}
.dm-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.dm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 54px; padding: .9rem 1.6rem; border-radius: 14px;
  font-weight: 700; text-decoration: none; border: 1px solid transparent;
  transition: transform .16s, border-color .16s, background-color .16s;
}
.dm-btn-primary {
  background: linear-gradient(135deg, #6366f1, #06b6d4); color: #fff;
  box-shadow: 0 16px 40px -20px rgba(99,102,241,.95);
}
.dm-btn-primary:hover { transform: translateY(-2px); }
.dm-btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.03);
}
.dm-btn-ghost:hover { border-color: rgba(99,102,241,.6); }
.dm-btn-lg { min-height: 60px; padding: 1rem 2rem; font-size: 1.05rem; }
.dm-reassure {
  margin: 1.15rem 0 0; color: var(--text-muted, #94a3b8); font-size: .92rem;
}

/* ---------- section furniture ---------- */
.dm-section { padding: 4rem 0; }
.dm-alt { background: rgba(255,255,255,.022); border-block: 1px solid var(--border, rgba(255,255,255,.08)); }
.dm-head { max-width: 66ch; margin-bottom: 2.6rem; }
.dm-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.35rem); font-weight: 800;
  letter-spacing: -.02em; color: #fff; margin: .5rem 0 .8rem;
}
.dm-head p { color: var(--text-muted, #94a3b8); line-height: 1.75; margin: 0; }
.dm-tag {
  display: inline-block; font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--secondary, #06b6d4);
}

/* ---------- gallery cards ---------- */
.dm-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.dm-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card-bg, #0d1526);
  border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: 20px;
  transition: border-color .18s, transform .18s;
}
.dm-card-live:hover { border-color: var(--dm-accent); transform: translateY(-4px); }
.dm-card-soon { opacity: .82; }

/* wireframe preview, tinted per demo */
.dm-preview {
  padding: 1rem 1rem 0;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--dm-accent) 26%, transparent),
      transparent);
}
.dm-chrome { display: flex; gap: .35rem; padding: 0 0 .55rem .2rem; }
.dm-chrome span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.22);
}
.dm-shot {
  background: #f7fafc; border-radius: 10px 10px 0 0;
  padding: 1.15rem 1.1rem 1.4rem; display: grid; gap: .5rem;
}
.dm-shot-line { height: 11px; border-radius: 4px; background: #0b1b2b; }
.dm-shot-line-1 { width: 78%; }
.dm-shot-line-2 { width: 52%; opacity: .32; }
.dm-shot-btn {
  width: 42%; height: 22px; border-radius: 6px; margin-top: .35rem;
  background: var(--dm-accent);
}
.dm-shot-cards { display: flex; gap: .45rem; margin-top: .7rem; }
.dm-shot-cards i {
  flex: 1; height: 34px; border-radius: 6px;
  background: #e6edf5; border: 1px solid #d8e2ec;
}

.dm-card-body { padding: 1.6rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.dm-industry {
  margin: 0 0 .3rem; font-size: .74rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--dm-accent);
}
.dm-card h3 { font-size: 1.22rem; font-weight: 700; color: #fff; margin: 0 0 .6rem; }
.dm-card-text {
  color: var(--text-muted, #94a3b8); font-size: .95rem; line-height: 1.7; margin: 0 0 1.1rem;
}
.dm-highlights { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .45rem; }
.dm-highlights li {
  position: relative; padding-inline-start: 1.35rem;
  color: var(--text-light, #cbd5e1); font-size: .9rem; line-height: 1.55;
}
.dm-highlights li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .48em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--dm-accent);
}
.dm-facts {
  list-style: none; margin: 0 0 1.3rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto;
}
.dm-facts li {
  font-size: .76rem; font-weight: 600; color: var(--text-light, #cbd5e1);
  background: rgba(255,255,255,.05); border: 1px solid var(--border, rgba(255,255,255,.08));
  padding: .3rem .65rem; border-radius: 999px;
}
.dm-open {
  display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start;
  min-height: 46px; padding: .6rem 1.15rem; border-radius: 11px;
  font-weight: 700; text-decoration: none; font-size: .94rem;
  color: #fff; background: var(--dm-accent, #6366f1);
  transition: filter .16s;
}
.dm-open:hover { filter: brightness(1.14); }
.dm-soon {
  margin: 0; align-self: flex-start;
  font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-muted, #94a3b8);
  border: 1px dashed var(--border, rgba(255,255,255,.16));
  padding: .55rem .9rem; border-radius: 999px;
}
.dm-card-request {
  --dm-accent: #6366f1;
  background: linear-gradient(160deg, rgba(99,102,241,.14), rgba(6,182,212,.07));
  border-style: dashed; justify-content: center;
}
.dm-card-request .dm-card-body { padding: 2.2rem 1.6rem; }

/* ---------- numbers ---------- */
.dm-numbers {
  display: grid; gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-bottom: 3rem;
}
.dm-number {
  background: var(--card-bg, #0d1526);
  border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: 16px; padding: 1.5rem 1.35rem;
}
.dm-number-value {
  display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(135deg, #818cf8, #22d3ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.1;
}
.dm-number-label {
  display: block; font-weight: 700; color: #fff; font-size: .95rem; margin: .35rem 0 .55rem;
}
.dm-number p { margin: 0; color: var(--text-muted, #94a3b8); font-size: .9rem; line-height: 1.65; }

.dm-standards {
  background: var(--card-bg, #0d1526);
  border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: 18px; padding: 2rem 1.8rem;
}
.dm-standards h3 { color: #fff; font-size: 1.1rem; font-weight: 700; margin: 0 0 1.1rem; }
.dm-standards ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.dm-standards li {
  position: relative; padding-inline-start: 1.6rem;
  color: var(--text-light, #cbd5e1); font-size: .94rem; line-height: 1.65;
}
.dm-standards li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .42em;
  width: 8px; height: 8px; border-radius: 2px;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
}

/* ---------- faq ---------- */
.dm-faq { display: grid; gap: .7rem; }
.dm-faq details {
  background: var(--card-bg, #0d1526);
  border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: 13px;
}
.dm-faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem; min-height: 54px;
  font-weight: 700; color: #fff; font-size: .99rem;
}
.dm-faq summary::-webkit-details-marker { display: none; }
.dm-faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-inline-end: 2.4px solid var(--text-muted, #94a3b8);
  border-block-end: 2.4px solid var(--text-muted, #94a3b8);
  transform: rotate(45deg) translateY(-3px); transition: transform .18s;
}
.dm-faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.dm-faq details div { padding: 0 1.3rem 1.2rem; }
.dm-faq details p {
  margin: 0; color: var(--text-muted, #94a3b8); font-size: .95rem; line-height: 1.75;
}

/* ---------- closing ---------- */
.dm-final { padding: 4.5rem 0 5rem; text-align: center; }
.dm-final h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800;
  letter-spacing: -.02em; color: #fff; margin: 0 0 1rem;
}
.dm-final p { color: var(--text-muted, #94a3b8); max-width: 58ch; margin: 0 auto 1.9rem; line-height: 1.75; }

@media (max-width: 640px) {
  .dm-hero { padding: 3.4rem 0 2.6rem; }
  .dm-section { padding: 3rem 0; }
  .dm-cta-row .dm-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .dm-card, .dm-btn, .dm-open { transition: none; }
  .dm-card-live:hover, .dm-btn-primary:hover { transform: none; }
}
