<?php
/**
 * Release Notes Modal Template
 *
 * @package PrimeLink
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}
?>

<!-- Release Notes Modal -->
<div id="mt-primelink-release-notes-modal" class="mt-primelink-modal" style="display:none;">
    <div class="mt-primelink-modal__overlay"></div>
    <div class="mt-primelink-modal__content glass" style="max-width:900px;">
        <div class="mt-primelink-modal__header">
            <h2><?php esc_html_e( 'Release Notes', 'primelink' ); ?></h2>
            <button type="button" class="mt-primelink-modal__close">
                <span class="dashicons dashicons-no-alt"></span>
            </button>
        </div>
        <div class="mt-primelink-modal__body" style="padding:0;">
            <div class="mt-primelink-release-notes-content">
                <div class="mt-primelink-release-notes-header">
                    <h1><?php esc_html_e( 'Release Notes', 'primelink' ); ?></h1>
                    <p><?php esc_html_e( 'Stay updated with the latest features and improvements', 'primelink' ); ?></p>
                </div>

                <div class="mt-primelink-release-notes-version">
                    <div class="mt-primelink-release-notes-version-header">
                        <div>
                            <div class="mt-primelink-release-notes-version-number"><?php esc_html_e( 'Version 1.0.0', 'primelink' ); ?></div>
                            <div class="mt-primelink-release-notes-version-date"><?php esc_html_e( 'December 2024', 'primelink' ); ?></div>
                        </div>
                    </div>
                    <div class="mt-primelink-release-notes-version-content">
                        <h3><?php esc_html_e( 'Core Features', 'primelink' ); ?></h3>
                        <ul>
                            <li><strong><?php esc_html_e( 'Visual Import/Export Wizards', 'primelink' ); ?></strong> <span class="mt-primelink-info-icon" title="<?php esc_attr_e( 'Feature information', 'primelink' ); ?>"><span class="dashicons dashicons-info"></span></span> - <?php esc_html_e( 'Complete wizards for all WooCommerce entity types', 'primelink' ); ?></li>
                            <li><strong><?php esc_html_e( 'Multiple Data Sources', 'primelink' ); ?></strong> <span class="mt-primelink-info-icon" title="<?php esc_attr_e( 'Feature information', 'primelink' ); ?>"><span class="dashicons dashicons-info"></span></span> - <?php esc_html_e( 'Upload, URL, FTP/SFTP, Dropbox, Google Drive, OneDrive, Platform Connectors', 'primelink' ); ?></li>
                            <li><strong><?php esc_html_e( 'Template Management', 'primelink' ); ?></strong> <span class="mt-primelink-info-icon" title="<?php esc_attr_e( 'Feature information', 'primelink' ); ?>"><span class="dashicons dashicons-info"></span></span> - <?php esc_html_e( 'Save and reuse import/export mappings', 'primelink' ); ?></li>
                            <li><strong><?php esc_html_e( 'Scheduling', 'primelink' ); ?></strong> <span class="mt-primelink-info-icon" title="<?php esc_attr_e( 'Feature information', 'primelink' ); ?>"><span class="dashicons dashicons-info"></span></span> - <?php esc_html_e( 'Automatic imports and exports via WordPress cron', 'primelink' ); ?></li>
                        </ul>

                        <h3><?php esc_html_e( 'Advanced Features', 'primelink' ); ?></h3>
                        <ul>
                            <li><strong><?php esc_html_e( 'Background Processing', 'primelink' ); ?></strong> <span class="mt-primelink-info-icon" title="<?php esc_attr_e( 'Feature information', 'primelink' ); ?>"><span class="dashicons dashicons-info"></span></span> - <?php esc_html_e( 'Long-running jobs processed in the background', 'primelink' ); ?></li>
                            <li><strong><?php esc_html_e( 'Intelligent Anomaly Detection', 'primelink' ); ?></strong> <span class="mt-primelink-info-icon" title="<?php esc_attr_e( 'Feature information', 'primelink' ); ?>"><span class="dashicons dashicons-info"></span></span> - <?php esc_html_e( 'Three severity levels with review modal', 'primelink' ); ?></li>
                            <li><strong><?php esc_html_e( 'Test Mode', 'primelink' ); ?></strong> <span class="mt-primelink-info-icon" title="<?php esc_attr_e( 'Feature information', 'primelink' ); ?>"><span class="dashicons dashicons-info"></span></span> - <?php esc_html_e( 'Dry-run functionality to validate data', 'primelink' ); ?></li>
                            <li><strong><?php esc_html_e( 'Rollback Support', 'primelink' ); ?></strong> <span class="mt-primelink-info-icon" title="<?php esc_attr_e( 'Feature information', 'primelink' ); ?>"><span class="dashicons dashicons-info"></span></span> - <?php esc_html_e( 'Track and rollback imports when needed', 'primelink' ); ?></li>
                        </ul>

                        <h3><?php esc_html_e( 'Cloud Storage Integration', 'primelink' ); ?></h3>
                        <ul>
                            <li><strong><?php esc_html_e( 'OneDrive', 'primelink' ); ?></strong> <span class="mt-primelink-info-icon" title="<?php esc_attr_e( 'Feature information', 'primelink' ); ?>"><span class="dashicons dashicons-info"></span></span> - <?php esc_html_e( 'OAuth 2.0 authentication with Azure AD, file browsing with folder navigation', 'primelink' ); ?></li>
                            <li><strong><?php esc_html_e( 'Google Drive', 'primelink' ); ?></strong> <span class="mt-primelink-info-icon" title="<?php esc_attr_e( 'Feature information', 'primelink' ); ?>"><span class="dashicons dashicons-info"></span></span> - <?php esc_html_e( 'OAuth 2.0 authentication with Google Cloud Console', 'primelink' ); ?></li>
                            <li><strong><?php esc_html_e( 'Dropbox', 'primelink' ); ?></strong> <span class="mt-primelink-info-icon" title="<?php esc_attr_e( 'Feature information', 'primelink' ); ?>"><span class="dashicons dashicons-info"></span></span> - <?php esc_html_e( 'Access token authentication, large file support', 'primelink' ); ?></li>
                        </ul>

                        <h3><?php esc_html_e( 'Dashboard & Analytics', 'primelink' ); ?></h3>
                        <ul>
                            <li><strong><?php esc_html_e( 'Statistics Dashboard', 'primelink' ); ?></strong> <span class="mt-primelink-info-icon" title="<?php esc_attr_e( 'Feature information', 'primelink' ); ?>"><span class="dashicons dashicons-info"></span></span> - <?php esc_html_e( 'Comprehensive analytics and insights', 'primelink' ); ?></li>
                            <li><strong><?php esc_html_e( 'System Status', 'primelink' ); ?></strong> <span class="mt-primelink-info-icon" title="<?php esc_attr_e( 'Feature information', 'primelink' ); ?>"><span class="dashicons dashicons-info"></span></span> - <?php esc_html_e( 'Environment checker and diagnostics', 'primelink' ); ?></li>
                            <li><strong><?php esc_html_e( 'Activation Wizard', 'primelink' ); ?></strong> <span class="mt-primelink-info-icon" title="<?php esc_attr_e( 'Feature information', 'primelink' ); ?>"><span class="dashicons dashicons-info"></span></span> - <?php esc_html_e( 'Guided first-time setup', 'primelink' ); ?></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="mt-primelink-modal__footer">
            <p style="margin:0; text-align:center;">
                <?php
                printf(
                    /* translators: %s: Support URL */
                    esc_html__( 'For support and documentation, visit %s', 'primelink' ),
                    '<a href="https://support.malotop.ro/" target="_blank" rel="noopener">support.malotop.ro</a>'
                );
                ?>
            </p>
        </div>
    </div>
</div>

