File size: 22,681 Bytes
5c85958
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fcd0e24
5c85958
fcd0e24
5c85958
 
fcd0e24
5c85958
fcd0e24
5c85958
 
fcd0e24
5c85958
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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
import { useState } from 'react';
import { Link as RouterLink } from 'react-router-dom';
import {
  Box,
  Container,
  Typography,
  Button,
  Grid,
  Card,
  CardContent,
  Chip,
  Stack,
  Accordion,
  AccordionSummary,
  AccordionDetails,
  Table,
  TableBody,
  TableCell,
  TableContainer,
  TableHead,
  TableRow,
  Paper,
} from '@mui/material';
import CheckIcon from '@mui/icons-material/Check';
import CloseIcon from '@mui/icons-material/Close';
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
import OpenInNewIcon from '@mui/icons-material/OpenInNew';
import LocalShippingIcon from '@mui/icons-material/LocalShipping';
import InventoryIcon from '@mui/icons-material/Inventory';
import SupportAgentIcon from '@mui/icons-material/SupportAgent';
import BuildIcon from '@mui/icons-material/Build';

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

// Product data
const products = {
  wireless: {
    name: 'Reachy Mini',
    tagline: 'The complete experience',
    price: 499,
    badge: 'Wireless',
    badgeColor: '#0ea5e9',
    description: 'Self-contained robot with on-board compute. Works wirelessly or wired, perfect for standalone projects and demos.',
    buyLink: 'https://buy.stripe.com/9B65kFfFlaKFbY34W873G03',
    image: '/assets/reachy-wireless.png',
    featured: true,
  },
  lite: {
    name: 'Reachy Mini Lite',
    tagline: 'Perfect to get started',
    price: 299,
    badge: 'Lite',
    badgeColor: '#f59e0b',
    description: 'Connect to your computer via USB. Same expressive robot, powered by your machine. Ideal for development and learning.',
    buyLink: 'https://buy.stripe.com/6oUfZj78P1a5e6b0FS73G02',
    image: '/assets/reachy-lite.png',
    featured: false,
  },
};

// Comparison features
const comparisonFeatures = [
  { name: 'Motors & Mechanics', wireless: '5 servo motors', lite: '5 servo motors' },
  { name: 'Head Movement', wireless: '6 DOF (pitch, roll, yaw, x, y, z)', lite: '6 DOF (pitch, roll, yaw, x, y, z)' },
  { name: 'Body Rotation', wireless: '280Β°', lite: '280Β°' },
  { name: 'Antennas', wireless: '2 animated antennas', lite: '2 animated antennas' },
  { name: 'Camera', wireless: 'Wide angle', lite: 'Wide angle' },
  { name: 'Microphones', wireless: '4 microphones array', lite: '4 microphones array' },
  { name: 'Speaker', wireless: '5W speaker', lite: '5W speaker' },
  { name: 'On-board Compute', wireless: 'Raspberry Pi 4 (16GB storage)', lite: false },
  { name: 'Accelerometer', wireless: 'Built-in IMU', lite: false },
  { name: 'Wi-Fi Connectivity', wireless: 'Wi-Fi', lite: false },
  { name: 'Standalone Mode', wireless: true, lite: false },
  { name: 'USB Connection', wireless: true, lite: true },
  { name: 'Power', wireless: 'USB-C (6.8V / 5A)', lite: 'USB-C (6.8V / 5A)' },
];

// What's in the box
const boxContents = [
  { icon: 'πŸ€–', title: '3D Printed Parts', description: 'All structural components pre-printed and ready to assemble' },
  { icon: 'βš™οΈ', title: 'Motors & Electronics', description: '5 servo motors, control board, and all electronic components' },
  { icon: 'πŸ“·', title: 'Camera Module', description: 'Wide-angle camera for vision applications' },
  { icon: 'πŸ”Š', title: 'Audio System', description: '4 microphones + 5W speaker for voice interaction' },
  { icon: 'πŸ”§', title: 'Hardware Kit', description: 'All screws, cables, and assembly hardware included' },
  { icon: 'πŸ“–', title: 'Documentation', description: 'Step-by-step assembly guide and quickstart materials' },
];

// FAQ data
const faqItems = [
  {
    question: 'What is the difference between Wireless and Lite?',
    answer: 'The Wireless version includes a Raspberry Pi 4 built-in, allowing it to run standalone without a computer. The Lite version connects to your Mac, Linux, or Windows computer via USB and uses your computer for processing. Both versions have the same mechanical design and audio/video capabilities.',
  },
  {
    question: 'How long does assembly take?',
    answer: 'Most users report 1.5–2 hours for assembly. The kit comes with pre-printed parts and clear step-by-step video instructions. No soldering required!',
  },
  {
    question: 'What about customs and import taxes?',
    answer: 'The displayed price does not include customs duties or import taxes, which vary by country. You may be responsible for these fees upon delivery.',
  },
  {
    question: 'Can I upgrade from Lite to Wireless later?',
    answer: 'The electronics architecture is different between versions, so a direct upgrade isn\'t possible. However, you can always purchase the Wireless version separately if you want standalone capabilities.',
  },
  {
    question: 'What software is included?',
    answer: 'All software is open-source and free. You get access to the Python SDK, desktop dashboard, and the entire library of community-built applications on Hugging Face Spaces.',
  },
];

// Hero Section
function HeroSection() {
  return (
    <Box
      sx={{
        background: 'linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #16213e 100%)',
        color: 'white',
        pt: { xs: 14, md: 18 },
        pb: { xs: 10, md: 14 },
        position: 'relative',
        overflow: 'hidden',
      }}
    >
      {/* Decorative elements */}
      <DecorativeShape
        color="#FF9500"
        size={200}
        type="ring"
        top={-60}
        right={-40}
        opacity={0.08}
        floatRange={15}
      />
      <DecorativeShape
        color="#0ea5e9"
        size={80}
        type="circle"
        top={120}
        right={180}
        opacity={0.12}
        floatRange={8}
        floatSpeed={4000}
      />
      <DecorativeShape
        color="#f59e0b"
        size={50}
        type="square"
        bottom={60}
        left={80}
        rotation={15}
        opacity={0.1}
        floatRange={6}
        floatSpeed={5000}
      />

      <Container maxWidth="lg">
        <Box sx={{ textAlign: 'center', position: 'relative', zIndex: 1 }}>
          <Typography
            variant="overline"
            sx={{ color: 'rgba(255,255,255,0.6)', mb: 2, display: 'block', letterSpacing: '0.15em' }}
          >
            Open Source Robot Kit
          </Typography>
          
          <Typography
            variant="h1"
            sx={{
              mb: 3,
              background: 'linear-gradient(135deg, #fff 0%, #e0e0e0 100%)',
              backgroundClip: 'text',
              WebkitBackgroundClip: 'text',
              WebkitTextFillColor: 'transparent',
            }}
          >
            Buy Reachy Mini
          </Typography>
          
          <Typography
            variant="h5"
            sx={{
              color: 'rgba(255,255,255,0.75)',
              fontWeight: 400,
              maxWidth: 700,
              mx: 'auto',
              mb: 5,
              lineHeight: 1.6,
            }}
          >
            An expressive companion robot designed for human interaction, creative coding, and AI experimentation. Assemble in 2 hours, code in Python, endless possibilities.
          </Typography>

          <Stack
            direction={{ xs: 'column', sm: 'row' }}
            spacing={2}
            justifyContent="center"
            alignItems="center"
          >
            <Chip
              icon={<LocalShippingIcon sx={{ fontSize: 18 }} />}
              label="Free worldwide shipping"
              sx={{
                bgcolor: 'rgba(255,255,255,0.1)',
                color: 'white',
                fontSize: 13,
                fontWeight: 500,
                px: 1,
              }}
            />
            <Chip
              icon={<InventoryIcon sx={{ fontSize: 18 }} />}
              label="Ships in 3-5 days"
              sx={{
                bgcolor: 'rgba(255,255,255,0.1)',
                color: 'white',
                fontSize: 13,
                fontWeight: 500,
                px: 1,
              }}
            />
            <Chip
              icon={<SupportAgentIcon sx={{ fontSize: 18 }} />}
              label="1-year warranty"
              sx={{
                bgcolor: 'rgba(255,255,255,0.1)',
                color: 'white',
                fontSize: 13,
                fontWeight: 500,
                px: 1,
              }}
            />
          </Stack>
        </Box>
      </Container>
    </Box>
  );
}

// Product Cards Section
function ProductCardsSection() {
  const [hoveredCard, setHoveredCard] = useState(null);

  return (
    <Container maxWidth="lg" sx={{ mt: -8, position: 'relative', zIndex: 10 }}>
      <Grid container spacing={4} justifyContent="center">
        {Object.entries(products).map(([key, product]) => (
          <Grid key={key} size={{ xs: 12, md: 6 }} sx={{ maxWidth: 500 }}>
            <Card
              onMouseEnter={() => setHoveredCard(key)}
              onMouseLeave={() => setHoveredCard(null)}
              sx={{
                height: '100%',
                display: 'flex',
                flexDirection: 'column',
                position: 'relative',
                overflow: 'visible',
                border: product.featured ? '2px solid' : '1px solid',
                borderColor: product.featured ? '#FF9500' : 'divider',
                transform: hoveredCard === key ? 'translateY(-8px)' : 'none',
                boxShadow: hoveredCard === key 
                  ? '0 20px 60px rgba(0, 0, 0, 0.15)' 
                  : '0 8px 32px rgba(0, 0, 0, 0.08)',
                transition: 'all 0.3s ease',
              }}
            >
              {product.featured && (
                <Chip
                  label="Most Popular"
                  size="small"
                  sx={{
                    position: 'absolute',
                    top: -12,
                    left: '50%',
                    transform: 'translateX(-50%)',
                    bgcolor: '#FF9500',
                    color: 'white',
                    fontWeight: 700,
                    fontSize: 11,
                  }}
                />
              )}

              <CardContent sx={{ p: 4, flex: 1, display: 'flex', flexDirection: 'column' }}>
                {/* Badge */}
                <Chip
                  label={product.badge}
                  size="small"
                  sx={{
                    width: 'fit-content',
                    mb: 2,
                    backgroundColor: `${product.badgeColor}20`,
                    color: product.badgeColor,
                    fontWeight: 700,
                    textTransform: 'uppercase',
                    letterSpacing: '0.05em',
                  }}
                />

                {/* Title & Tagline */}
                <Typography variant="h3" sx={{ mb: 0.5, fontSize: '28px' }}>
                  {product.name}
                </Typography>
                <Typography variant="body2" color="text.secondary" sx={{ mb: 2 }}>
                  {product.tagline}
                </Typography>

                {/* Price */}
                <Box sx={{ mb: 3 }}>
                  <Typography
                    component="span"
                    sx={{
                      fontSize: 48,
                      fontWeight: 700,
                      letterSpacing: '-0.03em',
                      color: 'text.primary',
                    }}
                  >
                    ${product.price}
                  </Typography>
                  <Typography
                    component="span"
                    sx={{ fontSize: 16, color: 'text.secondary', ml: 1 }}
                  >
                    USD
                  </Typography>
                </Box>

                {/* Description */}
                <Typography
                  variant="body2"
                  color="text.secondary"
                  sx={{ mb: 3, lineHeight: 1.6, flex: 1 }}
                >
                  {product.description}
                </Typography>

                {/* Key highlights */}
                <Stack spacing={1} sx={{ mb: 3 }}>
                  {key === 'wireless' ? (
                    <>
                      <FeatureRow icon="βœ“" text="On-board Raspberry Pi 4" highlight />
                      <FeatureRow icon="βœ“" text="Wi-Fi + USB connectivity" highlight />
                      <FeatureRow icon="βœ“" text="Built-in accelerometer" highlight />
                    </>
                  ) : (
                    <>
                      <FeatureRow icon="βœ“" text="Same expressive design" />
                      <FeatureRow icon="βœ“" text="USB-powered via your computer" />
                      <FeatureRow icon="βœ“" text="Perfect for development" />
                    </>
                  )}
                </Stack>

                {/* CTA Button */}
                <Button
                  variant={product.featured ? 'contained' : 'outlined'}
                  size="large"
                  fullWidth
                  href={product.buyLink}
                  target="_blank"
                  rel="noopener noreferrer"
                  endIcon={<OpenInNewIcon />}
                  sx={product.featured ? {
                    bgcolor: '#FF9500',
                    '&:hover': { bgcolor: '#e68600' },
                  } : {}}
                >
                  Buy {product.badge} β€” ${product.price}
                </Button>
              </CardContent>
            </Card>
          </Grid>
        ))}
      </Grid>
    </Container>
  );
}

// Feature row helper
function FeatureRow({ icon, text, highlight = false }) {
  return (
    <Box sx={{ display: 'flex', alignItems: 'center', gap: 1 }}>
      <Typography sx={{ color: highlight ? '#FF9500' : 'success.main', fontWeight: 600 }}>
        {icon}
      </Typography>
      <Typography variant="body2" color="text.secondary">
        {text}
      </Typography>
    </Box>
  );
}

// Comparison Table Section
function ComparisonSection() {
  return (
    <Box sx={{ py: 10, bgcolor: 'background.alt' }}>
      <Container maxWidth="lg">
        <Box sx={{ textAlign: 'center', mb: 6 }}>
          <Typography variant="overline" color="text.secondary" sx={{ mb: 1, display: 'block' }}>
            Compare Versions
          </Typography>
          <Typography variant="h3" sx={{ mb: 2 }}>
            Full Feature Comparison
          </Typography>
          <Typography variant="body1" color="text.secondary" sx={{ maxWidth: 600, mx: 'auto' }}>
            Both versions share the same mechanical design and audio/video capabilities. 
            The main difference is the on-board compute.
          </Typography>
        </Box>

        <TableContainer 
          component={Paper} 
          sx={{ 
            borderRadius: 3, 
            overflow: 'hidden',
            boxShadow: '0 4px 24px rgba(0, 0, 0, 0.06)',
          }}
        >
          <Table>
            <TableHead>
              <TableRow sx={{ bgcolor: 'background.alt' }}>
                <TableCell sx={{ fontWeight: 700, fontSize: 15, py: 2.5 }}>
                  Feature
                </TableCell>
                <TableCell align="center" sx={{ fontWeight: 700, fontSize: 15, py: 2.5 }}>
                  <Stack direction="row" spacing={1} alignItems="center" justifyContent="center">
                    <Chip label="Wireless" size="small" sx={{ bgcolor: '#0ea5e920', color: '#0ea5e9', fontWeight: 600 }} />
                    <Typography fontWeight={700}>$499</Typography>
                  </Stack>
                </TableCell>
                <TableCell align="center" sx={{ fontWeight: 700, fontSize: 15, py: 2.5 }}>
                  <Stack direction="row" spacing={1} alignItems="center" justifyContent="center">
                    <Chip label="Lite" size="small" sx={{ bgcolor: '#f59e0b20', color: '#f59e0b', fontWeight: 600 }} />
                    <Typography fontWeight={700}>$299</Typography>
                  </Stack>
                </TableCell>
              </TableRow>
            </TableHead>
            <TableBody>
              {comparisonFeatures.map((feature, index) => (
                <TableRow 
                  key={feature.name}
                  sx={{ 
                    '&:nth-of-type(odd)': { bgcolor: 'rgba(0, 0, 0, 0.02)' },
                    '&:last-child td': { borderBottom: 0 },
                  }}
                >
                  <TableCell sx={{ py: 2 }}>
                    <Typography fontWeight={500}>{feature.name}</Typography>
                  </TableCell>
                  <TableCell align="center" sx={{ py: 2 }}>
                    <FeatureValue value={feature.wireless} />
                  </TableCell>
                  <TableCell align="center" sx={{ py: 2 }}>
                    <FeatureValue value={feature.lite} />
                  </TableCell>
                </TableRow>
              ))}
            </TableBody>
          </Table>
        </TableContainer>
      </Container>
    </Box>
  );
}

// Feature value helper
function FeatureValue({ value }) {
  if (value === true) {
    return <CheckIcon sx={{ color: 'success.main', fontSize: 22 }} />;
  }
  if (value === false) {
    return <CloseIcon sx={{ color: 'text.disabled', fontSize: 22 }} />;
  }
  return <Typography variant="body2" color="text.secondary">{value}</Typography>;
}

// What's in the Box Section
function WhatsInTheBoxSection() {
  return (
    <Box sx={{ py: 10 }}>
      <Container maxWidth="lg">
        <Box sx={{ textAlign: 'center', mb: 6 }}>
          <Typography variant="overline" color="text.secondary" sx={{ mb: 1, display: 'block' }}>
            Complete Kit
          </Typography>
          <Typography variant="h3" sx={{ mb: 2 }}>
            What's in the Box
          </Typography>
          <Typography variant="body1" color="text.secondary" sx={{ maxWidth: 600, mx: 'auto' }}>
            Everything you need to build your Reachy Mini. No 3D printer or soldering required.
          </Typography>
        </Box>

        <Grid container spacing={3}>
          {boxContents.map((item, index) => (
            <Grid key={index} size={{ xs: 12, sm: 6, md: 4 }}>
              <Card sx={{ height: '100%', p: 3 }}>
                <Box sx={{ fontSize: 40, mb: 2 }}>{item.icon}</Box>
                <Typography variant="h6" sx={{ mb: 1 }}>
                  {item.title}
                </Typography>
                <Typography variant="body2" color="text.secondary">
                  {item.description}
                </Typography>
              </Card>
            </Grid>
          ))}
        </Grid>

        <Box sx={{ textAlign: 'center', mt: 5 }}>
          <Button
            component={RouterLink}
            to="/getting-started"
            variant="outlined"
            startIcon={<BuildIcon />}
          >
            View Assembly Guide
          </Button>
        </Box>
      </Container>
    </Box>
  );
}

// FAQ Section
function FAQSection() {
  return (
    <Box sx={{ py: 10, bgcolor: 'background.alt' }}>
      <Container maxWidth="md">
        <Box sx={{ textAlign: 'center', mb: 6 }}>
          <Typography variant="overline" color="text.secondary" sx={{ mb: 1, display: 'block' }}>
            Questions?
          </Typography>
          <Typography variant="h3" sx={{ mb: 2 }}>
            Frequently Asked
          </Typography>
        </Box>

        <Stack spacing={2}>
          {faqItems.map((item, index) => (
            <Accordion key={index}>
              <AccordionSummary expandIcon={<ExpandMoreIcon />}>
                <Typography fontWeight={600}>{item.question}</Typography>
              </AccordionSummary>
              <AccordionDetails>
                <Typography variant="body2" color="text.secondary" sx={{ lineHeight: 1.7 }}>
                  {item.answer}
                </Typography>
              </AccordionDetails>
            </Accordion>
          ))}
        </Stack>

        <Box sx={{ textAlign: 'center', mt: 5 }}>
          <Typography variant="body2" color="text.secondary" sx={{ mb: 2 }}>
            Still have questions?
          </Typography>
          <Button
            variant="text"
            href="https://discord.gg/2bAhWfXme9"
            target="_blank"
            endIcon={<OpenInNewIcon />}
          >
            Ask on Discord
          </Button>
        </Box>
      </Container>
    </Box>
  );
}

// Final CTA Section
function FinalCTASection() {
  return (
    <Box
      sx={{
        py: 12,
        background: 'linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 100%)',
        color: 'white',
        textAlign: 'center',
        position: 'relative',
        overflow: 'hidden',
      }}
    >
      <DecorativeShape
        color="#FF9500"
        size={150}
        type="ring"
        top={-50}
        left={-30}
        opacity={0.1}
        floatRange={10}
      />

      <Container maxWidth="md" sx={{ position: 'relative', zIndex: 1 }}>
        <Typography variant="h3" sx={{ mb: 2 }}>
          Ready to build your Reachy Mini?
        </Typography>
        <Typography
          variant="body1"
          sx={{ color: 'rgba(255,255,255,0.7)', mb: 5, maxWidth: 500, mx: 'auto' }}
        >
          Join hundreds of makers, developers, and AI enthusiasts who are already creating with Reachy Mini.
        </Typography>

        <Stack
          direction={{ xs: 'column', sm: 'row' }}
          spacing={2}
          justifyContent="center"
        >
          <Button
            variant="contained"
            size="large"
            href={products.wireless.buyLink}
            target="_blank"
            endIcon={<OpenInNewIcon />}
            sx={{
              bgcolor: '#FF9500',
              px: 4,
              '&:hover': { bgcolor: '#e68600' },
            }}
          >
            Buy Wireless β€” $499
          </Button>
          <Button
            variant="outlined"
            size="large"
            href={products.lite.buyLink}
            target="_blank"
            endIcon={<OpenInNewIcon />}
            sx={{
              borderColor: 'rgba(255,255,255,0.3)',
              color: 'white',
              px: 4,
              '&:hover': {
                borderColor: 'white',
                bgcolor: 'rgba(255,255,255,0.1)',
              },
            }}
          >
            Buy Lite β€” $299
          </Button>
        </Stack>
      </Container>
    </Box>
  );
}

// Main Buy Page
export default function Buy() {
  return (
    <Layout transparentHeader>
      <HeroSection />
      <ProductCardsSection />
      <ComparisonSection />
      <WhatsInTheBoxSection />
      <FAQSection />
      <FinalCTASection />
    </Layout>
  );
}