<?php session_start(); ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>KemoAuth</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link href="https://api.fontshare.com/v2/css?f[]=satoshi@900,700,500&display=swap" rel="stylesheet">
    <script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
    <style>
        :root {
            --bg: #030014;
            --primary: #A855F7;
            --secondary: #6366F1;
            --accent: #F471B5;
            --text: #FFFFFF;
        }

        body {
            font-family: 'Satoshi', sans-serif;
            background: var(--bg);
            color: var(--text);
        }

        .neon-border {
            position: relative;
            border: 1px solid rgba(168, 85, 247, 0.3);
            border-radius: 1rem;
            background: rgba(168, 85, 247, 0.05);
            backdrop-filter: blur(10px);
        }

        .cyber-button {
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            color: white;
            padding: 0.75rem 2rem;
            border-radius: 0.5rem;
            font-weight: 600;
            transition: all 0.3s;
            box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
            position: relative;
            overflow: hidden;
        }

        .cyber-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .cyber-button:hover::before {
            left: 100%;
        }

        .cyber-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
        }

        .cyber-grid {
            background-image: 
                linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
            background-size: 50px 50px;
            background-position: center;
            mask-image: radial-gradient(circle at center, black, transparent);
        }

        .feature-card {
            background: rgba(168, 85, 247, 0.05);
            border: 1px solid rgba(168, 85, 247, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 1rem;
            transition: all 0.3s;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
            box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
        }

        .stats-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            padding: 2px;
            border-radius: 1rem;
        }

        .stat-card {
            background: var(--bg);
            padding: 2rem;
            text-align: center;
            backdrop-filter: blur(10px);
        }

        .stat-card:first-child {
            border-radius: 1rem 0 0 1rem;
        }

        .stat-card:last-child {
            border-radius: 0 1rem 1rem 0;
        }

        .glow-effect {
            position: absolute;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, 
                rgba(168, 85, 247, 0.2) 0%,
                rgba(99, 102, 241, 0.2) 50%,
                transparent 70%);
            filter: blur(100px);
            z-index: 0;
        }

        .pricing-card {
            background: rgba(168, 85, 247, 0.05);
            border: 1px solid rgba(168, 85, 247, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 1rem;
            transition: all 0.3s;
        }

        .pricing-card.popular {
            background: linear-gradient(45deg, rgba(168, 85, 247, 0.1), rgba(99, 102, 241, 0.1));
            border: 2px solid var(--primary);
        }

        .pricing-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
        }

        .text-gradient {
            background: linear-gradient(to right, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .animated-gradient {
            background: linear-gradient(-45deg, var(--primary), var(--secondary), var(--accent));
            background-size: 200% 200%;
            animation: gradient 5s ease infinite;
        }

        @keyframes gradient {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .typing-line-1, .typing-line-2, .typing-line-3, .typing-line-4, .typing-line-5 {
            display: block;
            white-space: pre;
            overflow: hidden;
            width: 0;
            position: relative;
        }

        .typing-line-1::after, .typing-line-2::after, .typing-line-3::after, .typing-line-4::after, .typing-line-5::after {
            content: '';
            position: absolute;
            right: -2px;
            top: 0;
            height: 100%;
            width: 2px;
            background: var(--primary);
        }

        .typing-line-1 {
            animation: typing 1s steps(20, end) forwards;
        }

        .typing-line-1::after {
            animation: blink 0.75s step-end infinite;
            animation-duration: 1s;
        }

        .typing-line-2 {
            animation: typing 1s steps(20, end) forwards;
            animation-delay: 1s;
            opacity: 0;
            animation-fill-mode: forwards;
        }

        .typing-line-2::after {
            animation: blink 0.75s step-end infinite;
            animation-delay: 1s;
            animation-duration: 1s;
        }

        .typing-line-3 {
            animation: typing 1s steps(20, end) forwards;
            animation-delay: 2s;
            opacity: 0;
            animation-fill-mode: forwards;
        }

        .typing-line-3::after {
            animation: blink 0.75s step-end infinite;
            animation-delay: 2s;
            animation-duration: 1s;
        }

        .typing-line-4 {
            animation: typing 1s steps(20, end) forwards;
            animation-delay: 3s;
            opacity: 0;
            animation-fill-mode: forwards;
        }

        .typing-line-4::after {
            animation: blink 0.75s step-end infinite;
            animation-delay: 3s;
            animation-duration: 1s;
        }

        .typing-line-5 {
            animation: typing 1s steps(25, end) forwards;
            animation-delay: 4s;
            opacity: 0;
            animation-fill-mode: forwards;
        }

        .typing-line-5::after {
            animation: blink 0.75s step-end infinite;
            animation-delay: 4s;
        }

        @keyframes typing {
            0% {
                width: 0;
                opacity: 1;
            }
            100% {
                width: 100%;
                opacity: 1;
            }
        }

        @keyframes blink {
            from, to { opacity: 0; }
            50% { opacity: 1; }
        }
    </style>
</head>
<body>
    <div class="relative min-h-screen">
        <div class="glow-effect top-0 left-0"></div>
        <div class="glow-effect bottom-0 right-0"></div>
        <div class="cyber-grid fixed inset-0"></div>

        <nav class="fixed w-full z-50 bg-[#030014]/80 backdrop-blur-xl border-b border-purple-500/10">
            <div class="max-w-7xl mx-auto px-6">
                <div class="flex h-20 items-center justify-between">
                    <a href="/" class="text-2xl font-black text-gradient">KemoAuth</a>
                    <div class="hidden md:flex items-center gap-8">
                        <a href="#features" class="text-sm font-medium text-white/70 hover:text-purple-400">Features</a>
                        <a href="#pricing" class="text-sm font-medium text-white/70 hover:text-purple-400">Pricing</a>
                        <?php if (isset($_SESSION['user_id'])): ?>
                            <a href="/Dashboard" class="cyber-button">Dashboard</a>
                        <?php else: ?>
                            <a href="/Login" class="text-sm font-medium text-white/70 hover:text-purple-400">Login</a>
                            <a href="/Register" class="cyber-button">Get Started</a>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </nav>

        <main class="relative z-10">
            <section class="pt-40 pb-20">
                <div class="max-w-7xl mx-auto px-6">
                    <div class="grid lg:grid-cols-2 gap-20 items-center">
                        <div class="space-y-8">
                            <div class="neon-border inline-block px-4 py-2">
                                <div class="flex items-center gap-3">
                                    <div class="w-2 h-2 rounded-full bg-purple-500 animate-pulse"></div>
                                    <span class="text-purple-400">System Status: Online</span>
                                </div>
            </div>
                            <h1 class="text-7xl font-black leading-tight">
                                Secure Your 
                                <br/>
                                <span class="text-gradient">Digital Assets</span>
                            </h1>
                            <p class="text-xl text-white/70">
                                Advanced authentication system with military-grade encryption 
                                and intelligent HWID protection.
                            </p>
                            <div class="flex items-center gap-6">
                                <a href="/Register" class="cyber-button">Get Protected</a>
                                <div class="neon-border px-6 py-3 flex items-center gap-8">
                                    <div class="flex items-center gap-2">
                                        <div class="w-2 h-2 rounded-full bg-purple-500 animate-pulse"></div>
                                        <div>
                                            <div class="text-xl font-bold text-purple-400">99.9%</div>
                                            <div class="text-sm text-white/50">Uptime</div>
                                        </div>
                                    </div>
                                    <div class="w-px h-8 bg-purple-500/20"></div>
                                    <div>
                                        <div class="text-xl font-bold text-purple-400">70+</div>
                                        <div class="text-sm text-white/50">Users</div>
                        </div>
                                    <div class="w-px h-8 bg-purple-500/20"></div>
                                    <div>
                                        <div class="text-xl font-bold text-purple-400">24/7</div>
                                        <div class="text-sm text-white/50">Support</div>
                        </div>
                            </div>
                            </div>
                        </div>
                        <div class="relative hidden lg:block">
                            <div class="neon-border p-8">
                                <pre class="text-sm text-purple-400/70 font-mono">
<span class="text-white/50">// Welcome to KemoAuth</span>

<span class="typing-line-1">Initializing KemoAuth...</span>
<span class="typing-line-2">Checking system status...</span>
<span class="typing-line-3">✓ Connection established</span>
<span class="typing-line-4">✓ Protection activated</span>
<span class="typing-line-5">Ready to secure your software.</span>
                                </pre>
                    </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

            <section id="features" class="py-32">
                <div class="max-w-7xl mx-auto px-6">
                    <div class="text-center mb-20">
                        <h2 class="text-4xl font-bold mb-4">Security Arsenal</h2>
                        <p class="text-white/50">Comprehensive protection for your software</p>
                    </div>
                <div class="grid md:grid-cols-3 gap-8">
                        <div class="neon-border p-8">
                            <div class="w-12 h-12 mb-6 rounded-lg bg-purple-500/10 flex items-center justify-center">
                                <svg class="w-6 h-6 text-purple-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"/>
                            </svg>
                            </div>
                            <h3 class="text-xl font-bold mb-2">HWID Lock</h3>
                            <p class="text-white/50">Hardware-based authentication system</p>
                        </div>

                        <div class="neon-border p-8">
                            <div class="w-12 h-12 mb-6 rounded-lg bg-purple-500/10 flex items-center justify-center">
                                <svg class="w-6 h-6 text-purple-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"/>
                                </svg>
                    </div>
                            <h3 class="text-xl font-bold mb-2">Anti-Tampering</h3>
                            <p class="text-white/50">Advanced integrity verification</p>
                        </div>

                        <div class="neon-border p-8">
                            <div class="w-12 h-12 mb-6 rounded-lg bg-purple-500/10 flex items-center justify-center">
                                <svg class="w-6 h-6 text-purple-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"/>
                                </svg>
                    </div>
                            <h3 class="text-xl font-bold mb-2">Real-time Protection</h3>
                            <p class="text-white/50">24/7 monitoring and response</p>
                    </div>
                </div>
            </div>
        </section>

            <section id="pricing" class="py-32">
                <div class="max-w-7xl mx-auto px-6">
                <div class="text-center mb-20">
                        <h2 class="text-4xl font-bold mb-4">Access Levels</h2>
                        <p class="text-white/50">Choose your security tier</p>
                </div>
                <div class="grid md:grid-cols-3 gap-8">
                        <div class="pricing-card p-8 rounded-lg">
                            <div class="mb-8">
                                <h3 class="text-2xl font-bold mb-4">Weekly Access</h3>
                                <div class="flex items-baseline">
                                    <span class="text-5xl font-bold text-[#00FF94]">€5</span>
                                    <span class="text-white/50 ml-2">/week</span>
                                </div>
                            </div>
                            <ul class="space-y-4 mb-8 text-white/70">
                                <li class="flex items-center">
                                    <svg class="w-5 h-5 mr-2 text-[#00FF94]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
                                    </svg>
                                    Full Access
                                </li>
                                <li class="flex items-center">
                                    <svg class="w-5 h-5 mr-2 text-[#00FF94]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
                                    </svg>
                                    24/7 Support
                                </li>
                            </ul>
                            <a href="/Register" class="cyber-button w-full text-center block">Deploy Now</a>
                        </div>

                        <div class="pricing-card popular p-8 rounded-lg">
                            <div class="mb-8">
                                <h3 class="text-2xl font-bold mb-4">Monthly Access</h3>
                                <div class="flex items-baseline">
                                    <span class="text-5xl font-bold text-[#00FF94]">€15</span>
                                    <span class="text-white/50 ml-2">/month</span>
                                </div>
                            </div>
                            <ul class="space-y-4 mb-8 text-white/70">
                                <li class="flex items-center">
                                    <svg class="w-5 h-5 mr-2 text-[#00FF94]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
                                    </svg>
                                    Full Access
                                </li>
                                <li class="flex items-center">
                                    <svg class="w-5 h-5 mr-2 text-[#00FF94]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
                                    </svg>
                                    Priority Support
                                </li>
                            </ul>
                            <a href="/Register" class="cyber-button w-full text-center block">Deploy Now</a>
                    </div>

                        <div class="pricing-card p-8 rounded-lg">
                            <div class="mb-8">
                                <h3 class="text-2xl font-bold mb-4">Lifetime Access</h3>
                                <div class="flex items-baseline">
                                    <span class="text-5xl font-bold text-[#00FF94]">€25</span>
                                    <span class="text-white/50 ml-2">/lifetime</span>
                                </div>
                            </div>
                            <ul class="space-y-4 mb-8 text-white/70">
                                <li class="flex items-center">
                                    <svg class="w-5 h-5 mr-2 text-[#00FF94]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
                                    </svg>
                                    Lifetime Access
                                </li>
                                <li class="flex items-center">
                                    <svg class="w-5 h-5 mr-2 text-[#00FF94]" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
                                    </svg>
                                    VIP Support
                                </li>
                            </ul>
                            <a href="/Register" class="cyber-button w-full text-center block">Deploy Now</a>
                    </div>
                </div>
            </div>
        </section>
        </main>

        <footer class="py-20 border-t border-[#00FF94]/10">
            <div class="max-w-7xl mx-auto px-6">
                <div class="grid grid-cols-2 md:grid-cols-4 gap-8 mb-12">
                    <div>
                        <h3 class="text-lg font-bold mb-4">Product</h3>
                        <ul class="space-y-2">
                            <li><a href="#features" class="text-white/50 hover:text-[#00FF94]">Features</a></li>
                            <li><a href="#pricing" class="text-white/50 hover:text-[#00FF94]">Pricing</a></li>
                            <li><a href="#" class="text-white/50 hover:text-[#00FF94]">Documentation</a></li>
                        </ul>
                    </div>
                    <div>
                        <h3 class="text-lg font-bold mb-4">Company</h3>
                        <ul class="space-y-2">
                            <li><a href="#" class="text-white/50 hover:text-[#00FF94]">About</a></li>
                            <li><a href="#" class="text-white/50 hover:text-[#00FF94]">Blog</a></li>
                            <li><a href="#" class="text-white/50 hover:text-[#00FF94]">Careers</a></li>
                        </ul>
                    </div>
                    <div>
                        <h3 class="text-lg font-bold mb-4">Support</h3>
                        <ul class="space-y-2">
                            <li><a href="#" class="text-white/50 hover:text-[#00FF94]">Help Center</a></li>
                            <li><a href="#" class="text-white/50 hover:text-[#00FF94]">Status</a></li>
                            <li><a href="#" class="text-white/50 hover:text-[#00FF94]">Contact</a></li>
                        </ul>
                    </div>
                    <div>
                        <h3 class="text-lg font-bold mb-4">Legal</h3>
                        <ul class="space-y-2">
                            <li><a href="#" class="text-white/50 hover:text-[#00FF94]">Privacy</a></li>
                            <li><a href="#" class="text-white/50 hover:text-[#00FF94]">Terms</a></li>
                            <li><a href="#" class="text-white/50 hover:text-[#00FF94]">Security</a></li>
                        </ul>
                    </div>
                </div>
                <div class="pt-8 border-t border-[#00FF94]/10 flex flex-col md:flex-row justify-between items-center gap-4">
                    <p class="text-white/50">&copy; <?php echo date('Y'); ?> KemoAuth. All systems operational.</p>
                    <div class="flex items-center gap-4">
                        <a href="#" class="text-white/50 hover:text-[#00FF94]">
                            <svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24">
                                <path d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"/>
                            </svg>
                        </a>
                        <a href="https://discord.gg/UpuZ433QcB" class="text-white/50 hover:text-[#00FF94]">
                            <svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24">
                                <path d="M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418z"/>
                            </svg>
                        </a>
                    </div>
                </div>
            </div>
        </footer>
    </div>
</body>
</html> 