Define the Fibonacci numbers as $F_0 = 0, F_1 = 1, F_{k}=F_{k-1}+F_{k-2}\text{ for }k\ge 2$.
Let $s(k)$ be the number of 1s in the binary representation of $k$.
Define $\displaystyle S(N) = \sum_{k=0}^N F_{k+s(k)} $.
You are given $S(10) = 369$ and $S(50) = 161052232733$.
Find $S(10^{18})$. Give your answer modulo $10^9+7$.