<?php
    $title = $title ?? 'Subscribe to Our Newsletter';
    $subtitle = $subtitle ?? 'Get the latest updates, deals, and exclusive offers sent directly to your inbox.';
    $placeholder_text = $placeholder_text ?? 'Enter your email address';
    $button_text = $button_text ?? 'Subscribe';
?>
<div class="bg-indigo-900 py-16 text-white border-b border-indigo-950 relative overflow-hidden">
    <div class="absolute inset-0 opacity-10">
        <div class="absolute -top-24 -left-24 w-80 h-80 rounded-full bg-white blur-3xl"></div>
        <div class="absolute -bottom-24 -right-24 w-80 h-80 rounded-full bg-white blur-3xl"></div>
    </div>
    
    <div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center space-y-6 relative z-10">
        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(!empty($title)): ?>
            <h2 class="text-3xl font-extrabold tracking-tight sm:text-4xl">
                <?php echo e($title); ?>

            </h2>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(!empty($subtitle)): ?>
            <p class="max-w-2xl mx-auto text-indigo-200 text-sm sm:text-base leading-relaxed">
                <?php echo e($subtitle); ?>

            </p>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
        <div class="mt-8 flex flex-col sm:flex-row justify-center items-center gap-3 max-w-md mx-auto">
            <input 
                type="email" 
                placeholder="<?php echo e($placeholder_text); ?>" 
                class="w-full px-5 py-3 rounded-xl bg-white/10 border border-white/20 text-white placeholder-white/50 focus:outline-none focus:ring-2 focus:ring-white/50 text-sm"
                required
            >
            <button 
                type="submit" 
                class="w-full sm:w-auto px-6 py-3 bg-white text-indigo-900 font-bold rounded-xl hover:bg-indigo-50 transition-colors shadow-md text-sm whitespace-nowrap"
            >
                <?php echo e($button_text); ?>

            </button>
        </div>
    </div>
</div>
<?php /**PATH C:\laragon\www\Sawdabazar\resources\views/storefront/blocks/newsletter_signup.blade.php ENDPATH**/ ?>