Generalized Josephson plasmons in bilayer superconductors