I have the 2021 Mazda3 Hatchback Premium Plus, so I have all the options (the COVID used car prices were great for when my previous one got totaled, the insurance company really paid out). It was brand new when I bought it. I have very few issues with it.
It's quick, fun to drive, and feels really premium for not being priced insanely. I personally think it's comfortable, but if you're looking for more space, it's probably not the way to go. For example, the front seats aren't very usable with a rear-facing car seat in the back. The trunk space is pretty good imo. But I hate large cars in the first place.
I don't use Android Auto or CarPlay because I enjoy the ease of use of the built-in system. The control scheme uses a dial between the seats where your arm rests, so it's really easy to keep a hand on the wheel and navigate menus with it. There are also some quick buttons and a volume knob. The software could use a little work because sometimes album art doesn't show up, but that's mostly been fixed by changing Bluetooth settings on my phone. I truly don't think there's a better way to build a car control system.
I can't speak on reliability of my own car, but my mom had a CX-5 and it seemed to last a good while without maintenance issues. I've personally had no problems so far. I've had good luck with Mazda dealership service too and I'll probably stick with getting maintenance from them just so I can be sure someone who knows how those cars are built is working on it.
If Mazda comes out with an EV that has decent range and doesn't utilize a touchscreen, I'd for sure get like, the 3rd or 4th generation of it (because 1st and 2nd Gen anything can suck.