pub fn parse_device_type(user_agent: &str) -> String
Parse device type from User-Agent string. Returns “mobile”, “tablet”, or “desktop”.