import { useState } from 'react'; import { motion, AnimatePresence } from 'framer-motion'; import { Button } from '@/components/ui/button'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'; import { PageHeader } from '@/components/ui/page-header'; import { useTranslation } from 'react-i18next'; import { Heart, Sparkles, Zap, Brain, Palette, MousePointer, Settings, Eye, Waves, Star } from 'lucide-react'; import ComfortZone from '@/components/comfort/ComfortZone'; import SmartAssistant from '@/components/comfort/SmartAssistant'; import AdaptiveInterface from '@/components/comfort/AdaptiveInterface'; import WorkspaceLayoutAI from '@/components/workspace/WorkspaceLayoutAI'; const ComfortHubPage = () => { const { t } = useTranslation(); const [activeTab, setActiveTab] = useState('overview'); const [isExperienceMode, setIsExperienceMode] = useState(false); const features = [ { icon: Heart, title: 'Personal Comfort Zone', description: 'Customize your environment based on mood, energy, and preferences', color: 'from-pink-500 to-rose-500', stats: '98% user satisfaction' }, { icon: Brain, title: 'Smart Assistant', description: 'AI-powered assistant that learns from your patterns and provides intelligent suggestions', color: 'from-purple-500 to-indigo-500', stats: '3x productivity boost' }, { icon: Zap, title: 'Adaptive Interface', description: 'Dynamic interface that responds to your gestures and adapts in real-time', color: 'from-yellow-500 to-orange-500', stats: '92% easier navigation' }, { icon: Waves, title: 'Ambient Intelligence', description: 'Contextual awareness that anticipates your needs throughout the day', color: 'from-cyan-500 to-blue-500', stats: '45% less mental load' } ]; const toggleExperienceMode = () => { setIsExperienceMode(!isExperienceMode); // Apply global experience mode styling if (!isExperienceMode) { document.body.classList.add('experience-mode'); document.documentElement.style.setProperty('--experience-glow', 'rgba(139, 92, 246, 0.1)'); } else { document.body.classList.remove('experience-mode'); document.documentElement.style.removeProperty('--experience-glow'); } }; return (
{/* Hero Section */}
{/* Animated Background */}
{[...Array(6)].map((_, i) => ( ))}

Comfort Hub

{t('comfort.hero', 'Experience the future of intuitive computing. Our adaptive interface learns from you, responds to your needs, and creates a personalized digital environment that feels truly yours.')}

{/* Feature Grid */} {features.map((feature, index) => { const Icon = feature.icon; return (

{feature.title}

{feature.description}

{feature.stats}
{/* Hover Effect */}
); })}
{/* Main Content */}
Overview Comfort Zone Smart Assistant Adaptive Interface AI Workspace Comfort-First Design Philosophy

Why Comfort Matters

  • Reduces cognitive load and mental fatigue
  • Increases user engagement and productivity
  • Creates emotional connection with the interface
  • Adapts to individual preferences and patterns

Innovative Features

  • Gesture-based adaptive responses
  • Predictive assistance and smart suggestions
  • Dynamic theming based on context
  • Mood-aware environment optimization
{/* Experience Mode Overlay */} {isExperienceMode && ( {/* Ambient lighting effect */}
{/* Floating particles */} {[...Array(20)].map((_, i) => ( ))} )} {/* Global CSS for experience mode */}