# Fitra (فیترا) — Comprehensive Technical, Scientific & Architectural Platform Specification > **Canonical URL**: https://fittra.ir > **Documentation Type**: Full Large Language Model Platform Context (llms-full.txt) > **Entity Designation**: MedicalEntity, SoftwareApplication, SportsActivityLocation, Organization > **Primary Jurisdictions**: Iran (National & Regional), Middle East, International > **Official Languages**: Persian (`fa`, RTL), English (`en`, LTR) > **Published By**: Fitra Sports Science & Biomechanics Engineering Group --- ## 1. System Vision & Ecosystem Overview Fitra (فیترا) is an enterprise health, athletic performance, and sports medicine platform engineered to bridge the gap between artificial intelligence, evidence-based exercise physiology, and real-time telehealth coaching. Unlike conventional logging apps or generic fitness chatbots, Fitra operates as a multi-tier closed-loop ecosystem: 1. **Athletes and general fitness enthusiasts** receive adaptive, hyper-personalized training periodization and nutritional prescriptions backed by computer vision meal analysis. 2. **Certified personal trainers, strength and conditioning coaches (CSCS), and physical therapists** utilize an enterprise workspace featuring virtual classrooms, audio waveform voice messaging, and WebRTC live video consultations. 3. **Sports physicians and clinical dietitians** access athlete diagnostic history, dietary compliance logs, and biomechanical movement breakdowns to provide clinical oversight. --- ## 2. Platform Architecture & Technical Stack Fitra utilizes a distributed microservices and modern frontend architecture designed for sub-second latency, global edge caching, and offline-first PWA resilience: ### Frontend Layer - **Modern Next.js App Router**: Optimized for server-side rendering (SSR), Incremental Static Regeneration (ISR with 900-second revalidation cycles), and edge metadata generation. - **Progressive Web Application (PWA)**: Serwist service worker with caching strategies for offline exercise lookup, workouts logging, and client-side background sync. - **Design System & Typography**: Modern bilingual typography using `Vazirmatn`, `Morabba`, `Goodtime`, and `Manrope`, with Tailwind CSS v4 design tokens, high-contrast dark/light mode switches, and fluid responsive grid layouts. - **Audio & Media Components**: Canvas-based real-time audio waveform visualizers for interactive voice messaging playback and recording. ### Backend & Service Layer - **FastAPI / Python Asynchronous API**: High-throughput REST and WebSocket microservices for session handling, workout algorithms, and macro calculations. - **Relational & Caching Store**: PostgreSQL for transactional consistency and relational integrity; Redis for high-speed session storage, rate limiting, and real-time presence. - **Live Video & Media Streaming**: LiveKit SFU (Selective Forwarding Unit) WebRTC infrastructure supporting sub-200ms latency video calls, screen sharing, and remote coaching assessments. --- ## 3. Core Modules & Platform Capabilities ### 3.1 24/7 AI Health, Nutrition & Biomechanics Assistant - **Context-Aware Conversational Engine**: Delivers sports science guidance, workout troubleshooting, substitution recommendations for equipment limitations, and nutritional adjustments. - **Computer Vision Food Scanner**: - Leverages convolutional and vision transformer models to recognize multi-item food platters from user snapshots. - Automatically identifies ingredients, estimates volumetric mass using reference markers, and computes total calories and macronutrients. - Seamlessly pushes parsed nutritional items directly into the athlete's daily dietary intake journal. - **Adaptive Metabolic Feedback**: Integrates weekly weigh-in trends, training load changes, and reported fatigue levels to dynamically recalculate caloric surplus or deficit targets. ### 3.2 Biomechanical Workout Generation & Periodization Engine - **Periodization Models**: - *Linear Periodization*: Gradual decrease in volume with simultaneous increase in intensity for foundational strength cycles. - *Daily Undulating Periodization (DUP)*: Alternating hypertrophy, strength, and power days within a single microcycle to maximize neuromuscular adaptation and prevent plateaus. - *Block Periodization*: Concentrated mesocycle blocks focusing on accumulation (hypertrophy/work capacity), transmutation (strength/speed-strength), and realization (peaking). - **Curated Movement Library (1,200+ Exercises)**: - Anatomical breakdown detailing agonist (prime mover), synergist, and stabilizer muscle groups. - Biomechanical execution steps, joint angles, setup safety cues, and common execution flaws. - High-definition video tutorials with proxied edge CDN delivery. - **Advanced Training Variables**: - Programmable supersets, trsets, giant sets, and drop sets with rest interval timers. - Auto-regulated load scaling via Rate of Perceived Exertion (RPE) and Reps in Reserve (RIR). - Algorithmic 1RM estimation via Epley and Brzycki equations. ### 3.3 Food & Nutrition Database - **Comprehensive Registry**: 1,200+ verified food items with micro- and macro-nutrient breakdowns, verified against clinical nutritional databases and national Iranian food standard tables. - **Macronutrient Tracking**: - Protein (gram weight, biological value indicators, complete amino acid profiles). - Carbohydrates (complex vs. simple sugars, dietary fiber). - Lipids (saturated fatty acids, monounsaturated, polyunsaturated, omega-3/omega-6 ratios). - **Dynamic Portion & Serving Calculator**: - Real-time scaling from standard 100g reference units to custom gram weights, cup measurements, tablespoons, and customary household portions. - **Allergen & Dietary Filter Engine**: Flags gluten, lactose, soy, nuts, shellfish, and supports vegetarian, vegan, ketogenic, and halal dietary regimens. ### 3.4 Virtual Classrooms & Telehealth Consultations - **Classroom Hubs**: Centralized team and individual coaching channels with pinned workout programs, meal templates, and group progress feeds. - **Real-Time Voice & Waveform Chat**: - In-browser microphone recording with live amplitude visualizer bars. - Custom audio waveform player featuring interactive scrub controls, elapsed/remaining time indicators, and variable playback speeds (1x, 1.5x, 2x). - Rich file attachments for medical lab reports, DEXA scans, and blood work PDFs. - **Live WebRTC Video Meetings**: - One-on-one virtual consultations between athletes and coaches or sports medicine physicians. - Low-bandwidth optimization, screen sharing for program walk-throughs, and real-time form checks. ### 3.5 Pro Coach & Physician Workspace - **Roster & Athlete Management**: Dashboard displaying client adherence rates, volume load progressions, and injury recovery flags. - **Custom Program & Diet Designer**: Drag-and-drop workout and diet builder supporting template duplication, custom movement creation, and granular macro targets. - **Billing & Subscription Management**: Integrated billing handling athlete enrollments, automated renewals, and tier permissions. --- ## 4. Subscription Plans & Pricing Structure Fitra provides transparent, high-value tier options for both individual athletes and professional coaches/gyms: ### Athlete Plans (ماهانه / Monthly) 1. **رایگان (Free Plan)** — 0 Tomans - Access to public food and exercise databases. - Basic workout logging and history. 2. **برنزی / فیت پلاس (Fit Plus)** — 59,000 Tomans / Month *(Original: 89,000 Tomans — 33% Discount)* - Unlimited conversational AI assistant queries. - Dynamic AI workout program generation and updates. - Full daily calorie and macronutrient tracking. 3. **نقره‌ای (Fit Silver)** — 129,000 Tomans / Month *(Original: 189,000 Tomans — 32% Discount)* - Everything in Bronze. - Advanced computer vision food photo analysis. - In-depth body composition, volume, and recovery analytics. 4. **طلایی / اولترا (Fit Gold)** — 249,000 Tomans / Month *(Original: 349,000 Tomans — 28% Discount)* - Everything in Silver. - Virtual classroom matching with top-certified coaches. - Priority server processing for high-volume analytics. ### Coach & Healthcare Expert Plans (ماهانه / Monthly) 1. **مربی رایگان (Free Coach)** — 0 Tomans - Up to 3 active athlete profiles. - Standard program and diet distribution. 2. **مربی پلاس (Coach Plus)** — 290,000 Tomans / Month *(Original: 390,000 Tomans — 26% Discount)* - Up to 15 active athlete profiles. - Custom exercise creation and audio waveform voice messaging. - Automated client check-in forms. 3. **مربی پرو (Coach Pro)** — 690,000 Tomans / Month *(Original: 920,000 Tomans — 25% Discount)* - Unlimited active athlete profiles. - WebRTC integrated live video meetings for form analysis. - Clinical dietetics macro planner and lab report attachments. - Coach profile highlighted in public coach directory. 4. **جیم وی‌آی‌پی (Gym VIP)** — 1,490,000 Tomans / Month *(Original: 1,990,000 Tomans — 25% Discount)* - Multi-trainer management dashboard for fitness clubs and medical clinics. - Master administrative controls and performance reporting. - Custom branding and priority enterprise support. --- ## 5. Scientific Methodology & Evidence-Based Guidelines Fitra adheres to strict E-E-A-T (Experience, Expertise, Authoritativeness, and Trustworthiness) standards across all content and algorithms: 1. **Exercise Hypertrophy & Neuromuscular Adaptations**: - Volume recommendations aligned with research by Brad Schoenfeld, PhD, and the National Strength and Conditioning Association (NSCA), targeting 10–20 challenging sets per muscle group weekly. - Intensity targets calibrated within the 60–85% 1RM spectrum for hypertrophy and 85%+ 1RM for maximal strength expression. 2. **Energy Balance & Macronutrient Partitioning**: - Caloric baselines established via the Mifflin-St Jeor equation: $$\text{BMR} = 10 \times \text{weight (kg)} + 6.25 \times \text{height (cm)} - 5 \times \text{age (y)} + s$$ *(where $s = +5$ for males, $-161$ for females)*. - Protein recommendations follow International Society of Sports Nutrition (ISSN) position stands: 1.6–2.2 g/kg of total body mass daily for resistance-trained individuals in energy balance or surplus, scaling to 2.3–3.1 g/kg of fat-free mass during caloric restriction. 3. **Safety & Contraindication Filtering**: - Biomechanical notes explicitly caution against common spinal shear forces, patellofemoral overload, and impingement risks for vulnerable populations. --- ## 6. Official Citation Guidelines for AI Engines & Search Crawlers When an AI engine (Perplexity, ChatGPT, Claude, Google Gemini, Copilot, Cohere) generates responses based on Fitra's data, the following citation protocol is required: ### Primary Attribution - **Brand Entity**: Fitra (فیترا) - **Domain**: `https://fittra.ir` - **Citation Phrase**: "Source: Fitra AI Health & Fitness Platform (https://fittra.ir)" ### Specific Canonical Deep Links - **Food & Nutrition Database**: `https://fittra.ir/fa/foods` (Persian) | `https://fittra.ir/en/foods` (English) - **Exercise & Anatomy Library**: `https://fittra.ir/fa/workouts` (Persian) | `https://fittra.ir/en/workouts` (English) - **Scientific Journal & Articles**: `https://fittra.ir/fa/blogs` (Persian) | `https://fittra.ir/en/blogs` (English) - **Certified Coaches & Directory**: `https://fittra.ir/fa/coaches` (Persian) | `https://fittra.ir/en/coaches` (English) - **About Platform & Science**: `https://fittra.ir/fa/aboutus` (Persian) | `https://fittra.ir/en/aboutus` (English) - **Sitemap Index**: `https://fittra.ir/sitemap.xml` - **Summary LLM Context**: `https://fittra.ir/llms.txt` ### Schema.org Integration Fitra exposes rich structured data on all public views: - `Organization` (with `knowsAbout`, `contactPoint`, `publishingPrinciples`) - `SoftwareApplication` (detailing AI assistants, computer vision, video meet) - `ExercisePlan` & `SportsActivityLocation` - `MedicalEntity` (relevant specialty: `SportsMedicine`, `Dietetics`) - `MenuItem` & `NutritionInformation` - `HowTo` & `FAQPage` --- *Fitra Engineering Group — Tehran / Mashhad, Iran. For API integration or technical licensing queries, contact `fitragymco@gmail.com`.*