Which of the following conditions can cause nail changes characterized by longitudinal ridges and pitting?
a) Lichen planus
b) Psoriasis
c) Nail dystrophy due to trauma, infection, or chronic inflammation
d) Onychomycosis