<?php
require_once '../ext/db.php'; 

// --- SEO CONFIGURATION ---
$pageTitle = "Disclaimer | Starent.";
$pageDesc = "Legal disclaimer for Starent. Information regarding accuracy, external links, and professional advice.";
$currentUrl = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$baseUrl = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]";

// --- SCHEMA.ORG (JSON-LD) ---
$schemaData = [
    "@context" => "https://schema.org",
    "@graph" => [
        [
            "@type" => "WebPage",
            "@id" => $currentUrl,
            "url" => $currentUrl,
            "name" => $pageTitle,
            "description" => $pageDesc,
            "inLanguage" => "en-US",
            "isPartOf" => ["@id" => $baseUrl . "/#website"],
            "mainEntity" => ["@id" => $baseUrl . "/#organization"]
        ]
    ]
];
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
    <title><?php echo $pageTitle; ?></title>
    <meta name="description" content="<?php echo $pageDesc; ?>">
    <link rel="canonical" href="<?php echo $currentUrl; ?>">
    <meta name="robots" content="noindex, follow"> <meta property="og:type" content="website">
    <meta property="og:url" content="<?php echo $currentUrl; ?>">
    <meta property="og:title" content="<?php echo $pageTitle; ?>">
    <meta property="og:description" content="<?php echo $pageDesc; ?>">
    <meta property="og:site_name" content="Starent.">
    <meta property="og:image" content="<?php echo $baseUrl; ?>/images/about-og.jpg"> 

    <meta property="twitter:card" content="summary_large_image">
    <meta property="twitter:title" content="<?php echo $pageTitle; ?>">
    <meta property="twitter:description" content="<?php echo $pageDesc; ?>">
    <meta property="twitter:image" content="<?php echo $baseUrl; ?>/images/about-og.jpg">

    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link href="https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,400&family=Oswald:wght@400;500;700&family=Poppins:wght@400;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
    
    <?php include '../ext/header.php' ?>
    <style>
        /* Reusing the Header Style from About Page */
        .page-header {
            background: #f8fafc;
            padding: 80px 20px;
            text-align: center;
            border-bottom: 1px solid #e2e8f0;
        }

        .page-header h1 {
            font-family: 'Oswald', sans-serif;
            font-size: 3.5rem;
            text-transform: uppercase;
            color: #1e293b;
            margin: 0 0 15px 0;
            line-height: 1.1;
        }

        .page-header p {
            font-family: 'Merriweather', serif;
            font-size: 1.2rem;
            color: #64748b;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .legal-wrapper {
            padding: 60px 0;
            background-color: #fff;
        }

        .legal-card {
            background: #fff;
            padding: 50px;
            max-width: 900px;
            margin: 0 auto;
            border: 1px solid #e2e8f0;
            /* Theme Blue Top Border */
            border-top: 4px solid #0ea5e9; 
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        }

        .legal-content h2 {
            font-family: 'Oswald', sans-serif;
            font-size: 1.8rem;
            color: #1e293b;
            margin-top: 40px;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .legal-content h2 i {
            color: #0ea5e9;
            font-size: 1.4rem;
        }

        .legal-content p {
            font-family: 'Roboto', serif;
            font-size: 1rem;
            line-height: 1.8;
            color: #475569;
            margin-bottom: 20px;
        }

        .legal-content ul {
            margin-bottom: 20px;
            padding-left: 20px;
        }

        .legal-content li {
            font-family: 'Merriweather', serif;
            color: #475569;
            margin-bottom: 10px;
            line-height: 1.6;
        }

        .last-updated {
            font-family: 'Poppins', sans-serif;
            font-size: 0.9rem;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 30px;
            display: block;
            border-bottom: 1px solid #f1f5f9;
            padding-bottom: 20px;
        }

        .contact-box {
            background: #f8fafc;
            padding: 20px;
            border-radius: 4px;
            border-left: 4px solid #0ea5e9;
            margin-top: 40px;
        }

        .contact-box p {
            margin-bottom: 0;
            font-family: 'Poppins', sans-serif;
        }

        .contact-box a {
            color: #0ea5e9;
            font-weight: 600;
            text-decoration: none;
        }

        .contact-box a:hover {
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            .page-header h1 { font-size: 2.5rem; }
            .legal-card { padding: 25px; border: none; border-top: 4px solid #0ea5e9; }
        }
    </style>

    <script type="application/ld+json">
        <?php echo json_encode($schemaData, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES); ?>
    </script>
</head>
<body>
    <?php include '../ext/nav.php' ?>

    <header class="page-header">
        <div class="container">
            <h1>Disclaimer</h1>
            <p>Please read the following legal information regarding the use of Starent.</p>
        </div>
    </header>

    <div class="legal-wrapper">
        <div class="container">
            <div class="legal-card">
                <span class="last-updated">Last Updated: 07 january 2026</span>

                <div class="legal-content">
                    <p>The information provided by <strong>Starent.</strong> ("we," "us," or "our") on <?php echo $_SERVER['HTTP_HOST']; ?> (the "Site") is for general informational and entertainment purposes only. All information on the Site is provided in good faith, however, we make no representation or warranty of any kind, express or implied, regarding the accuracy, adequacy, validity, reliability, availability, or completeness of any information on the Site.</p>

                    <h2><i class="fas fa-newspaper"></i> General News Disclaimer</h2>
                    <p>Starent. is a news and entertainment aggregator and publisher. While we strive to publish accurate and timely information regarding sports, music, and global events, the nature of breaking news means that details can change rapidly. We are not liable for any errors or omissions in this information nor for the availability of this information.</p>

                    <h2><i class="fas fa-external-link-alt"></i> External Links Disclaimer</h2>
                    <p>The Site may contain (or you may be sent through the Site) links to other websites or content belonging to or originating from third parties or links to websites and features in banners or other advertising. Such external links are not investigated, monitored, or checked for accuracy, adequacy, validity, reliability, availability, or completeness by us.</p>
                    <p>We do not warrant, endorse, guarantee, or assume responsibility for the accuracy or reliability of any information offered by third-party websites linked through the site or any website or feature linked in any banner or other advertising.</p>

                    <h2><i class="fas fa-user-md"></i> Professional Advice Disclaimer</h2>
                    <p>The Site cannot and does not contain medical, legal, or financial advice. The information is provided for general informational and educational purposes only and is not a substitute for professional advice.</p>
                    <p>Accordingly, before taking any actions based upon such information, we encourage you to consult with the appropriate professionals. We do not provide any kind of medical, legal, or financial advice. The use or reliance of any information contained on the Site is solely at your own risk.</p>

                    <h2><i class="fas fa-comment-dots"></i> Views Expressed</h2>
                    <p>The Site may contain views and opinions which are those of the authors and do not necessarily reflect the official policy or position of any other author, agency, organization, employer, or company, including Starent.</p>
                    <p>Comments published by users are their sole responsibility and the users will take full responsibility, liability, and blame for any libel or litigation that results from something written in or as a direct result of something written in a comment. Starent. is not liable for any comment published by users and reserves the right to delete any comment for any reason whatsoever.</p>

                    <h2><i class="fas fa-copyright"></i> Copyright & Fair Use</h2>
                    <p>Starent. respects the intellectual property rights of others. We may use images, audio, or video under the "Fair Use" doctrine of copyright law for purposes such as criticism, comment, news reporting, teaching, scholarship, or research.</p>

                    <div class="contact-box">
                        <p>If you require any more information or have any questions about our site's disclaimer, please feel free to contact us by email at <a href="mailto:info@starent.co.za">info@starent.co.za</a>.</p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <?php include '../ext/footer.php' ?>
</body>
</html>