Enron , once the nation 's seventh-largest company , entered bankruptcy proceedings in December 2001 after years of accounting tricks could no longer hide billions in debt or make failing ventures appear profitable .