I am very sorry this happened to you. I am wondering if you had a real estate agent represent your side of the transaction? And if you used an inspector, and if so, were they chosen by you, or did the agent recommend them?
If you didn't use your own agent. Please do. Many buyers and investors don't use an experienced real estate agent to cut costs, when usually as the buyer you don't pay for the agent's services, rather the seller does at closing. Hope this is helpful for your next purchase.
I am not a lawyer, and this is not legal advice, but I studied this information recently while getting my real estate broker's license. According to the National Association of Realtors- https://www.nar.realtor/ (Which, not all real estate agents are members of), there is a strict Code of Ethics you can read on their website.
Articles 1-9 address "Duties to Clients and Customers". Specifically, Article 2 relates to DISCLOSURE. Here you may want to contact the local Board of Realtors to file a complaint and ALSO file a complaint with your state's real estate commission. From what I understand, both encourage parties to mediate vs court cases.
Please note, based on my experience, most general home inspectors do a basic home inspection and will check, identify, document, and make recommendations if needed for other specific inspections. I always suggest additional inspections regardless for my home buyers - in addition to the general inspector - before a deal is closed. This can include inspectors for pools, environmental, sewer lines, underground oil tanks (In NJ), electric, pest, or foundation.
Hope this is helpful to you somehow.