<!-- BENEFITS (Unlimited Dynamic) -->
<div class="form-card section-divider" id="section-benefits">
    <h3>Benefits Section</h3>
    <input type="text" name="benefits_section_title" value="<?php echo htmlspecialchars($landing['benefits_section_title'] ?? 'কেন Milk Booster?'); ?>"
           placeholder="Section Title" required class="mb-2">
    <div id="benefitsContainer">
        <?php if (!empty($benefits)): ?>
            <?php foreach ($benefits as $index => $benefit): ?>
                <div class="benefit-row">
                    <div class="flex justify-between items-center mb-2">
                        <h4>Benefit <?php echo $index; ?></h4>
                        <button type="button" class="remove-btn" onclick="removeBenefit(this)">Remove</button>
                    </div>
                    <input type="text" name="benefit_icon[]" value="<?php echo htmlspecialchars($benefit['icon'] ?? ''); ?>"
                           placeholder="Icon (e.g. fas fa-percentage)" required class="mb-1">
                    <input type="text" name="benefit_title[]" value="<?php echo htmlspecialchars($benefit['title'] ?? ''); ?>"
                           placeholder="Title (e.g. Benefit Title)" required class="mb-1">
                    <textarea name="benefit_desc[]" rows="2" placeholder="Description (e.g. Benefit Description)"
                              required><?php echo htmlspecialchars($benefit['desc'] ?? ''); ?></textarea>
                </div>
            <?php endforeach; ?>
        <?php else: ?>
            <div class="benefit-row">
                <div class="flex justify-between items-center mb-2">
                    <h4>Benefit 1</h4>
                    <button type="button" class="remove-btn" onclick="removeBenefit(this)">Remove</button>
                </div>
                <input type="text" name="benefit_icon[]" value="" placeholder="Icon (e.g. fas fa-percentage)" required class="mb-1">
                <input type="text" name="benefit_title[]" value="" placeholder="Title (e.g. Benefit Title)" required class="mb-1">
                <textarea name="benefit_desc[]" rows="2" placeholder="Description (e.g. Benefit Description)" required></textarea>
            </div>
        <?php endif; ?>
    </div>
    <button type="button" class="add-btn" onclick="addBenefit()">Add New Benefit</button>
</div>