import React from 'react';
import { Bot, Globe, Zap, BarChart3, Play, User, Star, ArrowRight, Rocket } from 'lucide-react';
import { Link } from 'react-router-dom';
const features = [
{
icon: <Bot className="h-8 w-8 text-blue-500" />,
title: 'AI-Powered Intelligence',
description: 'Advanced Gemini AI that understands context and provides human-like responses to complex customer queries.',
gradient: 'from-blue-500 to-cyan-500'
},
{
icon: <Globe className="h-8 w-8 text-purple-500" />,
title: 'Global Multi-Tenant',
description: 'Scale across multiple websites and brands with isolated data and custom configurations.',
gradient: 'from-purple-500 to-pink-500'
},
{
icon: <Zap className="h-8 w-8 text-yellow-500" />,
title: 'Lightning Fast Setup',
description: 'Deploy in under 5 minutes with our simple JavaScript snippet. No coding experience required.',
gradient: 'from-yellow-500 to-orange-500'
},
{
icon: <BarChart3 className="h-8 w-8 text-green-500" />,
title: 'Intelligent Analytics',
description: 'Real-time insights, sentiment analysis, and performance metrics to optimize your support.',
gradient: 'from-green-500 to-emerald-500'
}
];
const steps = [
{
icon: <Play className="h-7 w-7 text-primary-500" />,
title: 'Sign Up Instantly',
description: 'Create your account in seconds and access your dashboard.'
},
{
icon: <Bot className="h-7 w-7 text-blue-500" />,
title: 'Deploy Your AI Bot',
description: 'Configure and launch your AI-powered chat support on your site.'
},
{
icon: <BarChart3 className="h-7 w-7 text-green-500" />,
title: 'Track & Optimize',
description: 'Monitor analytics and continuously improve your customer experience.'
}
];
const testimonial = {
name: 'Sarah Chen',
role: 'Head of Customer Success',
company: 'TechFlow',
image: 'https://images.pexels.com/photos/415829/pexels-photo-415829.jpeg?auto=compress&cs=tinysrgb&w=400',
content: 'MCP Chat Support reduced our response time by 85% and improved customer satisfaction significantly. The AI is incredibly smart.',
rating: 5
};
const Features: React.FC = () => (
<div className="relative min-h-screen py-12 overflow-hidden">
{/* Decorative Background Gradient */}
<div className="absolute -top-32 -left-32 w-[600px] h-[600px] bg-gradient-to-br from-blue-200 via-purple-100 to-cyan-100 rounded-full blur-3xl opacity-60 z-0" />
<div className="absolute bottom-0 right-0 w-[400px] h-[400px] bg-gradient-to-tr from-blue-100 via-cyan-100 to-purple-100 rounded-full blur-2xl opacity-50 z-0" />
<div className="relative max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 z-10">
{/* Back to Home Button */}
<div className="mb-4">
<Link to="/" className="inline-flex items-center text-primary-600 hover:text-primary-800 font-medium bg-white/80 hover:bg-white px-3 py-2 rounded-lg shadow transition-all">
<svg className="h-5 w-5 mr-2" fill="none" stroke="currentColor" strokeWidth="2" viewBox="0 0 24 24"><path strokeLinecap="round" strokeLinejoin="round" d="M15 19l-7-7 7-7" /></svg>
Back to Home
</Link>
</div>
{/* Header */}
<div className="flex items-center space-x-4 mb-8">
<div className="bg-gradient-to-r from-primary-500 to-primary-600 text-white p-3 rounded-xl shadow-lg">
<Bot className="h-7 w-7" />
</div>
<h1 className="text-4xl font-bold text-gray-900">Features</h1>
</div>
{/* Hero Section */}
<div className="mb-12">
<p className="text-xl text-gray-700 max-w-2xl">
Discover the powerful features that make MCP Chat Support the most advanced AI customer support platform for businesses of all sizes.
</p>
</div>
{/* Features Grid */}
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 mb-16">
{features.map((feature) => (
<div
key={feature.title}
className={`rounded-2xl shadow-lg p-8 bg-gradient-to-br ${feature.gradient} text-white flex flex-col items-start`}
>
<div className="mb-4">{feature.icon}</div>
<h2 className="text-2xl font-semibold mb-2">{feature.title}</h2>
<p className="text-base opacity-90">{feature.description}</p>
</div>
))}
</div>
{/* How It Works Section */}
<div className="mb-16">
<h2 className="text-2xl font-bold text-gray-900 mb-6 flex items-center">
<Play className="h-6 w-6 text-primary-500 mr-2" /> How It Works
</h2>
<div className="grid grid-cols-1 md:grid-cols-3 gap-8">
{steps.map((step) => (
<div key={step.title} className="bg-white rounded-2xl shadow p-6 flex flex-col items-center text-center">
<div className="mb-3">{step.icon}</div>
<h3 className="text-lg font-semibold mb-2 text-gray-900">{step.title}</h3>
<p className="text-gray-600">{step.description}</p>
</div>
))}
</div>
</div>
{/* Testimonial Section */}
<div className="mb-16">
<div className="bg-gradient-to-r from-primary-100 to-blue-100 rounded-2xl p-8 flex flex-col md:flex-row items-center shadow">
<img src={testimonial.image} alt={testimonial.name} className="w-20 h-20 rounded-full object-cover border-4 border-primary-200 mb-4 md:mb-0 md:mr-8" />
<div>
<div className="flex items-center mb-2">
{[...Array(testimonial.rating)].map((_, i) => (
<Star key={i} className="h-5 w-5 text-yellow-400" />
))}
</div>
<p className="text-lg text-gray-800 mb-2">“{testimonial.content}”</p>
<div className="text-gray-600 text-sm">
<span className="font-semibold">{testimonial.name}</span> — {testimonial.role}, {testimonial.company}
</div>
</div>
</div>
</div>
{/* CTA Section */}
<div className="mt-20 flex justify-center">
<div className="bg-gradient-to-r from-primary-500 to-blue-500 rounded-2xl shadow-lg px-10 py-8 flex flex-col items-center text-center">
<h2 className="text-2xl font-bold text-white mb-2 flex items-center justify-center">
<Rocket className="h-6 w-6 mr-2" /> Ready to transform your support?
</h2>
<p className="text-white/90 mb-6">Start your free trial today and experience the future of customer support.</p>
<Link to="/signup" className="inline-flex items-center bg-white text-primary-600 font-semibold px-6 py-3 rounded-lg shadow hover:bg-gray-50 transition-all">
Get Started Free <ArrowRight className="h-5 w-5 ml-2" />
</Link>
</div>
</div>
</div>
</div>
);
export default Features;