Decent brakes that dont just lock up.
Need to keep rolling and modulate your braking.
Look at DH bike design as what you want. Then find what elements of that you can transfer while keeping all around usability.
things like tyres with a good braking edge, short stem, wide bars, good brakes, well set up suspension, low saddle. Just look at the evolution of ‘enduro’ bikes.
The main thing is confidence so experience and learning lines etc, keeping your body in the right position. i.e not too far back or forwards.