/* حلول تقنية Logo Styles - Professional Modern Logo */
.pxf-logo {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -0.08em;
    position: relative;
    padding: 12px 24px;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.95) 0%, 
        rgba(5, 150, 105, 0.9) 50%, 
        rgba(4, 120, 87, 0.95) 100%);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    animation: logo-pulse 4s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* إضافة تأثير متوهج خلف اللوجو */
.pxf-logo::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #10B981, #34D399, #047857, #10B981);
    border-radius: 20px;
    z-index: -1;
    animation: glow-rotate 3s linear infinite;
    opacity: 0.7;
}

/* حرف F الكبير */
.pxf-logo .letter-f {
    color: #FFFFFF;
    font-size: 1.2em;
    font-weight: 900;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(16, 185, 129, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.3);
    transform: perspective(200px) rotateY(-10deg) translateZ(20px);
    animation: float-f 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

/* حرف x الصغير - العنصر المميز */
.pxf-logo .letter-x {
    color: #34D399;
    font-size: 0.9em;
    font-weight: 700;
    margin: 0 2px;
    display: inline-block;
    text-shadow: 
        0 0 15px rgba(52, 211, 153, 0.9),
        0 0 25px rgba(16, 185, 129, 0.5),
        1px 1px 2px rgba(0, 0, 0, 0.2);
    animation: spin-x 4s ease-in-out infinite;
    transform-origin: center;
    position: relative;
    z-index: 3;
}

/* حرف p الصغير */
.pxf-logo .letter-p {
    color: #FFFFFF;
    font-size: 0.9em;
    font-weight: 700;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(52, 211, 153, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.3);
    transform: perspective(200px) rotateY(10deg) translateZ(20px);
    animation: float-p 3s ease-in-out infinite 0.5s;
    position: relative;
    z-index: 2;
}

/* الانيميشن الجديد - نبضة احترافية */
@keyframes logo-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 8px 32px rgba(16, 185, 129, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 
            0 12px 40px rgba(16, 185, 129, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

/* دوران الهالة المتوهجة */
@keyframes glow-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* طفو حرف F */
@keyframes float-f {
    0%, 100% { 
        transform: perspective(200px) rotateY(-10deg) translateZ(20px) translateY(0px);
    }
    50% { 
        transform: perspective(200px) rotateY(-10deg) translateZ(25px) translateY(-3px);
    }
}

/* دوران حرف x المميز */
@keyframes spin-x {
    0%, 100% { 
        transform: rotateZ(0deg) scale(1);
        color: #34D399;
    }
    25% { 
        transform: rotateZ(90deg) scale(1.1);
        color: #10B981;
    }
    50% { 
        transform: rotateZ(180deg) scale(1);
        color: #FFFFFF;
    }
    75% { 
        transform: rotateZ(270deg) scale(1.1);
        color: #047857;
    }
}

/* طفو حرف p */
@keyframes float-p {
    0%, 100% { 
        transform: perspective(200px) rotateY(10deg) translateZ(20px) translateY(0px);
    }
    50% { 
        transform: perspective(200px) rotateY(10deg) translateZ(25px) translateY(-3px);
    }
}

/* تأثيرات التفاعل المحسنة */
.pxf-logo:hover {
    transform: scale(1.08) translateY(-2px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 16px 48px rgba(16, 185, 129, 0.4),
        0 0 0 4px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.pxf-logo:hover .letter-f {
    animation-duration: 1s;
    text-shadow: 
        0 0 25px rgba(255, 255, 255, 1),
        0 0 35px rgba(16, 185, 129, 0.8);
}

.pxf-logo:hover .letter-x {
    animation-duration: 2s;
    transform: rotateZ(180deg) scale(1.2);
    color: #FFFFFF;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 1),
        0 0 30px rgba(52, 211, 153, 0.8);
}

.pxf-logo:hover .letter-p {
    animation-duration: 1s;
    text-shadow: 
        0 0 25px rgba(255, 255, 255, 1),
        0 0 35px rgba(52, 211, 153, 0.8);
}

.pxf-logo:active {
    transform: scale(1.05) translateY(0px);
    transition: all 0.1s ease;
}

/* تحسينات الجوال */
@media (max-width: 768px) {
    .pxf-logo {
        font-size: 1.8rem;
        padding: 8px 16px;
        border-radius: 12px;
    }
    
    .pxf-logo::before {
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border-radius: 14px;
    }
    
    .pxf-logo .letter-f {
        font-size: 1.1em;
    }
    
    .pxf-logo .letter-x {
        margin: 0 1px;
        font-size: 0.85em;
    }
    
    .pxf-logo .letter-p {
        font-size: 0.85em;
    }
    
    .pxf-logo:hover {
        transform: scale(1.05) translateY(-1px);
    }
}

/* تحسينات إضافية للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .pxf-logo {
        font-size: 1.5rem;
        padding: 6px 12px;
        border-radius: 10px;
    }
    
    .pxf-logo::before {
        border-radius: 12px;
    }
}