Lightning beats Lunarians and the races from the ancient past
That’s why Imu is the ruler cause he can control lightning and stuff
It makes sense, too: lightning, unless you are grounded, passes through your internal body: at a high enough voltage, no matter how strong you are, your body is getting messed up internally.
It's the same with Law's Gamma Knife and Shock Villie: he's ripping your body apart from the inside, bypassing your internal organs to begin with.
Same concept with Ryou. Before Ryou/Adv CoA and Avd CoC/CoC coating, Luffy couldn't touch Kaido for jack shit, while Law's attacks were always capable of hitting him internally with Awakening.
Ryou allowed Luffy to hit Kaido internally, but it still didn't do much to destroy him, due to Kaido's incredible durability as an Oni and an Ancient Mythical Zoan with regeneration properties.
Once Luffy was able to use CoC coating, his Haki negated the defensive bonuses of Kaido's Devil Fruit, making him much more weak to Luffy's attacks.
By this logic, Nami should be very effective against most of Vegapunk's defenses.
Also... Nami can attack with her feet trapped. Even if Vegapunk uses the boots to stop her from moving, she can till use AOE attacks with Zeus + the Climatact.