<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Activate License - Product Registration</title>
    <!-- Google Fonts -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=JetBrains+Mono&display=swap" rel="stylesheet">
    <!-- Tailwind CSS -->
    <script src="https://cdn.tailwindcss.com"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    fontFamily: {
                        sans: ['Outfit', 'sans-serif'],
                        mono: ['JetBrains Mono', 'monospace'],
                    }
                }
            }
        }
    </script>
    <style>
        body {
            background: radial-gradient(circle at 10% 20%, rgb(15, 23, 42) 0%, rgb(9, 11, 23) 90%);
        }
    </style>
</head>
<body class="min-h-screen flex items-center justify-center p-4 antialiased selection:bg-indigo-500 selection:text-white">
    <!-- Glow Background Effects -->
    <div class="fixed top-0 left-1/4 w-[400px] h-[400px] bg-emerald-500/10 rounded-full blur-[100px] -z-10"></div>
    <div class="fixed bottom-0 right-1/4 w-[500px] h-[500px] bg-indigo-500/10 rounded-full blur-[120px] -z-10"></div>

    <div class="w-full max-w-lg">
        <!-- Logo Header -->
        <div class="text-center mb-8">
            <div class="inline-flex items-center justify-center w-16 h-16 bg-gradient-to-tr from-emerald-500 to-indigo-500 rounded-2xl shadow-xl shadow-indigo-500/10 mb-4 ring-1 ring-white/20">
                <svg xmlns="http://www.w3.org/2000/svg" class="h-8 w-8 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor">
                    <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>
            <h1 class="text-3xl font-extrabold text-white tracking-tight">Product License Verification</h1>
            <p class="text-gray-400 mt-2 text-sm">Please verify your purchase code to activate your product installation</p>
        </div>

        <!-- Main Form Card (Glassmorphism) -->
        <div class="backdrop-blur-xl bg-slate-900/60 border border-white/10 rounded-3xl p-8 shadow-2xl relative overflow-hidden">
            <div class="absolute top-0 inset-x-0 h-px bg-gradient-to-r from-transparent via-white/25 to-transparent"></div>

            <?php if($errors->any()): ?>
                <div class="mb-6 p-4 bg-rose-500/10 border border-rose-500/25 rounded-2xl flex gap-3 items-start">
                    <svg class="w-5 h-5 text-rose-400 flex-shrink-0 mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"></path>
                    </svg>
                    <div>
                        <h4 class="text-sm font-semibold text-rose-300">Activation Failed</h4>
                        <p class="text-xs text-rose-400/95 mt-1"><?php echo e($errors->first('purchase_code')); ?></p>
                    </div>
                </div>
            <?php endif; ?>

            <form method="POST" action="<?php echo e(route('license.activate')); ?>" class="space-y-6">
                <?php echo csrf_field(); ?>

                <!-- Host info display -->
                <div class="bg-white/5 border border-white/5 rounded-2xl p-4 flex justify-between items-center text-xs">
                    <span class="text-gray-400 font-medium">Activation Domain</span>
                    <span class="font-mono text-indigo-300 bg-indigo-500/10 px-2.5 py-1 rounded-lg border border-indigo-500/20 font-bold">
                        <?php echo e(request()->getHost()); ?>

                    </span>
                </div>

                <!-- Purchase Code input -->
                <div>
                    <label for="purchase_code" class="block text-xs font-bold text-gray-300 uppercase tracking-wider mb-2">Purchase Code</label>
                    <input 
                        type="text" 
                        id="purchase_code" 
                        name="purchase_code" 
                        value="<?php echo e(old('purchase_code')); ?>" 
                        placeholder="e.g. 1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d"
                        required
                        autocomplete="off"
                        class="w-full px-4 py-3 bg-slate-950/50 border border-white/10 rounded-2xl focus:outline-none focus:ring-2 focus:ring-emerald-500 focus:border-emerald-500 text-sm text-white font-mono placeholder-gray-600 transition-all"
                    >
                    <p class="text-[11px] text-gray-500 mt-2">
                        Enter your official CodeCanyon purchase code. You can find this inside your Envato Downloads tab.
                    </p>
                </div>

                <!-- Submit Button -->
                <button 
                    type="submit"
                    class="w-full py-3.5 bg-gradient-to-r from-emerald-500 to-teal-500 hover:from-emerald-400 hover:to-teal-400 text-slate-950 font-bold text-sm rounded-2xl shadow-lg shadow-emerald-500/25 transition-all active:scale-[0.98] focus:outline-none focus:ring-2 focus:ring-emerald-400 focus:ring-offset-2 focus:ring-offset-slate-900"
                >
                    Verify & Activate Product
                </button>
            </form>
        </div>

        <!-- Help Info Footer -->
        <div class="text-center mt-6 text-xs text-gray-500 space-y-1">
            <p>Need assistance with your license? <a href="https://mhquickdev.com/support" target="_blank" class="text-indigo-400 hover:underline">Contact MHQuickDEV Support</a></p>
            <p>&copy; <?php echo e(date('Y')); ?> MHQuickDEV. All rights reserved.</p>
        </div>
    </div>
</body>
</html>
<?php /**PATH /Users/mahmudul/Codecanyone/edu_ex_full/Eduex_laravel/vendor/mhquickdev/license-client/src/../resources/views/activate.blade.php ENDPATH**/ ?>