Your plants’ symptoms are pointing to nutrient deficiencies, however it might not need more nutrients, the nutrients may have just become unavailability due to pH lockouts, nutrient salt toxicity lockouts, and or over watering, or any combination of them.
Excessive fungus gnats is often a symptom of over watering.
Red/purple stems can be a nutrient deficiency of phosphorous and/or sometimes a cal-mag deficiency.
Happy growing,