I actually leave for CR in about 16 hours. Lived there for 10 years when I was 3 till 13. I understand that the country is not the same as when I last lived there. Much more advanced, but also less safe than it once was. Places that I was able to just stroll around as a young white kid are no longer as safe, and you should be careful in your planning to avoid certain areas, or at least keep minimal $ on you and your passport in a safe location.
The one that I’ve heard from friends that live there is Samara. Lots of smash-n-grabs out of cars, break ins, etc.