HZO-based ferroelectric device technology