Prompt: Design and build a mobile-first inventory management application powered by Google's Gemini AI model, made for local business owners in Tanzania and similar markets. The app should allow users to add and manage inventory through AI-driven multimodal inputs, and offer an intuitive, icon-based interface. The goal is simplicity, speed, and AI smartness—usable even by non-tech-savvy users. Core Features (Powered by Gemini AI): AI-Powered Inventory Input: Voice Command Input: Use Gemini’s speech understanding to let users say: "Add 2 crates of Pepsi, buying price 15,000, selling at 20,000, soft drinks" → The app should extract all info accurately and auto-save. Image Recognition & OCR: Capture images of product packaging, receipts, invoices. Gemini should extract: Product names Prices Categories Document (PDF) Parsing: Users can upload invoices or purchase orders as PDFs. Gemini should extract and suggest item listings. Smart Autofill + Suggestions: Based on historical data, suggest categories, common prices, and reorder quantities. User Interface (Mobile-First + Icon-Based): The UI must be easy to understand without reading any text. Each feature below should be represented with clean, universal icons: Dashboard Add Inventory Sell Inventory Customers Creditors Daily Expenses Debtors Diary Orders Upcoming Inventory Inventory List Add Users Create Report Settings Tutorial Logout Subscription Model (Local Payments): TZS 15,000/month TZS 150,000/year Accept payments through local mobile money gateways: M-Pesa Tigo Pesa Airtel Money Include: Clean pricing screen with toggle (monthly vs yearly) Localized currency and language options Clear instructions for mobile payments Auto-renew reminder notifications Additional Smart Features (Also Gemini AI-Powered): Smart Dashboard Shows: stock alerts, fast-selling items, low inventory warnings Natural Language Search Users can type or say: “Show all drinks sold last week above 20,000 TZS” Daily Expense Categorization Gemini suggests expense types based on input Smart Reports Auto-generated profit/loss, top customer, inventory movement reports (PDF/CSV) Smart Tutorial Conversational onboarding: Gemini-powered assistant walks new users through features Tech Stack Recommendation: Frontend: Flutter (for fast mobile UX) Backend: Firebase or Node.js + MongoDB AI: Gemini Pro (for voice, vision, document, NLP tasks) Payment Integration: Use Tanzanian local mobile money APIs/SDKs (e.g., Selcom, Vodacom APIs) Offline-First: SQLite local caching with Firebase sync Security: Local data encryption, role-based access, 2FA (optional) Add a Marketing / Promotions module to an existing AI-powered inventory management mobile app designed for local business owners. This feature will allow users to send promotional SMS campaigns to their customer list through an in-app experience. The system should not interfere or break any existing app features, and must be fully mobile-optimized. Core Functionalities: Business Sender Name Request Flow: User requests a custom Sender ID (e.g., "MAMA_SHOP") System sets request to Pending Approval Max pending time: 14 days Notify user automatically upon: Approval → unlocks campaign access Rejection → provide reason and reapply option Tanzanite Coins (SMS Credits): Users buy Tanzanite Coins 1 Coin = 2 SMS messages Add a wallet/credit balance interface Allow coin purchase via local mobile money payments (M-Pesa, Tigo Pesa, Airtel Money) Provide invoice history for purchases Promotion Campaign Features: Create bulk SMS campaigns using: Discounts New Arrivals Bonus Offers Special Coupons AI can suggest best times to send based on customer activity Allow targeting: All Customers Specific Categories (e.g., “Frequent Buyers”) Custom customer groups Campaign Composer Interface: Write message (max 160 characters per SMS) Use AI to auto-summarize long offers Show live SMS preview Calculate required Tanzanite Coins based on number of recipients Show real-time balance check + coin top-up option Campaign Statuses: Draft Scheduled Sent Failed (with reason) Additional Smart Features (Optional but Recommended): Smart suggestions (AI-powered) for: SMS headlines Emojis or character-saving tips Campaign types based on inventory trends Promotion performance tracking (open rates if API allows) UX/UI Integration: Add a "Marketing" icon in the main navigation panel Inside the Marketing module: "Buy Coins" "Create Campaign" "Sender ID Status" "Campaign History" "Settings" Backend & AI Integration: Gemini AI: SMS summarization Timing recommendation Text classification (e.g., identify coupon, discount, etc.) Payment: Use same local payment gateway as main app for consistency (Vodacom API, Selcom, Tigo Pesa) SMS Gateway: Integrate with Tanzania-based bulk SMS gateway that supports custom sender IDs and delivery reports (e.g., Africa’s Talking, Bongo Live) Important Rules for Integration: No data conflicts with existing inventory or sales modules Add separate database tables for: Sender Name Requests Tanzanite Coin Purchases Campaign Logs App must continue working if marketing feature is disabled or unapproved All actions must work offline except payment and message sending