Nothing new in your budget is going to be so good for "heavy trail riding". If by that, you mean that the bike will be heavy, you'll be fine. However,
At that price range, you're looking at bikes that make good campus bikes, good entry level xc bikes, that sort of thing. Once you start riding it hard, parts will wear out quickly. If you do a lot of jumps, it's quite likely that parts will start to break quickly, too.
You have to be aware that different bikes are built for different things. Entry level stuff at that price point is built to get people on a bike. They're not built for aggressive riding (no matter how much they look the part). They're not built for people who put thousands of trail miles on a bike in a year, either.