File size: 1,582 Bytes
e3a562a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import { motion } from 'framer-motion';
import { TrendingUp, Users, Zap, Globe } from 'lucide-react';

export default function Stats() {
  const stats = [
    { icon: <TrendingUp className="w-8 h-8 text-purple-400" />, value: "98%", label: "User Satisfaction" },
    { icon: <Users className="w-8 h-8 text-blue-400" />, value: "50K+", label: "Active Users" },
    { icon: <Zap className="w-8 h-8 text-cyan-400" />, value: "2ms", label: "Response Time" },
    { icon: <Globe className="w-8 h-8 text-emerald-400" />, value: "190+", label: "Countries" }
  ];

  return (
    <section className="py-20 bg-slate-900 relative overflow-hidden">
      <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
        <div className="grid grid-cols-2 lg:grid-cols-4 gap-8">
          {stats.map((stat, index) => (
            <motion.div 
              key={index}
              className="text-center p-6 rounded-2xl bg-slate-800/30 border border-slate-700 backdrop-blur-sm"
              initial={{ opacity: 0, y: 40 }}
              whileInView={{ opacity: 1, y: 0 }}
              viewport={{ once: true }}
              transition={{ delay: index * 0.1 }}
            >
              <div className="w-16 h-16 mx-auto mb-6 rounded-2xl bg-slate-900/50 flex items-center justify-center">
                {stat.icon}
              </div>
              <div className="text-4xl md:text-5xl font-bold text-white mb-2">{stat.value}</div>
              <div className="text-slate-400">{stat.label}</div>
            </motion.div>
          ))}
        </div>
      </div>
    </section>
  );
}