The distribution of values of $L$-functions in the critical strip and applications