import { motion } from 'framer-motion';
import { RevealText } from '../components/RevealText';
import { ShieldCheck } from 'lucide-react';

const PrivacyPolicy = () => {
  return (
    <div className="bg-[#0B1220] min-h-screen pt-32 pb-20" data-testid="privacy-policy-page">
      <div className="max-w-4xl mx-auto px-6 lg:px-8">
        <RevealText>
          <div className="mb-12">
            <motion.div
              initial={{ opacity: 0, y: 20 }}
              animate={{ opacity: 1, y: 0 }}
              transition={{ duration: 0.6 }}
              className="inline-flex items-center gap-2 px-4 py-2 bg-[#4F7CFF]/10 border border-[#4F7CFF]/20 rounded-full mb-6"
            >
              <ShieldCheck size={16} className="text-[#4F7CFF]" />
              <span className="text-[#4F7CFF] text-sm font-medium">Legal</span>
            </motion.div>
            <h1 className="text-4xl md:text-5xl lg:text-6xl font-bold text-white mb-4">
              Privacy Policy
            </h1>
            <p className="text-white/50 text-sm">Last updated: {new Date().getFullYear()}</p>
          </div>
        </RevealText>

        <RevealText delay={0.15}>
          <div className="p-8 md:p-12 bg-gradient-to-br from-white/5 to-transparent border border-white/10 rounded-3xl backdrop-blur-sm space-y-6">
            <p className="text-lg text-white/70 leading-relaxed">
              At Vireun, we value your privacy and are committed to protecting your personal information. We may collect details such as your name, email address, phone number, and project requirements when you contact us or use our services. This information is used only to provide our software solutions, improve our services, and communicate with you.
            </p>
            <p className="text-lg text-white/70 leading-relaxed">
              We do not sell, rent, or share your personal information with third parties except when required by law or to deliver our services. We use reasonable security measures to protect your data. By using our website and services, you agree to the terms of this Privacy Policy.
            </p>

            <div className="pt-6 border-t border-white/10">
              <p className="text-white/60">
                Questions about this policy? Reach us at{' '}
                <a href="mailto:support@vireun.com" className="text-[#4F7CFF] hover:text-[#6B8FFF] transition-colors duration-300">
                  support@vireun.com
                </a>
              </p>
            </div>
          </div>
        </RevealText>
      </div>
    </div>
  );
};

export default PrivacyPolicy;
