Hey roadie.
1. I'd run a 1" conduit, PVC is fine the entire route. It's much easier to install and cheaper. Also the wires will be much easier to pull in the larger conduit. Use a #10 wire for the ground. And be sure to use a 2 pole 40 amp GFCI breaker for the main feed.
2. The flexable line can be no longer than 6' from the spa, not including the flex line inside the spa that is needed to connect to the junction box. Also, it must be watertight and non metallic , not old fashioned "greenfield". But you'll need to "hardwire" it to the PVC junction box outside, don't use a 40 amp recepticle.
3. As for the 120v plug near the spa, any recepticle outside needs to be GFCI protected and not be closer than 6' , and not farther than 10' from the inside wall of the spa measured horizontally. Also, this recepticle must be independent of the spa circuit.
Only other advice i'd give is to make sure to bond the metal frame to the ground you install. Some older tubs may not have the frame properly grounded.