/* NADIR demo showcase pages — investor-grade static briefings */

.ds-page main { padding-bottom: 4rem; }

.ds-hero {
  padding: 3rem 0 2rem;
  position: relative;
}

.ds-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.ds-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.ds-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text2);
  background: rgba(255, 255, 255, 0.03);
}

.ds-badge-critical {
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.45);
  background: rgba(255, 107, 107, 0.1);
}

.ds-badge-live {
  color: #39d98a;
  border-color: rgba(57, 217, 138, 0.4);
  background: rgba(57, 217, 138, 0.08);
}

.ds-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.12;
  margin: 0.35rem 0 1rem;
  max-width: 18ch;
}

.ds-lead {
  color: var(--text2);
  line-height: 1.65;
  max-width: 54ch;
  margin: 0 0 1.5rem;
}

.ds-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.ds-url-panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
}

.ds-url-panel label {
  display: block;
  font-size: 0.72rem;
  color: var(--text2);
  margin-bottom: 0.4rem;
}

.ds-url-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ds-url-row input {
  flex: 1;
  min-width: 220px;
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
}

.ds-visual {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15, 18, 28, 0.95), rgba(8, 10, 16, 0.98));
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.ds-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(249, 115, 22, 0.12), transparent),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(96, 165, 250, 0.1), transparent);
  pointer-events: none;
}

.ds-visual-inner { position: relative; z-index: 1; }

.ds-hud {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.ds-hud-cell {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.65rem;
  background: rgba(0, 0, 0, 0.35);
}

.ds-hud-cell span {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text2);
}

.ds-hud-cell strong {
  font-family: var(--mono);
  font-size: 1rem;
  display: block;
  margin-top: 0.2rem;
}

.ds-hud-cell.critical strong { color: #ff6b6b; }
.ds-hud-cell.caution strong { color: #ffb02e; }
.ds-hud-cell.ok strong { color: #39d98a; }

.ds-scene {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  height: 220px;
  background: rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.ds-scene-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  transform: perspective(400px) rotateX(58deg) scale(1.4);
  transform-origin: center 80%;
  opacity: 0.7;
}

.ds-vehicle-node {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 48px;
  border: 2px solid rgba(249, 115, 22, 0.6);
  border-radius: 8px;
  background: rgba(249, 115, 22, 0.08);
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.2);
}

.ds-vehicle-node::after {
  content: "FLEET-204";
  position: absolute;
  bottom: -1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text2);
  white-space: nowrap;
}

.ds-ellipsoid {
  position: absolute;
  border: 1px dashed rgba(96, 165, 250, 0.5);
  border-radius: 50%;
  animation: ds-pulse 3s ease-in-out infinite;
}

.ds-ellipsoid.yaw {
  width: 140px;
  height: 70px;
  left: calc(50% - 70px);
  top: calc(42% - 35px);
}

.ds-ellipsoid.pitch {
  width: 90px;
  height: 110px;
  left: calc(50% - 45px);
  top: calc(42% - 55px);
  animation-delay: 0.5s;
  border-color: rgba(167, 139, 250, 0.45);
}

@keyframes ds-pulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.03); }
}

.ds-graph-wrap {
  height: 200px;
  position: relative;
}

.ds-graph-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid;
  transform: translate(-50%, -50%);
}

.ds-graph-node.pose { border-color: #4d9fff; background: rgba(77, 159, 255, 0.25); left: 22%; top: 55%; }
.ds-graph-node.bias { border-color: #f97316; background: rgba(249, 115, 22, 0.25); left: 55%; top: 35%; }
.ds-graph-node.cp { border-color: #a78bfa; background: rgba(167, 139, 250, 0.3); left: 78%; top: 62%; width: 18px; height: 18px; }

.ds-graph-edge {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(77, 159, 255, 0.5), rgba(249, 115, 22, 0.5));
  transform-origin: left center;
}

.ds-graph-edge.e1 { left: 24%; top: 52%; width: 32%; transform: rotate(-18deg); }
.ds-graph-edge.e2 { left: 57%; top: 38%; width: 22%; transform: rotate(42deg); }

.ds-hash-block {
  font-family: var(--mono);
  font-size: 0.68rem;
  word-break: break-all;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(57, 217, 138, 0.35);
  background: rgba(57, 217, 138, 0.06);
  color: #39d98a;
  margin-top: 0.75rem;
}

.ds-section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.ds-section h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
}

.ds-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ds-spec-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.02);
}

.ds-spec-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.ds-spec-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.55;
}

.ds-timeline {
  display: grid;
  gap: 0.65rem;
}

.ds-timeline-row {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.82rem;
}

.ds-timeline-row .time {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text2);
}

.ds-tier-pill {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.ds-tier-pill.n { background: rgba(57, 217, 138, 0.15); color: #39d98a; }
.ds-tier-pill.w { background: rgba(255, 176, 46, 0.15); color: #ffb02e; }
.ds-tier-pill.c { background: rgba(255, 107, 107, 0.15); color: #ff6b6b; }

.ds-footer-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text2);
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .ds-hero-grid,
  .ds-spec-grid {
    grid-template-columns: 1fr;
  }

  .ds-hud {
    grid-template-columns: 1fr 1fr;
  }
}
