/* ==========================================================================
   DASHBOARD PREVIEW
   A stylized reporting panel (illustrative, not a live screenshot) that
   gives the "dashboards and reporting" differentiator a visual presence.
   KPI values reuse the same real, site-wide stats published in the stats
   bar rather than inventing new figures. Reuses .mock-chart/.chart-bar so
   the existing scroll-triggered bar animation applies for free.
   ========================================================================== */

.dash-preview {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  background-color: var(--color-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-preview:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.16);
}

.dash-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.dash-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--color-text-tertiary);
  opacity: 0.35;
}

.dash-chrome-label {
  margin: 0 0 0 var(--space-sm);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-text-tertiary);
  letter-spacing: 0.02em;
}

.dash-body {
  padding: var(--space-lg);
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.dash-kpi {
  padding: var(--space-sm);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
}

.dash-kpi-label {
  margin: 0 0 4px 0;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-tertiary);
}

.dash-kpi-value {
  margin: 0;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
  font-size: var(--font-size-xl);
  color: var(--color-text-primary);
}

.dash-kpi-value {
  white-space: nowrap;
}

.dash-kpi-unit {
  font-size: 0.55em;
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--color-text-tertiary);
}

.dash-chart.mock-chart {
  height: 140px;
  background: none;
  border-radius: var(--radius-md);
}

@media (max-width: 480px) {
  .dash-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .dash-kpi:last-child {
    grid-column: span 2;
  }
}
