import { useLanguage } from '../context/LanguageContext';
import Footer from '../components/Footer';

function Privacy() {
    const { t } = useLanguage();

    const sections = [
        {
            title: t('privacy.collection.title'),
            content: t('privacy.collection.content')
        },
        {
            title: t('privacy.usage.title'),
            content: t('privacy.usage.content')
        },
        {
            title: t('privacy.sharing.title'),
            content: t('privacy.sharing.content')
        },
        {
            title: t('privacy.security.title'),
            content: t('privacy.security.content')
        }
    ];

    return (
        <div className="relative min-h-screen bg-white">
            {/* Technical grid background */}
            <div className="fixed inset-0 technical-grid opacity-50 pointer-events-none"></div>

            <div className="max-w-[1600px] mx-auto px-8 sm:px-12 lg:px-16 pt-32">
                {/* Header section */}
                <div className="grid-layout mb-16">
                    <div className="col-span-12 md:col-span-8">
                        <h1 className="brutalist-heading relative">
                            {t('privacy.title')}
                            <div className="absolute -right-8 -top-8 w-16 h-16">
                                <div className="geometric-shape circle w-full h-full bg-black"></div>
                            </div>
                        </h1>
                        <p className="monospace text-xl md:text-2xl font-medium tracking-tight max-w-2xl">
                            {t('privacy.description')}
                        </p>
                    </div>
                </div>

                {/* Privacy Content */}
                <div className="brutalist-card p-8">
                    <div className="space-y-12">
                        {sections.map((section) => (
                            <div key={section.title}>
                                <h2 className="text-2xl font-black uppercase mb-4">{section.title}</h2>
                                <p className="monospace whitespace-pre-line">{section.content}</p>
                            </div>
                        ))}
                    </div>
                </div>
            </div>
            <Footer />
        </div>
    );
}

export default Privacy; 