Text this: Optimal cybersecurity investment with collaborative defense in scale-free supply chain networks