<?php ($selectedPlan = in_array(request('plan'), ['basic', 'premium', 'luxury'], true) ? request('plan') : null); ?>
<?php if (isset($component)) { $__componentOriginal52b6740a4059545a9135423805a466b9 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal52b6740a4059545a9135423805a466b9 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'f4ac99e09542ff494432bc959d4fee61::site','data' => ['title' => 'Daily Flower Subscription in Surat from ₹350/month','description' => 'Fresh flowers delivered to your Surat door before 8 AM, every day. Puja & home plans from ₹350/month. Cancel anytime. Subscribe online in 2 minutes.','canonical' => route('subscribe')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('layouts::site'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['title' => 'Daily Flower Subscription in Surat from ₹350/month','description' => 'Fresh flowers delivered to your Surat door before 8 AM, every day. Puja & home plans from ₹350/month. Cancel anytime. Subscribe online in 2 minutes.','canonical' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(route('subscribe'))]); ?>
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>

    
    <section class="subscription-hero">
        <div class="container">
            <h1>Fresh Flowers, Every Morning</h1>
            <p class="price-tag">Starting at ₹350/month</p>
            <p style="font-size: var(--font-size-xl); margin-bottom: var(--space-6);">
                Start your day with beauty. Premium flowers at your doorstep before 8 AM
            </p>
            <div class="subscription-benefits">
                <div class="benefit-item">
                    <i class="fas fa-check-circle"></i>
                    <span>Farm-Fresh Quality</span>
                </div>
                <div class="benefit-item">
                    <i class="fas fa-truck-fast"></i>
                    <span>Morning Delivery</span>
                </div>
                <div class="benefit-item">
                    <i class="fas fa-rotate-left"></i>
                    <span>Cancel Anytime</span>
                </div>
                <div class="benefit-item">
                    <i class="fas fa-shield-halved"></i>
                    <span>100% Fresh Guarantee</span>
                </div>
            </div>
        </div>
    </section>

    
    <section class="plan-comparison-section" style="padding: var(--space-20) 0; background: var(--neutral-50);">
        <div class="container">
            <div class="section-header">
                <h2>Choose Your Perfect Plan</h2>
                <div class="section-divider"></div>
                <p>All plans use farm-fresh flowers and are delivered before 8 AM. Pay on first delivery.</p>
            </div>

            <div style="overflow-x:auto;">
            <table class="plan-comparison">
                <thead>
                    <tr>
                        <th scope="col">Features</th>
                        <th scope="col">
                            <div>Basic</div>
                            <div class="plan-price">&#8377;350/mo</div>
                        </th>
                        <th scope="col">
                            <div>Premium <span class="plan-badge premium">Most Popular</span></div>
                            <div class="plan-price">&#8377;600/mo</div>
                        </th>
                        <th scope="col">
                            <div>Luxury</div>
                            <div class="plan-price">&#8377;900/mo</div>
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <th scope="row" style="text-align: left; font-weight: 600;">Daily Delivery</th>
                        <td>&#10003; 30 days</td><td>&#10003; 30 days</td><td>&#10003; 30 days</td>
                    </tr>
                    <tr>
                        <th scope="row" style="text-align: left; font-weight: 600;">Flower Quantity</th>
                        <td>100gm</td><td>200gm</td><td>300gm</td>
                    </tr>
                    <tr>
                        <th scope="row" style="text-align: left; font-weight: 600;">Delivery Time</th>
                        <td>Before 8 AM</td><td>Before 8 AM</td><td>Before 8 AM</td>
                    </tr>
                    <tr>
                        <th scope="row" style="text-align: left; font-weight: 600;">Flower Selection</th>
                        <td>Standard Seasonal</td><td>Premium Selection</td><td>Exotic &amp; Rare</td>
                    </tr>
                    <tr>
                        <th scope="row" style="text-align: left; font-weight: 600;">Weekend Special</th>
                        <td>&#8212;</td><td>&#10003;</td><td>&#10003; Extra Special</td>
                    </tr>
                    <tr>
                        <th scope="row" style="text-align: left; font-weight: 600;">Custom Arrangements</th>
                        <td>&#8212;</td><td>Basic</td><td>Premium Custom</td>
                    </tr>
                    <tr>
                        <th scope="row" style="text-align: left; font-weight: 600;">Festival Specials</th>
                        <td>&#8212;</td><td>&#10003;</td><td>&#10003; Included</td>
                    </tr>
                    <tr>
                        <th scope="row" style="text-align: left; font-weight: 600;">Customer Support</th>
                        <td>Email</td><td>Phone + Email</td><td>Dedicated Manager</td>
                    </tr>
                </tbody>
            </table>
            </div>

            <p style="text-align:center; margin-top: var(--space-8);">
                <a href="#subscriptionForm" class="btn btn-primary btn-large">Choose a Plan &amp; Subscribe</a>
            </p>
        </div>
    </section>

    
    <section style="padding: var(--space-20) 0;">
        <div class="container">
            <div class="section-header">
                <h2>Subscribe Now</h2>
                <div class="section-divider"></div>
                <p>Fill in your details and start receiving fresh flowers daily</p>
            </div>

            <div class="subscription-form-container">
                
                <form id="subscriptionForm" class="subscription-form" novalidate>
                    
                    <div class="form-section">
                        <h3><i class="fas fa-user"></i> Personal Information</h3>

                        <div class="form-group">
                            <label for="fullName">Full Name <span>*</span></label>
                            <input
                                type="text"
                                id="fullName"
                                name="fullName"
                                required
                                minlength="3"
                                maxlength="50"
                                placeholder="Enter your full name">
                            <span class="error-message" id="nameError"></span>
                            <span class="success-icon">✓</span>
                        </div>

                        <div class="form-row">
                            <div class="form-group">
                                <label for="phone">Phone Number <span>*</span></label>
                                <input
                                    type="tel"
                                    id="phone"
                                    name="phone"
                                    required
                                    maxlength="10"
                                    placeholder="10-digit mobile number">
                                <span class="error-message" id="phoneError"></span>
                                <span class="success-icon">✓</span>
                            </div>

                            <div class="form-group">
                                <label for="email">Email Address <span>*</span></label>
                                <input
                                    type="email"
                                    id="email"
                                    name="email"
                                    required
                                    placeholder="your.email@example.com">
                                <span class="error-message" id="emailError"></span>
                                <span class="success-icon">✓</span>
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="whatsapp">WhatsApp Number (Optional)</label>
                            <input
                                type="tel"
                                id="whatsapp"
                                name="whatsapp"
                                inputmode="tel"
                                autocomplete="tel"
                                maxlength="16"
                                placeholder="10-digit mobile, e.g. 9876543210">
                            <span class="error-message" id="whatsappError" role="alert"></span>
                            <small>Optional &mdash; we&rsquo;ll send delivery updates on WhatsApp</small>
                        </div>
                    </div>

                    
                    <div class="form-section">
                        <h3><i class="fas fa-location-dot"></i> Delivery Address</h3>

                        <div class="form-group">
                            <label for="address">Complete Address <span>*</span></label>
                            <textarea
                                id="address"
                                name="address"
                                required
                                minlength="20"
                                maxlength="200"
                                rows="3"
                                placeholder="House No., Street, Landmark"></textarea>
                            <span class="error-message" id="addressError"></span>
                            <span class="success-icon">✓</span>
                        </div>

                        <div class="form-row">
                            <div class="form-group">
                                <label for="city">City <span>*</span></label>
                                <input
                                    type="text"
                                    id="city"
                                    name="city"
                                    required
                                    placeholder="Your city">
                                <span class="error-message" id="cityError"></span>
                            </div>

                            <div class="form-group">
                                <label for="pincode">PIN Code <span>*</span></label>
                                <input
                                    type="text"
                                    id="pincode"
                                    name="pincode"
                                    required
                                    maxlength="6"
                                    placeholder="6-digit PIN">
                                <span class="error-message" id="pincodeError"></span>
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="landmark">Nearby Landmark</label>
                            <input
                                type="text"
                                id="landmark"
                                name="landmark"
                                placeholder="e.g., Near City Mall">
                        </div>
                    </div>

                    
                    <div class="form-section">
                        <h3><i class="fas fa-calendar-days"></i> Subscription Preferences</h3>

                        <div class="form-group">
                            <label for="plan">Choose Your Plan <span>*</span></label>
                            <select id="plan" name="plan" required>
                                <option value="">-- Select Plan --</option>
                                <option value="basic" data-price="350" <?php if($selectedPlan === 'basic'): echo 'selected'; endif; ?>>Basic - ₹350/month</option>
                                <option value="premium" data-price="600" <?php if($selectedPlan === 'premium'): echo 'selected'; endif; ?>>Premium - ₹600/month</option>
                                <option value="luxury" data-price="900" <?php if($selectedPlan === 'luxury'): echo 'selected'; endif; ?>>Luxury - ₹900/month</option>
                            </select>
                            <span class="error-message" id="planError"></span>
                        </div>

                        <div class="form-group">
                            <label for="startDate">Start Date <span>*</span></label>
                            <input
                                type="date"
                                id="startDate"
                                name="startDate"
                                required
                                min="">
                            <span class="error-message" id="dateError"></span>
                        </div>


                        <div class="form-group">
                            <label for="specialInstructions">Special Instructions (Optional)</label>
                            <textarea
                                id="specialInstructions"
                                name="specialInstructions"
                                maxlength="300"
                                rows="3"
                                placeholder="Any specific requirements? (e.g., allergies, color preferences, delivery instructions)"></textarea>
                            <small id="charCount">0/300 characters</small>
                        </div>
                    </div>

                    
                    <div class="form-section">
                        <h3><i class="fas fa-file-contract"></i> Terms & Conditions</h3>

                        <div class="terms-box">
                            <h4>Subscription Terms:</h4>
                            <ul>
                                <li>Minimum subscription: 1 month (30 days)</li>
                                <li>Auto-renewal available (optional)</li>
                                <li>Cancel anytime with 3 days notice</li>
                                <li>Refund: Pro-rated for remaining days</li>
                                <li>Fresh flower guarantee: Replace if not satisfied</li>
                            </ul>
                        </div>

                        <div class="form-group checkbox-agreement">
                            <label class="checkbox-label">
                                <input type="checkbox" id="terms" name="terms" required>
                                <span>I agree to the <a href="/terms" target="_blank" rel="noopener">Terms &amp; Conditions</a> and <a href="/privacy" target="_blank" rel="noopener">Privacy Policy</a> <span style="color: #ef4444;">*</span></span>
                            </label>
                            <span class="error-message" id="termsError"></span>
                        </div>

                    </div>

                    
                    <div class="order-summary">
                        <h3>Order Summary</h3>
                        <div class="summary-row">
                            <span>Selected Plan:</span>
                            <strong id="summaryPlan">-</strong>
                        </div>
                        <div class="summary-row">
                            <span>Monthly Charge:</span>
                            <strong id="summaryPrice">₹0</strong>
                        </div>
                        <div class="summary-row">
                            <span>Start Date:</span>
                            <strong id="summaryDate">-</strong>
                        </div>

                        <div class="summary-total">
                            <span>Total Amount:</span>
                            <strong id="summaryTotal">₹0</strong>
                        </div>
                        <small>*GST included | Payment on delivery for first month</small>
                    </div>

                    
                    <div class="form-actions">
                        <button type="submit" id="submitBtn" class="btn btn-primary btn-large">
                            <i class="fas fa-check-circle"></i> Complete Subscription
                        </button>
                        <p class="form-note">
                            <i class="fas fa-shield-halved"></i> Secure booking | Pay on first delivery | Cancel anytime
                        </p>
                    </div>
                </form>
            </div>
        </div>
    </section>

    
    <div id="successMessage" class="success-message" style="display: none;">
        <div class="success-content">
            <i class="fas fa-check-circle"></i>
            <h2>Subscription Confirmed!</h2>
            <p>Thank you for subscribing to Pushpvatika Florist's daily flower delivery service.</p>
            <p>We'll contact you within 2 hours to confirm your order.</p>
            <p><strong>Order ID:</strong> <span id="orderId"></span></p>
            <button onclick="location.reload()" class="btn btn-primary">
                Subscribe Another Plan
            </button>
        </div>
    </div>

    <?php $__env->startPush('scripts'); ?>
        <?php echo app('Illuminate\Foundation\Vite')('resources/js/subscription-form.js'); ?>
    <?php $__env->stopPush(); ?>

    <?php $__env->startPush('schema'); ?>
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "Product",
      "name": "Daily Fresh Flower Subscription",
      "description": "Farm-fresh flowers delivered to your door in Surat before 8 AM, every day. Ideal for daily puja and home decoration.",
      "image": "https://pushpvatikaflorist.com/PHOTO-2026-01-04-12-55-05.jpg",
      "brand": { "@id": "https://pushpvatikaflorist.com/#business" },
      "offers": {
        "@type": "AggregateOffer",
        "priceCurrency": "INR",
        "lowPrice": "350",
        "highPrice": "900",
        "offerCount": "3",
        "availability": "https://schema.org/InStock",
        "offers": [
          { "@type": "Offer", "name": "Basic",   "price": "350", "priceCurrency": "INR", "url": "https://pushpvatikaflorist.com/subscribe" },
          { "@type": "Offer", "name": "Premium", "price": "600", "priceCurrency": "INR", "url": "https://pushpvatikaflorist.com/subscribe" },
          { "@type": "Offer", "name": "Luxury",  "price": "900", "priceCurrency": "INR", "url": "https://pushpvatikaflorist.com/subscribe" }
        ]
      }
    }
    </script>
    <?php $__env->stopPush(); ?>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal52b6740a4059545a9135423805a466b9)): ?>
<?php $attributes = $__attributesOriginal52b6740a4059545a9135423805a466b9; ?>
<?php unset($__attributesOriginal52b6740a4059545a9135423805a466b9); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal52b6740a4059545a9135423805a466b9)): ?>
<?php $component = $__componentOriginal52b6740a4059545a9135423805a466b9; ?>
<?php unset($__componentOriginal52b6740a4059545a9135423805a466b9); ?>
<?php endif; ?>
<?php /**PATH /Users/dineshmali/code/pushpvatikaflorist1/resources/views/pages/site/subscribe.blade.php ENDPATH**/ ?>