<?php
// Enhanced security headers
header('Strict-Transport-Security: max-age=31536000; includeSubDomains');

$page_title = "Reliable UK Web Scraping Services - Accurate Data";
$page_description = "Our terms of service outlining the legal framework for using UK Data Services' professional web scraping and data analytics solutions.";
$canonical_url = "https://ukdataservices.co.uk/terms-of-service";
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo htmlspecialchars($page_title); ?></title>
    <meta name="description" content="<?php echo htmlspecialchars($page_description); ?>">
    <meta name="keywords" content="terms of service, legal terms, UK Data Services, data services agreement">
    <meta name="author" content="UK Data Services">
    <meta name="robots" content="index, follow">
    <link rel="canonical" href="<?php echo htmlspecialchars($canonical_url); ?>">

    <!-- Open Graph / Facebook -->
    <meta property="og:type" content="website">
    <meta property="og:url" content="<?php echo htmlspecialchars($canonical_url); ?>">
    <meta property="og:title" content="<?php echo htmlspecialchars($page_title); ?>">
    <meta property="og:description" content="<?php echo htmlspecialchars($page_description); ?>">
    <meta property="og:image" content="https://ukdataservices.co.uk/assets/images/ukds-og-image.png">
    <meta property="og:site_name" content="UK Data Services">

    <!-- Twitter -->
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:url" content="<?php echo htmlspecialchars($canonical_url); ?>">
    <meta name="twitter:title" content="<?php echo htmlspecialchars($page_title); ?>">
    <meta name="twitter:description" content="<?php echo htmlspecialchars($page_description); ?>">
    <meta name="twitter:image" content="https://ukdataservices.co.uk/assets/images/ukds-og-image.png">

    <!-- Favicon -->
    <link rel="icon" type="image/svg+xml" href="assets/images/favicon.svg">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Roboto+Slab:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Lato:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="assets/css/main.css?v=20260222">
    
    <style>
        .legal-content {
            max-width: 800px;
            margin: 0 auto;
            padding: 40px 20px;
            line-height: 1.6;
        }
        
        .legal-content h1 {
            color: #144784;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .legal-content h2 {
            color: #179e83;
            margin-top: 40px;
            margin-bottom: 20px;
            border-bottom: 2px solid #179e83;
            padding-bottom: 10px;
        }
        
        .legal-content h3 {
            color: #144784;
            margin-top: 30px;
            margin-bottom: 15px;
        }
        
        .legal-content p, .legal-content li {
            margin-bottom: 15px;
            color: #444;
        }
        
        .legal-content ul {
            margin-left: 20px;
        }
        
        .contact-info {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            margin: 30px 0;
        }
        
        .last-updated {
            text-align: center;
            font-style: italic;
            color: #666;
            margin-bottom: 30px;
        }
    </style>
</head>
<body>
    <!-- Navigation -->
    <?php include($_SERVER["DOCUMENT_ROOT"] . "/includes/nav.php"); ?>

    <main class="legal-content">
        <h1>Terms of Service</h1>
        <p class="last-updated">Last Updated: <?php echo date('jS F Y'); ?></p>

        <p>These Terms of Service ("Terms") govern your use of UK Data Services' website and professional data services. By accessing our services, you agree to be bound by these Terms.</p>

        <h2>1. Services Description</h2>
        <h3>Our Services Include</h3>
        <ul>
            <li>Web scraping and data extraction</li>
            <li>Business intelligence and analytics</li>
            <li>Data processing and cleansing</li>
            <li>Custom API development</li>
            <li>Automation solutions</li>
            <li>Data consulting services</li>
        </ul>

        <h2>2. Service Agreement</h2>
        <h3>Project Engagement</h3>
        <p>Each project is governed by a separate Statement of Work (SOW) or Service Agreement that specifies:</p>
        <ul>
            <li>Project scope and deliverables</li>
            <li>Timeline and milestones</li>
            <li>Pricing and payment terms</li>
            <li>Data requirements and specifications</li>
            <li>Compliance requirements</li>
        </ul>

        <h3>Client Responsibilities</h3>
        <p>Clients must:</p>
        <ul>
            <li>Provide accurate project requirements</li>
            <li>Ensure legal authority to request data collection</li>
            <li>Comply with applicable data protection laws</li>
            <li>Provide timely feedback and approvals</li>
            <li>Make payments according to agreed terms</li>
        </ul>

        <h2>3. Legal Compliance and Ethics</h2>
        <h3>Data Collection Standards</h3>
        <p>All our data collection activities comply with:</p>
        <ul>
            <li>UK Data Protection Act 2018</li>
            <li>General Data Protection Regulation (GDPR)</li>
            <li>Website terms of service and robots.txt files</li>
            <li>Industry best practices and ethical guidelines</li>
        </ul>

        <h3>Prohibited Uses</h3>
        <p>Our services may not be used for:</p>
        <ul>
            <li>Illegal activities or purposes</li>
            <li>Unauthorised access to protected systems</li>
            <li>Collection of personal data without legal basis</li>
            <li>Activities that violate intellectual property rights</li>
            <li>Harassment, defamation, or harmful content</li>
        </ul>

        <h2>4. Intellectual Property</h2>
        <h3>Service IP</h3>
        <ul>
            <li>We retain ownership of our proprietary tools and methodologies</li>
            <li>Clients own the data we collect on their behalf</li>
            <li>Custom developments are owned by the client upon full payment</li>
            <li>We may retain aggregated, anonymised insights for service improvement</li>
        </ul>

        <h2>5. Data Protection and Confidentiality</h2>
        <h3>Confidentiality</h3>
        <p>We maintain strict confidentiality regarding:</p>
        <ul>
            <li>Client business information and strategies</li>
            <li>Project details and specifications</li>
            <li>Data collected during projects</li>
            <li>Any information marked as confidential</li>
        </ul>

        <h3>Data Security</h3>
        <p>We implement comprehensive security measures:</p>
        <ul>
            <li>Encrypted data transmission and storage</li>
            <li>Access controls and authentication</li>
            <li>Regular security audits and updates</li>
            <li>Secure disposal of data when no longer needed</li>
        </ul>

        <h2>6. Payment Terms</h2>
        <h3>Pricing and Invoicing</h3>
        <ul>
            <li>Prices are quoted in British Pounds (GBP)</li>
            <li>Payment terms are typically 30 days from invoice date</li>
            <li>Late payments may incur interest charges</li>
            <li>Additional work requires written approval</li>
        </ul>

        <h3>Refunds and Cancellations</h3>
        <ul>
            <li>Refunds considered on a case-by-case basis</li>
            <li>Cancellation terms specified in individual agreements</li>
            <li>Work completed prior to cancellation is billable</li>
        </ul>

        <h2>7. Service Levels and Warranties</h2>
        <h3>Performance Standards</h3>
        <p>We strive to provide:</p>
        <ul>
            <li>High-quality, accurate data extraction</li>
            <li>Timely delivery according to agreed schedules</li>
            <li>Professional customer service and support</li>
            <li>Regular project updates and communication</li>
        </ul>

        <h3>Limitations</h3>
        <p>We cannot guarantee:</p>
        <ul>
            <li>100% data availability from third-party sources</li>
            <li>Unchanging website structures or access</li>
            <li>Specific business outcomes from data use</li>
            <li>Continuous service without interruption</li>
        </ul>

        <h2>8. Limitation of Liability</h2>
        <p>To the maximum extent permitted by law:</p>
        <ul>
            <li>Our liability is limited to the value of services provided</li>
            <li>We are not liable for indirect or consequential damages</li>
            <li>Clients are responsible for their use of extracted data</li>
            <li>Force majeure events excuse performance delays</li>
        </ul>

        <h2>9. Termination</h2>
        <h3>Termination Rights</h3>
        <p>Either party may terminate:</p>
        <ul>
            <li>For material breach after 30 days' written notice</li>
            <li>For convenience with appropriate notice period</li>
            <li>Immediately for illegal activities or violations</li>
        </ul>

        <h3>Post-Termination</h3>
        <ul>
            <li>Outstanding payments remain due</li>
            <li>Confidentiality obligations continue</li>
            <li>Data return or destruction as requested</li>
        </ul>

        <h2>10. Governing Law and Jurisdiction</h2>
        <p>These Terms are governed by:</p>
        <ul>
            <li>English and Welsh law</li>
            <li>UK courts have exclusive jurisdiction</li>
            <li>Disputes resolved through good faith negotiation first</li>
            <li>Alternative dispute resolution available</li>
        </ul>

        <h2>11. Changes to Terms</h2>
        <p>We may update these Terms periodically:</p>
        <ul>
            <li>Changes effective 30 days after notice</li>
            <li>Continued use constitutes acceptance</li>
            <li>Material changes require explicit consent</li>
            <li>Previous versions available on request</li>
        </ul>

        <h2>12. Contact Information</h2>
        <div class="contact-info">
            <p>For questions about these Terms or our services:</p>
            <p><strong>UK Data Services</strong><br>
            Email: <a href="mailto:legal@ukdataservices.co.uk">legal@ukdataservices.co.uk</a><br>
            Phone: <a href="tel:+441692689150">+44 1692 689150</a><br>
            Business Address: United Kingdom</p>
        </div>

        <h2>13. Severability</h2>
        <p>If any provision of these Terms is found to be unenforceable, the remaining provisions shall continue in full force and effect.</p>

        <p><em>By using our services, you acknowledge that you have read, understood, and agree to be bound by these Terms of Service.</em></p>
    </main>

    <!-- Footer -->
    <footer class="footer">
        <div class="container">
            <div class="footer-content">
                <div class="footer-section">
                    <div class="footer-logo">
                        <img src="assets/images/logo-white.svg" alt="UK Data Services">
                    </div>
                    <p>Enterprise data intelligence solutions for modern British business. Transform your operations with accurate, actionable insights and regulatory-compliant data services.</p>
                </div>
                
                <div class="footer-section">
                    <h3>Our Services</h3>
                    <ul>
                        <li><a href="/services/competitive-intelligence">Competitive Intelligence</a></li>
                        <li><a href="/services/price-monitoring">Price Monitoring</a></li>
                        <li><a href="/services/data-cleaning">Data Cleaning</a></li>
                        <li><a href="/#services">All Services</a></li>
                    </ul>
                </div>

                <div class="footer-section">
                    <h3>Locations</h3>
                    <ul>
                        <li><a href="/locations/london">London</a></li>
                        <li><a href="/locations/manchester">Manchester</a></li>
                        <li><a href="/locations/birmingham">Birmingham</a></li>
                    </ul>
                </div>

                <div class="footer-section">
                    <h3>Company Information</h3>
                    <ul>
                        <li><a href="about">About UK Data Services</a></li>
                        <li><a href="project-types">Project Types</a></li>
                        <li><a href="faq">FAQ</a></li>
                        <li><a href="/#contact">Contact & Enquiries</a></li>
                        <li><a href="quote">Request Consultation</a></li>
                    </ul>
                </div>
                
                <div class="footer-section">
                    <h3>Legal</h3>
                    <ul>
                        <li><a href="privacy-policy">Privacy Policy</a></li>
                        <li><a href="terms-of-service">Terms of Service</a></li>
                        <li><a href="cookie-policy">Cookie Policy</a></li>
                        <li><a href="gdpr-compliance">GDPR Compliance</a></li>
                    </ul>
                </div>
            </div>
            
            <div class="footer-bottom">
                <p>&copy; <?php echo date('Y'); ?> UK Data Services. All rights reserved.</p>
                <div class="social-links">
                    <a href="https://linkedin.com/company/uk-data-services" aria-label="LinkedIn" target="_blank" rel="noopener noreferrer"><img src="assets/images/icon-linkedin.svg" alt="LinkedIn"></a>
                    <a href="https://twitter.com/ukdataservices" aria-label="Twitter" target="_blank" rel="noopener noreferrer"><img src="assets/images/icon-twitter.svg" alt="Twitter"></a>
                </div>
            </div>
        </div>
    </footer>

    <!-- Scripts -->
    <script src="assets/js/main.js"></script>
</body>
</html>