<div class="min-h-screen flex items-center justify-center p-4 bg-gradient-to-br from-lime-100 to-green-200 dark:from-gray-900 dark:to-gray-800 font-sans">
<div class="relative w-full max-w-md bg-white dark:bg-gray-700 rounded-xl shadow-2xl p-8 transform transition-all duration-300 hover:scale-[1.01] hover:shadow-3xl-lime dark:hover:shadow-3xl-green perspective-1000">
<!-- 3D Effect Background Elements (pseudo-elements via custom utility styles or more divs for actual 3D) -->
<div class="absolute inset-0 rounded-xl overflow-hidden pointer-events-none">
<!-- Top-left abstract element -->
<div class="absolute -top-10 -left-10 w-40 h-40 bg-lime-300/50 dark:bg-green-700/50 rounded-full blur-xl opacity-70 transform rotate-45 perspective-700 origin-center filter drop-shadow-lg"></div>
<!-- Bottom-right abstract element -->
<div class="absolute -bottom-10 -right-10 w-52 h-52 bg-green-300/50 dark:bg-lime-700/50 rounded-full blur-xl opacity-70 transform -rotate-30 perspective-800 origin-center filter drop-shadow-lg"></div>
</div>
<!-- Main Content Layer -->
<div class="relative z-10 space-y-6">
<div class="text-center">
<h2 class="text-3xl font-extrabold text-lime-800 dark:text-lime-300 transform translate-z-10 tracking-tight drop-shadow-sm">Welcome to AgroConnect</h2>
<p class="mt-2 text-gray-600 dark:text-gray-300 transform translate-z-5">Cultivating connections for a greener future.</p>
</div>
<form class="space-y-4">
<div>
<label for="email" class="block text-sm font-medium text-gray-700 dark:text-gray-200">Email Address</label>
<div class="mt-1 relative">
<input type="email" id="email" name="email" autocomplete="email" required
class="appearance-none block w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm placeholder-gray-400 dark:placeholder-gray-500 text-gray-900 dark:text-gray-100 bg-gray-50 dark:bg-gray-800 focus:outline-none focus:ring-2 focus:ring-lime-500 focus:border-lime-500 sm:text-sm transform translate-z-0 transition-all duration-200 focus:scale-[1.01]">
</div>
</div>
<div>
<label for="password" class="block text-sm font-medium text-gray-700 dark:text-gray-200">Password</label>
<div class="mt-1 relative">
<input type="password" id="password" name="password" autocomplete="current-password" required
class="appearance-none block w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm placeholder-gray-400 dark:placeholder-gray-500 text-gray-900 dark:text-gray-100 bg-gray-50 dark:bg-gray-800 focus:outline-none focus:ring-2 focus:ring-lime-500 focus:border-lime-500 sm:text-sm transform translate-z-0 transition-all duration-200 focus:scale-[1.01]">
</div>
</div>
<div class="flex items-center justify-between">
<div class="flex items-center">
<input id="remember-me" name="remember-me" type="checkbox"
class="h-4 w-4 text-lime-600 focus:ring-lime-500 border-gray-300 rounded dark:bg-gray-700 dark:border-gray-600">
<label for="remember-me" class="ml-2 block text-sm text-gray-900 dark:text-gray-200">Remember me</label>
</div>
<div class="text-sm">
<a href="#" class="font-medium text-lime-600 hover:text-lime-500 dark:text-lime-400 dark:hover:text-lime-300 transform translate-z-2 transition-transform duration-200 hover:scale-105">Forgot your password?</a>
</div>
</div>
<div>
<button type="submit"
class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-base font-semibold text-white bg-lime-600 hover:bg-lime-700 dark:bg-green-600 dark:hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-lime-500 dark:focus:ring-green-500 transform translate-z-10 transition-all duration-300 ease-out active:translate-y-0.5 active:shadow-md hover:scale-[1.02]">
Sign In
</button>
</div>
</form>
<div class="text-center text-sm text-gray-600 dark:text-gray-300">
Not a member? <a href="#" class="font-medium text-lime-600 hover:text-lime-500 dark:text-lime-400 dark:hover:text-lime-300 transform translate-z-2 transition-transform duration-200 hover:scale-105">Sign up now</a>
</div>
</div>
</div>
</div>
<!-- To achieve actual 3D, you'd typically rely on CSS `transform` properties like `translate3d`, `rotateX`, `rotateY`, `perspective`. -->
<!-- For this example, '3D' implies a sense of depth through shadows, layered elements, and subtle transforms. -->
<!-- Custom shadow for hover effect (typically in tailwind.config.js) -->
<!--
extend: {
boxShadow: {
'3xl-lime': '0 0 40px 10px rgba(139, 197, 63, 0.5)',
'3xl-green': '0 0 40px 10px rgba(45, 212, 96, 0.5)',
}
}
-->