<?php
if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly
}

function moesec_faqs_tab() {
    ?>
    <h3>Frequently Asked Questions</h3>
    
    <!-- Review Request Section for FAQs -->
    <div class="moesec-faq-review-request" style="background: linear-gradient(45deg, #ff6b6b, #4ecdc4); color: white; border-radius: 12px; padding: 25px; margin: 25px 0; text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,0.15);">
        <h4 style="color: white; margin-top: 0; font-size: 20px; text-shadow: 1px 1px 2px rgba(0,0,0,0.3);">
            <span class="dashicons dashicons-heart" style="color: #fff; font-size: 28px; vertical-align: middle; animation: pulse 2s infinite;"></span>
            <?php esc_html_e('Love MoeSec? Help Us Grow!', 'moesec'); ?>
            <span class="dashicons dashicons-heart" style="color: #fff; font-size: 28px; vertical-align: middle; animation: pulse 2s infinite;"></span>
        </h4>
        <p style="margin: 18px 0; font-size: 17px; line-height: 1.6; text-shadow: 1px 1px 1px rgba(0,0,0,0.2);">
            <?php esc_html_e('If MoeSec has helped protect your website or you appreciate our free security tools, please consider leaving us a review!', 'moesec'); ?>
        </p>
        <a href="https://wordpress.org/support/plugin/moesec/reviews/#new-post" 
           class="button" 
           target="_blank" 
           style="background: white; color: #333; border: none; padding: 15px 30px; font-size: 18px; font-weight: bold; border-radius: 30px; text-decoration: none; display: inline-block; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.2);">
            <span class="dashicons dashicons-star-filled" style="color: #ffb900; vertical-align: middle; margin-right: 10px;"></span>
            <?php esc_html_e('Write a Review ⭐⭐⭐⭐⭐', 'moesec'); ?>
        </a>
        <p style="font-size: 14px; margin: 18px 0 0 0; opacity: 0.95; text-shadow: 1px 1px 1px rgba(0,0,0,0.2);">
            <?php esc_html_e('Your review helps other website owners discover our security solutions and motivates our team!', 'moesec'); ?>
        </p>
        <style>
            @keyframes pulse {
                0% { transform: scale(1); }
                50% { transform: scale(1.1); }
                100% { transform: scale(1); }
            }
        </style>
    </div>
    
    <div class="moesec-faqs">
        <h4>How does the MoeSec plugin work?</h4>
        <p>MoeSec is a comprehensive WordPress security plugin that provides multiple layers of protection for your website. It includes features such as malware scanning, file integrity checking, firewall protection, login security, and more.</p>

        <h4>What security features does MoeSec offer?</h4>
        <p>MoeSec offers a wide range of security features, including:</p>
        <ul>
            <li>External security scanning</li>
            <li>File and database malware scanning</li>
            <li>WordPress core file integrity checks</li>
            <li>Login protection and two-factor authentication</li>
            <li>Firewall and bad bot blocking</li>
            <li>WordPress hardening measures</li>
            <li>Scheduled scans and real-time monitoring</li>
            <li>Email notifications for security events</li>
        </ul>

        <h4>What happens if MoeSec detects malware?</h4>
        <p>If MoeSec detects malware or suspicious activity, it will:</p>
        <ol>
            <li>Log the detection in the security logs</li>
            <li>Send an email notification (if enabled) to the site administrator</li>
            <li>Display the threat in the MoeSec dashboard</li>
            <li>Provide options to review, quarantine, whitelist or delete the suspicious files</li>
        </ol>
        <p> You can Click on Edit to check the code and determine if it's malicious or not and to clean the file if you know what you are doing, or Click on quarantine and disable the suspicious file by moving it to wp-content/moesec-quarantine folder if you are not sure if it's malicious or not, or Click whitelist if it's *confirmed* as a false-positive and it will not be scanned or reported anymore. Please make sure to backup any file before editing or removing. For advanced malware infections, we recommend seeking professional malware removal services.</p>

        <h4>How can I request professional malware cleanup from MoeSec?</h4>
        <p>If you need expert assistance with malware removal, you can request professional website malware cleanup services from MoeSec. Simply click the "Request Professional Cleanup" button below or visit our website for more information.</p>
        
        <a href="https://moesec.com/website-malware-removal/" class="button button-primary moesec-cleanup-button" target="_blank">Request Professional Cleanup</a>

        <h4>Do you offer Premium or paid Website Security services?</h4>
        <p>We can certainly help you! If you need expert assistance with malware removal, you can request professional website malware cleanup services from MoeSec.com and learn more about our complete website security platform and what it includes such as: Daily Malware Scanning, Malware Cleanup, Website Monitoring, Website Firewall[WAF], Website Antivirus, Website Backups, Trust Seal, Blacklist Monitoring, *Unlimited malware cleanup & Support requests* and MUCH more! Check it at <a href="https://moesec.com/" target="_blank">MoeSec.com</a> </p>
		
        <h4>How often should I run security scans?</h4>
        <p>We recommend running daily security scans for optimal protection. MoeSec allows you to configure scheduled scans to automate this process.</p>

        <h4>Is MoeSec compatible with other WordPress plugins?</h4>
        <p>Yes, MoeSec is designed to be compatible with most WordPress plugins. However, if you experience any conflicts, please contact our support team for assistance.</p>

        <h4>How do I keep MoeSec updated?</h4>
        <p>MoeSec will notify you of available updates through the WordPress admin panel. Always ensure you're running the latest version for the best accuracy & protection. Additionally, the plugin automatically updates its malware signatures daily whenever a new version is available. New threats & malware signatures or patterns may take up to 15 days to be available to our free plugin unlike Platform subscriptions gets new signature updates instantly.</p>
		
		<h4>What's the External Website Security Scan?</h4>
        <p>You can perform an external website security scan via the plugin to quickly check if the website is hacked, blacklisted, using outdated versions, Abnormal behaviors or any other signs or patterns of being compromised. This is being handled and processed by our free website security scanner engine at <a href="https://scan.moesec.com/" target="_blank">https://scan.moesec.com/</a> – This Remote scanner will visit your website using different browsers, Devices, Operating systems and From different Locations to see how it behaves and How it looks like. The result depends on what the scanner can see remotely on the website at that time. </p>
		
		<h4>What if the plugin didn't detect a malicious file or database entry?</h4>
        <p>The plugin signatures are updated on daily basis to be able to detect new malware threats. However, New threats & malware signatures or patterns may take up to 15 days to be available to our free plugin unlike our website security platform subscriptions gets it instantly once it's released. If you find any malicious or suspicious content that the plugin didn't flag then you can compress the malicious/suspicious file and send it to security@MoeSec.com or post in the Plugin support forum to investigate it further more or report it via the plugin directly by clicking on the Report button. You can create a topic in the Plugin <a href="https://wordpress.org/support/plugin/moesec" target="_blank">Support Forum</a> and provide a pastebin link or a screenshot of the problem. If you are a MoeSec client, you can login to your MoeSec.com account and submit a support ticket.</p>
		
		<h4>Do I still need MoeSec's products and services if I use this plugin?</h4>
        <p>This powerful plugin is free to use and it offers essential security and protection but it doesn't replace MoeSec's Security platform and it's advanced website security monitoring, malware removal, website firewall protection, Website Backups, Trust Seal and other products.</p>
		
		<h4>Does this plugin offer protection against Malware injections or Vulnerabilities?</h4>
        <p>It offers malware scanning and detection and offers essential security hardening and login protection to your website. However, If you are looking for an advanced and real-time Website firewall [WAF] then you can check our Website Firewall at <a href="https://moesec.com/" target="_blank">https://moesec.com/</a> that will help with blocking and preventing malware injections, hack attempts and virtual patching of vulnerabilities.</p>
		
		<h4> Where to find support for this free plugin?</h4>
        <p>If you have any issues, questions or concerns then you can create a topic in the <a href="https://wordpress.org/support/plugin/moesec" target="_blank">Support Forum</a> If you are a MoeSec client, you can login to your MoeSec account and submit a support ticket at https://MoeSec.com.</p>
		
    </div>
<a href="https://MoeSec.com"><img src="<?php echo esc_html(plugin_dir_url(__FILE__)) . '../assets/32.webp'; ?>" rel="me" alt="MoeSec" width=32 height=32></a>
<a href="https://twitter.com/MoeSecCom"><img src="<?php echo esc_html(plugin_dir_url(__FILE__)) . '../assets/twitter.png'; ?>" rel="me" alt="Follow us on Twitter" width=32 height=32></a>
<a href="https://www.facebook.com/MoeSecCom"><img src="<?php echo esc_html(plugin_dir_url(__FILE__)) . '../assets/facebook.png'; ?>" rel="me" alt="Follow us on FaceBook" width=32 height=32></a>

<center>
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/m6FcDT6NMNQ?si=4aFXvylWJFcZ6-ns" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</center>
    <?php
}
