Pakistan has gliding bombs with 180KM range. In order to be safe, India must deploy them 200 KM inside the Indian territory. Nasar would start and land within 60KM radius while in order to counter it, S400 would need to travel minimally 140KM and then it would have a chance to neutralize it. If it wants to intersect it, S400s would have intersept it in the middle of its flihgt path - and that means for 30KM Nasar Travel, S400 would have to cover 170KM.
So good luck with your calculations.. if S400 are meant to safe you from Nasr and its nuclear lava, you are not safe against it. In my humble opinion.