<?php
/**
 * Admin onboarding / activation notice (core admin_notices markup).
 *
 * @var string $cta_url
 * @var string $plugin_status not_installed|inactive|active
 * @var string $hero_image_url
 */
$plugin_status = $plugin_status ?? 'not_installed';
?>
<div
    class="notice notice-info is-dismissible neurogenesis-theme-onboarding-notice"
    data-neurogenesis-theme-onboarding
>
    <div class="neurogenesis-theme-onboarding-notice__inner">
        <div class="neurogenesis-theme-onboarding-notice__content">
            <p class="neurogenesis-theme-onboarding-notice__eyebrow"><?php esc_html_e('Thank you for choosing Thinko!', 'thinko'); ?></p>

            <h2 class="neurogenesis-theme-onboarding-notice__headline">
                <?php esc_html_e('Your Website, Ready In Minutes: Let\'s Start!', 'thinko'); ?>
            </h2>

            <p class="neurogenesis-theme-onboarding-notice__description">
                <?php esc_html_e('No complicated setup, no waiting — just a smooth, hassle-free way to bring your website to life. Follow a few quick steps, and you\'ll be up and running in no time!', 'thinko'); ?>
            </p>

            <div class="neurogenesis-theme-onboarding-notice__actions">
                <a
                    class="neurogenesis-theme-onboarding-notice__cta"
                    href="<?php echo esc_url($cta_url); ?>"
                    data-onboarding-cta
                    data-plugin-status="<?php echo esc_attr($plugin_status); ?>">
                    <?php esc_html_e('Start Building Now', 'thinko'); ?>
                </a>

                <p class="neurogenesis-theme-onboarding-notice__legal">
                    <?php
                    if ( 'not_installed' === $plugin_status ) {
                        esc_html_e( 'By clicking "Start Building Now," you agree to install and activate the Neurogenesis Styler plugin. It adds additional controls for the theme. Thinko works just fine without it — the plugin is optional.', 'thinko' );
                    } else {
                        esc_html_e( "By clicking 'Start Building Now', you'll begin the simple onboarding process.", 'thinko' );
                    }
                    ?>
                </p>
            </div>
        </div>

        <div class="neurogenesis-theme-onboarding-notice__visual">
            <img
                class="neurogenesis-theme-onboarding-notice__hero-image"
                src="<?php echo esc_url($hero_image_url); ?>"
                alt=""
                loading="lazy"
                decoding="async"
            />
        </div>
    </div>
</div>
