Windsurf CEO opens up about ‘very bleak’ mood before Cognition deal