<?php
/**
 * Automation page – promotional upsell for free users (no Pro feature code).
 *
 * @package TrustLens\Admin\Views
 * @since 1.0.4
 */

defined( 'ABSPATH' ) || exit;
?>
<div class="wrap wstl-wrap">
	<h1 class="screen-reader-text"><?php esc_html_e( 'Automation', 'trustlens' ); ?></h1>
	<hr class="wp-header-end">

	<?php
	wstl_render_pro_upsell(
		__( 'Automation Rules', 'trustlens' ),
		__( 'Create rules to automatically take actions when customers meet certain trust conditions. Block risky customers, send alerts, flag orders for review, and more — all on autopilot.', 'trustlens' ),
		array(
			__( 'Auto-block or flag customers based on trust score thresholds', 'trustlens' ),
			__( 'Trigger instant actions on score changes, orders, refunds, and checkout blocks', 'trustlens' ),
			__( 'Send alerts and route high-risk activity to your team in real time', 'trustlens' ),
		),
		array(
			array( __( 'Workflow actions', 'trustlens' ), __( 'Manual decisions', 'trustlens' ), __( 'Automated actions', 'trustlens' ) ),
			array( __( 'Trigger coverage', 'trustlens' ), __( 'Core scoring only', 'trustlens' ), __( 'Orders, refunds, score, checkout', 'trustlens' ) ),
			array( __( 'Response time', 'trustlens' ), __( 'When you review', 'trustlens' ), __( 'Immediate rule execution', 'trustlens' ) ),
		),
		__( 'Scale Fraud Response', 'trustlens' ),
		__( 'Used by growing WooCommerce teams to reduce manual review workload.', 'trustlens' )
	);
	?>
</div>
