import React from 'react';
import { Layers, MousePointer2, ZoomIn, Palette, FolderOpen } from 'lucide-react';
const Header: React.FC = () => {
return (
<header className="relative overflow-hidden bg-gradient-to-br from-slate-900 via-slate-800 to-slate-900 rounded-3xl p-8 mb-12 shadow-2xl">
{/* Animated background pattern */}
<div className="absolute inset-0 opacity-20">
<div className="absolute top-0 left-0 w-96 h-96 bg-gradient-to-r from-cyan-500 to-blue-500 rounded-full mix-blend-multiply filter blur-3xl animate-blob"></div>
<div className="absolute top-0 right-0 w-96 h-96 bg-gradient-to-r from-purple-500 to-pink-500 rounded-full mix-blend-multiply filter blur-3xl animate-blob animation-delay-2000"></div>
<div className="absolute bottom-0 left-1/2 w-96 h-96 bg-gradient-to-r from-green-500 to-teal-500 rounded-full mix-blend-multiply filter blur-3xl animate-blob animation-delay-4000"></div>
</div>
{/* Grid pattern overlay */}
<div className="absolute inset-0 bg-[url('data:image/svg+xml,%3Csvg width="60" height="60" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"%3E%3Cpath d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="100%25" height="100%25" fill="url(%23grid)"/%3E%3C/svg%3E')] opacity-50"></div>
<div className="relative z-10">
{/* Main title section */}
<div className="flex flex-col md:flex-row items-center justify-between mb-8">
<div className="mb-6 md:mb-0">
<div className="inline-flex items-center gap-2 bg-gradient-to-r from-cyan-500/20 to-blue-500/20 backdrop-blur-sm rounded-full px-4 py-2 mb-4">
<Layers className="w-5 h-5 text-cyan-400" />
<span className="text-cyan-400 font-medium text-sm">3D Showcase Platform</span>
</div>
<h1 className="text-5xl md:text-6xl font-black text-white mb-3 tracking-tight">
Model
<span className="block text-transparent bg-clip-text bg-gradient-to-r from-cyan-400 via-blue-400 to-purple-400">
Viewer Pro
</span>
</h1>
<p className="text-slate-300 text-lg max-w-md">
Погрузитесь в мир трёхмерной визуализации с продвинутыми возможностями просмотра
</p>
</div>
{/* Feature cards */}
<div className="grid grid-cols-2 gap-3 max-w-sm">
<div className="bg-white/5 backdrop-blur-sm rounded-2xl p-4 border border-white/10 hover:bg-white/10 transition-colors">
<MousePointer2 className="w-6 h-6 text-cyan-400 mb-2" />
<h3 className="text-white font-semibold text-sm">Интерактив</h3>
<p className="text-slate-400 text-xs">360° вращение</p>
</div>
<div className="bg-white/5 backdrop-blur-sm rounded-2xl p-4 border border-white/10 hover:bg-white/10 transition-colors">
<ZoomIn className="w-6 h-6 text-blue-400 mb-2" />
<h3 className="text-white font-semibold text-sm">Масштаб</h3>
<p className="text-slate-400 text-xs">Плавный зум</p>
</div>
<div className="bg-white/5 backdrop-blur-sm rounded-2xl p-4 border border-white/10 hover:bg-white/10 transition-colors">
<Palette className="w-6 h-6 text-purple-400 mb-2" />
<h3 className="text-white font-semibold text-sm">Кастомизация</h3>
<p className="text-slate-400 text-xs">Смена окружения</p>
</div>
<div className="bg-white/5 backdrop-blur-sm rounded-2xl p-4 border border-white/10 hover:bg-white/10 transition-colors">
<FolderOpen className="w-6 h-6 text-pink-400 mb-2" />
<h3 className="text-white font-semibold text-sm">Форматы</h3>
<p className="text-slate-400 text-xs">GLB, GLTF, USDZ</p>
</div>
</div>
</div>
{/* Bottom status bar */}
<div className="flex items-center justify-between bg-white/5 backdrop-blur-sm rounded-2xl px-6 py-3 border border-white/10">
<div className="flex items-center gap-6">
<div className="flex items-center gap-2">
<div className="w-2 h-2 bg-green-400 rounded-full animate-pulse"></div>
<span className="text-slate-300 text-sm">Система активна</span>
</div>
<div className="hidden md:flex items-center gap-2 text-slate-400 text-sm">
<span>WebGL 2.0</span>
<span className="text-slate-600">•</span>
<span>Three.js Engine</span>
</div>
</div>
<button className="bg-gradient-to-r from-cyan-500 to-blue-500 text-white px-4 py-2 rounded-xl font-medium text-sm hover:shadow-lg hover:shadow-cyan-500/25 transition-all">
Начать просмотр
</button>
</div>
</div>
<style jsx>{`
@keyframes blob {
0% {
transform: translate(0px, 0px) scale(1);
}
33% {
transform: translate(30px, -50px) scale(1.1);
}
66% {
transform: translate(-20px, 20px) scale(0.9);
}
100% {
transform: translate(0px, 0px) scale(1);
}
}
.animate-blob {
animation: blob 7s infinite;
}
.animation-delay-2000 {
animation-delay: 2s;
}
.animation-delay-4000 {
animation-delay: 4s;
}
`}</style>
</header>
);
};
export default Header;