Files structure

chat-core.js - Main initialization, state management, and core functionality
chat-ui.js - UI rendering, DOM manipulation, and styling
chat-tracking.js - Event tracking and analytics
chat-mobile.js - Mobile-specific behavior and responsiveness
chat-api.js - API communication and message handling
chat-config.js - Configuration and utilities