:root {
            --primary-blue: #4A85F6;
            --primary-hover: #3b71db;
            --bg-color: #F8F9FB;
            --text-dark: #0f172a;
            --text-gray: #475569;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-dark);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
            
            position: relative; 
        }

        
        .fade-up {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeUpAnim 0.8s ease-out forwards;
        }

        @keyframes fadeUpAnim {
            to { opacity: 1; transform: translateY(0); }
        }

        .delay-1 { animation-delay: 0.1s; }
        .delay-2 { animation-delay: 0.3s; }
        .delay-3 { animation-delay: 0.5s; }
        .delay-4 { animation-delay: 0.7s; }
        .delay-5 { animation-delay: 0.9s; }

        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 8%;
            background: rgba(255, 255, 255, 0.85); 
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 15px rgba(0,0,0,0.03);
            position: relative;
            z-index: 10;
        }

        .logo { font-size: 1.25rem; font-weight: 700; color: var(--primary-blue); display: flex; align-items: center; gap: 10px; text-decoration: none; }
        .nav-links { display: flex; gap: 30px; align-items: center; }
        .nav-links a {
            text-decoration: none;
            color: var(--text-gray);
            font-weight: 600;
            font-size: 0.95rem;
            transition: color 0.3s;
            position: relative; 
            padding-bottom: 5px;
            cursor: pointer; 
        }

        .nav-links a:hover {
            color: var(--primary-blue);
        }

        
        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0; 
            height: 2.5px;
            bottom: 0;
            left: 50%;
            background-color: var(--primary-blue);
            transition: all 0.3s ease-in-out;
            transform: translateX(-50%); 
            border-radius: 2px;
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

        .nav-links a.active {
            color: var(--primary-blue);
        }

        
        
        #dynamic-content {
            flex: 1; 
            display: flex; 
            flex-direction: column;
            z-index: 2;
        }

        .hero {
            flex: 1; display: flex; align-items: center; justify-content: space-between;
            padding: 0 8%; position: relative; gap: 50px; overflow: hidden; 
        }

        
        .video-bg {
            position: fixed; 
            top: 0; 
            left: 0; 
            width: 100vw;       
            height: 100vh;
            object-fit: cover;  
            z-index: -2;
            transform: scale(1.05); 
        }

        .hero-overlay {
            position: fixed; 
            top: 0; 
            left: 0; 
            width: 100vw;       
            height: 100vh;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(240, 244, 255, 0.45) 100%);
            z-index: -1; 
            backdrop-filter: blur(1.5px);
        }

        .hero-text, .hero-visual { position: relative; z-index: 2; }
        .hero-text { flex: 1; max-width: 650px; }

        .badge {
            display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
            background: rgba(239, 246, 255, 0.9); color: #2563eb; font-size: 0.85rem;
            font-weight: 600; border-radius: 30px; margin-bottom: 25px;
            border: 1px solid rgba(191, 219, 254, 0.8); box-shadow: 0 4px 6px rgba(37, 99, 235, 0.1);
        }

        .hero-text h1 {
            font-size: 3.2rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px;
            color: #0f172a; text-shadow: 0px 2px 10px rgba(255, 255, 255, 0.8);
        }

        .hero-text p {
            font-size: 1.1rem; color: #334155; line-height: 1.6; margin-bottom: 40px;
            max-width: 550px; font-weight: 600; text-shadow: 0px 1px 5px rgba(255, 255, 255, 0.8);
        }

        
        .button-group { display: flex; gap: 20px; flex-wrap: wrap; }
        .btn {
            padding: 16px 32px; border-radius: 12px; font-size: 1.05rem; font-weight: 600;
            text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
            gap: 10px; cursor: pointer; transition: all 0.3s ease;
        }
        .btn-primary { background-color: var(--primary-blue); color: #FFFFFF; border: none; box-shadow: 0 10px 20px -5px rgba(74, 133, 246, 0.5); }
        .btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 15px 25px -5px rgba(74, 133, 246, 0.6); }
        
        .btn-outline { background-color: rgba(255, 255, 255, 0.9); color: var(--text-dark); border: 2px solid #cbd5e1; backdrop-filter: blur(5px); }
        .btn-outline:hover { background-color: #FFFFFF; border-color: var(--primary-blue); color: var(--primary-blue); transform: translateY(-3px); box-shadow: 0 10px 20px -5px rgba(0,0,0,0.08); }


        
        
        
        .modal-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(8px);
            display: flex; justify-content: center; align-items: center;
            z-index: 9999; opacity: 0; visibility: hidden; transition: all 0.3s ease;
        }
        .modal-overlay.active { opacity: 1; visibility: visible; }
        
        .modal-box {
            background: #FFFFFF; width: 100%; max-width: 400px; padding: 40px; border-radius: 24px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2); text-align: center; position: relative;
            transform: translateY(-30px) scale(0.95); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .modal-overlay.active .modal-box { transform: translateY(0) scale(1); }

        .btn-close-modal {
            position: absolute; top: 20px; right: 20px; background: none; border: none;
            font-size: 1.5rem; color: #94a3b8; cursor: pointer; transition: color 0.2s;
        }
        .btn-close-modal:hover { color: #ef4444; }

        .login-icon { font-size: 3.5rem; color: var(--primary-blue); margin-bottom: 15px; }
        .login-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 5px; color: #1e293b; }
        .login-subtitle { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 30px; font-weight: 500;}

        .input-group { text-align: left; margin-bottom: 20px; position: relative; }
        .input-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: #334155; }
        .input-group i { position: absolute; bottom: 14px; left: 15px; color: #94a3b8; transition: color 0.3s;}
        .input-group input {
            width: 100%; padding: 12px 15px 12px 40px; border: 2px solid #e2e8f0; border-radius: 12px;
            font-size: 0.95rem; outline: none; transition: all 0.3s; color: var(--text-dark); background: #f8fafc;
        }
        .input-group input:focus { border-color: var(--primary-blue); background: #ffffff; box-shadow: 0 4px 12px rgba(74, 133, 246, 0.1); }
        .input-group input:focus + i, .input-group input:focus ~ i { color: var(--primary-blue); }

        .error-message { color: #ef4444; background: #fef2f2; padding: 10px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; display: none; border: 1px solid #fecaca; }
        .success-message { color: #166534; background: #dcfce7; padding: 10px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; display: none; border: 1px solid #bbf7d0; }

        .btn-submit-login {
            width: 100%; padding: 14px; background-color: var(--primary-blue); color: white; border: none;
            border-radius: 12px; font-size: 1.05rem; font-weight: 600; cursor: pointer; transition: all 0.3s;
            box-shadow: 0 10px 20px -5px rgba(74, 133, 246, 0.4); display: flex; justify-content: center; align-items: center; gap: 8px;
        }
        .btn-submit-login:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 15px 25px -5px rgba(74, 133, 246, 0.5); }
        .btn-submit-login:disabled { background-color: #94a3b8; cursor: not-allowed; transform: none; box-shadow: none; }

        @media (max-width: 968px) {
            .hero { flex-direction: column; text-align: center; padding-top: 50px; padding-bottom: 50px; gap: 40px; }
            .hero-text { align-items: center; display: flex; flex-direction: column; }
            .hero-text h1 { font-size: 2.5rem; }
            .button-group { justify-content: center; }
        }