<?php
namespace Softech_Addons_for_Elementor\Widgets;

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

class sitsel_pro_call_to_action extends Base_Locked_Widget {

    public function get_name() { 
        return 'sitsel_pro_call_to_action'; 
    }

    public function get_widget_metadata() {
        return [
            'title'       => __('SITS Call To Action', 'softech-addons-for-elementor'),
            'description' => __('Create attention-grabbing call to action sections with buttons and content.', 'softech-addons-for-elementor'),
            'icon'        => 'eicon-call-to-action',
            'categories'  => ['sits-category'],
            'keywords'    => ['cta', 'button', 'call to action', 'promo', 'banner'],
        ];
    }

    // Defines upsell / lock data for this widget
    protected function get_upsale_data() {
        if ($this->is_pro_active()) {
            return false;
        }

        return [
            'condition'   => true,
            'image'       => '', // Optional: Add preview image URL here
            'image_alt'   => __('Upgrade', 'softech-addons-for-elementor'),
            'title'       => __('Unlock Sitsel Call To Action Widget', 'softech-addons-for-elementor'),
            'description' => __('Upgrade to Sitsel Pro to create stunning call to action sections with custom animations and layouts.', 'softech-addons-for-elementor'),
            'upgrade_url' => 'https://softechaddons.sitslab.com/#pro-plan',
            'upgrade_text'=> __('Upgrade Now', 'softech-addons-for-elementor'),
        ];
    }
}
