You can click here to get TestDisk. You should download version 7.1. It is available from the second download button.
The download above includes PhotoRec, but alternative file recovery software is only a web search away.
With some luck, I still fervently hope you will successfully rescue your user files and folders from your C: drive if possible.
However, I prefer creating and validating an automatic weekly disk image partition backup of my entire computer.
As such, I can recover my system or specific files and folders whenever needed, which is an excellent solution.
I use the paid Acronis Cyber Protect Home Office Essentials, but the paid Macrium Reflect 8 Home is an alternative.
There is an article on Macrium Reflect v8.0 User Guide, but learning how to use it will take some time, but it is well worth it.
There is an article on How to perform a clean install of Windows 11, which you can use your Windows 11 ISO to do.
I would recommend that you please do NOT encrypt your system in the future unless you have a particular reason for it, which I respect.
I have already used my three desktop-only computers for over 28.5 years, but I have never used encryption, such as BitLocker or VeraCrypt.
Please let us know how it goes.
Good luck!
Microsoft Windows 10 Professional 64-bit V. 22H2 (19045) Retail Desktop PC, EAMH Paid/EEK, MB 4 Prem., and Unchecky, MDFW, FF with uBO/AG, Grammarly Free, MBBG, and Acronis CPHOE (DI), SUMo Free. I have 28.5 Years of PC Experience.