<?php
/**
 * Unlock Boxes section for Noesia Smart Waiter.
 *
 * @package Noesia_Smart_Waiter
 */

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

if ( ! isset( $module ) || ! $module instanceof Noesia_Swa_Module_Unlock_Boxes ) {
    return;
}

( static function ( Noesia_Swa_Module_Unlock_Boxes $module ) {

$upgrade_url = $module->get_upgrade_url();

$pro_modules = array(
    array(
        'title' => 'Live Command',
        'icon'  => 'dashicons-update-alt',
        'pill'  => 'Hospitality',
        'desc'  => 'Real-time tables, notes, requests, cash handling and payment flow from one operational command center.',
    ),
    array(
        'title' => 'AI Studio · Business HoReCa',
        'icon'  => 'dashicons-superhero-alt',
        'pill'  => 'AI Workspace',
        'desc'  => 'Business AI workspace for planning, image analysis, branded visuals, menu optimization, review replies, staff training, event design, and operator briefings.',
    ),
    array(
        'title' => 'Tasks',
        'icon'  => 'dashicons-list-view',
        'pill'  => 'Workflow',
        'desc'  => 'Task organization, planning and action tracking for daily operations, staff coordination and execution clarity.',
    ),
    array(
        'title' => 'CRM Lite',
        'icon'  => 'dashicons-groups',
        'pill'  => 'Customers',
        'desc'  => 'A compact customer management layer for contacts, follow-up structure and cleaner relationship workflows.',
    ),
    array(
        'title' => 'ERP Lite',
        'icon'  => 'dashicons-chart-pie',
        'pill'  => 'Business Core',
        'desc'  => 'Resource, sales and operational planning tools for businesses that need a stronger internal control layer.',
    ),
    array(
        'title' => 'Noesia Vision',
        'icon'  => 'dashicons-search',
        'pill'  => 'OCR / Vision',
        'desc'  => 'Visual document intelligence with OCR-oriented scanning support for extracting and processing text workflows.',
    ),
    array(
        'title' => 'DentaVision AR',
        'icon'  => 'dashicons-smiley',
        'pill'  => 'Dental AR',
        'desc'  => 'Dental AR preview experience for smile simulation, cosmetic planning, and public-facing treatment visualization.',
        'url'   => 'https://noesia.io/dentavision-ar/',
    ),
    array(
        'title' => 'Clinical Workspace',
        'icon'  => 'dashicons-heart',
        'pill'  => 'Clinical',
        'desc'  => 'Clinical workflow environment with patient-focused tools, notes, timelines and safety-aware operational support.',
    ),
    array(
        'title' => 'Smart Pocket',
        'icon'  => 'dashicons-smartphone',
        'pill'  => 'Media Hub',
        'desc'  => 'A pocket-style utility layer for music, media controls, voice notes and lightweight day-to-day operator tools.',
    ),
    array(
        'title' => 'Vision Screening',
        'icon'  => 'dashicons-visibility',
        'pill'  => 'Diagnostics',
        'desc'  => 'Vision-oriented screening surface built for structured visual checks and guided diagnostic assistance.',
    ),
    array(
        'title' => 'Email Marketing',
        'icon'  => 'dashicons-email-alt2',
        'pill'  => 'Campaigns',
        'desc'  => 'Campaign, template and contact tools for businesses that want direct marketing reach inside the platform.',
    ),
    array(
        'title' => 'Guardian',
        'icon'  => 'dashicons-shield',
        'pill'  => 'Security',
        'desc'  => 'Security-focused staff awareness and operational protection layer designed for tighter control and oversight.',
    ),
    array(
        'title' => 'Payroll',
        'icon'  => 'dashicons-money-alt',
        'pill'  => 'Staff Ops',
        'desc'  => 'Payroll and workforce support tools for wage visibility, team management and administrative efficiency.',
    ),
    array(
        'title' => 'Auth Vault',
        'icon'  => 'dashicons-lock',
        'pill'  => '2FA / TOTP',
        'desc'  => 'Secure login protection with authentication workflows designed around stronger account access control.',
    ),
    array(
        'title' => 'SafeLog',
        'icon'  => 'dashicons-welcome-write-blog',
        'pill'  => 'Logs',
        'desc'  => 'Safety logs, shortcode-ready surfaces and structured incident-aware record keeping for compliance-minded teams.',
    ),
    array(
        'title' => 'Screen Recorder',
        'icon'  => 'dashicons-video-alt3',
        'pill'  => 'Capture',
        'desc'  => 'Native browser-based screen recording for walkthroughs, support, training and issue documentation.',
    ),
    array(
        'title' => 'Mini SVN',
        'icon'  => 'dashicons-archive',
        'pill'  => 'Vault',
        'desc'  => 'A lightweight app vault and versioning layer for archiving, tracking and organizing internal project assets.',
    ),
);

$bonus_extra_modules = array(
    array(
        'title' => __( 'Screen Saver Pro', 'noesia-smart-waiter' ),
        'icon'  => 'dashicons-desktop',
        'pill'  => __( 'Extra Pro Module', 'noesia-smart-waiter' ),
        'desc'  => __( 'Premium ambient display engine with animated overlays, clock modes, protected media, branded screen moments and procedural visual effects.', 'noesia-smart-waiter' ),
        'url'   => 'https://noesia.io/screensaver-pro-the-noesia-matrix/',
    ),
    array(
        'title' => __( 'Hair AI Studio', 'noesia-smart-waiter' ),
        'icon'  => 'dashicons-format-image',
        'pill'  => __( 'Extra Pro Module', 'noesia-smart-waiter' ),
        'desc'  => __( 'AI-powered hairstyle simulation for salons and personal use, with haircut, color and transformation preview workflows.', 'noesia-smart-waiter' ),
        'url'   => 'https://noesia.io/hairai-studio-the-noesia-matrix/',
    ),
    array(
        'title' => __( 'Project Synapse', 'noesia-smart-waiter' ),
        'icon'  => 'dashicons-lightbulb',
        'pill'  => __( 'Free Human Layer', 'noesia-smart-waiter' ),
        'desc'  => __( 'Meaning-focused AI reflection with Ask Synapse, faith and philosophy scenes, local knowledge pack support, OpenAI settings and AETHER private release mode.', 'noesia-smart-waiter' ),
        'url'   => 'https://noesia.io/project-synapse-the-noesia-matrix/',
    ),
    array(
        'title' => __( 'Agents', 'noesia-smart-waiter' ),
        'icon'  => 'dashicons-businessperson',
        'pill'  => __( 'Pro Executive Module', 'noesia-smart-waiter' ),
        'desc'  => __( 'Private executive communication control center with protected portals, collaborator messages, admin replies, file delivery, notifications and Active / Resolved / Archived states.', 'noesia-smart-waiter' ),
        'url'   => 'https://noesia.io/agents-the-noesia-matrix/',
    ),
    array(
        'title' => __( 'AstroCosmos', 'noesia-smart-waiter' ),
        'icon'  => 'dashicons-star-filled',
        'pill'  => __( 'Pro Cosmic Experience', 'noesia-smart-waiter' ),
        'desc'  => __( 'Premium living sky gateway with Moon phases, planetary positions, zodiac energies, Retrograde Radar, Eclipse Portal, Tonight’s Sky Focus, Solar System Voyage and Share Studio.', 'noesia-smart-waiter' ),
        'url'   => 'https://noesia.io/astrocosmos-the-noesia-matrix/',
    ),
);

$pro_modules = array_merge( $pro_modules, $bonus_extra_modules );

$roadmap_vip_modules = array(
    array(
        'title' => __( 'Global Dropzone', 'noesia-smart-waiter' ),
        'icon'  => 'dashicons-screenoptions',
        'pill'  => __( 'Enterprise HUD', 'noesia-smart-waiter' ),
        'state' => __( 'Calibrating...', 'noesia-smart-waiter' ),
        'desc'  => __( 'The Matrix Command Interface: a slide-down HUD for instant access to mission-critical flows, files, actions and operator shortcuts from any surface.', 'noesia-smart-waiter' ),
        'tone'  => 'cyan',
    ),
);

$roadmap_modules = array(
    array(
        'title' => __( 'Noesia WOO Orders', 'noesia-smart-waiter' ),
        'icon'  => 'dashicons-cart',
        'pill'  => __( 'WooCommerce', 'noesia-smart-waiter' ),
        'desc'  => __( 'A refined WooCommerce order cockpit with fast actions, embedded refund flow, cleaner order control and smoother day-to-day management.', 'noesia-smart-waiter' ),
    ),
    array(
        'title' => __( 'Noesia POS Ho.Re.Ca', 'noesia-smart-waiter' ),
        'icon'  => 'dashicons-store',
        'pill'  => __( 'Ho.Re.Ca', 'noesia-smart-waiter' ),
        'desc'  => __( 'A high-speed hospitality point-of-sale surface synchronized with Live Command for instant operational flow.', 'noesia-smart-waiter' ),
    ),
    array(
        'title' => __( 'Noesia Frontdesk', 'noesia-smart-waiter' ),
        'icon'  => 'dashicons-admin-home',
        'pill'  => __( 'Hotel Ops', 'noesia-smart-waiter' ),
        'desc'  => __( 'Hotel reception core for check-in, check-out, reservation readiness, QR identity scan and payment-aware frontdesk handling.', 'noesia-smart-waiter' ),
    ),
    array(
        'title' => __( 'Noesia Analytics', 'noesia-smart-waiter' ),
        'icon'  => 'dashicons-chart-line',
        'pill'  => __( 'Insights', 'noesia-smart-waiter' ),
        'desc'  => __( 'A cinematic analytics environment with visual dashboards, deep business statistics and actionable reporting across WooCommerce and Ho.Re.Ca operations.', 'noesia-smart-waiter' ),
    ),
    array(
        'title' => __( 'Noesia Housekeeping', 'noesia-smart-waiter' ),
        'icon'  => 'dashicons-admin-tools',
        'pill'  => __( 'Hotel Team', 'noesia-smart-waiter' ),
        'desc'  => __( 'Room status, cleaning coordination, real-time team communication and reporting for modern hotel operations.', 'noesia-smart-waiter' ),
    ),
);

$module_count         = count( $pro_modules );
$roadmap_count        = count( $roadmap_vip_modules ) + count( $roadmap_modules );
$ecosystem_count_display = __( '39', 'noesia-smart-waiter' );
$module_count_display    = __( '34 + 5', 'noesia-smart-waiter' );
?>
<div id="noesia-swa-unlock-boxes-admin" class="noesia-swa-unlock-v2" data-noesia-swa-unlock-boxes-module="1">
    <div class="noesia-swa-unlock-shell">
        <section class="noesia-swa-unlock-hero-grid" aria-label="<?php esc_attr_e( 'Unlock Boxes hero', 'noesia-smart-waiter' ); ?>">
            <div class="noesia-swa-unlock-panel noesia-swa-unlock-panel--hero">
                <span class="noesia-swa-unlock-kicker">
                    <span class="dashicons dashicons-lock" aria-hidden="true"></span>
                    <?php esc_html_e( 'TITAN EDITION · Noesia OS MATRIX X_Code PRO', 'noesia-smart-waiter' ); ?>
                </span>

                <h1 class="noesia-swa-unlock-title"><?php esc_html_e( 'Unlock the full Noesia application layer.', 'noesia-smart-waiter' ); ?></h1>

                <p class="noesia-swa-unlock-copy"><?php esc_html_e( 'Unlock the premium Noesia operating layer with the full Titan application catalog. From hospitality control and AI workflows to security, OCR, payroll and clinical operations, Pro turns the dashboard into a complete command environment for businesses, professionals and private users.', 'noesia-smart-waiter' ); ?></p>

                <div class="noesia-swa-unlock-metrics" role="list" aria-label="<?php esc_attr_e( 'Pro highlights', 'noesia-smart-waiter' ); ?>">
                    <div class="noesia-swa-unlock-metric" role="listitem">
                        <strong><?php echo esc_html( $ecosystem_count_display ); ?></strong>
                        <span><?php esc_html_e( '17 + 17 + 5 new included extras', 'noesia-smart-waiter' ); ?></span>
                    </div>
                    <div class="noesia-swa-unlock-metric" role="listitem">
                        <strong><?php esc_html_e( '7 Days', 'noesia-smart-waiter' ); ?></strong>
                        <span><?php esc_html_e( 'Free trial with low-friction onboarding', 'noesia-smart-waiter' ); ?></span>
                    </div>
                    <div class="noesia-swa-unlock-metric" role="listitem">
                        <strong><?php esc_html_e( '1-Click', 'noesia-smart-waiter' ); ?></strong>
                        <span><?php esc_html_e( 'Fast access and minute-level installation pitch', 'noesia-smart-waiter' ); ?></span>
                    </div>
                    <div class="noesia-swa-unlock-metric" role="listitem">
                        <strong><?php esc_html_e( 'Priority', 'noesia-smart-waiter' ); ?></strong>
                        <span><?php esc_html_e( 'Support and updates included in the commercial offer', 'noesia-smart-waiter' ); ?></span>
                    </div>
                </div>

               <div class="noesia-swa-unlock-actions">
    <a class="noesia-swa-unlock-btn noesia-swa-unlock-btn--primary" href="<?php echo esc_url( $upgrade_url ); ?>" target="_blank" rel="noopener noreferrer">
        <span class="dashicons dashicons-unlock" aria-hidden="true"></span>
        <?php esc_html_e( 'Start 7 Days Free Trial', 'noesia-smart-waiter' ); ?>
    </a>
    <a class="noesia-swa-unlock-btn noesia-swa-unlock-btn--ghost" href="<?php echo esc_url( $upgrade_url ); ?>" target="_blank" rel="noopener noreferrer">
        <span class="dashicons dashicons-cart" aria-hidden="true"></span>
        <?php esc_html_e( 'Upgrade Now', 'noesia-smart-waiter' ); ?>
    </a>
</div>

<div class="noesia-swa-unlock-trust-note">
    <?php echo esc_html__( 'Instant activation · Clean modular architecture · Priority updates · Built for business and personal workflows · Access newly released Noesia applications and continuous platform upgrades', 'noesia-smart-waiter' ); ?>
</div>
</div>
            <div class="noesia-swa-unlock-panel noesia-swa-unlock-panel--offer">
                <span class="noesia-swa-unlock-kicker noesia-swa-unlock-kicker--light"><?php esc_html_e( 'MATRIX::LICENSE::OFFER', 'noesia-smart-waiter' ); ?></span>

                <h2 class="noesia-swa-unlock-title noesia-swa-unlock-title--light"><?php esc_html_e( 'Clean offer. Clear value. Faster buying decision.', 'noesia-smart-waiter' ); ?></h2>

                <div class="noesia-swa-unlock-price">
                    €99.90 <small><?php esc_html_e( '/ year', 'noesia-smart-waiter' ); ?></small>
                </div>

                <p class="noesia-swa-unlock-price-alt"><?php esc_html_e( 'Or €9.90 / month · Priority Support & Updates Included', 'noesia-smart-waiter' ); ?></p>

                <div class="noesia-swa-unlock-badge-row">
                    <span class="noesia-swa-unlock-badge">
                        <span class="dashicons dashicons-shield" aria-hidden="true"></span>
                        <?php esc_html_e( 'Priority Support', 'noesia-smart-waiter' ); ?>
                    </span>
                    <span class="noesia-swa-unlock-badge">
                        <span class="dashicons dashicons-update" aria-hidden="true"></span>
                        <?php esc_html_e( 'Commercial Updates', 'noesia-smart-waiter' ); ?>
                    </span>
                </div>

                <ul class="noesia-swa-unlock-points">
                    <li>
                        <span class="dashicons dashicons-yes-alt" aria-hidden="true"></span>
                        <span><?php esc_html_e( '7-day free trial, 1-click access and a cleaner offer layout built to reduce hesitation and improve conversion.', 'noesia-smart-waiter' ); ?></span>
                    </li>
                    <li>
                        <span class="dashicons dashicons-yes-alt" aria-hidden="true"></span>
                        <span><?php esc_html_e( 'Clear monthly or yearly pricing, priority support and updates included, with no vague feature list or hidden value.', 'noesia-smart-waiter' ); ?></span>
                    </li>
                    <li>
                        <span class="dashicons dashicons-yes-alt" aria-hidden="true"></span>
                        <span><?php esc_html_e( 'Shows both what is available today and what is entering next, so buyers see immediate value and roadmap confidence.', 'noesia-smart-waiter' ); ?></span>
                    </li>
                </ul>

                <div class="noesia-swa-unlock-actions">
                    <a class="noesia-swa-unlock-btn noesia-swa-unlock-btn--primary" href="<?php echo esc_url( $upgrade_url ); ?>" target="_blank" rel="noopener noreferrer">
                        <span class="dashicons dashicons-controls-play" aria-hidden="true"></span>
                        <?php esc_html_e( 'Access Trial', 'noesia-smart-waiter' ); ?>
                    </a>
                    <a class="noesia-swa-unlock-btn noesia-swa-unlock-btn--line" href="<?php echo esc_url( $upgrade_url ); ?>" target="_blank" rel="noopener noreferrer">
                        <span class="dashicons dashicons-external" aria-hidden="true"></span>
                        <?php esc_html_e( 'Buy Pro Now', 'noesia-smart-waiter' ); ?>
                    </a>
                </div>
            </div>
        </section>

        <section class="noesia-swa-unlock-section" aria-labelledby="noesia-swa-unlock-pro-catalog">
            <div class="noesia-swa-unlock-section-head">
                <div>
                    <span class="noesia-swa-unlock-kicker noesia-swa-unlock-kicker--light"><?php esc_html_e( 'Available Today', 'noesia-smart-waiter' ); ?></span>
                    <h2 id="noesia-swa-unlock-pro-catalog" class="noesia-swa-unlock-section-title"><?php esc_html_e( 'Everything already live in the Matrix layer.', 'noesia-smart-waiter' ); ?></h2>
                    <p class="noesia-swa-unlock-section-copy"><?php esc_html_e( 'This catalog reflects the current Matrix application layer, including premium modules, already-included extras and newly released Noesia experiences. Each card explains the module in plain value-focused language so the customer understands what is already available today.', 'noesia-smart-waiter' ); ?></p>
                </div>

                <span class="noesia-swa-unlock-summary"><?php echo esc_html( $module_count_display ); ?> <?php esc_html_e( 'apps and included extras', 'noesia-smart-waiter' ); ?></span>
            </div>

            <div class="noesia-swa-unlock-grid">
                <?php foreach ( $pro_modules as $module_item ) : ?>
                    <?php /* translators: %s: Pro module title. */ ?>
                    <a class="noesia-swa-unlock-card" href="<?php echo esc_url( isset( $module_item['url'] ) ? $module_item['url'] : $upgrade_url ); ?>" target="_blank" rel="noopener noreferrer" aria-label="<?php echo esc_attr( sprintf( __( 'Open %s', 'noesia-smart-waiter' ), $module_item['title'] ) ); ?>">
                        <div class="noesia-swa-unlock-card-top">
                            <span class="noesia-swa-unlock-icon" aria-hidden="true">
                                <span class="dashicons <?php echo esc_attr( $module_item['icon'] ); ?>"></span>
                            </span>
                            <span class="noesia-swa-unlock-pill"><?php echo esc_html( $module_item['pill'] ); ?></span>
                        </div>

                        <h3 class="noesia-swa-unlock-card-title"><?php echo esc_html( $module_item['title'] ); ?></h3>
                        <p class="noesia-swa-unlock-card-desc"><?php echo esc_html( $module_item['desc'] ); ?></p>

                        <span class="noesia-swa-unlock-card-link">
                            <?php esc_html_e( 'Already Included', 'noesia-smart-waiter' ); ?>
                            <span class="dashicons dashicons-arrow-right-alt2" aria-hidden="true"></span>
                        </span>
                    </a>
                <?php endforeach; ?>
            </div>
        </section>

       <section class="noesia-swa-unlock-section noesia-swa-unlock-roadmap-pro" aria-labelledby="noesia-swa-unlock-roadmap">
    <div class="noesia-swa-unlock-section-head">
        <div>
            <span class="noesia-swa-unlock-kicker noesia-swa-unlock-kicker--light"><?php esc_html_e( 'The Roadmap · Coming Soon', 'noesia-smart-waiter' ); ?></span>
            <h2 id="noesia-swa-unlock-roadmap" class="noesia-swa-unlock-section-title"><?php esc_html_e( 'Future modules entering the Matrix.', 'noesia-smart-waiter' ); ?></h2>
            <p class="noesia-swa-unlock-section-copy"><?php esc_html_e( 'A compact preview of the next Noesia application layer. Built for premium expansion across WooCommerce, hospitality, hotel operations, analytics, housekeeping and command-driven AI business workflows.', 'noesia-smart-waiter' ); ?></p>
        </div>

        <span class="noesia-swa-unlock-summary"><?php echo esc_html( $roadmap_count ); ?> <?php esc_html_e( 'modules in pipeline', 'noesia-smart-waiter' ); ?></span>
    </div>

    <div class="noesia-swa-unlock-live-strip">
        <span class="dashicons dashicons-yes-alt" aria-hidden="true"></span>
        <span>
            <?php esc_html_e( 'Already live inside the Matrix: Screen Saver Pro, Hair AI Studio, Project Synapse, Agents and AstroCosmos are already included in the current Noesia application layer.', 'noesia-smart-waiter' ); ?>
        </span>
    </div>

    <div class="noesia-swa-unlock-bonus-grid">
        <?php foreach ( $bonus_extra_modules as $bonus_item ) : ?>
            <a class="noesia-swa-unlock-bonus-card" href="<?php echo esc_url( $bonus_item['url'] ); ?>" target="_blank" rel="noopener noreferrer" aria-label="<?php echo esc_attr( $bonus_item['title'] ); ?>">
                <div class="noesia-swa-unlock-bonus-shine" aria-hidden="true"></div>

                <div class="noesia-swa-unlock-bonus-icon" aria-hidden="true">
                    <span class="dashicons <?php echo esc_attr( $bonus_item['icon'] ); ?>"></span>
                </div>

                <div class="noesia-swa-unlock-bonus-content">
                    <div class="noesia-swa-unlock-bonus-meta">
                        <span><?php esc_html_e( 'Already Included', 'noesia-smart-waiter' ); ?></span>
                        <strong><?php echo esc_html( $bonus_item['pill'] ); ?></strong>
                    </div>

                    <h3><?php echo esc_html( $bonus_item['title'] ); ?></h3>
                    <p><?php echo esc_html( $bonus_item['desc'] ); ?></p>
                </div>
            </a>
        <?php endforeach; ?>
    </div>

    <div class="noesia-swa-unlock-roadmap-split-head">
        <span><?php esc_html_e( 'The Future Layer · VIP Access', 'noesia-smart-waiter' ); ?></span>
        <h3><?php esc_html_e( 'Entering the Matrix shortly.', 'noesia-smart-waiter' ); ?></h3>
        <p><?php esc_html_e( 'A strategic command surface designed for operators who want instant access to mission-critical flows from any surface.', 'noesia-smart-waiter' ); ?></p>
    </div>

    <div class="noesia-swa-unlock-vip-grid noesia-swa-unlock-vip-grid--single">
        <?php foreach ( $roadmap_vip_modules as $module_item ) : ?>
            <article class="noesia-swa-unlock-vip-card noesia-swa-unlock-vip-card--<?php echo esc_attr( $module_item['tone'] ); ?>">
                <div class="noesia-swa-unlock-vip-scan" aria-hidden="true"></div>

                <span class="noesia-swa-unlock-vip-icon" aria-hidden="true">
                    <span class="dashicons <?php echo esc_attr( $module_item['icon'] ); ?>"></span>
                </span>

                <div>
                    <div class="noesia-swa-unlock-vip-meta">
                        <span><?php echo esc_html( $module_item['pill'] ); ?></span>
                        <strong><?php echo esc_html( $module_item['state'] ); ?></strong>
                    </div>

                    <h3><?php echo esc_html( $module_item['title'] ); ?></h3>
                    <p><?php echo esc_html( $module_item['desc'] ); ?></p>
                </div>
            </article>
        <?php endforeach; ?>
    </div>

    <div class="noesia-swa-unlock-roadmap-split-head noesia-swa-unlock-roadmap-split-head--compact">
        <span><?php esc_html_e( 'Next operational modules', 'noesia-smart-waiter' ); ?></span>
        <h3><?php esc_html_e( 'Built for the next expansion wave.', 'noesia-smart-waiter' ); ?></h3>
        <p><?php esc_html_e( 'Entering the Matrix shortly.', 'noesia-smart-waiter' ); ?></p>
    </div>

    <div class="noesia-swa-unlock-next-grid">
        <?php foreach ( $roadmap_modules as $module_item ) : ?>
            <article class="noesia-swa-unlock-next-card">
                <span class="noesia-swa-unlock-next-icon" aria-hidden="true">
                    <span class="dashicons <?php echo esc_attr( $module_item['icon'] ); ?>"></span>
                </span>

                <div>
                    <div class="noesia-swa-unlock-next-meta">
                        <span><?php echo esc_html( $module_item['pill'] ); ?></span>
                        <strong><?php esc_html_e( 'Coming Soon', 'noesia-smart-waiter' ); ?></strong>
                    </div>

                    <h3><?php echo esc_html( $module_item['title'] ); ?></h3>
                    <p><?php echo esc_html( $module_item['desc'] ); ?></p>
                </div>
            </article>
        <?php endforeach; ?>
    </div>
</section>

        <section class="noesia-swa-unlock-matrix-echo" aria-label="<?php esc_attr_e( 'Matrix protocol call to action', 'noesia-smart-waiter' ); ?>">
            <div class="noesia-swa-hybrid-wrapper">
                <div class="noesia-swa-matrix-container noesia-swa-matrix-hero">
                    <div class="noesia-swa-matrix-block">
                        <div class="noesia-swa-matrix-hud">
                            <div class="noesia-swa-matrix-hud-title">NOESIA_MATRIX_OS::CORE_PROTOCOL</div>
                            <div class="noesia-swa-matrix-hud-line">
                                <span><?php esc_html_e( 'STATUS:', 'noesia-smart-waiter' ); ?></span>
                                <span class="noesia-swa-matrix-status"></span>
                            </div>
                            <div class="noesia-swa-matrix-hud-line">
                                <span><?php esc_html_e( 'SYSTEM:', 'noesia-smart-waiter' ); ?></span>
                                <span>Matrix_OS_X_Code_v2.0.7</span>
                            </div>
                            <div class="noesia-swa-matrix-load-wrapper">
                                <span class="noesia-swa-matrix-load-label"><?php esc_html_e( 'LOAD:', 'noesia-smart-waiter' ); ?></span>
                                <div class="noesia-swa-matrix-load-bg">
                                    <div class="noesia-swa-matrix-load-fill"></div>
                                </div>
                                <span class="noesia-swa-matrix-pct"></span>
                            </div>
                        </div>

                        <h3 class="noesia-swa-matrix-action-h3 noesia-swa-matrix-title-large"><?php esc_html_e( 'UNLOCK BOXES: EXPERIENCE PURE PRECISION.', 'noesia-smart-waiter' ); ?></h3>

                        <div class="noesia-swa-matrix-cmd">&gt; INITIATE::INIT_ACCESS__</div>

                        <p class="noesia-swa-matrix-desc noesia-swa-matrix-desc-hero"><?php esc_html_e( 'Access the definitive operating system. Experience the system everyone needs. Start with Noesia Matrix OS X-Code Titan Edition. Your Perpetual Free License is authorized and standby.', 'noesia-smart-waiter' ); ?></p>

                        <div class="noesia-swa-matrix-mt-auto">
                            <a href="<?php echo esc_url( $upgrade_url ); ?>" target="_blank" rel="noopener noreferrer" class="noesia-swa-matrix-btn noesia-swa-matrix-btn-terminal">
                                <span class="noesia-swa-matrix-prefix">&gt;</span>
                                <span><?php esc_html_e( 'ACTIVATE_FREE_PROTOCOL', 'noesia-smart-waiter' ); ?></span>
                                <span class="noesia-swa-matrix-cursor">_</span>
                            </a>
                        </div>
                    </div>

                    <div class="noesia-swa-matrix-divider"></div>

                    <div class="noesia-swa-matrix-block">
                        <div class="noesia-swa-matrix-context">MATRIX::LICENSE::DEPLOYED</div>

                        <h3 class="noesia-swa-matrix-action-h3 noesia-swa-matrix-title-large"><?php esc_html_e( 'ACCESS GRANTED. 1-CLICK DEPLOY.', 'noesia-smart-waiter' ); ?></h3>
                        <p class="noesia-swa-matrix-desc noesia-swa-matrix-desc-spaced"><?php esc_html_e( 'Get 7 Days Free Trial. 1-Click Access & 1-Minute Installation. Starts from €9.90 / month. No hidden costs. Unlimited potential.', 'noesia-smart-waiter' ); ?></p>

                        <div class="noesia-swa-matrix-mt-auto">
                            <a href="<?php echo esc_url( $upgrade_url ); ?>" target="_blank" rel="noopener noreferrer" class="noesia-swa-matrix-btn noesia-swa-matrix-btn-solid">
                                <span><?php esc_html_e( 'START NOW FREE_', 'noesia-smart-waiter' ); ?></span>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>
</div>

<?php
} )( $module );
