        * { box-sizing: border-box; }

        :root{
            --bg-1:#04101f;
            --bg-2:#0a1b36;
            --bg-3:#123d8c;
            --bg-4:#0d1321;
            --primary:#2563eb;
            --primary-dark:#1d4ed8;
            --primary-soft:#dbeafe;
            --accent:#38bdf8;
            --violet:#8b5cf6;
            --gold:#d4af37;
            --text:#0f172a;
            --muted:#64748b;
            --border:#dbe3ee;
            --card:#ffffff;
            --card-soft:rgba(255,255,255,.10);
            --danger-bg:#fef2f2;
            --danger-text:#991b1b;
            --danger-border:#fecaca;
            --success-bg:#f0fdf4;
            --success-text:#166534;
            --success-border:#bbf7d0;
            --shadow-xl:0 34px 90px rgba(2,6,23,.34);
            --shadow-lg:0 22px 44px rgba(37,99,235,.20);
            --shadow-md:0 14px 30px rgba(15,23,42,.10);
            --shadow-sm:0 8px 18px rgba(15,23,42,.08);
            --radius-2xl:34px;
            --radius-xl:24px;
            --radius-lg:18px;
            --radius-md:14px;
        }

        html,body{
            margin:0;
            padding:0;
            min-height:100%;
            font-family:Tahoma, Arial, sans-serif;
        }

        body{
            min-height:100vh;
            color:var(--text);
            padding:26px;
            overflow-x:hidden;
            background:
                radial-gradient(circle at top right, rgba(56,189,248,.16), transparent 20%),
                radial-gradient(circle at 20% 80%, rgba(139,92,246,.10), transparent 22%),
                linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 40%, var(--bg-3) 100%);
            display:flex;
            align-items:center;
            justify-content:center;
            position:relative;
        }

        .bg-orb,
        .bg-grid,
        .bg-lines{
            position:fixed;
            inset:0;
            pointer-events:none;
        }

        .bg-grid{
            background-image:
                linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
            background-size:34px 34px;
            mask-image: radial-gradient(circle at center, black 32%, transparent 92%);
            opacity:.22;
        }

        .bg-orb::before,
        .bg-orb::after{
            content:"";
            position:absolute;
            border-radius:50%;
            filter:blur(10px);
            animation: floatOrb 12s ease-in-out infinite;
        }

        .bg-orb::before{
            width:260px;
            height:260px;
            top:8%;
            inset-inline-start:7%;
            background:radial-gradient(circle, rgba(56,189,248,.24), rgba(56,189,248,.02));
        }

        .bg-orb::after{
            width:340px;
            height:340px;
            bottom:6%;
            inset-inline-end:6%;
            background:radial-gradient(circle, rgba(139,92,246,.20), rgba(139,92,246,.02));
            animation-duration:15s;
        }

        .bg-lines::before,
        .bg-lines::after{
            content:"";
            position:absolute;
            width:480px;
            height:480px;
            border:1px solid rgba(255,255,255,.08);
            border-radius:50%;
            animation: pulseRing 10s linear infinite;
        }

        .bg-lines::before{
            top:-120px;
            inset-inline-end:-100px;
        }

        .bg-lines::after{
            bottom:-160px;
            inset-inline-start:-120px;
            animation-delay:2.2s;
        }

        .login-shell{
            width:100%;
            max-width:1320px;
            min-height:780px;
            display:grid;
            grid-template-columns:1.08fr .92fr;
            background:rgba(255,255,255,.96);
            border:1px solid rgba(255,255,255,.14);
            border-radius:var(--radius-2xl);
            overflow:hidden;
            box-shadow:var(--shadow-xl);
            backdrop-filter:blur(14px);
            position:relative;
            z-index:2;
        }

        .hero-panel{
            position:relative;
            overflow:hidden;
            padding:56px 50px 42px;
            background:
                radial-gradient(circle at top left, rgba(255,255,255,.10), transparent 26%),
                radial-gradient(circle at bottom right, rgba(255,255,255,.08), transparent 22%),
                linear-gradient(160deg, rgba(4,16,31,.98), rgba(14,31,63,.96) 50%, rgba(29,78,216,.94));
            color:#fff;
            display:flex;
            flex-direction:column;
            justify-content:space-between;
        }

        .hero-panel::before{
            content:"";
            position:absolute;
            inset:-40px auto auto -50px;
            width:240px;
            height:240px;
            border-radius:50%;
            background:rgba(56,189,248,.10);
            filter:blur(1px);
            animation: floatOrb 13s ease-in-out infinite;
        }

        .hero-panel::after{
            content:"";
            position:absolute;
            inset:auto -80px -80px auto;
            width:280px;
            height:280px;
            border-radius:50%;
            background:rgba(255,255,255,.06);
            animation: floatOrb 15s ease-in-out infinite reverse;
        }

        .hero-top,
        .hero-bottom{
            position:relative;
            z-index:1;
        }

        .hero-badge{
            display:inline-flex;
            align-items:center;
            justify-content:center;
            min-height:40px;
            padding:8px 16px;
            border-radius:999px;
            background:rgba(255,255,255,.10);
            border:1px solid rgba(255,255,255,.16);
            font-size:12px;
            font-weight:900;
            letter-spacing:.02em;
            margin-bottom:22px;
            backdrop-filter:blur(10px);
            animation: fadeUp .8s ease both;
        }

        .hero-title{
            margin:0 0 16px;
            font-size:42px;
            line-height:1.14;
            font-weight:900;
            letter-spacing:-.025em;
            max-width:700px;
            animation: fadeUp .95s ease both;
        }

        .hero-text{
            margin:0;
            max-width:650px;
            color:rgba(255,255,255,.86);
            font-size:15px;
            line-height:2;
            animation: fadeUp 1.05s ease both;
        }

        .hero-stats{
            display:grid;
            grid-template-columns:repeat(3, minmax(0,1fr));
            gap:14px;
            margin-top:28px;
        }

        .hero-stat{
            padding:16px 16px 14px;
            border-radius:20px;
            background:rgba(255,255,255,.08);
            border:1px solid rgba(255,255,255,.14);
            backdrop-filter:blur(10px);
            box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
            animation: fadeUp 1.15s ease both;
        }

        .hero-stat .value{
            display:block;
            font-size:26px;
            font-weight:900;
            color:#fff;
            line-height:1;
            margin-bottom:8px;
        }

        .hero-stat .label{
            color:rgba(255,255,255,.74);
            font-size:12px;
            line-height:1.85;
            font-weight:700;
        }

        .hero-features{
            display:grid;
            grid-template-columns:repeat(2, minmax(0,1fr));
            gap:14px;
            margin-top:32px;
        }

        .feature-card{
            min-height:124px;
            padding:18px;
            border-radius:20px;
            background:rgba(255,255,255,.08);
            border:1px solid rgba(255,255,255,.14);
            backdrop-filter:blur(8px);
            box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
            transform:translateY(0);
            transition:.22s ease;
            animation: fadeUp 1.2s ease both;
        }

        .feature-card:hover{
            transform:translateY(-4px);
            background:rgba(255,255,255,.10);
        }

        .feature-card strong{
            display:block;
            margin-bottom:10px;
            font-size:15px;
            line-height:1.4;
            color:#fff;
        }

        .feature-card span{
            color:rgba(255,255,255,.80);
            font-size:13px;
            line-height:1.9;
        }

        .hero-bottom{
            margin-top:28px;
            padding-top:22px;
            border-top:1px solid rgba(255,255,255,.12);
            color:rgba(255,255,255,.72);
            font-size:13px;
            line-height:1.9;
            animation: fadeUp 1.28s ease both;
        }

        .auth-panel{
            padding:28px;
            background:
                radial-gradient(circle at top right, rgba(37,99,235,.05), transparent 18%),
                linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
            position:relative;
            display:flex;
            align-items:center;
            justify-content:center;
        }

        .auth-card{
            width:100%;
            max-width:500px;
            background:rgba(255,255,255,.92);
            border:1px solid rgba(226,232,240,.9);
            border-radius:28px;
            box-shadow:0 18px 42px rgba(15,23,42,.08);
            padding:28px;
            backdrop-filter:blur(12px);
            animation: fadeUp .8s ease both;
        }

        .auth-topbar{
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:12px;
            margin-bottom:22px;
        }

        .brand-inline{
            display:flex;
            align-items:center;
            gap:12px;
            min-width:0;
        }

        .logo-box{
            width:56px;
            height:56px;
            border-radius:18px;
            background:#fff;
            border:1px solid #e2e8f0;
            display:flex;
            align-items:center;
            justify-content:center;
            overflow:hidden;
            box-shadow:0 10px 20px rgba(15,23,42,.08);
            flex-shrink:0;
        }

        .logo-box img{
            width:100%;
            height:100%;
            object-fit:contain;
            background:#fff;
        }

        .logo-fallback{
            font-size:14px;
            font-weight:900;
            color:#0f172a;
        }

        .brand-copy{
            min-width:0;
        }

        .brand-badge{
            display:inline-flex;
            align-items:center;
            justify-content:center;
            min-height:34px;
            padding:7px 12px;
            border-radius:999px;
            background:linear-gradient(135deg,#eef4ff,#f8fbff);
            border:1px solid #dbeafe;
            color:#1d4ed8;
            font-size:11px;
            font-weight:900;
            letter-spacing:.02em;
            margin-bottom:10px;
            box-shadow:0 10px 18px rgba(37,99,235,.07);
        }

        .brand-title{
            margin:0 0 6px;
            font-size:30px;
            line-height:1.08;
            font-weight:900;
            color:#0f172a;
            letter-spacing:-.02em;
        }

        .brand-subtitle{
            margin:0;
            color:var(--muted);
            font-size:13px;
            line-height:1.85;
        }

        .lang-switcher{
            display:flex;
            align-items:center;
            gap:8px;
            flex-shrink:0;
        }

        .lang-form{
            margin:0;
        }

        .lang-btn{
            min-width:76px;
            height:38px;
            border:none;
            border-radius:12px;
            background:linear-gradient(135deg,#eff6ff,#dbeafe);
            color:#1d4ed8;
            font-size:12px;
            font-weight:900;
            cursor:pointer;
            box-shadow:0 8px 18px rgba(37,99,235,.08);
            transition:.18s ease;
        }

        .lang-btn:hover{
            transform:translateY(-1px);
        }

        .section-title{
            margin:0 0 8px;
            font-size:30px;
            line-height:1.2;
            font-weight:900;
            color:#0f172a;
        }

        .section-text{
            margin:0 0 24px;
            color:var(--muted);
            font-size:14px;
            line-height:1.95;
        }

        .message-box{
            border-radius:16px;
            padding:14px 16px;
            margin-bottom:18px;
            font-size:13px;
            font-weight:900;
            line-height:1.9;
        }

        .error-box{
            background:var(--danger-bg);
            color:var(--danger-text);
            border:1px solid var(--danger-border);
        }

        .success-box{
            background:var(--success-bg);
            color:var(--success-text);
            border:1px solid var(--success-border);
        }

        .form-group{
            margin-bottom:18px;
        }

        .form-label{
            display:block;
            margin-bottom:9px;
            font-size:13px;
            font-weight:900;
            color:#0f172a;
        }

        .input-wrap{
            position:relative;
        }

        .input-icon{
            position:absolute;
            top:50%;
            transform:translateY(-50%);
            inset-inline-start:14px;
            font-size:15px;
            color:#94a3b8;
            pointer-events:none;
        }

        .form-control{
            width:100%;
            height:58px;
            border:1px solid var(--border);
            border-radius:16px;
            padding-block:0;
            padding-inline-start:46px;
            padding-inline-end:16px;
            font-size:14px;
            color:#0f172a;
            background:#fff;
            outline:none;
            transition:.18s ease;
            box-shadow:0 8px 20px rgba(15,23,42,.03);
        }

        .form-control:focus{
            border-color:var(--primary);
            box-shadow:0 0 0 4px rgba(37,99,235,.12);
        }

        .remember-row{
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:16px;
            margin:8px 0 24px;
            flex-wrap:wrap;
        }

        .remember{
            display:inline-flex;
            align-items:center;
            gap:8px;
            color:#334155;
            font-size:13px;
            font-weight:800;
        }

        .remember input{
            width:16px;
            height:16px;
            accent-color:var(--primary);
        }

        .forgot-link{
            color:var(--primary-dark);
            font-size:13px;
            font-weight:900;
            text-decoration:none;
        }

        .forgot-link:hover{
            text-decoration:underline;
        }

        .login-btn{
            width:100%;
            height:60px;
            border:none;
            border-radius:18px;
            background:linear-gradient(135deg,var(--primary),var(--primary-dark));
            color:#fff;
            font-size:15px;
            font-weight:900;
            cursor:pointer;
            transition:transform .16s ease, box-shadow .16s ease, opacity .16s ease;
            box-shadow:var(--shadow-lg);
        }

        .login-btn:hover{
            transform:translateY(-1px);
            opacity:.98;
        }

        .login-btn:active{
            transform:translateY(0);
        }

        .security-strip{
            margin-top:22px;
            display:flex;
            gap:10px;
            flex-wrap:wrap;
        }

        .security-pill{
            display:inline-flex;
            align-items:center;
            justify-content:center;
            min-height:32px;
            padding:7px 12px;
            border-radius:999px;
            background:#f8fafc;
            border:1px solid #e2e8f0;
            color:#334155;
            font-size:11px;
            font-weight:900;
        }

        .footer-note{
            margin-top:18px;
            color:var(--muted);
            font-size:12px;
            line-height:1.95;
        }

        @keyframes floatOrb {
            0%,100% { transform:translate3d(0,0,0) scale(1); }
            50% { transform:translate3d(0,-14px,0) scale(1.04); }
        }

        @keyframes pulseRing {
            0% { transform:scale(.92); opacity:.26; }
            50% { opacity:.10; }
            100% { transform:scale(1.06); opacity:.24; }
        }

        @keyframes fadeUp {
            from { opacity:0; transform:translateY(12px); }
            to { opacity:1; transform:translateY(0); }
        }

        @media (max-width: 1180px){
            .login-shell{
                grid-template-columns:1fr;
                min-height:auto;
            }

            .hero-panel{
                order:-1;
            }
        }

        @media (max-width: 760px){
            body{
                padding:14px;
            }

            .hero-panel,
            .auth-panel{
                padding:24px 18px;
            }

            .auth-card{
                padding:20px;
            }

            .auth-topbar{
                align-items:flex-start;
                flex-direction:column;
            }

            .lang-switcher{
                width:100%;
            }

            .hero-title,
            .section-title,
            .brand-title{
                font-size:24px;
            }

            .hero-stats,
            .hero-features{
                grid-template-columns:1fr;
            }
        }
