Did going up the trail at 2am have anything to do with that?
I'm not as confident in the middle of the night all alone and tired. Lol.
I would just put some more seat time on the bike. I think you're lack of confidence comes from being less able to foot dab when it gets rocky. I believe it's a blessing in disguise. It will force you to keep your feet on the pegs and keep more momentum. This will make you a better and smoother rider. If I've learned one thing from riding with much superior riders is that these bikes have more potential than most of us can unlock and they will consistently reward confidence and assertiveness with speed and smiles.
Plus.
Tonka rips up AF much faster than everyone and he's got hobbit legs j/k.