How to design for 3,000 pixel mobile screens

I’m kinda confused. We use pixels for pretty much everything, from font size to breakpoints. I recently designed a website which changed to mobile landscape view at 770px but when viewing on my mobile I always get the tablet size as my mobile is 960px wide in landscape. This got me thinking… How are we supposed to design for mobiles that are over 3000px wide but still standard size in inches? Surely everything would look tiny. Would it not make more sense to design in millimeters? Or am I totally misunderstanding it all?