Giải phương trình \(cos^4x+\sin^4x+cos\left(x-\frac{\pi}{4}\right)\times sin\left(3x-\frac{\pi}{4}\right)-\frac{3}{2}=0\)có nghiệm là:
A.\(x=\pm\frac{\pi}{4}+k2\pi\)
B.\(x=\frac{\pi}{2}+k\pi\)
C.\(x=\frac{\pi}{4}+k\pi\)
D.\(x=\frac{\pi}{4}+k2\pi\)