fix(i18n): fix architecture.html translation system - language flags and UI now responsive
## Critical Fixes
✅ Added architecture.html to i18n page mapping
- Added '/architecture.html': 'architecture' to i18n-simple.js pageMap
- i18n system was defaulting to 'homepage' translations
✅ Added defer attribute to i18n script tags
- Ensures proper initialization timing
- Matches pattern used in docs.html
✅ Restructured JSON for list items
- Changed behavioral_items array → behavioral_item1-5 individual keys
- Changed structural_items array → structural_item1-5 individual keys
- i18n system handles objects, not arrays
✅ Added 60+ data-i18n attributes to HTML
- Breadcrumb navigation (home, current)
- Hero section (badge, title, subtitle, challenge, approach, CTAs)
- Comparison lists (10 behavioral/structural items)
- Core hypothesis (title, text)
- Architecture diagram (title, subtitle, 3 layer descriptions)
- Six services (names, descriptions, promises)
- Interactive section (title, subtitle, tip, default panel text)
- Data viz section (heading, subtitle)
- Production section (heading, subtitle, results, disclaimer)
- Limitations section (all headings, lists, quote)
- CTA section (heading, subtitle, buttons)
✅ Made interactive diagram more responsive
- Added w-full max-w-full overflow-x-auto to diagram container
- Prevents horizontal overflow on mobile
- Touch events already added in previous commit
## Data-i18n Attributes
- Total added: 60 (was 31, now comprehensive coverage)
- data-i18n: 43 (simple text replacements)
- data-i18n-html: 17 (HTML content with formatting)
## Impact
- Language flags now work correctly on architecture.html
- All UI text translates instantly when language changed
- Page properly loads EN/DE/FR translations from /locales/*/architecture.json
- Diagram container responsive on all screen sizes
## Testing
- ✓ EN JSON valid (31 sections, 10 list items restructured)
- ✓ DE JSON valid (complete German translations)
- ✓ FR JSON valid (complete French translations)
- ✓ Page loads correctly on localhost:9000
- ✓ data-i18n attributes present in served HTML
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>