<?php

/**
 * Provide a admin area view for plugin support.
 *
 * This file is used to markup the admin-facing aspects of the plugin support.
 *
 * @link       https://instantpopupbuilder.com
 * @since      1.0.0
 *
 * @package    Instant_Popup_Builder
 * @subpackage Instant_Popup_Builder/admin/partials
 */

// Prevent direct access
if (!defined('ABSPATH')) {
    exit;
}
?>

<div class="wrap ipb-support-wrap">
    <?php
    // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- ipb_top_header() returns safe, sanitized HTML
    echo Instant_Popup_Builder_Admin::ipb_top_header();
    ?>

    <div class="ipb-support-container">
        <div class="ipb-support-header">
            <h1 class="ipb-support-title">🆘 Get Support & Help</h1>
            <p class="ipb-support-subtitle">Our dedicated support team is here to assist you 24/7. Choose the support option that works best for you!</p>
        </div>

        <div class="ipb-support-options">
            <!-- Live Chat Support -->
            <div class="ipb-support-card">
                <div class="ipb-support-icon">💬</div>
                <h3>Live Chat Support</h3>
                <p>Get instant help and resolve your queries quickly with our real-time chat support.</p>
                <ul class="ipb-support-features">
                    <li>✅ Real-time assistance</li>
                    <li>✅ Instant problem solving</li>
                    <li>✅ Direct communication</li>
                </ul>
                <a href="https://instantpopupbuilder.com/" class="ipb-support-btn ipb-btn-chat" target="_blank">
                    Start Live Chat
                </a>
            </div>

            <!-- Knowledge Base -->
            <div class="ipb-support-card">
                <div class="ipb-support-icon">📚</div>
                <h3>Knowledge Base</h3>
                <p>Explore our comprehensive knowledge base with guides, tutorials, and troubleshooting articles.</p>
                <ul class="ipb-support-features">
                    <li>✅ Step-by-step tutorials</li>
                    <li>✅ Troubleshooting guides</li>
                    <li>✅ FAQ answers</li>
                </ul>
                <a href="https://instantpopupbuilder.com/doc/" class="ipb-support-btn ipb-btn-docs" target="_blank">
                    Browse Knowledge Base
                </a>
            </div>

            <!-- WordPress Forum -->
            <div class="ipb-support-card">
                <div class="ipb-support-icon">🏛️</div>
                <h3>WordPress Forum</h3>
                <p>Join our active WordPress community to interact with other users and get valuable insights.</p>
                <ul class="ipb-support-features">
                    <li>✅ Community support</li>
                    <li>✅ User experiences</li>
                    <li>✅ Free forum access</li>
                </ul>
                <a href="https://wordpress.org/support/plugin/instant-popup-builder/" class="ipb-support-btn ipb-btn-forum" target="_blank">
                    Visit WordPress Forum
                </a>
            </div>

            <!-- Rate Us 5 Stars -->
            <div class="ipb-support-card ipb-rate-card">
                <div class="ipb-support-icon">⭐</div>
                <h3>Rate Us 5 Stars</h3>
                <p>Love our plugin? Help us grow by leaving a 5-star review and support our development team!</p>
                <ul class="ipb-support-features">
                    <li>✅ Support our team</li>
                    <li>✅ Help other users</li>
                    <li>✅ Show your appreciation</li>
                </ul>
                <a href="https://wordpress.org/support/plugin/instant-popup-builder/reviews/" class="ipb-support-btn ipb-btn-rate" target="_blank">
                    ⭐ Leave a 5-Star Review
                </a>
            </div>
        </div>

        <!-- Additional Support Info -->
        <div class="ipb-support-info">
            <div class="ipb-support-contact">
                <h3>📧 Direct Contact</h3>
                <p>For urgent matters or specific inquiries, you can also reach us directly:</p>
                <p><strong>Email:</strong> <a href="mailto:support@instantpopupbuilder.com">support@instantpopupbuilder.com</a></p>
                <p><strong>Developer:</strong> 7th Sky Softwares</p>
            </div>

            <div class="ipb-support-hours">
                <h3>⏰ Support Hours</h3>
                <p><strong>Premium Users:</strong> 24/7 Priority Support</p>
                <p><strong>Free Users:</strong> Limited Support (Business Hours)</p>
                <p><strong>Response Time:</strong> Premium users get faster response times</p>
            </div>
        </div>
    </div>
</div>

