Role: Act as a Senior Frontend Engineer and UI/UX Designer.

Task: Build a high-fidelity functional prototype for a SaaS product called "Netknow".

Concept: Netknow is a "Glassdoor for Invoice Payments." It crowdsources data from accounting software to reveal how fast companies actually pay their bills compared to their contract terms (e.g., Contract says Net 30, but they actually pay in 58 days).

Tech Stack:

Core Data Logic (The "Give-to-Get" Model):

The app relies on a "Freemium/Gated" mechanic. Users can search for companies, but they cannot see detailed charts or qualitative reviews unless they "Connect" their own accounting software (simulated).

  1. Global State: Manage an isConnected boolean state at the top level.
  2. Simulation: Create a mock connection flow (Modal -> Select Provider -> Fake Loading -> Success) that flips this state to true.

Detailed Component Specifications

1. Service Layer (geminiService.ts)