:root {
            --bg-primary: #f8fafc;
            --bg-surface: #ffffff;
            --border-subtle: rgba(226, 232, 240, 0.95);
            --primary-accent: #4f46e5;
            --primary-hover: #4338ca;
            --text-heading: #0f172a;
            --text-body: #475569;
            --text-muted: #64748b;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html, body {
            background-color: var(--bg-primary);
            color: var(--text-body);
            font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            min-height: 100vh;
            overflow-x: hidden;
            line-height: 1.6;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Outfit', sans-serif;
            font-weight: 800;
            color: var(--text-heading);
            letter-spacing: -0.02em;
        }

        /* Dot-Matrix Grid with Radial Ambient Mask */
        .bg-matrix-grid {
            position: fixed;
            inset: 0;
            background-image: radial-gradient(rgba(15, 23, 42, 0.07) 1.2px, transparent 1.2px);
            background-size: 28px 28px;
            mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 50%, transparent 100%);
            -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 50%, transparent 100%);
            pointer-events: none;
            z-index: 0;
        }

        /* Ambient Top Spotlight Glow */
        .aceternity-spotlight {
            position: fixed;
            top: -120px;
            left: 50%;
            transform: translateX(-50%);
            width: min(100vw, 900px);
            height: 480px;
            background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, rgba(56, 189, 248, 0.1) 45%, transparent 75%);
            filter: blur(90px);
            pointer-events: none;
            z-index: 0;
        }

        /* Header Navigation */
        .login-nav-header {
            position: relative;
            z-index: 10;
            padding: 24px 32px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .nav-logo-brand {
            height: 46px;
            max-width: 220px;
            object-fit: contain;
            transition: transform 0.2s ease;
        }
        .nav-logo-brand:hover {
            transform: scale(1.02);
        }

        /* Back to Home Button */
        .btn-back-home {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 18px;
            border-radius: 9999px;
            font-size: 0.88rem;
            font-weight: 600;
            text-decoration: none;
            color: #0f172a;
            background: #ffffff;
            border: 1px solid rgba(226, 232, 240, 0.95);
            box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
            transition: all 0.25s ease;
        }
        .btn-back-home:hover {
            color: #4f46e5;
            background: #f8fafc;
            border-color: #cbd5e1;
            transform: translateX(-2px);
            box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
        }

        /* Main Container */
        .login-main-wrapper {
            position: relative;
            z-index: 1;
            min-height: calc(100vh - 170px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px 20px 48px 20px;
        }

        .auth-card-shell {
            width: 100%;
            max-width: 980px;
            background: #ffffff;
            border: 1px solid rgba(226, 232, 240, 0.95);
            border-radius: 24px;
            box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.08), 0 0 30px rgba(99, 102, 241, 0.04);
            overflow: hidden;
        }

        /* Left Showcase Column */
        .auth-showcase-col {
            background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
            border-right: 1px solid rgba(226, 232, 240, 0.9);
            padding: 48px 40px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .pill-badge-os {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 5px 14px;
            border-radius: 9999px;
            background: rgba(99, 102, 241, 0.08);
            border: 1px solid rgba(99, 102, 241, 0.22);
            font-size: 0.8rem;
            font-weight: 700;
            color: #4338ca;
            margin-bottom: 20px;
        }
        .pulse-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background-color: #4f46e5;
            box-shadow: 0 0 6px #4f46e5;
            animation: pulseAnim 2s infinite ease-in-out;
        }
        @keyframes pulseAnim {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.4); opacity: 0.6; }
        }

        .text-shimmer-gradient {
            background: linear-gradient(135deg, #0f172a 0%, #4338ca 40%, #0284c7 70%, #0f172a 100%);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: textShimmer 6s linear infinite;
        }
        @keyframes textShimmer {
            0% { background-position: 0% 50%; }
            100% { background-position: 200% 50%; }
        }

        .feature-item-pill {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 12px 14px;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
            margin-bottom: 12px;
            transition: all 0.2s ease;
        }
        .feature-item-pill:hover {
            border-color: #818cf8;
            transform: translateX(3px);
        }

        .feature-icon-box {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.95rem;
            flex-shrink: 0;
        }

        /* Right Form Column */
        .auth-form-col {
            padding: 48px 42px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: #ffffff;
        }

        .custom-label {
            display: block;
            font-size: 0.84rem;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 7px;
        }

        .custom-input {
            width: 100%;
            height: 48px;
            border-radius: 10px;
            border: 1.5px solid #d1d5db;
            padding: 0 16px;
            font-size: 0.94rem;
            font-weight: 500;
            color: #0f172a;
            background-color: #ffffff;
            transition: all 0.2s ease;
            outline: none;
        }
        .custom-input:focus {
            border-color: #6366f1;
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
        }
        .custom-input::placeholder {
            color: #9ca3af;
            font-weight: 400;
        }
        .custom-input:disabled {
            background-color: #f1f5f9;
            cursor: not-allowed;
        }

        /* Password Toggle */
        .password-input-wrapper {
            position: relative;
        }
        .password-toggle-btn {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #64748b;
            font-size: 1rem;
            padding: 6px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: color 0.2s ease;
        }
        .password-toggle-btn:hover {
            color: #0f172a;
        }

        /* Primary Glow Button */
        .btn-submit-auth {
            width: 100%;
            height: 48px;
            background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
            color: #ffffff;
            border: 1px solid rgba(79, 70, 229, 0.6);
            border-radius: 10px;
            font-size: 0.95rem;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 4px 16px rgba(79, 70, 229, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .btn-submit-auth:hover:not(:disabled) {
            background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
            transform: translateY(-2px);
            box-shadow: 0 6px 22px rgba(79, 70, 229, 0.4);
        }
        .btn-submit-auth:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none !important;
        }

        /* Alerts */
        .custom-alert {
            border-radius: 10px;
            padding: 12px 16px;
            font-size: 0.88rem;
            font-weight: 500;
            margin-bottom: 22px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* Footer Copyright */
        .login-footer-text {
            text-align: center;
            font-size: 0.8rem;
            color: #94a3b8;
            padding-bottom: 24px;
        }

        @media (max-width: 991.98px) {
            .auth-showcase-col {
                display: none;
            }
            .auth-form-col {
                padding: 36px 24px;
            }
            .login-nav-header {
                padding: 16px 20px;
            }
        }
