Quasi-periodic structures and solitary wave interactions for the (3+1) Kadomtsev–Petviashvili-like equation under variable coefficients | Synapse