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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
<!DOCTYPE html>
<html lang="pt-br">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Project NEITH | Linguistic Engine Documentation</title>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=JetBrains+Mono:wght@300;500&display=swap" rel="stylesheet">
    <style>
        :root {
            --glass: rgba(255, 255, 255, 0.03);
            --glass-border: rgba(255, 255, 255, 0.1);
            --accent-gold: #ffd700;
            --accent-blue: #0071e3; /* NASA Blue */
            --deep-space: #020408;
            --text-main: #e0e6ed;
            --text-dim: #94a3b8;
            --mu-color: #ffffff;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            background-color: var(--deep-space);
            color: var(--text-main);
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* --- COSMIC BACKGROUND ENGINE --- */
        #cosmic-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: radial-gradient(circle at center, #0a1128 0%, #020408 100%);
        }

        /* --- LIQUID GLASS MU HEADER --- */
        header {
            position: fixed;
            top: 0;
            width: 100%;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 50px;
            background: var(--glass);
            backdrop-filter: blur(25px) saturate(180%);
            -webkit-backdrop-filter: blur(25px) saturate(180%);
            border-bottom: 1px solid var(--glass-border);
            z-index: 1000;
        }

        .mu-logo {
            font-size: 2rem;
            font-weight: 300;
            color: var(--mu-color);
            letter-spacing: -2px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .mu-logo span {
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.8rem;
            letter-spacing: 3px;
            color: var(--text-dim);
            text-transform: uppercase;
        }

        nav a {
            color: var(--text-dim);
            text-decoration: none;
            font-size: 0.85rem;
            margin-left: 30px;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: 0.3s;
        }

        nav a:hover { color: var(--accent-gold); }

        /* --- LAYOUT SYSTEM --- */
        .container {
            max-width: 1100px;
            margin: 120px auto 50px auto;
            padding: 0 20px;
        }

        .doc-section {
            margin-bottom: 100px;
            animation: fadeInUp 1s ease forwards;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* --- DEEPMIND STYLE TYPOGRAPHY --- */
        h1 { font-size: 3.5rem; font-weight: 600; letter-spacing: -2px; margin-bottom: 10px; }
        .subtitle { font-size: 1.2rem; color: var(--text-dim); margin-bottom: 40px; font-weight: 300; }
        h2 { font-size: 1.8rem; margin-bottom: 25px; color: var(--accent-gold); border-left: 3px solid var(--accent-gold); padding-left: 15px; }
        h3 { font-size: 1.1rem; color: var(--accent-blue); margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
        p { margin-bottom: 20px; color: var(--text-dim); font-size: 1.05rem; }

        /* --- THE TRANSLATION ENGINE (MAIN INTERFACE) --- */
        .engine-wrapper {
            background: var(--glass);
            border: 1px solid var(--glass-border);
            border-radius: 24px;
            padding: 40px;
            backdrop-filter: blur(10px);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }

        .grid-translator {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        .input-box {
            display: flex;
            flex-direction: column;
        }

        label {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 10px;
            color: var(--text-dim);
        }

        textarea {
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            padding: 20px;
            color: var(--text-main);
            font-family: 'JetBrains Mono', monospace;
            font-size: 1rem;
            min-height: 180px;
            resize: none;
            transition: 0.3s;
        }

        textarea:focus {
            outline: none;
            border-color: var(--accent-blue);
            background: rgba(0, 0, 0, 0.5);
        }

        .egyptian-input { color: var(--accent-gold); font-size: 1.4rem; }

        button {
            margin-top: 15px;
            padding: 15px;
            border-radius: 12px;
            border: none;
            background: var(--text-main);
            color: var(--deep-space);
            font-weight: 600;
            cursor: pointer;
            transition: 0.3s;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        button:hover {
            background: var(--accent-gold);
            transform: translateY(-2px);
        }

        /* --- DATA READOUTS --- */
        .readout-panel {
            margin-top: 40px;
            padding-top: 30px;
            border-top: 1px solid var(--glass-border);
        }

        .data-card {
            background: rgba(0, 0, 0, 0.2);
            padding: 20px;
            border-radius: 12px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.9rem;
        }

        .fractal-stream {
            color: var(--accent-blue);
            word-break: break-all;
            font-size: 0.75rem;
            margin-top: 10px;
        }

        /* --- NASA FOOTER --- */
        footer {
            padding: 60px 20px;
            border-top: 1px solid var(--glass-border);
            text-align: center;
            font-size: 0.8rem;
            color: var(--text-dim);
            background: rgba(0,0,0,0.4);
        }

        .status-badge {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            background: rgba(0, 255, 65, 0.1);
            color: #00ff41;
            font-size: 0.7rem;
            margin-bottom: 20px;
        }

        @media (max-width: 768px) {
            .grid-translator { grid-template-columns: 1fr; }
            h1 { font-size: 2.5rem; }
        }
    </style>
</head>
<body>

    <canvas id="cosmic-canvas"></canvas>

    <header>
        <div class="mu-logo">
            μ <span>Project Neith</span>
        </div>
        <nav>
            <a href="#abstract">Abstract</a>
            <a href="#engine">Engine</a>
            <a href="#methodology">Methodology</a>
        </nav>
    </header>

    <div class="container">
        
        <!-- SECTION: ABSTRACT -->
        <section class="doc-section" id="abstract">
            <div class="status-badge">SYSTEM STATUS: OPERATIONAL</div>
            <h1>Cross-Temporal Linguistic Engine</h1>
            <p class="subtitle">Decodificação de padrões semânticos de alta densidade via ressonância de Ditritio.</p>
            
            <div class="engine-wrapper" style="padding: 30px;">
                <h3>Abstract</h3>
                <p>Este relatório detalha o funcionamento do Motor de Tradução de Neith, um framework de inteligência linguística projetado para converter léxicos de Português contemporâneo em sequências de hieróglifos ancestrais através de um mapeamento fractal não-linear. Diferente de tradutores baseados em dicionários estáticos, o sistema opera sobre a teoria da <em>Sincronia de Semântica Sagrada</em>, permitindo a reconstrução de conceitos metafísicos perdidos.</p>
            </div>
        </section>

        <!-- SECTION: THE ENGINE -->
        <section class="doc-section" id="engine">
            <h2>01. Interface de Execução</h2>
            <div class="engine-wrapper">
                <div class="grid-translator">
                    <div class="input-box">
                        <label>Input: Português (PT)</label>
                        <textarea id="ptInput" placeholder="Insira a sequência de dados linguísticos..."></textarea>
                        <button onclick="translatePTtoEG()">Processar → 𓂀</button>
                    </div>
                    <div class="input-box">
                        <label>Output: Egípcio Ancestral (EG)</label>
                        <textarea id="egInput" class="egyptian-input" placeholder="Aguardando processamento..."></textarea>
                        <button onclick="translateEGtoPT()">Decodificar ← 𓀀</button>
                    </div>
                </div>

                <div class="readout-panel">
                    <div class="grid-translator" style="grid-template-columns: 1fr 1fr;">
                        <div>
                            <label>Nexo Semântico</label>
                            <div id="wordCard" class="data-card" style="color: var(--accent-gold); font-size: 1.2rem; min-height: 50px; display: none;"></div>
                        </div>
                        <div>
                            <label>Frequência de Ditritio</label>
                            <div id="ditritiumOutput" class="fractal-stream">...</div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- SECTION: METHODOLOGY -->
        <section class="doc-section" id="methodology">
            <h2>02. Metodologia Científica</h2>
            <h3>A Teoria do Ditritio</h3>
            <p>A tradução não é meramente ortográfica, mas sim uma quantização de sinais. O motor utiliza o parâmetro <strong>i=155, n=255</strong> para estabilizar a flutuação entre o significado fonético e o símbolo pictográfico. Cada caractere gerado passa por uma validação de densidade fractal, garantindo que o símbolo hieroglífico corresponda à frequência vibracional da palavra original.</p>
            
            <h3>Arquitetura de Dados</h3>
            <div class="data-card">
                [DATA_STRUCTURE_LOG]<br>
                > Semantic_Map: Loaded (Hieroglyphic_V5.0)<br>
                > Quantum_Resonance: Stable<br>
                > Neural_Morphology: Engaged<br>
                > Successor: Sato Holdings Corp
            </div>
        </section>

    </div>

    <footer>
        <div style="font-weight: 600; margin-bottom: 10px;">TAKASYSTEM&trade; LLC | MISSION CONTROL</div>
        <div>NASA&trade; DOCUMENTATION PROTOCOL NNH25ZDA001N-FAIMM</div>
        <div style="margin-top: 20px; opacity: 0.5;">&copy; 2026 Project Neith. All Rights Reserved.</div>
    </footer>

    <script>
        /* --- COSMIC BACKGROUND ENGINE --- */
        const canvas = document.getElementById('cosmic-canvas');
        const ctx = canvas.getContext('2d');
        let stars = [];

        function initStars() {
            canvas.width = window.innerWidth;
            canvas.height = window.innerHeight;
            stars = [];
            for (let i = 0; i < 400; i++) {
                stars.push({
                    x: Math.random() * canvas.width,
                    y: Math.random() * canvas.height,
                    size: Math.random() * 1.5,
                    speed: Math.random() * 0.05
                });
            }
        }

        function animateStars() {
            ctx.clearRect(0, 0, canvas.width, canvas.height);
            ctx.fillStyle = 'white';
            stars.forEach(star => {
                ctx.beginPath();
                ctx.arc(star.x, star.y, star.size, 0, Math.PI * 2);
                ctx.fill();
                star.y -= star.speed;
                if (star.y < 0) star.y = canvas.height;
            });
            requestAnimationFrame(animateStars);
        }

        window.addEventListener('resize', initStars);
        initStars();
        animateStars();

        /* --- TRANSLATION LOGIC (ENHANCED) --- */
        const hieroglyphMap = {
            'A': '𓄿', 'B': '𓃀', 'C': '𓋴', 'D': '𓂧', 'E': '𓇋',
            'F': '𓆑', 'G': '𓎼', 'H': '𓉔', 'I': '𓇯', 'J': '𓆓',
            'K': '𓎡', 'L': '𓃭', 'M': '𓅓', 'N': '𓈖', 'O': '𓍑',
            'P': '𓊖', 'Q': '𓈎', 'R': '𓂋', 'S': '𓋴', 'T': '𓏏',
            'U': '𓏲', 'V': '𓅱', 'W': '𓅱', 'X': '𓎡', 'Y': '𓇯',
            'Z': '𓊃', ' ': ' '
        };

        const semanticDictionary = {
            'AMON': '𓇋𓏠𓈖', 'MORTE': '𓅓𓆣𓂋𓏏', 'CRIADOR': '𓅓𓆣', 'SOL': '𓇳',
            'REI': '𓇓', 'VIDA': '𓋹', 'NOME': '𓂋𓈖', 'DE': '𓈖',
            'ISIS': '𓊨𓏏', 'ANUBIS': '𓇋𓈖𓊪𓅱', 'HORUS': '𓅃', 'RA': '𓇳'
        };

        const reverseSemantic = {};
        for (let key in semanticDictionary) reverseSemantic[semanticDictionary[key]] = key;

        const reverseMap = {
            '𓏠': 'M', '𓆣': 'O', '𓇋': 'E', '𓈖': 'N', '𓅓': 'M', '𓂋': 'R', '𓏏': 'T', '𓇯': 'I', '𓆓': 'J',
            '𓊨𓏏': 'ISIS', '𓇋𓈖𓊪𓅱': 'ANUBIS', '𓅃': 'HORUS', '𓇳': 'RA'
        };

        for (let char in hieroglyphMap) {
            const h = hieroglyphMap[char];
            if (!reverseMap[h]) reverseMap[h] = char;
        }

        function translatePTtoEG() {
            let input = document.getElementById('ptInput').value.toUpperCase();
            let processed = input;
            for (let word in semanticDictionary) {
                const regex = new RegExp("\\b" + word + "\\b", "g");
                processed = processed.replace(regex, semanticDictionary[word]);
            }
            let finalHiero = "";
            for (let char of processed) finalHiero += hieroglyphMap[char] || char;
            document.getElementById('egInput').value = finalHiero;
            
            const wordCard = document.getElementById('wordCard');
            wordCard.innerHTML = finalHiero;
            wordCard.style.display = "block";
            
            document.getElementById('ditritiumOutput').textContent = generateDitritiumFractal(input);
        }

        function translateEGtoPT() {
            let input = document.getElementById('egInput').value;
            let processed = input;
            for (let hiero in reverseSemantic) processed = processed.split(hiero).join(reverseSemantic[hiero] + " ");
            const symbols = Array.from(processed);
            let finalPT = "";
            for (let s of symbols) finalPT += reverseMap[s] || s;
            finalPT = finalPT.replace(/J/g, 'I').replace(/\s+/g, ' ').trim();
            document.getElementById('ptInput').value = finalPT;
            
            const wordCard = document.getElementById('wordCard');
            wordCard.innerHTML = finalPT;
            wordCard.style.display = "block";
            
            document.getElementById('ditritiumOutput').textContent = generateDitritiumFractal(input);
        }

        function generateDitritiumFractal(input) {
            const i = 155, n = 255;
            let seed = 0;
            for (let char of input) seed += char.charCodeAt(0);
            let length = 150;
            let fractal = "", randomValue = seed;
            for (let k = 0; k < length; k++) {
                randomValue = (randomValue * 1103515245 + 12345) & 0x7fffffff;
                let qEffect = Math.sin(randomValue / 1000) * (i / (i + n));
                fractal += Math.abs(qEffect) > 0.2 ? "◈" : "·";
            }
            return fractal;
        }
    </script>
</body>
</html>