/* Video to 3D Section */
.video-to-3d {
  background: var(--bg-primary);
  overflow: hidden;
}

/* Pipeline visualization */
.pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-9);
  padding: var(--space-6) 0;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  opacity: 0.3;
  transform: scale(0.95);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
  min-width: 160px;
}

.pipeline-step.active {
  opacity: 1;
  transform: scale(1);
}

.pipeline-step-icon {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pipeline-step.active .pipeline-step-icon {
  border-color: rgba(108, 60, 225, 0.4);
  box-shadow: 0 0 30px rgba(108, 60, 225, 0.2);
}

.pipeline-step-label {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-align: center;
}

.pipeline-step-sublabel {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
}

/* Camera icon */
.icon-camera {
  width: 40px;
  height: 32px;
  border: 2.5px solid var(--cyan);
  border-radius: 4px;
  position: relative;
}

.icon-camera::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border: 2.5px solid var(--cyan);
  border-radius: 50%;
}

.icon-camera::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 10px;
  width: 14px;
  height: 6px;
  background: var(--cyan);
  border-radius: 2px 2px 0 0;
}

/* Gear icons for AI Processing */
.icon-gears {
  position: relative;
  width: 50px;
  height: 50px;
}

.icon-gear {
  position: absolute;
  border: 2.5px solid var(--magenta);
  border-radius: 50%;
}

.icon-gear-1 {
  width: 32px;
  height: 32px;
  top: 0;
  left: 0;
  animation: gear-spin 4s linear infinite;
}

.icon-gear-2 {
  width: 24px;
  height: 24px;
  bottom: 0;
  right: 0;
  animation: gear-spin-reverse 3s linear infinite;
}

.icon-gear::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  height: 40%;
  border: 2px solid var(--magenta);
  border-radius: 50%;
}

/* 3D wireframe cube */
.icon-3d-cube {
  width: 50px;
  height: 50px;
  perspective: 200px;
}

.icon-3d-cube-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: cube-rotate 8s linear infinite;
}

.icon-3d-cube-face {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 1.5px solid var(--emerald);
  background: rgba(15, 214, 140, 0.03);
}

.icon-3d-cube-face:nth-child(1) { transform: translateZ(25px); }
.icon-3d-cube-face:nth-child(2) { transform: rotateY(180deg) translateZ(25px); }
.icon-3d-cube-face:nth-child(3) { transform: rotateY(90deg) translateZ(25px); }
.icon-3d-cube-face:nth-child(4) { transform: rotateY(-90deg) translateZ(25px); }
.icon-3d-cube-face:nth-child(5) { transform: rotateX(90deg) translateZ(25px); }
.icon-3d-cube-face:nth-child(6) { transform: rotateX(-90deg) translateZ(25px); }

/* Pipeline connector */
.pipeline-connector {
  width: 100px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  align-self: center;
  margin-bottom: var(--space-8);
}

.pipeline-connector.active::before {
  content: '';
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-primary);
  animation: particle-flow 2s linear infinite;
}

.pipeline-connector.active::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-secondary);
  animation: particle-flow 2s linear infinite 0.7s;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.feature-card-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
}

.feature-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.feature-card-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.5;
}
