/* Hero Illustration — faux dashboard window + floating cards */
.ddb-hero-illo {
  position: relative;
  margin-inline: auto;
  aspect-ratio: 16 / 10;
  width: 100%;
  max-width: 64rem;
}
.ddb-hero-illo__window {
  position: absolute;
  inset: 8% 6%;
  border-radius: 1.5rem;
  border: 1px solid var(--ddb-border);
  background: var(--ddb-card);
  box-shadow: 0 30px 80px -30px rgba(20, 30, 80, 0.35);
}
.ddb-hero-illo__chrome {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  border-bottom: 1px solid var(--ddb-border);
  padding: 0.75rem 1rem;
}
.ddb-hero-illo__dot {
  height: 0.625rem;
  width: 0.625rem;
  border-radius: 9999px;
}
.ddb-hero-illo__dot--r { background: oklch(0.68 0.16 225 / 0.7); }
.ddb-hero-illo__dot--y { background: oklch(0.85 0.14 90 / 0.8); }
.ddb-hero-illo__dot--g { background: oklch(0.68 0.15 165 / 0.7); }
.ddb-hero-illo__window-title {
  margin-left: 0.75rem;
  font-size: 0.75rem;
  color: var(--ddb-muted-fg);
}
.ddb-hero-illo__body {
  display: grid;
  height: calc(100% - 44px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
}
@media (min-width: 640px) {
  .ddb-hero-illo__body {
    gap: 1.25rem;
    padding: 1.5rem;
  }
}
.ddb-hero-illo__panel {
  border-radius: 0.75rem;
  background: var(--ddb-cream);
  padding: 1rem;
  overflow: hidden;
}
.ddb-hero-illo__panel-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ddb-muted-fg);
}
.ddb-hero-illo__panel-value {
  margin-top: 0.25rem;
  font-family: var(--ddb-font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 1.5rem;
  color: var(--ddb-navy);
}
.ddb-hero-illo__bars {
  margin-top: 0.75rem;
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  height: 3rem;
}
.ddb-hero-illo__bars span {
  width: 0.5rem;
  border-radius: 0.125rem;
  background: oklch(0.68 0.16 225 / 0.8);
}
.ddb-hero-illo__sla {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.5rem;
}
.ddb-hero-illo__sla-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ddb-hero-illo__sla-dot {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
}
.ddb-hero-illo__sla-dot--g { background: var(--ddb-brand-green); }
.ddb-hero-illo__sla-dot--y { background: var(--ddb-brand-yellow); }
.ddb-hero-illo__sla-dot--o { background: var(--ddb-brand-orange); }
.ddb-hero-illo__sla-label {
  font-size: 11px;
  color: var(--ddb-ink);
}
.ddb-hero-illo__sla-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--ddb-muted-fg);
}
.ddb-hero-illo__trend {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--ddb-brand-green);
  font-size: 0.875rem;
  font-weight: 600;
}
.ddb-hero-illo__trend-icon {
  width: 0.875rem;
  height: 0.875rem;
}
.ddb-hero-illo__spark {
  margin-top: 0.5rem;
  width: 100%;
}

/* Floating cards */
.ddb-hero-illo__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: 0.75rem;
  border: 1px solid var(--ddb-border);
  background: var(--ddb-card);
  padding: 0.625rem 0.75rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.ddb-hero-illo__float-tile {
  height: 2rem;
  width: 2rem;
  border-radius: 0.5rem;
}
.ddb-hero-illo__float-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ddb-ink);
}
.ddb-hero-illo__float-sub {
  font-size: 10px;
  color: var(--ddb-muted-fg);
}
.ddb-hero-illo__float--tl { left: -2%; top: 2%; display: none; }
.ddb-hero-illo__float--tr { right: -1%; top: 18%; display: none; }
.ddb-hero-illo__float--bl { left: -3%; bottom: 10%; display: none; }
.ddb-hero-illo__float--br { right: 2%; bottom: -2%; }
.ddb-hero-illo__float--tc { left: 40%; top: -4%; display: none; }
.ddb-hero-illo__float--bc { right: 36%; bottom: -6%; display: none; }
@media (min-width: 640px) {
  .ddb-hero-illo__float--tl,
  .ddb-hero-illo__float--tr {
    display: flex;
  }
}
@media (min-width: 768px) {
  .ddb-hero-illo__float--bl {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .ddb-hero-illo__float--tc,
  .ddb-hero-illo__float--bc {
    display: flex;
  }
}
.ddb-hero-illo__wave {
  position: absolute;
  inset: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
}
