/* ═══════════════════════════════════════════════════════════════
   dm-* — Demo / marketing page  (/demo)
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────────── */
.dm-hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #07131c;
  padding: 5rem 1.5rem 8rem;
  text-align: center;
}

.dm-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(80px);
}
.dm-orb-1 {
  width: 600px; height: 600px;
  top: -180px; left: -160px;
  background: radial-gradient(circle, rgba(42,180,208,.22) 0%, transparent 70%);
}
.dm-orb-2 {
  width: 500px; height: 500px;
  bottom: -120px; right: -140px;
  background: radial-gradient(circle, rgba(232,37,53,.18) 0%, transparent 70%);
}

.dm-grain {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: .55;
}

.dm-hero-inner { position: relative; z-index: 1; max-width: 820px; }

.dm-hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(42,180,208,.12); border: 1px solid rgba(42,180,208,.3);
  color: #2ab4d0; border-radius: 999px;
  padding: .35rem .9rem; font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 2rem;
}
.dm-hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #2ab4d0;
  box-shadow: 0 0 6px rgba(42,180,208,.8);
  animation: dm-pulse 2s ease-in-out infinite;
}
@keyframes dm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.75); }
}

.dm-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
}
.dm-hero-title em {
  font-style: italic;
  color: #2ab4d0;
}

.dm-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.58);
  line-height: 1.7;
  max-width: 560px; margin: 0 auto 2.5rem;
}

.dm-hero-ctas {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.dm-cta-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #e82535; color: #fff;
  border: none; border-radius: 999px;
  padding: .85rem 2rem; font-size: 1rem; font-weight: 700;
  font-family: var(--font-body); cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(232,37,53,.35), 0 2px 8px rgba(0,0,0,.3);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease, background .15s ease;
}
.dm-cta-primary:hover {
  background: #c91e2b; color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(232,37,53,.45), 0 4px 12px rgba(0,0,0,.3);
}
.dm-cta-primary:active { transform: scale(.97); }
.dm-cta-primary:focus-visible { outline: 2px solid #e82535; outline-offset: 3px; }

.dm-cta-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.75);
  border: 1.5px solid rgba(255,255,255,.18); border-radius: 999px;
  padding: .85rem 2rem; font-size: 1rem; font-weight: 600;
  font-family: var(--font-body); text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.dm-cta-ghost:hover {
  background: rgba(255,255,255,.13); color: #fff;
  border-color: rgba(255,255,255,.35);
}
.dm-cta-ghost:focus-visible { outline: 2px solid rgba(255,255,255,.4); outline-offset: 3px; }

.dm-hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap;
}
.dm-stat { text-align: center; }
.dm-stat-num {
  display: block; font-family: var(--font-display); font-size: 1.6rem;
  font-weight: 700; color: #fff; line-height: 1;
}
.dm-stat-label {
  display: block; font-size: .7rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-top: .25rem;
}
.dm-stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,.12); }

.dm-hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.25);
  animation: dm-bounce 2.4s ease-in-out infinite;
}
@keyframes dm-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Demo section ─────────────────────────────────────────────── */
.dm-section {
  background: #07131c; padding: 6rem 1.5rem 7rem;
  text-align: center;
}
.dm-section-eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #2ab4d0; margin-bottom: 1rem;
}
.dm-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: #fff;
  letter-spacing: -0.025em; margin: 0 0 1rem;
}
.dm-section-sub {
  font-size: 1rem; color: rgba(255,255,255,.5);
  line-height: 1.7; max-width: 480px; margin: 0 auto 3rem;
}

/* ── Demo card ──────────────────────────────────────────────── */
.dm-card {
  position: relative; overflow: hidden;
  max-width: 580px; margin: 0 auto;
  background: #0d1f2d;
  border: 1.5px solid rgba(42,180,208,.15);
  border-radius: 1.5rem;
  box-shadow: 0 32px 80px rgba(0,0,0,.55), 0 8px 24px rgba(0,0,0,.35),
              0 0 0 1px rgba(42,180,208,.06);
  min-height: 360px;
  display: flex; flex-direction: column;
}

.dm-progress { height: 3px; background: rgba(255,255,255,.07); flex-shrink: 0; }
.dm-progress-fill {
  height: 100%; background: #2ab4d0;
  transition: width .4s cubic-bezier(.34,1.56,.64,1);
}

.dm-screen {
  flex: 1; padding: 3rem 2.5rem;
  display: flex; align-items: center; justify-content: center;
}

@keyframes dm-slide-fwd {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dm-slide-bwd {
  from { opacity: 0; transform: translateY(-32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dm-enter-fwd { animation: dm-slide-fwd .38s cubic-bezier(.34,1.56,.64,1) both; }
.dm-enter-bwd { animation: dm-slide-bwd .38s cubic-bezier(.34,1.56,.64,1) both; }

/* Intro */
.dm-intro { text-align: center; }
.dm-intro-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(42,180,208,.12); border: 1.5px solid rgba(42,180,208,.25);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; color: #2ab4d0;
}

/* Question */
.dm-question { width: 100%; text-align: left; }
.dm-q-num {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #2ab4d0; margin-bottom: .75rem;
}
.dm-q-num span { color: rgba(255,255,255,.3); }

.dm-q-title {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700; color: #fff;
  margin: 0 0 1.5rem; line-height: 1.25;
}
.dm-q-sub {
  color: rgba(255,255,255,.5); font-size: .95rem; line-height: 1.6;
  margin: 0 0 2rem;
}

.dm-nps { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-start; margin-bottom: .75rem; }

/* Stars */
.dm-stars { display: flex; gap: .5rem; justify-content: flex-start; }
.dm-star {
  font-size: 2.4rem; line-height: 1;
  background: none; border: none; cursor: pointer; padding: 0;
  color: rgba(255,255,255,.15);
  transition: color .15s ease, transform .2s cubic-bezier(.34,1.56,.64,1);
}
.dm-star.lit { color: #f59e0b; }
.dm-star:hover, .dm-star:focus-visible { transform: scale(1.25); outline: none; }
.dm-star:active { transform: scale(.92); }

/* Textarea */
.dm-textarea {
  width: 100%; background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.12); border-radius: .75rem;
  color: #fff; font-family: var(--font-body); font-size: 1rem;
  padding: .875rem 1rem; resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
  margin-bottom: 1.25rem;
}
.dm-textarea::placeholder { color: rgba(255,255,255,.3); }
.dm-textarea:focus {
  outline: none; border-color: rgba(42,180,208,.6);
  box-shadow: 0 0 0 3px rgba(42,180,208,.12);
}

.dm-ok-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #2ab4d0; color: #07131c;
  border: none; border-radius: 999px;
  padding: .75rem 1.75rem; font-size: .95rem; font-weight: 700;
  font-family: var(--font-body); cursor: pointer;
  box-shadow: 0 4px 16px rgba(42,180,208,.3);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease;
}
.dm-ok-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(42,180,208,.4); }
.dm-ok-btn:active { transform: scale(.96); }
.dm-ok-btn:focus-visible { outline: 2px solid #2ab4d0; outline-offset: 3px; }

.dm-start-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #2ab4d0; color: #07131c;
  border: none; border-radius: 999px;
  padding: .875rem 2rem; font-size: 1rem; font-weight: 700;
  font-family: var(--font-body); cursor: pointer;
  box-shadow: 0 4px 20px rgba(42,180,208,.3);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease;
}
.dm-start-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(42,180,208,.42); }
.dm-start-btn:active { transform: scale(.96); }
.dm-start-btn:focus-visible { outline: 2px solid #2ab4d0; outline-offset: 3px; }

/* Result */
.dm-result { text-align: center; }
.dm-result-icon { font-size: 3rem; margin-bottom: 1rem; }
.dm-result-title {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700; color: #fff; margin: 0 0 .75rem;
}
.dm-result-sub {
  color: rgba(255,255,255,.55); font-size: .95rem; line-height: 1.6;
  margin: 0 0 1.75rem;
}
.dm-cta-result { margin-bottom: .75rem; }
.dm-result-note { font-size: .78rem; color: rgba(255,255,255,.35); margin: 0 0 1.25rem; }
.dm-restart {
  background: none; border: none; color: rgba(255,255,255,.3);
  font-size: .8rem; cursor: pointer; padding: 0;
  transition: color .15s ease;
}
.dm-restart:hover { color: rgba(255,255,255,.6); }
.dm-restart:focus-visible { outline: 2px solid rgba(255,255,255,.3); outline-offset: 2px; }

/* ── Features strip ─────────────────────────────────────────── */
.dm-features {
  background: #060f17;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 4rem 2rem;
  display: flex; align-items: stretch; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.dm-feature {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 2rem 2.5rem; max-width: 320px; flex: 1 1 260px;
}
.dm-feature-sep {
  width: 1px; background: rgba(255,255,255,.07);
  align-self: stretch; margin: 1rem 0;
}
.dm-feature-icon {
  width: 48px; height: 48px; border-radius: .75rem; flex-shrink: 0;
  background: rgba(42,180,208,.1); border: 1px solid rgba(42,180,208,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: #2ab4d0;
}
.dm-feature-title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700; color: #fff;
  margin-bottom: .4rem;
}
.dm-feature-desc {
  font-size: .88rem; color: rgba(255,255,255,.45); line-height: 1.6;
}

@media (max-width: 768px) {
  .dm-feature-sep { display: none; }
  .dm-feature { max-width: 100%; flex: 1 1 100%; border-bottom: 1px solid rgba(255,255,255,.07); }
  .dm-feature:last-child { border-bottom: none; }
  .dm-screen { padding: 2rem 1.5rem; }
  .dm-hero-stats { gap: 1.25rem; }
}
