<?php
/**
 * Wizard Step 1 — Welcome.
 *
 * @package SkyEmagSync
 */

defined( 'ABSPATH' ) || exit;

$is_premium = SkyEmagSync\Plugin::is_premium();
?>
<h2><?php esc_html_e( 'Welcome to SkyServers Sync 👋', 'skyservers-product-sync-for-emag' ); ?></h2>
<p><?php esc_html_e( "Let's get you connected to eMAG. This takes about 5 minutes.", 'skyservers-product-sync-for-emag' ); ?></p>

<h3><?php esc_html_e( "Here's what we'll set up:", 'skyservers-product-sync-for-emag' ); ?></h3>
<ul style="line-height:1.7;">
	<li><?php esc_html_e( 'eMAG account credentials and IP whitelist', 'skyservers-product-sync-for-emag' ); ?></li>
	<li><?php esc_html_e( 'Pricing and stock defaults (margin, rounding)', 'skyservers-product-sync-for-emag' ); ?></li>
	<li><?php esc_html_e( 'Sync schedule and filters', 'skyservers-product-sync-for-emag' ); ?></li>
	<?php if ( $is_premium ) : ?>
		<li><?php esc_html_e( 'Publish defaults and order import setup (optional)', 'skyservers-product-sync-for-emag' ); ?></li>
	<?php endif; ?>
	<li><?php esc_html_e( 'Bootstrap import — pull your existing eMAG offers', 'skyservers-product-sync-for-emag' ); ?></li>
</ul>

<?php if ( ! $is_premium ) : ?>
	<?php
	$features = SkyEmagSync\Admin\SetupWizard::pro_features_for_step( 1 );
	include SKYEMAG_PLUGIN_DIR . 'includes/Admin/templates/wizard-showcase-card.php';
	?>
	<p style="font-size:13px;color:#646970;margin-top:18px;">
		<?php esc_html_e( "You're on the Free plan — price and stock sync are unlimited. Premium adds product publishing, order import, AWB shipping labels, Buy Button tracking, and email notifications.", 'skyservers-product-sync-for-emag' ); ?>
	</p>
<?php endif; ?>

<?php SkyEmagSync\Admin\SetupWizard::open_step_form( 1 ); ?>
<?php SkyEmagSync\Admin\SetupWizard::render_step_buttons( 1 ); ?>
</form>
