.hero-dashboard {
  margin-top: 64px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.8s 0.5s ease both;
  position: relative;
  z-index: 2;
}

.dashboard-frame {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
}

.dash-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dash-dot.red {
  background: #FF5F57;
}

.dash-dot.amber {
  background: #FEBC2E;
}

.dash-dot.green {
  background: #28C840;
}

.dash-title-text {
  margin-left: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}

.dash-body {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dash-metric {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 18px 20px;
  text-align: left;
  transition: border-color 0.3s;
}

.dash-metric:hover {
  border-color: rgba(43,127,255,0.4);
}

.dm-label {
  font-size: 11px;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.dm-value {
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}

.dm-value .accent {
  color: #2b7fff;
}

.dm-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.72);
}

.dm-bar {
  margin-top: 14px;
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
  overflow: hidden;
}

.dm-fill {
  height: 100%;
  background: linear-gradient(90deg, #2b7fff, #60a5fa);
  border-radius: 3px;
  width: 0%;
  transition: width 1.6s ease 0.8s;
}

.dash-pipeline {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
  padding: 14px 20px;
  gap: 0;
  margin-top: 4px;
}

.pipeline-node {
  flex: 1;
  text-align: center;
  padding: 6px;
}

.pn-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  font-size: 16px;
}

.pn-label {
  font-size: 11px;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.3px;
}

.pn-status {
  font-size: 10px;
  color: #2b7fff;
  font-weight: 600;
  margin-top: 2px;
}

.pn-status.done {
  color: #00c950;
}

.pipeline-arrow {
  color: rgba(255,255,255,0.15);
  font-size: 16px;
  flex-shrink: 0;
  animation: arrowPulse 2.4s ease infinite;
}

.pipeline-arrow:nth-child(4) {
  animation-delay: 0.6s;
}

.pipeline-arrow:nth-child(6) {
  animation-delay: 1.2s;
}

.pipeline-arrow:nth-child(8) {
  animation-delay: 1.8s;
}

@keyframes arrowPulse {
  0%,100% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.9;
    color: #2b7fff;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Tablet */
@media (max-width: 1024px) {
  .hero-dashboard {
    margin-top: 36px;
    max-width: 100%;
  }

  .hero-dashboard .dash-body {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
  }

  .hero-dashboard .dash-pipeline {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 8px 0;
    padding: 12px;
  }

  .hero-dashboard .pipeline-node {
    flex: 1 1 33.333%;
    min-width: 0;
  }

  .hero-dashboard .pipeline-arrow {
    display: none;
  }

  .hero-dashboard .dm-value {
    font-size: 30px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero-dashboard .dashboard-frame {
    border-radius: 12px;
  }

  .hero-dashboard .dash-titlebar {
    padding: 10px 12px;
  }

  .hero-dashboard .dash-title-text {
    font-size: 11px;
    line-height: 1.3;
    margin-left: 6px;
  }

  .hero-dashboard .dash-body {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .hero-dashboard .dash-metric {
    padding: 14px;
  }

  .hero-dashboard .dm-label {
    font-size: 10px;
    margin-bottom: 6px;
  }

  .hero-dashboard .dm-value {
    font-size: 28px;
  }

  .hero-dashboard .dm-sub {
    font-size: 11px;
  }

  .hero-dashboard .dash-pipeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 2px;
    padding: 10px;
  }

  .hero-dashboard .pipeline-node {
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
  }

  .hero-dashboard .pn-icon {
    margin-bottom: 6px;
  }

  .hero-dashboard .pn-label {
    font-size: 11px;
    line-height: 1.25;
  }

  .hero-dashboard .pn-status {
    font-size: 10px;
  }
}
