<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Page Not Found - <%= subdomain %></title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
    <style>
        .site-not-found-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 100px 0;
            min-height: 100vh;
            display: flex;
            align-items: center;
        }
        .site-not-found-icon {
            font-size: 5rem;
            color: #6c757d;
            margin-bottom: 2rem;
            opacity: 0.7;
        }
        .site-info {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .subdomain-badge {
            background: #007bff;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            font-family: monospace;
            font-size: 1.1rem;
        }
        .lang-switch {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
        }
        .rental-info {
            background: #e7f3ff;
            border: 1px solid #b8daff;
            border-radius: 10px;
            padding: 1rem;
            margin-top: 2rem;
        }
    </style>
</head>
<body>
    <!-- Language Switcher -->
    <div class="lang-switch">
        <div class="dropdown">
            <button class="btn btn-outline-primary dropdown-toggle" type="button" data-bs-toggle="dropdown">
                <i class="fas fa-globe"></i> Language
            </button>
            <ul class="dropdown-menu">
                <li><a class="dropdown-item" href="?lang=en">English</a></li>
                <li><a class="dropdown-item" href="?lang=es">Español</a></li>
                <li><a class="dropdown-item" href="?lang=fr">Français</a></li>
                <li><a class="dropdown-item" href="?lang=de">Deutsch</a></li>
                <li><a class="dropdown-item" href="?lang=ru">Русский</a></li>
            </ul>
        </div>
    </div>

    <section class="site-not-found-section">
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-lg-8">
                    <div class="site-info text-center">
                        <i class="fas fa-file-alt site-not-found-icon"></i>
                        <h1 class="display-6 mb-4">Page Not Found</h1>
                        <p class="lead mb-4">
                            The page you are looking for could not be found in
                            <span class="subdomain-badge"><%= subdomain %></span>
                        </p>

                        <div class="rental-info">
                            <h6><i class="fas fa-info-circle me-2"></i>Site Information</h6>
                            <p class="mb-2">
                                <strong>Site:</strong> <%= subdomain %>.yoursite.com
                            </p>
                            <p class="mb-0">
                                This site is currently rented and active. The requested page may not exist in the uploaded files.
                            </p>
                        </div>

                        <div class="mt-4">
                            <p class="text-muted mb-4">
                                You can try the following options:
                            </p>
                            <div class="d-flex justify-content-center gap-3 flex-wrap">
                                <a href="/" class="btn btn-primary">
                                    <i class="fas fa-home me-2"></i>Main Site
                                </a>
                                <a href="/plans" class="btn btn-outline-primary">
                                    <i class="fas fa-list me-2"></i>View Plans
                                </a>
                                <button onclick="history.back()" class="btn btn-outline-secondary">
                                    <i class="fas fa-arrow-left me-2"></i>Go Back
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
