<?php include 'includes/header.php'; ?>

<div class="container py-5">
    <div class="row justify-content-center">
        <div class="col-lg-10">
            <div class="card shadow-sm border-0">
                <div class="card-body p-5">
                    <h1 class="fw-bold mb-4">Cancellation & Refund Policy</h1>
                    
                    <h4>1. Subscription Cancellation</h4>
                    <p>You are free to cancel your monthly subscription at any time. You can do this by logging into your dashboard, navigating to <strong>Settings > Billing</strong>, and selecting the option to cancel.</p>
                    <p><strong>Effect of Cancellation:</strong> Upon cancellation, your account will remain active until the end of the current billing period. After the period ends, your account will revert to the "Free" tier, and you may lose access to premium features (Analytics, Lead Gen data, etc.).</p>

                    <h4>2. Refund Policy</h4>
                    <p>Since <strong><?php echo htmlspecialchars($site_name ?? 'DigitalRaj'); ?></strong> offers non-tangible, irrevocable, digital goods (software as a service), we generally <strong>do not provide refunds</strong> after the product is purchased, which you acknowledge prior to purchasing any subscription on the Website.</p>
                    
                    <p><strong>Exceptions for Refunds:</strong> We may consider a refund request under the following exceptional circumstances:</p>
                    <ul>
                        <li><strong>Double Charge:</strong> If your card was charged twice for the same billing period due to a technical glitch.</li>
                        <li><strong>Service Failure:</strong> If the premium features were not activated on your account after a successful payment, and our support team was unable to resolve the issue within 48 hours.</li>
                    </ul>

                    <h4>3. Requesting a Refund</h4>
                    <p>If you believe you qualify for a refund under the exceptions above, please contact us within <strong>7 days</strong> of the transaction date.</p>
                    <p>Email: <a href="mailto:support@digitalraj.in">support@digitalraj.in</a><br>
                    Subject: Refund Request - [Your Username]</p>

                    <h4>4. Processing Timeline</h4>
                    <p>If your refund request is approved, the amount will be processed within <strong>5-7 business days</strong> and credited back to the original method of payment (Credit Card, UPI, etc.).</p>
                </div>
            </div>
        </div>
    </div>
</div>

<?php include 'includes/footer.php'; ?>