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59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
import { useState, useEffect } from 'react';
import { Link as RouterLink } from 'react-router-dom';
import {
  Box,
  Container,
  Typography,
  Button,
  Grid,
  Stack,
  Link,
} from '@mui/material';
import { useSpring, animated } from '@react-spring/web';
import OpenInNewIcon from '@mui/icons-material/OpenInNew';
import ArrowForwardIcon from '@mui/icons-material/ArrowForward';

import Layout from '../components/Layout';
import Section from '../components/Section';

// Floating Sticker Component with scroll parallax
function FloatingSticker({ src, size, top, left, right, bottom, rotation = 0, floatRange = 15, floatSpeed = 6000, scrollFactor = 0.05 }) {
  const [floatOffset, setFloatOffset] = useState(0);
  const [scrollY, setScrollY] = useState(0);

  useEffect(() => {
    let startTime = Date.now();
    let animationFrame;
    const animate = () => {
      const elapsed = Date.now() - startTime;
      const offset = Math.sin((elapsed / floatSpeed) * Math.PI * 2) * floatRange;
      setFloatOffset(offset);
      animationFrame = requestAnimationFrame(animate);
    };
    animationFrame = requestAnimationFrame(animate);
    return () => cancelAnimationFrame(animationFrame);
  }, [floatSpeed, floatRange]);

  useEffect(() => {
    const handleScroll = () => setScrollY(window.scrollY);
    window.addEventListener('scroll', handleScroll, { passive: true });
    return () => window.removeEventListener('scroll', handleScroll);
  }, []);

  const springProps = useSpring({
    transform: `translateY(${floatOffset + scrollY * scrollFactor}px) rotate(${rotation}deg)`,
    config: { mass: 3, tension: 80, friction: 40 },
  });

  return (
    <animated.img
      src={src}
      alt=""
      style={{
        position: 'absolute',
        top, left, right, bottom,
        width: size,
        height: 'auto',
        pointerEvents: 'none',
        zIndex: 2,
        ...springProps,
      }}
    />
  );
}

// Hero Section
function Hero() {
  return (
    <Box
      sx={{
        position: 'relative',
        minHeight: { xs: '85vh', md: '80vh' },
        display: 'flex',
        alignItems: 'center',
        backgroundColor: '#000',
        overflow: 'visible',
        // Curved bottom edge
        '&::after': {
          content: '""',
          position: 'absolute',
          bottom: -1,
          left: 0,
          right: 0,
          height: { xs: 60, md: 90 },
          background: 'inherit',
          backgroundColor: 'background.default',
          borderRadius: '100% 100% 0 0 / 100% 100% 0 0',
          transform: 'translateY(50%)',
        },
      }}
    >
      <Box
        component="video"
        autoPlay
        muted
        loop
        playsInline
        sx={{
          position: 'absolute',
          top: '50%',
          left: '50%',
          transform: 'translate(-45%, -50%)',
          minWidth: '100%',
          minHeight: '100%',
          width: 'auto',
          height: 'auto',
          opacity: 0.9,
        }}
      >
        <source src="/assets/Reachy-mini-wake-up-companion.mp4" type="video/mp4" />
      </Box>

      {/* Overlay gradients + vignette */}
      <Box
        sx={{
          position: 'absolute',
          inset: 0,
          background: `
            linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.15) 100%),
            linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 40%),
            radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.4) 100%)
          `,
        }}
      />

      <Container maxWidth="lg" sx={{ position: 'relative', zIndex: 10 }}>
        <Box sx={{ maxWidth: 640 }}>
          <Stack direction="row" spacing={1} alignItems="center" sx={{ mb: 2 }}>
            <Typography
              sx={{
                color: 'rgba(255,255,255,0.6)',
                fontSize: 13,
                fontWeight: 500,
              }}
            >
              Open Source Robot
            </Typography>
            <Box sx={{ width: 4, height: 4, borderRadius: '50%', bgcolor: 'rgba(255,255,255,0.3)' }} />
            <Typography
              sx={{
                color: 'rgba(255,255,255,0.6)',
                fontSize: 13,
                fontWeight: 500,
                display: 'flex',
                alignItems: 'center',
                gap: 0.5,
              }}
            >
              Powered by <Box component="img" src="/assets/hf-logo.svg" alt="Hugging Face" sx={{ height: 14 }} />
            </Typography>
          </Stack>

          <Typography
            variant="h1"
            component="h1"
            sx={{
              color: 'white',
              mb: 2,
              background: 'linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.85) 100%)',
              backgroundClip: 'text',
              WebkitBackgroundClip: 'text',
              WebkitTextFillColor: 'transparent',
            }}
          >
            Reachy Mini
          </Typography>

          <Typography
            variant="h5"
            component="p"
            sx={{
              color: 'rgba(255,255,255,0.75)',
              fontWeight: 400,
              mb: 4,
              lineHeight: 1.6,
              maxWidth: 520,
            }}
          >
            An expressive companion robot designed for{' '}
            <Box component="span" sx={{ color: 'white', fontWeight: 500 }}>
              human interaction
            </Box>
            ,{' '}
            <Box component="span" sx={{ color: 'white', fontWeight: 500 }}>
              creative coding
            </Box>
            , and{' '}
            <Box component="span" sx={{ color: 'white', fontWeight: 500 }}>
              AI experimentation
            </Box>
            .
          </Typography>

          <Stack direction={{ xs: 'column', sm: 'row' }} spacing={2}>
            <Button
              component={RouterLink}
              to="/buy"
              variant="contained"
              size="large"
              sx={{
                px: 4,
                py: 1.75,
                fontSize: 16,
                fontWeight: 600,
                background: 'linear-gradient(135deg, #FF9500 0%, #ff7b00 100%)',
                boxShadow: '0 4px 24px rgba(255, 149, 0, 0.35)',
                '&:hover': {
                  boxShadow: '0 8px 32px rgba(255, 149, 0, 0.5)',
                  transform: 'translateY(-2px)',
                },
              }}
            >
              Buy Reachy Mini
            </Button>
            <Button
              variant="outlined"
              size="large"
              component={RouterLink}
              to="/getting-started"
              sx={{
                px: 4,
                py: 1.75,
                fontSize: 16,
                fontWeight: 600,
                color: 'rgba(255,255,255,0.9)',
                borderColor: 'rgba(255,255,255,0.3)',
                '&:hover': { 
                  color: 'white', 
                  borderColor: 'rgba(255,255,255,0.6)',
                  backgroundColor: 'rgba(255,255,255,0.05)' 
                },
              }}
            >
              Get Started
            </Button>
          </Stack>
        </Box>
      </Container>

    </Box>
  );
}

// Stats/Bento Section - Sober backgrounds, illustrations for color
function StatsSection() {
  return (
    <Section id="stats" sx={{ py: { xs: 8, md: 12 }, position: 'relative', overflow: 'visible' }}>
      <Grid container spacing={2}>
        {/* Big stat - Open Source */}
        <Grid size={{ xs: 12, md: 8 }}>
          <Box
            sx={{
              height: { xs: 280, md: 320 },
              borderRadius: 4,
              background: '#0f0f1a',
              border: '1px solid rgba(255,255,255,0.08)',
              p: { xs: 4, md: 6 },
              position: 'relative',
              display: 'flex',
              flexDirection: 'column',
              justifyContent: 'space-between',
              // Clip only bottom and sides, allow top overflow
              clipPath: 'inset(-100px 0 0 0 round 16px)',
            }}
          >
            {/* Hacker illustration - overflows top */}
            <Box
              component="img"
              src="/assets/reachies/hacker.png"
              alt=""
              sx={{
                position: 'absolute',
                top: -140,
                right: -80,
                height: 500,
                opacity: 1,
                pointerEvents: 'none',
                display: { xs: 'none', sm: 'block' },
              }}
            />
            <Box sx={{ position: 'relative', zIndex: 1 }}>
              <Typography
                sx={{
                  fontSize: { xs: 72, md: 100 },
                  fontWeight: 800,
                  lineHeight: 1,
                  color: 'white',
                }}
              >
                100%
              </Typography>
              <Typography
                variant="h4"
                sx={{ color: 'white', fontWeight: 600, mt: 1 }}
              >
                Open Source
              </Typography>
            </Box>
            <Typography sx={{ color: 'rgba(255,255,255,0.5)', fontSize: 15, position: 'relative', zIndex: 1, maxWidth: 400 }}>
              Hardware files, Python SDK, and all apps. Build, modify, and share freely on GitHub.
            </Typography>
          </Box>
        </Grid>

        {/* Apps count */}
        <Grid size={{ xs: 12, sm: 6, md: 4 }}>
          <Box
            component={RouterLink}
            to="/apps"
            sx={{
              height: { xs: 200, md: 320 },
              borderRadius: 4,
              background: '#0f0f1a',
              border: '1px solid rgba(255,255,255,0.08)',
              p: { xs: 4, md: 5 },
              display: 'flex',
              flexDirection: 'column',
              justifyContent: 'space-between',
              textDecoration: 'none',
              transition: 'all 0.3s ease',
              '&:hover': { borderColor: 'rgba(255,255,255,0.2)' },
            }}
          >
            <Typography
              sx={{
                fontSize: { xs: 56, md: 72 },
                fontWeight: 800,
                lineHeight: 1,
                color: 'white',
              }}
            >
              30+
            </Typography>
            <Box>
              <Typography variant="h5" sx={{ color: 'white', fontWeight: 600 }}>
                Ready-to-use Apps
              </Typography>
              <Typography sx={{ color: 'rgba(255,255,255,0.5)', fontSize: 14, mt: 1 }}>
                One-click install β†’
              </Typography>
            </Box>
          </Box>
        </Grid>

        {/* Community */}
        <Grid size={{ xs: 12, sm: 6, md: 4 }}>
          <Box
            component="a"
            href="https://discord.gg/2bAhWfXme9"
            target="_blank"
            rel="noopener noreferrer"
            sx={{
              height: { xs: 200, md: 200 },
              borderRadius: 4,
              background: '#0f0f1a',
              border: '1px solid rgba(255,255,255,0.08)',
              p: { xs: 4, md: 5 },
              display: 'flex',
              flexDirection: 'column',
              justifyContent: 'space-between',
              textDecoration: 'none',
              transition: 'all 0.3s ease',
              '&:hover': { borderColor: 'rgba(255,255,255,0.2)' },
            }}
          >
            <Box
              component="img"
              src="/assets/discord-logo.svg"
              alt="Discord"
              sx={{ width: 36, height: 36, opacity: 0.8 }}
            />
            <Box>
              <Typography variant="h5" sx={{ color: 'white', fontWeight: 600 }}>
                500+ Makers
              </Typography>
              <Typography sx={{ color: 'rgba(255,255,255,0.5)', fontSize: 14, mt: 0.5 }}>
                Join Discord β†’
              </Typography>
            </Box>
          </Box>
        </Grid>

        {/* Python SDK */}
        <Grid size={{ xs: 12, md: 8 }}>
          <Box
            component={RouterLink}
            to="/build"
            sx={{
              height: { xs: 200, md: 200 },
              borderRadius: 4,
              background: '#0d1117',
              border: '1px solid rgba(255,255,255,0.08)',
              p: { xs: 4, md: 5 },
              display: 'flex',
              alignItems: 'center',
              gap: 4,
              textDecoration: 'none',
              transition: 'all 0.3s ease',
              overflow: 'hidden',
              '&:hover': { borderColor: 'rgba(255,255,255,0.2)' },
            }}
          >
            <Box
              sx={{
                fontFamily: '"JetBrains Mono", monospace',
                fontSize: { xs: 12, md: 14 },
                color: '#e6edf3',
                flex: 1,
                whiteSpace: 'pre',
                overflow: 'hidden',
              }}
            >
              <Box component="span" sx={{ color: '#ff7b72' }}>from</Box>{' '}
              <Box component="span" sx={{ color: '#79c0ff' }}>reachy_mini</Box>{' '}
              <Box component="span" sx={{ color: '#ff7b72' }}>import</Box>{' '}
              <Box component="span" sx={{ color: '#ffa657' }}>ReachyMini</Box>
              {'\n\n'}
              <Box component="span" sx={{ color: '#ff7b72' }}>with</Box>{' '}
              <Box component="span" sx={{ color: '#ffa657' }}>ReachyMini</Box>
              <Box component="span" sx={{ color: '#8b949e' }}>()</Box>{' '}
              <Box component="span" sx={{ color: '#ff7b72' }}>as</Box>{' '}
              <Box component="span" sx={{ color: '#79c0ff' }}>mini</Box>:
              {'\n'}
              {'    '}mini.<Box component="span" sx={{ color: '#d2a8ff' }}>goto_target</Box>(head=pose)
            </Box>
            <Box sx={{ textAlign: 'right' }}>
              <Typography variant="h5" sx={{ color: 'white', fontWeight: 600 }}>
                Python SDK
              </Typography>
              <Typography sx={{ color: 'rgba(255,255,255,0.5)', fontSize: 14, mt: 0.5 }}>
                Full control in 3 lines β†’
              </Typography>
            </Box>
          </Box>
        </Grid>
      </Grid>
    </Section>
  );
}

// Products Section - Minimal comparison
function ProductsSection() {
  return (
    <Section background="alt" sx={{ py: { xs: 8, md: 12 }, position: 'relative', overflow: 'visible' }}>
      {/* Stickers */}
      <Box sx={{ display: { xs: 'none', lg: 'block' } }}>
        <FloatingSticker 
          src="/assets/reachies/captain.png" 
          size={240} 
          top={80} 
          left={60} 
          rotation={-8} 
          floatRange={12} 
          floatSpeed={5500} 
          scrollFactor={0.03} 
        />
      </Box>

      <Box sx={{ textAlign: 'center', mb: 8 }}>
        <Typography variant="h2" sx={{ mb: 2 }}>
          Two ways to Reachy
        </Typography>
        <Typography variant="body1" color="text.secondary" sx={{ maxWidth: 500, mx: 'auto' }}>
          Choose wireless for standalone use, or Lite for a budget-friendly tethered experience.
        </Typography>
      </Box>

      <Grid container spacing={4} justifyContent="center">
        {/* Wireless */}
        <Grid size={{ xs: 12, md: 5 }}>
          <Box
            sx={{
              p: 5,
              borderRadius: 4,
              border: '2px solid',
              borderColor: 'primary.main',
              background: 'linear-gradient(135deg, rgba(255,149,0,0.03) 0%, transparent 100%)',
              textAlign: 'center',
              position: 'relative',
            }}
          >
            <Box
              sx={{
                position: 'absolute',
                top: -12,
                left: '50%',
                transform: 'translateX(-50%)',
                px: 2,
                py: 0.5,
                borderRadius: 50,
                background: 'linear-gradient(135deg, #FF9500 0%, #ff7b00 100%)',
              }}
            >
              <Typography sx={{ color: 'white', fontSize: 12, fontWeight: 700, textTransform: 'uppercase' }}>
                Most Popular
              </Typography>
            </Box>

            <Typography variant="h3" sx={{ mt: 2, mb: 1 }}>
              Reachy Mini
            </Typography>
            <Typography color="text.secondary" sx={{ mb: 3 }}>
              Wireless β€’ On-board compute
            </Typography>

            <Typography
              sx={{
                fontSize: 56,
                fontWeight: 800,
                mb: 3,
                background: 'linear-gradient(135deg, #FF9500 0%, #ff7b00 100%)',
                WebkitBackgroundClip: 'text',
                WebkitTextFillColor: 'transparent',
              }}
            >
              $499
            </Typography>

            <Stack spacing={1} sx={{ mb: 4, textAlign: 'left', maxWidth: 280, mx: 'auto' }}>
              {['Raspberry Pi 4 on-board', 'Wi-Fi + USB', 'Camera, 4 mics, speaker', 'Accelerometer'].map((item) => (
                <Typography key={item} sx={{ fontSize: 14, color: 'text.secondary' }}>
                  βœ“ {item}
                </Typography>
              ))}
            </Stack>

            <Button
              variant="contained"
              size="large"
              fullWidth
              href="https://buy.stripe.com/9B65kFfFlaKFbY34W873G03"
              target="_blank"
              sx={{ py: 1.5 }}
            >
              Order Now
            </Button>
          </Box>
        </Grid>

        {/* Lite */}
        <Grid size={{ xs: 12, md: 5 }}>
          <Box
            sx={{
              p: 5,
              borderRadius: 4,
              border: '1px solid',
              borderColor: 'divider',
              textAlign: 'center',
            }}
          >
            <Typography variant="h3" sx={{ mt: 2, mb: 1 }}>
              Reachy Mini Lite
            </Typography>
            <Typography color="text.secondary" sx={{ mb: 3 }}>
              USB β€’ External compute
            </Typography>

            <Typography
              sx={{
                fontSize: 56,
                fontWeight: 800,
                mb: 3,
                color: 'text.primary',
              }}
            >
              $299
            </Typography>

            <Stack spacing={1} sx={{ mb: 4, textAlign: 'left', maxWidth: 280, mx: 'auto' }}>
              {['Your Mac/PC as brain', 'USB only', 'Camera, 4 mics, speaker', 'Same motion capabilities'].map((item) => (
                <Typography key={item} sx={{ fontSize: 14, color: 'text.secondary' }}>
                  βœ“ {item}
                </Typography>
              ))}
            </Stack>

            <Button
              variant="outlined"
              size="large"
              fullWidth
              href="https://buy.stripe.com/6oUfZj78P1a5e6b0FS73G02"
              target="_blank"
              sx={{ py: 1.5 }}
            >
              Order Now
            </Button>
          </Box>
        </Grid>
      </Grid>

      <Typography variant="body2" color="text.secondary" sx={{ textAlign: 'center', mt: 5 }}>
        Both ship as DIY kits. Assembly takes ~2 hours.{' '}
        <Link component={RouterLink} to="/getting-started">Watch the guide β†’</Link>
      </Typography>
    </Section>
  );
}

// Apps Showcase - Sober design with illustrations
function AppsShowcase() {
  return (
    <Box
      sx={{
        py: { xs: 8, md: 12 },
        background: '#0a0a12',
        position: 'relative',
        overflow: 'visible',
      }}
    >
      {/* Sticker */}
      <Box sx={{ display: { xs: 'none', lg: 'block' } }}>
        <FloatingSticker 
          src="/assets/reachies/jazzman.png" 
          size={240} 
          top={40} 
          right={80} 
          rotation={10} 
          floatRange={10} 
          floatSpeed={5800} 
          scrollFactor={0.04} 
        />
      </Box>

      <Container maxWidth="lg">
        {/* Header */}
        <Box sx={{ textAlign: 'center', mb: 8 }}>
          <Typography
            variant="overline"
            sx={{ color: 'rgba(255,255,255,0.5)', mb: 2, display: 'block', letterSpacing: '0.15em' }}
          >
            App Ecosystem
          </Typography>
          <Typography
            variant="h2"
            sx={{ color: 'white', mb: 3 }}
          >
            30+ apps, one click install
          </Typography>
          <Typography sx={{ color: 'rgba(255,255,255,0.5)', maxWidth: 500, mx: 'auto', lineHeight: 1.7 }}>
            From AI conversations to hand tracking β€” explore what the community has built
            or create your own and share it with the world.
          </Typography>
        </Box>

        {/* Featured App - AI Companion (large) */}
        <Box
          sx={{
            mb: 4,
            borderRadius: 4,
            overflow: 'hidden',
            background: '#0f0f1a',
            border: '1px solid rgba(255,255,255,0.08)',
            display: 'flex',
            flexDirection: { xs: 'column', md: 'row' },
          }}
        >
          {/* Illustration */}
          <Box
            sx={{
              flex: { xs: 'none', md: 1 },
              height: { xs: 250, md: 'auto' },
              minHeight: { md: 320 },
              display: 'flex',
              alignItems: 'center',
              justifyContent: 'center',
              overflow: 'hidden',
            }}
          >
            <Box
              component="img"
              src="/assets/reachy-conversation-app.jpg"
              alt="AI Companion"
              sx={{
                width: '100%',
                height: '100%',
                objectFit: 'cover',
              }}
            />
          </Box>
          
          {/* Content */}
          <Box
            sx={{
              flex: { xs: 'none', md: 1 },
              p: { xs: 4, md: 6 },
              display: 'flex',
              flexDirection: 'column',
              justifyContent: 'center',
            }}
          >
            <Box
              sx={{
                display: 'inline-flex',
                alignItems: 'center',
                gap: 1,
                px: 2,
                py: 0.5,
                mb: 2,
                borderRadius: 50,
                background: 'rgba(255,255,255,0.08)',
                border: '1px solid rgba(255,255,255,0.1)',
                width: 'fit-content',
              }}
            >
              <Box sx={{ width: 6, height: 6, borderRadius: '50%', bgcolor: 'rgba(255,255,255,0.5)' }} />
              <Typography sx={{ color: 'rgba(255,255,255,0.7)', fontSize: 11, fontWeight: 600, textTransform: 'uppercase', letterSpacing: '0.05em' }}>
                Featured
              </Typography>
            </Box>
            <Typography variant="h3" sx={{ color: 'white', mb: 2 }}>
              AI Companion
            </Typography>
            <Typography sx={{ color: 'rgba(255,255,255,0.6)', mb: 4, lineHeight: 1.8, maxWidth: 400 }}>
              Have a conversation with Reachy! Powered by LLMs, it understands what you say 
              and responds with expressive movements and speech.
            </Typography>
            <Button
              component={RouterLink}
              to="/apps"
              variant="contained"
              endIcon={<ArrowForwardIcon />}
            >
              Try it now
            </Button>
          </Box>
        </Box>

        {/* Other apps grid */}
        <Grid container spacing={3}>
          {/* Hand Tracking */}
          <Grid size={{ xs: 12, md: 6 }}>
            <Box
              sx={{
                borderRadius: 4,
                overflow: 'hidden',
                background: '#0f0f1a',
                border: '1px solid rgba(255,255,255,0.08)',
                display: 'flex',
                flexDirection: { xs: 'column', sm: 'row' },
                height: { xs: 'auto', md: 200 },
                transition: 'border-color 0.3s',
                '&:hover': { borderColor: 'rgba(255,255,255,0.2)' },
              }}
            >
              <Box
                sx={{
                  width: { xs: '100%', sm: 200 },
                  height: { xs: 150, sm: 'auto' },
                  flexShrink: 0,
                  overflow: 'hidden',
                }}
              >
                <Box
                  component="img"
                  src="/assets/reachy-hand-tracking-app.jpg"
                  alt="Hand Tracking"
                  sx={{
                    width: '100%',
                    height: '100%',
                    objectFit: 'cover',
                  }}
                />
              </Box>
              <Box sx={{ p: 3, display: 'flex', flexDirection: 'column', justifyContent: 'center' }}>
                <Typography variant="h5" sx={{ color: 'white', mb: 1 }}>
                  Hand Tracking
                </Typography>
                <Typography sx={{ color: 'rgba(255,255,255,0.5)', fontSize: 14, lineHeight: 1.6 }}>
                  Reachy follows your hand movements in real-time using OpenCV.
                </Typography>
              </Box>
            </Box>
          </Grid>

          {/* More apps CTA */}
          <Grid size={{ xs: 12, md: 6 }}>
            <Box
              component={RouterLink}
              to="/apps"
              sx={{
                borderRadius: 4,
                height: { xs: 150, md: 200 },
                background: '#0f0f1a',
                border: '1px solid rgba(255,255,255,0.08)',
                display: 'flex',
                flexDirection: 'column',
                alignItems: 'center',
                justifyContent: 'center',
                textDecoration: 'none',
                transition: 'all 0.3s',
                '&:hover': { borderColor: 'rgba(255,255,255,0.2)' },
              }}
            >
              <Typography
                sx={{
                  fontSize: 48,
                  fontWeight: 800,
                  color: 'white',
                  mb: 1,
                }}
              >
                +28
              </Typography>
              <Typography sx={{ color: 'rgba(255,255,255,0.7)', fontWeight: 600 }}>
                more apps to explore
              </Typography>
              <Typography sx={{ color: 'rgba(255,255,255,0.4)', fontSize: 13, mt: 0.5 }}>
                Browse all β†’
              </Typography>
            </Box>
          </Grid>
        </Grid>

        {/* Build your own CTA */}
        <Box sx={{ textAlign: 'center', mt: 6 }}>
          <Typography sx={{ color: 'rgba(255,255,255,0.4)', fontSize: 14 }}>
            Got an idea?{' '}
            <Link
              component={RouterLink}
              to="/build"
              sx={{ color: 'primary.main', textDecoration: 'none', '&:hover': { textDecoration: 'underline' } }}
            >
              Build your own app β†’
            </Link>
          </Typography>
        </Box>
      </Container>
    </Box>
  );
}

// Community Section
function CommunitySection() {
  return (
    <Section sx={{ py: { xs: 8, md: 12 }, position: 'relative', overflow: 'visible' }}>
      <Box sx={{ display: { xs: 'none', md: 'block' } }}>
        <FloatingSticker src="/assets/reachies/cowboy.png" size={280} top={-20} left={100} rotation={-10} floatRange={12} floatSpeed={5500} scrollFactor={0.04} />
        <FloatingSticker src="/assets/reachies/astronaut.png" size={300} bottom={-40} right={120} rotation={8} floatRange={15} floatSpeed={6500} scrollFactor={0.05} />
      </Box>

      <Box
        sx={{
          background: '#0f0f1a',
          border: '1px solid rgba(255,255,255,0.08)',
          borderRadius: 4,
          p: { xs: 5, md: 8 },
          textAlign: 'center',
          color: 'white',
          position: 'relative',
        }}
      >
        <Box sx={{ position: 'relative', zIndex: 1 }}>
          <Typography variant="h2" sx={{ mb: 2 }}>
            Join 500+ makers
          </Typography>
          <Typography sx={{ color: 'rgba(255,255,255,0.6)', maxWidth: 500, mx: 'auto', mb: 4, lineHeight: 1.8 }}>
            Connect with other Reachy Mini owners on Discord. Share your projects,
            get help, and stay updated on the latest developments.
          </Typography>
          <Button
            variant="contained"
            size="large"
            href="https://discord.gg/2bAhWfXme9"
            target="_blank"
            endIcon={<OpenInNewIcon />}
          >
            Join Discord
          </Button>
        </Box>
      </Box>
    </Section>
  );
}

// Final CTA
function FinalCTA() {
  return (
    <Section background="alt" sx={{ py: { xs: 8, md: 12 } }}>
      <Box sx={{ textAlign: 'center', maxWidth: 600, mx: 'auto' }}>
        <Typography variant="h2" sx={{ mb: 3 }}>
          Ready to meet Reachy?
        </Typography>
        <Typography variant="body1" color="text.secondary" sx={{ mb: 5, lineHeight: 1.8 }}>
          Get your own expressive companion robot and join the community of makers
          building the future of human-robot interaction.
        </Typography>

        <Stack direction={{ xs: 'column', sm: 'row' }} spacing={2} justifyContent="center">
          <Button
            variant="contained"
            size="large"
            component={RouterLink}
            to="/buy"
            sx={{ px: 5, py: 1.75, fontSize: 16 }}
          >
            Buy Reachy Mini
          </Button>
          <Button variant="outlined" size="large" component={RouterLink} to="/getting-started" sx={{ px: 5, py: 1.75, fontSize: 16 }}>
            Learn More
          </Button>
        </Stack>

        <Stack direction={{ xs: 'column', sm: 'row' }} spacing={{ xs: 1, sm: 4 }} justifyContent="center" sx={{ mt: 5, color: 'text.secondary' }}>
          <Typography variant="body2">βœ“ Free worldwide shipping</Typography>
          <Typography variant="body2">βœ“ 30-day returns</Typography>
          <Typography variant="body2">βœ“ 1-year warranty</Typography>
        </Stack>
      </Box>
    </Section>
  );
}

// Main Home Page
export default function Home() {
  return (
    <Layout transparentHeader>
      <Hero />
      <StatsSection />
      <ProductsSection />
      <AppsShowcase />
      <CommunitySection />
      <FinalCTA />
    </Layout>
  );
}