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32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
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
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>IQKiller - Modern Apple Glass UI Preview</title>
    <style>
        .glass-container {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 2rem;
            margin: 1rem 0;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }
        
        .hero-section {
            background: linear-gradient(135deg, 
                rgba(102, 126, 234, 0.9) 0%, 
                rgba(118, 75, 162, 0.9) 100%);
            backdrop-filter: blur(20px);
            border-radius: 24px;
            padding: 3rem 2rem;
            text-align: center;
            color: white;
            margin-bottom: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .progress-container {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 1.5rem;
            margin: 1rem 0;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .step-indicator {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.75rem 1rem;
            margin: 0.5rem 0;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 12px;
            transition: all 0.3s ease;
        }
        
        .step-active {
            background: rgba(102, 126, 234, 0.2);
            border: 1px solid rgba(102, 126, 234, 0.3);
            box-shadow: 0 4px 16px rgba(102, 126, 234, 0.1);
        }
        
        .step-completed {
            background: rgba(34, 197, 94, 0.15);
            border: 1px solid rgba(34, 197, 94, 0.3);
        }
        
        .news-ticker {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(8px);
            border-radius: 12px;
            padding: 1rem;
            margin: 1rem 0;
            border: 1px solid rgba(255, 255, 255, 0.08);
            overflow: hidden;
        }
        
        .news-text {
            animation: scroll-left 15s linear infinite;
            white-space: nowrap;
            color: #e2e8f0;
            font-size: 0.95rem;
        }
        
        @keyframes scroll-left {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }
        
        .form-glass {
            background: rgba(255, 255, 255, 0.04);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 1.5rem;
        }
        
        .pulse-dot {
            display: inline-block;
            width: 8px;
            height: 8px;
            background: #3b82f6;
            border-radius: 50%;
            margin-right: 0.5rem;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.1); }
        }
        
        .gradient-border {
            background: linear-gradient(45deg, #667eea, #764ba2);
            padding: 2px;
            border-radius: 18px;
        }
        
        .inner-glass {
            background: rgba(255, 255, 255, 0.06);
            backdrop-filter: blur(20px);
            border-radius: 16px;
            padding: 2rem;
        }
        
        body {
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            min-height: 100vh;
            margin: 0;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            color: #e2e8f0;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .tab-buttons {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .tab-button {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 1rem 1.5rem;
            color: #e2e8f0;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .tab-button.active {
            background: rgba(102, 126, 234, 0.2);
            border-color: rgba(102, 126, 234, 0.3);
        }
        
        .input-group {
            margin-bottom: 1.5rem;
        }
        
        .input-label {
            display: block;
            margin-bottom: 0.5rem;
            color: #94a3b8;
            font-weight: 500;
        }
        
        .glass-input {
            width: 100%;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 1rem;
            color: #e2e8f0;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .glass-input:focus {
            outline: none;
            border-color: rgba(102, 126, 234, 0.5);
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }
        
        .glass-button {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            border-radius: 12px;
            padding: 1rem 2rem;
            color: white;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
        }
        
        .glass-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- Hero Section -->
        <div class="hero-section">
            <h1 style="font-size: 3rem; margin-bottom: 1rem; font-weight: 700; background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;">
                ⚑ IQKiller
            </h1>
            <p style="font-size: 1.4rem; opacity: 0.95; margin-bottom: 0.5rem;">AI-Powered Interview Guide Generator</p>
            <p style="font-size: 1.1rem; opacity: 0.8;">Resume + Job β†’ Personalized Interview Strategy</p>
            <div class="news-ticker">
                <div class="news-text">πŸš€ AI and Machine Learning roles see 45% growth this quarter</div>
            </div>
        </div>

        <!-- Tab Navigation -->
        <div class="tab-buttons">
            <div class="tab-button active" onclick="showTab('guide')">🎯 Interview Guide Generator</div>
            <div class="tab-button" onclick="showTab('brief')">⚑ Quick Job Brief</div>
        </div>

        <!-- Interview Guide Tab -->
        <div id="guide" class="tab-content active">
            <div class="glass-container">
                <h3 style="color: #e2e8f0; margin-top: 0;">Get Your Personalized Interview Strategy</h3>
                <p style="color: #94a3b8;">Upload your resume and target job to receive advanced gap analysis, tailored questions, and strategic advice powered by AI.</p>
            </div>
            
            <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;">
                <div class="form-glass">
                    <h4 style="color: #e2e8f0; margin-top: 0;">πŸ“‹ Your Resume</h4>
                    <div class="input-group">
                        <label class="input-label">πŸ“ Paste your resume text</label>
                        <textarea class="glass-input" rows="8" placeholder="Copy and paste your complete resume here..."></textarea>
                    </div>
                    <div class="input-group">
                        <label class="input-label">πŸ“Ž Or upload resume file</label>
                        <input type="file" class="glass-input" accept=".pdf,.txt,.docx">
                    </div>
                    
                    <h4 style="color: #e2e8f0; margin-top: 2rem;">🎯 Target Job</h4>
                    <div class="input-group">
                        <label class="input-label">πŸ”— Job posting URL (optional)</label>
                        <input type="url" class="glass-input" placeholder="https://company.com/jobs/role-id">
                    </div>
                    <div class="input-group">
                        <label class="input-label">πŸ“ Or paste job description</label>
                        <textarea class="glass-input" rows="6" placeholder="Copy the complete job posting here..."></textarea>
                    </div>
                    
                    <button class="glass-button" onclick="showProgress()">πŸš€ Generate Interview Guide</button>
                </div>
                
                <div id="output">
                    <div class="glass-container">
                        <h3 style="color: #e2e8f0; margin-top: 0;">✨ Your Results Will Appear Here</h3>
                        <p style="color: #94a3b8;">Click "Generate Interview Guide" to start the AI analysis process.</p>
                    </div>
                </div>
            </div>
        </div>

        <!-- Quick Brief Tab -->
        <div id="brief" class="tab-content">
            <div class="glass-container">
                <h3 style="color: #e2e8f0; margin-top: 0;">Fast Job Analysis</h3>
                <p style="color: #94a3b8;">Get instant job insights, salary info, and key requirements in seconds.</p>
            </div>
            
            <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;">
                <div class="form-glass">
                    <div class="input-group">
                        <label class="input-label">πŸ”— Job URL (optional)</label>
                        <input type="url" class="glass-input" placeholder="https://company.com/jobs/role-id">
                    </div>
                    <div class="input-group">
                        <label class="input-label">πŸ“ Or paste job description text</label>
                        <textarea class="glass-input" rows="8" placeholder="Paste the complete job posting here..."></textarea>
                    </div>
                    
                    <button class="glass-button">⚑ Generate Brief</button>
                </div>
                
                <div>
                    <div class="glass-container">
                        <h3 style="color: #e2e8f0; margin-top: 0;">πŸ“Š Quick Analysis Results</h3>
                        <p style="color: #94a3b8;">Fast job analysis results will appear here.</p>
                    </div>
                </div>
            </div>
        </div>

        <!-- Progress Display (Hidden by default) -->
        <div id="progress" style="display: none;">
            <div class="progress-container">
                <div style="text-align: center; margin-bottom: 1rem;">
                    <h3 style="color: #e2e8f0; margin: 0;">Processing Your Interview Guide</h3>
                    <p style="color: #94a3b8; margin: 0.5rem 0;">Step 3 of 6</p>
                </div>
                <div style="background: rgba(255,255,255,0.1); height: 4px; border-radius: 2px; margin: 1rem 0;">
                    <div style="background: linear-gradient(90deg, #667eea, #764ba2); height: 100%; width: 50%; border-radius: 2px; transition: width 0.5s ease;"></div>
                </div>
                
                <div class="step-indicator step-completed">
                    βœ… <span style="color: #e2e8f0;">πŸ” Processing Job Description</span>
                </div>
                <div class="step-indicator step-completed">
                    βœ… <span style="color: #e2e8f0;">🎯 Analyzing Requirements</span>
                </div>
                <div class="step-indicator step-active">
                    <span class="pulse-dot"></span> <span style="color: #e2e8f0;">πŸ“‹ Parsing Resume</span>
                </div>
                <div class="step-indicator">
                    ⏳ <span style="color: #e2e8f0;">βš–οΈ Gap Analysis</span>
                </div>
                <div class="step-indicator">
                    ⏳ <span style="color: #e2e8f0;">✨ Generating Guide</span>
                </div>
                <div class="step-indicator">
                    ⏳ <span style="color: #e2e8f0;">🎨 Finalizing Results</span>
                </div>
            </div>
            
            <div class="news-ticker">
                <div class="news-text">πŸ’Ό Remote work opportunities increased 38% across tech companies</div>
            </div>
        </div>

        <!-- Footer -->
        <div class="glass-container" style="text-align: center; margin-top: 2rem;">
            <p style="color: #94a3b8;">
                πŸš€ Powered by GPT-4o-mini β€’ 🎯 Advanced Skills Matching β€’ πŸ“Š Real-time Gap Analysis
            </p>
            <div class="news-ticker">
                <div class="news-text">πŸ“ˆ Data Science positions show highest salary growth at 12% YoY</div>
            </div>
        </div>
    </div>

    <script>
        function showTab(tabName) {
            // Hide all tab contents
            document.querySelectorAll('.tab-content').forEach(tab => {
                tab.classList.remove('active');
            });
            
            // Remove active class from all buttons
            document.querySelectorAll('.tab-button').forEach(btn => {
                btn.classList.remove('active');
            });
            
            // Show selected tab
            document.getElementById(tabName).classList.add('active');
            
            // Activate selected button
            event.target.classList.add('active');
        }
        
        function showProgress() {
            document.getElementById('output').innerHTML = document.getElementById('progress').innerHTML;
            
            // Simulate progress updates
            let step = 3;
            const interval = setInterval(() => {
                step++;
                if (step > 6) {
                    clearInterval(interval);
                    showResults();
                    return;
                }
                updateProgress(step);
            }, 2000);
        }
        
        function updateProgress(currentStep) {
            // Update progress bar and step indicators
            const progressHtml = `
                <div class="progress-container">
                    <div style="text-align: center; margin-bottom: 1rem;">
                        <h3 style="color: #e2e8f0; margin: 0;">Processing Your Interview Guide</h3>
                        <p style="color: #94a3b8; margin: 0.5rem 0;">Step ${currentStep} of 6</p>
                    </div>
                    <div style="background: rgba(255,255,255,0.1); height: 4px; border-radius: 2px; margin: 1rem 0;">
                        <div style="background: linear-gradient(90deg, #667eea, #764ba2); height: 100%; width: ${currentStep/6 * 100}%; border-radius: 2px; transition: width 0.5s ease;"></div>
                    </div>
                    ${generateStepIndicators(currentStep)}
                </div>
                <div class="news-ticker">
                    <div class="news-text">${getRandomNews()}</div>
                </div>
            `;
            document.getElementById('output').innerHTML = progressHtml;
        }
        
        function generateStepIndicators(currentStep) {
            const steps = [
                "πŸ” Processing Job Description",
                "🎯 Analyzing Requirements", 
                "πŸ“‹ Parsing Resume",
                "βš–οΈ Gap Analysis",
                "✨ Generating Guide",
                "🎨 Finalizing Results"
            ];
            
            return steps.map((step, i) => {
                let statusClass = '';
                let icon = '⏳';
                
                if (i < currentStep - 1) {
                    statusClass = 'step-completed';
                    icon = 'βœ…';
                } else if (i === currentStep - 1) {
                    statusClass = 'step-active';
                    icon = '<span class="pulse-dot"></span>';
                }
                
                return `<div class="step-indicator ${statusClass}">
                    ${icon} <span style="color: #e2e8f0;">${step}</span>
                </div>`;
            }).join('');
        }
        
        function getRandomNews() {
            const news = [
                "πŸ’Ό Remote work opportunities increased 38% across tech companies",
                "πŸ“ˆ Data Science positions show highest salary growth at 12% YoY",
                "🌟 Startup hiring surge: 67% increase in early-stage opportunities",
                "🎯 Skills gap widening: Python and cloud expertise in high demand",
                "πŸ’‘ AI-first companies hiring 3x faster than traditional firms"
            ];
            return news[Math.floor(Math.random() * news.length)];
        }
        
        function showResults() {
            const resultsHtml = `
                <div class="gradient-border">
                    <div class="inner-glass">
                        <div style="text-align: center; margin-bottom: 2rem;">
                            <h2 style="color: #e2e8f0; margin: 0;">βœ… Interview Guide Complete</h2>
                            <p style="color: #94a3b8;">Match Score: <span style="color: #10b981; font-weight: bold;">89.2%</span></p>
                        </div>
                        <div class="glass-container">
                            <h3 style="color: #e2e8f0;">🎯 Personalized Interview Guide: Data Scientist at Spotify</h3>
                            <p style="color: #94a3b8;">Your background shows an excellent 89.2% match with this role...</p>
                            <div style="margin: 1rem 0;">
                                <strong style="color: #10b981;">βœ… Your Strengths:</strong> Python, SQL, Machine Learning, Data Analysis
                            </div>
                            <div style="margin: 1rem 0;">
                                <strong style="color: #3b82f6;">πŸ“Š Match Analysis:</strong> 12 strong skill matches identified
                            </div>
                            <div style="margin: 1rem 0;">
                                <strong style="color: #8b5cf6;">🎯 Interview Strategy:</strong> Focus on your ML project experience and quantitative impact
                            </div>
                        </div>
                    </div>
                </div>
            `;
            document.getElementById('output').innerHTML = resultsHtml;
        }
    </script>
</body>
</html>