What would a just legal system even look like in a socialist society? It seems like the legal system under capitalism still holds on to a lot of weird feudal stuff, so it’s kind of hard for me to get my head around what would come after this, if we completely destroyed the bourgeois legal system.
I have no education in law and it all seems intentionally opaque, so I feel like I can’t even begin to imagine an alternative.
Without defending our legal system, keep in mind that:
In short, the root problem (how should we govern ourselves?) is extraordinarily complicated and even a vastly-improved legal system will be similarly complicated, which will make it functionally opaque in many places and to many people. Improvements can be made, sure, but your "I can't even begin to imagine an alternative" intuition is reasonable.
That said, if I had to invent a legal system for a socialist utopia from scratch, here are a few important features I would include:
These are where I'd start at a high level; I personally think the common law/civil law distinction isn't that great, especially in the U.S.