I've tried m/84'/0'/0' , m/84'/0'/0'/0' , and m/84'/0'/0'/0 with valid Electrum segwit and BIP39 mnemonic "abandon about razor", but I'm not getting the same result as Electrum (bc1qp0efh7jms7f580e7nnywjg5vzm90njm0rdvqpe for index 0). Everything matches the results from BIP84 in Ian Coleman, so I'm not sure what's going wrong here.
First of all that mnemonic is not valid bip39 according to electrum but it is according to the ian coleman site. Regardless you can still create a bip39 wallet with it in electrum. The way to do this is to make sure to click on options and choose bip39 in the seed entry step and in the next step choose native segwit as the derivation path. If you do this you will get addresses that match the bip84 derivation path option on iancoleman's site (m/84'/0'/0'/0).
That mnemonic is also a valid electrum seed so if you
don't click on options and check bip39 electrum will use a different method to convert to the binary seed (2 in the op) and as a result you get different addresses.
So overall you have to pay attention to details like these.