To get the conversation moving, here's some initial ideas for framing and leg placement. As you can see, this favors building in modules that can be bolted together and then topped with decking that will have some overhang in various areas. Note that I indented the legs along the walls to account for the carpeting tack strips, assuming they were used. And speaking of carpeting, have you given any thought to the legs leaving pretty much permanent indentations in the carpet?