/* Manufacturing Grid Pattern Background */
.manufacturing-grid {
  background-image: 
        /* Main grid */
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    /* Accent lines */
      linear-gradient(rgba(139, 92, 246, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.02) 1px, transparent 1px);
  background-size:
    60px 60px,
    60px 60px,
    300px 300px,
    300px 300px;
  background-position:
    0 0,
    0 0,
    0 0,
    0 0;
  animation: gridFlow 20s linear infinite;
}

@keyframes gridFlow {
  0% {
    background-position:
      0 0,
      0 0,
      0 0,
      0 0;
  }
  100% {
    background-position:
      60px 60px,
      60px 60px,
      300px 300px,
      300px 300px;
  }
}

/* Floating Data Points */
.data-points {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.data-point {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(59, 130, 246, 0.4);
  border-radius: 50%;
  animation: floatUp 8s linear infinite;
}

.data-point:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.data-point:nth-child(2) {
  left: 20%;
  animation-delay: 1s;
}
.data-point:nth-child(3) {
  left: 30%;
  animation-delay: 2s;
}
.data-point:nth-child(4) {
  left: 40%;
  animation-delay: 3s;
}
.data-point:nth-child(5) {
  left: 50%;
  animation-delay: 4s;
}
.data-point:nth-child(6) {
  left: 60%;
  animation-delay: 5s;
}
.data-point:nth-child(7) {
  left: 70%;
  animation-delay: 6s;
}
.data-point:nth-child(8) {
  left: 80%;
  animation-delay: 7s;
}
.data-point:nth-child(9) {
  left: 90%;
  animation-delay: 0.5s;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: scale(1);
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) scale(0);
    opacity: 0;
  }
}

/* Pulse Orbs */
.pulse-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 4s ease-in-out infinite;
}

.pulse-orb:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.pulse-orb:nth-child(2) {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.1;
  }
}
