

<?php $__env->startSection('meta_title', 'Pricing - KiyoHRMS'); ?>
<?php $__env->startSection('meta_description', 'Yearly team plans for KiyoHRMS: Free for 10 users in year one, then Team 25, 50, 100, and 500.'); ?>

<?php $__env->startSection('content'); ?>
<section class="section-space brand-gradient">
    <div class="container text-center">
        <h1 class="display-5 fw-bold mb-3">Simple <span class="text-kiyo">yearly pricing </span>by team size</h1>
        <p class="lead text-muted col-lg-8 mx-auto mb-4">Start free for 10 users in your first year, then pick a Team plan that fits your headcount. Custom packages available on request.</p>
        <span class="badge rounded-pill text-bg-light px-3 py-2">Billed yearly only</span>
    </div>
</section>

<section class="section-space pt-2">
    <div class="container">
        <div class="row g-4 justify-content-center">
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__empty_1 = true; $__currentLoopData = $plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                <?php
                    $enabledFeatures = $plan->planFeatures
                        ->where('feature_value', '1')
                        ->pluck('feature_key')
                        ->map(fn ($key) => str($key)->replace('_', ' ')->title()->toString())
                        ->take(4)
                        ->values()
                        ->all();

                    $effective = $plan->effectiveYearlyPrice();
                    $strike = $plan->displayStrikePrice();
                    $cardFeatures = array_merge(
                        [$plan->employee_limit ? ('Up to ' . $plan->employee_limit . ' employees') : 'Unlimited employees'],
                        ['Yearly billing'],
                        $enabledFeatures
                    );
                ?>

                <div class="col-lg-4 col-md-6 d-flex justify-content-center">
                    <div class="pricing-card w-100">
                        <div class="card h-100 card-soft <?php echo e($plan->is_popular ? 'border border-kiyo' : ''); ?>">
                            <div class="card-body p-4">
                                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($plan->is_popular): ?>
                                    <span class="badge rounded-pill text-bg-success mb-3">Recommended</span>
                                <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                                <h3 class="h4 fw-bold"><?php echo e($plan->name); ?></h3>
                                <p class="text-muted"><?php echo e($plan->description ?: 'Built for growing teams.'); ?></p>
                                <div class="mb-3">
                                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($strike): ?>
                                        <div class="text-muted text-decoration-line-through small"><?php echo e($plan->currency_symbol ?: '₹'); ?><?php echo e(number_format($strike, 0)); ?>/year</div>
                                    <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                                    <span class="h2 fw-bolder"><span class="price-currency"><?php echo e($plan->currency_symbol ?: '₹'); ?></span><?php echo e(number_format($effective, 0)); ?></span>
                                    <span class="text-muted">/year</span>
                                </div>
                                <ul class="list-unstyled small mb-4">
                                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $cardFeatures; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $feature): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <li class="mb-2"><i class="bi bi-check2-circle text-success me-2"></i><?php echo e($feature); ?></li>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                                </ul>
                                <a href="<?php echo e(route('register')); ?>" class="btn <?php echo e($plan->is_popular ? 'btn-kiyo' : 'pricing-trial-btn'); ?> w-100">
                                    <?php echo e($plan->isFreeDefault() ? 'Start free' : 'Get started'); ?> <i class="bi bi-arrow-right-short"></i>
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                <div class="col-12">
                    <div class="alert alert-info text-center mb-0">
                        No active plans available. Please configure plans in Super Admin.
                    </div>
                </div>
            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
        </div>
        <p class="text-center text-muted mt-4 mb-0">Need more than 500 users? <a href="<?php echo e(route('website.contact')); ?>">Contact us</a> for a Custom / Private package.</p>
    </div>
</section>

<section class="section-space soft-bg">
    <div class="container">
        <h2 class="fw-bold mb-4 section-title-underline">Plan comparison</h2>
        <div class="table-responsive card-soft p-2 bg-white">
            <table class="table align-middle mb-0">
                <thead>
                    <tr>
                        <th>Features</th>
                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <th><?php echo e($plan->name); ?></th>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>Employee limit</td>
                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <td><?php echo e($plan->employee_limit ?: 'Unlimited'); ?></td>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                    </tr>
                    <tr>
                        <td>Yearly price</td>
                        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <td><?php echo e($plan->currency_symbol ?: '₹'); ?><?php echo e(number_format($plan->effectiveYearlyPrice(), 0)); ?></td>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                    </tr>
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $featureLabels; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $featureKey => $featureLabel): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($featureLabel); ?></td>
                            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $plans; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <?php
                                    $featureEnabled = optional($plan->planFeatures->firstWhere('feature_key', $featureKey))->feature_value === '1';
                                ?>
                                <td><?php echo $featureEnabled ? '<i class="bi bi-check text-success"></i>' : '-'; ?></td>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                </tbody>
            </table>
        </div>
    </div>
</section>

<section class="section-space">
    <div class="container">
        <h2 class="fw-bold mb-4 section-title-underline">Frequently asked questions</h2>
        <div class="accordion" id="pricingFaq">
            <?php echo $__env->make('website.partials.faq-item', ['id' => 'faqTrial', 'question' => 'Is the first year free?', 'answer' => 'Yes. New companies get the Free plan for up to 10 users for the first year.', 'show' => 'show'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
            <?php echo $__env->make('website.partials.faq-item', ['id' => 'faqUpgrade', 'question' => 'Can I upgrade mid-year?', 'answer' => 'Yes. You can upgrade to a higher team plan anytime. We auto-calculate a prorated amount for the remaining licence days.'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
            <?php echo $__env->make('website.partials.faq-item', ['id' => 'faqGst', 'question' => 'Is GST included?', 'answer' => 'Prices are exclusive of applicable GST. Final invoice values will show GST based on billing location.'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
        </div>
    </div>
</section>

<?php echo $__env->make('website.partials.cta-banner', ['title' => 'Start free for 10 users', 'subtitle' => 'Set up your team in minutes and run your first automated payroll with KiyoHRMS.'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('website.layouts.main', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/html/kiyohr/v2_version/resources/views/website/pricing.blade.php ENDPATH**/ ?>