# FitBNR — Product Overview (English)

> **FITBNR — Your Fitness Journey, Reimagined.**  
> *A Mobile Fitness Platform Ready for Its Next Chapter.*

---

## 1. Product Introduction

**FitBNR** (`com.fitriq.fitbnr`, currently **v1.9.2 / versionCode 17**) is a native Android fitness, strength-training, and AI-assisted nutrition platform built with **Kotlin** and **Jetpack Compose**. Designed for athletes and everyday gym-goers who want serious training intelligence without bloated subscriptions or fragmented apps, FitBNR unifies workout execution, anatomical muscle recovery tracking, hardware step counting, hydration/creatine adherence, and bilingual AI meal logging into a single cohesive mobile experience.

FitBNR is built from the ground up with **full bilingual support (English LTR and Arabic RTL)** and dual visual themes (**Night Mode** and **Day Mode**), making it uniquely positioned for both global and MENA/Arabic-speaking fitness markets.

---

## 2. Vision & Mission

- **Vision**: To give every athlete—whether a beginner starting their first split or an experienced lifter chasing progressive overload—a unified, science-backed digital training partner that replaces separate step counters, calorie trackers, and workout notebooks.
- **Mission**: Combine native Android hardware efficiency, structured strength programming, and practical AI food analysis in an intuitive, high-contrast interface ready for commercial scaling under new ownership.

---

## 3. Target Audience

1. **Gym-Goers & Strength Athletes (Ages 18–40)**: Users following Push/Pull/Legs, Upper/Lower, or custom hypertrophy splits who track sets, reps, weight progression, 1RM, and muscle recovery.
2. **Body Recomposition & Nutrition-Focused Users**: Individuals cutting, bulking, or maintaining weight who need accurate BMR/TDEE macro targets and fast meal logging (including regional/Arabic dishes).
3. **Arabic-Speaking & Bilingual Markets (MENA + Global)**: A massively underserved demographic for high-craft native fitness apps with true RTL layout mirroring and natural Arabic food recognition.
4. **Fitness Coaches, Gyms & Digital Health Brands (B2B/Acquisition Buyers)**: Operators seeking an established, customizable native Android codebase to launch, brand, and monetize on Google Play.

---

## 4. Problems FitBNR Addresses

| Market Problem | How FitBNR Solves It |
| :--- | :--- |
| **App Fragmentation** | Users typically juggle 3–4 apps (workout log, calorie counter, step tracker, water reminder). FitBNR consolidates all four into one 5-tab workspace. |
| **Poor Arabic / RTL Support in Fitness Apps** | Most global fitness apps treat Arabic as an afterthought. FitBNR provides native `LayoutDirection.Rtl` mirroring, Arabic food AI prompting, and localized exercise names. |
| **Generic Calorie Estimates (Raw vs. Cooked)** | Standard food loggers confuse raw and cooked weights (e.g., rice, chicken). FitBNR's AI nutrition prompt explicitly enforces raw-vs-cooked biochemical rules and lets users adjust individual item grams post-scan. |
| **Blind Training Without Recovery Insight** | Lifters often overtrain fatigued muscles. FitBNR's Muscle Recovery Heatmap & 3-Head Deltoid Anatomical Body Map calculate fatigue from actual logged sets and display recovery hours remaining. |

---

## 5. How the Application Works

1. **Onboarding & Calibration**: New users complete a 6-step onboarding flow (Account Creation → Name → Date of Birth → Gender → Height/Weight Sliders → Fitness Goal & Activity Level). FitBNR immediately calculates BMR, TDEE, daily protein/carb/fat targets, and daily hydration needs using the Mifflin-St Jeor equation.
2. **Daily Command Center (Home Tab)**: Displays real-time hardware step progress (`TYPE_STEP_COUNTER`), calories burned, distance, water intake quick-add buttons (`+250ml`, `+500ml`), daily creatine adherence toggle, and remaining calorie/macro rings.
3. **Workout Studio (Workouts Tab)**: Users pick from 6 built-in splits, build custom routines, or generate an algorithmic multi-day split tailored to gender, level, and goal. During live sessions, a persistent timer and Android notification shade widget track elapsed time and rest intervals while users log weights, reps, and sets.
4. **AI Nutrition Center (Nutrition Tab)**: Users log meals via free-text in any language (EN/AR/FR/Darija), meal photographs (Gemini Vision), or interactive Quick Staple Builders (Eggs, Rice/Pasta, Chicken, Tuna, Oats), with live gram adjustment steppers.
5. **Analytics & History (Analytics Tab + Daily History)**: Tracks weight trends on an interactive chart, stores immutable daily logs in Cloud Firestore, and generates shareable Workout Story Cards.

---

## 6. Main Implemented Features (Summary)

- **6-Step Onboarding & Metabolic Calculator** (Mifflin-St Jeor BMR, TDEE, macro & water targets)
- **Live Workout Studio**: 57 cataloged exercises with 56 `.webp` illustrations, 6 built-in splits, custom routine builder, exercise reordering, Start/End time editor, and persistent live workout notification
- **3-Head Deltoid Muscle Recovery Heatmap & Vector Anatomical Body Map** (Male & Female, Front & Back)
- **Exercise Details & Records Hub**: Visual 1RM progression bar chart, All-Time PR badges, and session history
- **Strength Estimator (1RM)**: Hybrid Brzycki + Epley calculator with training intensity brackets
- **Smart Progressive Overload Tracker** & **Shareable PNG Workout Story Cards**
- **Multi-AI Food Logger**: Gemini Vision/Text → Groq Llama failover → Offline parser + Firestore `global_food_database` community cache + editable gram steppers
- **Native Hardware Step Counter** (`StepCounterManager`), Water & Creatine Trackers, and Local Smart Reminders (WorkManager + AlarmManager)
- **Full Bilingual (EN/AR) & Dual Theme (Night/Day)** + In-App OTA Updater + Tester Feedback Modal

---

## 7. Unique Selling Points (USPs)

1. **True Bilingual Architecture (EN + AR/RTL)**: Native RTL mirroring and multi-language AI food parsing (including Arabic and Darija) open high-growth MENA markets alongside global English users.
2. **3-Head Deltoid & Vector Anatomical Recovery Map**: Granular Anterior, Lateral, and Posterior deltoid separation—a level of anatomical detail rarely seen outside top-tier strength apps.
3. **Multi-Provider AI Failover + Community Caching**: Reduces AI API costs over time by caching verified foods in Firestore (`global_food_database`) while maintaining resilience across Gemini and Groq models.
4. **Modern 100% Jetpack Compose Codebase**: Clean MVVM architecture with no legacy XML views, making future feature expansion fast and maintainable.

---

## 8. Potential Commercial Applications & Monetization

*(Note: Monetization is not yet implemented in the current codebase; these represent direct commercial opportunities for the buyer.)*

- **B2C Freemium Subscription**: Gate AI photo meal scanning, multi-day AI workout splits, 1RM progression analytics, and anatomical recovery heatmaps behind a Monthly/Annual Google Play Billing subscription.
- **White-Label / Gym Chain Licensing**: Customize branding (`Theme.kt`, `Color.kt`, logo) for fitness clubs or personal training brands.
- **Coach-Client Ecosystem**: Extend the existing Firestore `users/{uid}` structure with coach dashboards and assigned splits.
- **Supplement & Nutrition Affiliate Integration**: Contextualize creatine, whey, and meal-prep partnerships around existing hydration/creatine and nutrition cards.
