 @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        :root {
            --primary-bg: #0a0d14;
            --secondary-bg: #111827;
            --card-bg: #151b29;
            --card-bg-hover: #1a2135;
            --accent-blue: #3b82f6;
            --accent-blue-hover: #60a5fa;
            --accent-purple: #8b5cf6;
            --accent-green: #10b981;
            --accent-red: #ef4444;
            --text-color: #f3f4f6;
            --text-secondary: #9ca3af;
            --text-tertiary: #6b7280;
            --accent-gradient: linear-gradient(135deg, #3b82f6, #00c8ff);
            --accent-gradient-2: linear-gradient(135deg, #8b5cf6, #d946ef);
            --border-primary: rgba(255, 255, 255, 0.08);
            --border-secondary: rgba(255, 255, 255, 0.05);
            --glass-bg: rgba(21, 27, 41, 0.8);
            --glass-border: rgba(255, 255, 255, 0.1);
            --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.2);
            --shadow-strong: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
        }
        
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--primary-bg);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow-x: hidden;
            position: relative;
            background-image: 
                radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.03) 0%, transparent 35%),
                radial-gradient(circle at 85% 85%, rgba(14, 165, 233, 0.03) 0%, transparent 35%),
                radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.02) 0%, transparent 70%);
        }
        
        /* Animated Background */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(14, 165, 233, 0.04) 0%, transparent 50%);
            z-index: -2;
        }
        
        @keyframes backgroundShift {
            0%, 100% { transform: scale(1) rotate(0deg); }
            33% { transform: scale(1.1) rotate(1deg); }
            66% { transform: scale(0.95) rotate(-1deg); }
        }
        
        /* Floating particles */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: -1;
        }
        
        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: linear-gradient(45deg, #3b82f6, #8b5cf6);
            border-radius: 50%;
            animation: float 15s infinite linear;
            opacity: 0.4;
        }
        
        @keyframes float {
            0% {
                transform: translateY(100vh) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.3;
            }
            90% {
                opacity: 0.3;
            }
            100% {
                transform: translateY(-100px) rotate(360deg);
                opacity: 0;
            }
        }
        
        /* Language Selector */
        .language-selector {
            position: fixed;
            top: 30px;
            right: 30px;
            z-index: 1000;
        }
        
        .language-dropdown {
            position: relative;
        }
        
        .language-trigger {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            color: var(--text-primary);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 14px;
            font-weight: 500;
            min-width: 140px;
        }
        
        .language-trigger:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: var(--accent-blue);
            transform: translateY(-2px);
            box-shadow: var(--shadow-glow);
        }
        
        .language-flag {
            width: 20px;
            height: 15px;
            border-radius: 3px;
            object-fit: cover;
        }
        
        .language-name {
            flex: 1;
            text-align: left;
        }
        
        .language-chevron {
            font-size: 12px;
            transition: transform 0.3s ease;
        }
        
        .language-dropdown.active .language-chevron {
            transform: rotate(180deg);
        }
        
        .language-dropdown-menu {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            box-shadow: var(--shadow-strong);
            min-width: 180px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px) scale(0.95);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }
        
        .language-dropdown.active .language-dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }
        
        .language-option {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 16px;
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.2s ease;
            font-size: 14px;
            font-weight: 500;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }
        
        .language-option:last-child {
            border-bottom: none;
        }
        
        .language-option:hover {
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-color);
        }
        
        .language-option.active {
            background: rgba(59, 130, 246, 0.1);
            color: var(--accent-blue);
            font-weight: 600;
        }
        
        /* Main Container */
        .login-container {
            width: 100%;
            max-width: 420px;
            padding: 32px 40px;
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            box-shadow: var(--shadow-strong);
            position: relative;
            animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }
        
        .login-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: var(--accent-gradient);
            opacity: 0.6;
        }
        
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(50px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        
        /* Logo Section */
        .logo-section {
            text-align: center;
            margin-bottom: 24px;
        }
        
        .logo-container {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
            animation: logoFloat 6s ease-in-out infinite;
        }
        
        @keyframes logoFloat {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-10px) rotate(2deg); }
        }
        
        @keyframes borderRotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .logo-icon {
            font-size: 36px;
            color: white;
            z-index: 1;
        }
        
        .login-title {
            font-size: 26px;
            font-weight: 800;
            color: var(--text-color);
            margin-bottom: 8px;
            letter-spacing: -0.02em;
            background: linear-gradient(135deg, #f3f4f6 0%, #9ca3af 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .login-subtitle {
            color: var(--text-secondary);
            font-size: 13px;
            font-weight: 400;
            line-height: 1.4;
        }
        
        /* Form Styles */
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-color);
            letter-spacing: 0.01em;
        }
        
        .input-wrapper {
            position: relative;
        }
        
        .form-input {
            width: 100%;
            padding: 14px 18px;
            padding-right: 45px;
            background: rgba(255, 255, 255, 0.03);
            border: 2px solid var(--border-secondary);
            border-radius: 12px;
            color: var(--text-color);
            font-size: 15px;
            font-weight: 500;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            outline: none;
        }
        
        .form-input:focus {
            border-color: var(--accent-blue);
            background: rgba(255, 255, 255, 0.05);
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
            transform: translateY(-2px);
        }
        
        .form-input::placeholder {
            color: var(--text-tertiary);
            font-weight: 400;
        }
        
        .input-icon {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-tertiary);
            cursor: pointer;
            font-size: 18px;
            transition: all 0.2s ease;
        }
        
        .input-icon:hover {
            color: var(--accent-blue);
            transform: translateY(-50%) scale(1.1);
        }
        
        /* Remember & Forgot */
        .remember-forgot {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            margin-bottom: 24px;
            font-size: 13px;
            width: 100%;
        }
        
        .remember-wrapper {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            flex-shrink: 0;
        }
        
        .custom-checkbox {
            width: 20px;
            height: 20px;
            border: 2px solid var(--border-primary);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .custom-checkbox::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--accent-gradient);
            transform: scale(0);
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .custom-checkbox.checked {
            border-color: var(--accent-blue);
        }
        
        .custom-checkbox.checked::before {
            transform: scale(1);
        }
        
        .check-icon {
            color: white;
            font-size: 12px;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 1;
        }
        
        .custom-checkbox.checked .check-icon {
            opacity: 1;
        }
        
        .remember-label {
            color: var(--text-secondary);
            font-weight: 500;
            cursor: pointer;
        }
        
        .forgot-link {
            color: var(--accent-blue);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.2s ease;
            position: relative;
            flex-shrink: 0;
            white-space: nowrap;
        }
        
        .forgot-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent-gradient);
            transition: width 0.3s ease;
        }
        
        .forgot-link:hover::after {
            width: 100%;
        }
        
        /* Login Button */
        .login-button {
            width: 100%;
            padding: 14px;
            background: var(--accent-gradient);
            border: none;
            border-radius: 12px;
            color: white;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .login-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: left 0.5s;
        }
        
        .login-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
        }
        
        .login-button:hover::before {
            left: 100%;
        }
        
        .login-button:active {
            transform: translateY(-1px);
        }
        
        /* Signup Text */
        .signup-text {
            text-align: center;
            color: var(--text-secondary);
            font-size: 13px;
            font-weight: 500;
        }
        
        .signup-link {
            color: var(--accent-blue);
            text-decoration: none;
            font-weight: 700;
            transition: all 0.2s ease;
            position: relative;
        }
        
        .signup-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent-gradient);
            transition: width 0.3s ease;
        }
        
        .signup-link:hover::after {
            width: 100%;
        }
        
        /* Error Message */
        .error-message {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #fca5a5;
            padding: 16px 20px;
            border-radius: 12px;
            margin-bottom: 24px;
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 10px;
            backdrop-filter: blur(10px);
        }
        
        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            .language-selector {
                top: 20px;
                right: 20px;
            }
            
            .login-container {
                max-width: 90%;
                padding: 24px 24px;
                margin: 60px 20px 20px;
                border-radius: 20px;
            }
            
            .login-title {
                font-size: 22px;
            }
            
            .logo-container {
                width: auto;
                height: auto;
                border-radius: 0;
            }
            
            .logo-container div {
                width: 90px !important;
                height: 90px !important;
            }
            
            .form-input {
                padding: 12px 14px;
                padding-right: 40px;
                font-size: 16px; /* Prevent zoom on iOS */
            }
        }
        
        @media (max-width: 480px) {
            .login-container {
                padding: 30px 20px;
            }
            
            .remember-forgot {
                flex-direction: column;
                gap: 12px;
                align-items: flex-start;
            }
        }
        
        .hidden {
            display: none;
        }