<?php
/**
 * Tab: Go Pro — points to the separate Pro plugin hosted on our own website.
 *
 * Per the WordPress.org guidelines a plugin may point out that additional
 * features are available through a separate plugin. No built-in feature is
 * locked or limited; this free version is fully functional on its own.
 *
 * @package ParcelSelector
 * @since   4.0.0
 */

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

/**
 * Render the Go Pro tab.
 */
function parcselect_tab_go_pro() {
	?>
	<div class="ps-tab-content" style="max-width:680px;">

		<div style="text-align:center;padding:32px 24px;background:linear-gradient(135deg,#eff6ff 0%,#f0fdf4 100%);border-radius:12px;margin-bottom:24px;">
			<h2 style="font-size:22px;font-weight:700;color:#1e293b;margin:0 0 8px;">
				<?php echo esc_html__( 'Parcel Selector Pro', 'parcel-selector' ); ?>
			</h2>
			<p style="color:#64748b;font-size:14px;margin:0 0 16px;">
				<?php echo esc_html__( 'A separate Pro plugin is available on our website.', 'parcel-selector' ); ?>
			</p>
			<a href="https://parcelselector.com/pro"
			   target="_blank"
			   rel="noopener noreferrer"
			   style="display:inline-block;padding:14px 36px;background:#2563eb;color:#fff;border-radius:10px;font-size:15px;font-weight:600;text-decoration:none;">
				<?php echo esc_html__( 'Learn more at parcelselector.com', 'parcel-selector' ); ?> &rarr;
			</a>
		</div>

		<p style="text-align:center;color:#94a3b8;font-size:12px;">
			<?php echo esc_html__( 'Pro is a separate plugin available at parcelselector.com. It is not required — this free version is fully functional.', 'parcel-selector' ); ?>
		</p>

	</div>
	<?php
} // end parcselect_tab_go_pro()
