File size: 59,984 Bytes
f343f06
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>SatFetch // Cross-Modal Satellite Image Retrieval</title>
    <!-- Fonts -->
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
    <!-- Leaflet GIS Map CSS (Local) -->
    <link rel="stylesheet" href="/app_assets/leaflet.css">
    <!-- FontAwesome Icons -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <!-- Custom CSS (Versioned to bust cache) -->
    <link rel="stylesheet" href="/style.css?v=6.0">
</head>
<body>

    <!-- STATE 1: STATE-OF-THE-ART LANDING PAGE -->
    <div id="landing-page" class="view-state active">
        <!-- SVG Orbit Animation Background -->
        <div class="orbit-bg">
            <svg viewBox="0 0 800 800" xmlns="http://www.w3.org/2000/svg">
                <circle cx="400" cy="400" r="380" class="orbit-ring orbit-outer" />
                <circle cx="400" cy="400" r="280" class="orbit-ring orbit-mid" />
                <circle cx="400" cy="400" r="180" class="orbit-ring orbit-inner" />
                
                <!-- Earth Center -->
                <circle cx="400" cy="400" r="80" class="earth-core" />
                <g class="earth-continents">
                    <path d="M360 380 q 20 -20 40 0 q 10 30 -20 40 z" fill="#e2e8f0" opacity="0.3" />
                    <path d="M410 370 q 15 -10 30 10 q 5 20 -15 20 z" fill="#e2e8f0" opacity="0.3" />
                </g>

                <!-- Satellite A -->
                <g class="satellite sat-a">
                    <rect x="0" y="0" width="16" height="10" rx="2" fill="#3b82f6" />
                    <line x1="-8" y1="5" x2="24" y2="5" stroke="#3b82f6" stroke-width="2" />
                </g>
                <!-- Satellite B -->
                <g class="satellite sat-b">
                    <rect x="0" y="0" width="14" height="8" rx="2" fill="#10b981" />
                    <line x1="-6" y1="4" x2="20" y2="4" stroke="#10b981" stroke-width="2" />
                </g>
            </svg>
        </div>

        <div class="landing-content">
            <div class="landing-badge">ISRO BHARATIYA ANTARIKSH HACKATHON 2026 &bull; TEAM 4MISTAKES</div>
            <h1 class="landing-title">SatFetch</h1>
            <p class="landing-subtitle">Advanced Multi-Sensor Satellite Imagery Alignment & Cross-Modal Retrieval Engine by <strong>Team 4MISTAKES</strong></p>
            
            <div class="feature-grid">
                <div class="feature-card">
                    <div class="feat-icon"><i class="fa-solid fa-clone"></i></div>
                    <h3>Same-Modal Search</h3>
                    <p>Retrieve semantically similar regions from matching sensor modalities (Optical↔Optical, SAR↔SAR, MS↔MS) with high accuracy.</p>
                </div>
                <div class="feature-card">
                    <div class="feat-icon"><i class="fa-solid fa-arrows-split-up-and-left"></i></div>
                    <h3>Cross-Modal Search</h3>
                    <p>Bridge the sensor domain gap using zero-shot CLIP ViT-L/14, matching visually dissimilar modalities like Optical-to-SAR.</p>
                </div>
                <div class="feature-card">
                    <div class="feat-icon"><i class="fa-solid fa-circle-nodes"></i></div>
                    <h3>Modality Centering</h3>
                    <p>Unsupervised Zero-Shot Modality Centering (ZS-MC) vector calibration narrows the domain drift by up to 50% relative gain.</p>
                </div>
                <div class="feature-card">
                    <div class="feat-icon"><i class="fa-solid fa-map-location-dot"></i></div>
                    <h3>Spatial-Spectral Hybrid</h3>
                    <p>Combine high-dimensional embeddings search with H3 Hexagonal spatial filtering to find geographically proximate matches.</p>
                </div>
            </div>

            <button id="launch-btn" class="btn btn-primary btn-lg">
                <span>LAUNCH MISSION DASHBOARD</span> <i class="fa-solid fa-arrow-right"></i>
            </button>
        </div>
    </div>

    <!-- STATE 2: MISSION CONTROL DASHBOARD -->
    <div id="terminal-page" class="view-state">
        <!-- Navigation Header -->
        <header class="main-header">
            <div class="header-logo">
                <div class="isro-logo-placeholder"><i class="fa-solid fa-satellite-dish"></i></div>
                <div class="header-text">
                    <h2>SatFetch // MISSION CONTROL</h2>
                    <p>ISRO Bharatiya Antariksh Hackathon 2026 &bull; Problem Statement 11</p>
                </div>
            </div>
            
            <nav class="tab-nav">
                <button class="nav-tab active" data-tab="search-pane"><i class="fa-solid fa-magnifying-glass"></i> Telemetry & Search</button>
                <button class="nav-tab" data-tab="benchmarks-pane"><i class="fa-solid fa-chart-simple"></i> System Benchmarks</button>
                <button class="nav-tab" data-tab="team-pane"><i class="fa-solid fa-users"></i> Flight Crew (4MISTAKES)</button>
            </nav>
        </header>

        <!-- Real-Time Satellite Intelligence & Upcoming Capabilities Ticker -->
        <div class="rotating-banner-bar">
            <div class="banner-label"><i class="fa-solid fa-satellite fa-spin"></i> MISSION BULLETINS:</div>
            <div class="banner-messages-wrapper">
                <span class="banner-msg active">[UPCOMING EXTENSION] SatFetch v2.0 Panchromatic (PAN) sub-meter high-res visual alignment pipeline coming soon...</span>
                <span class="banner-msg">[ROADMAP LAUNCH] SatFetch Hyperspectral (Hysi) PRISMA/Hyperion 200+ bands out-of-core spectral indexer under validation...</span>
                <span class="banner-msg">[SYSTEM UPDATE] Zero-Shot Modality Centering (ZS-MC) yielding a 45% relative accuracy gain on multi-sensor queries...</span>
            </div>
        </div>

        <!-- Main Body -->
        <main class="dashboard-body">
            
            <!-- TAB 1: SEARCH & MAP PANE -->
            <div id="search-pane" class="tab-content active">
                <div class="pane-layout">
                    <!-- Left Sidebar Panels -->
                    <aside class="sidebar">
                        
                        <!-- Panel 1: Query Input -->
                        <div class="card panel-card">
                            <div class="panel-header">
                                <span class="panel-num">01</span>
                                <h3>Query Configuration</h3>
                            </div>
                            
                            <!-- Toggle between Image & Text Search -->
                            <div class="search-mode-selector">
                                <button class="mode-btn active" id="mode-image-btn"><i class="fa-solid fa-image"></i> Image Query</button>
                                <button class="mode-btn" id="mode-text-btn"><i class="fa-solid fa-font"></i> Text Query</button>
                            </div>

                            <!-- Image Upload Box -->
                            <div class="upload-container" id="image-upload-area">
                                <div class="drop-zone" id="drop-zone">
                                    <i class="fa-solid fa-cloud-arrow-up drop-icon"></i>
                                    <p class="drop-text">Drag & drop satellite TIFF/JPEG or click to browse</p>
                                    <span class="drop-subtext">Supports large files up to 100MB+ (auto-downsampled)</span>
                                    <input type="file" id="file-input" accept=".tif,.tiff,.png,.jpg,.jpeg" style="display:none;">
                                </div>
                                <div class="upload-preview" id="upload-preview" style="display:none;">
                                    <img src="" alt="Query Preview" id="preview-img">
                                    <button class="remove-preview-btn" id="clear-upload"><i class="fa-solid fa-xmark"></i></button>
                                    <div class="preview-meta">
                                        <span id="preview-filename">image.tif</span>
                                        <span id="preview-size">62.4 MB</span>
                                    </div>
                                </div>
                            </div>

                            <!-- Quick Test Samples Sandbox -->
                            <div class="sandbox-samples-container" style="margin-top: 15px; padding: 12px; background: #f8f9fa; border-radius: 8px; border: 1px dashed #dee2e6;">
                                <span style="font-size: 0.8rem; font-weight: bold; color: #495057; text-transform: uppercase; letter-spacing: 0.5px; display: block; margin-bottom: 8px;"><i class="fa-solid fa-flask"></i> Quick Samples Sandbox</span>
                                <div class="samples-grid" style="display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;">
                                    <button class="sample-query-tile" data-type="optical" data-path="/app_assets/test_queries/sample_optical_forest.png" data-name="sample_optical_forest.png" style="background: white; border: 1px solid #ced4da; border-radius: 4px; padding: 6px; font-size: 0.75rem; cursor: pointer; text-align: left; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: border-color 0.2s;">
                                        <img src="/app_assets/test_queries/sample_optical_forest.png" style="width: 100%; height: 50px; object-fit: cover; border-radius: 2px;" alt="Optical Forest">
                                        <span style="font-weight: 500; font-size: 0.65rem;">Optical Forest</span>
                                    </button>
                                    <button class="sample-query-tile" data-type="sar" data-path="/app_assets/test_queries/sample_sar_sealake.png" data-name="sample_sar_sealake.png" style="background: white; border: 1px solid #ced4da; border-radius: 4px; padding: 6px; font-size: 0.75rem; cursor: pointer; text-align: left; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: border-color 0.2s;">
                                        <img src="/app_assets/test_queries/sample_sar_sealake.png" style="width: 100%; height: 50px; object-fit: cover; border-radius: 2px;" alt="SAR SeaLake">
                                        <span style="font-weight: 500; font-size: 0.65rem;">SAR SeaLake</span>
                                    </button>
                                    <button class="sample-query-tile" data-type="multispectral" data-path="/app_assets/test_queries/sample_multispectral_river.png" data-name="sample_multispectral_river.png" style="background: white; border: 1px solid #ced4da; border-radius: 4px; padding: 6px; font-size: 0.75rem; cursor: pointer; text-align: left; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: border-color 0.2s;">
                                        <img src="/app_assets/test_queries/sample_multispectral_river.png" style="width: 100%; height: 50px; object-fit: cover; border-radius: 2px;" alt="MS River">
                                        <span style="font-weight: 500; font-size: 0.65rem;">MS River (.png)</span>
                                    </button>
                                </div>
                                <div style="margin-top: 8px;">
                                    <button class="sample-query-tile" data-type="multispectral" data-path="/app_assets/test_queries/sample_river.tif" data-name="sample_river.tif" style="background: #e2e8f0; border: 1px solid #cbd5e1; border-radius: 4px; padding: 8px 12px; font-size: 0.75rem; cursor: pointer; display: flex; align-items: center; gap: 6px; width: 100%; justify-content: center; transition: background 0.2s;">
                                        <i class="fa-solid fa-file-invoice"></i> <strong>Load Sentinel-2 Multi-Spectral (.tif)</strong>
                                    </button>
                                </div>
                            </div>

                            <!-- Text Input Box (hidden by default) -->
                            <div class="text-query-container" id="text-query-area" style="display:none;">
                                <label for="text-query-input">Search Description</label>
                                <textarea id="text-query-input" placeholder="Enter keywords e.g. 'industrial buildings near a river', 'dense forest in SAR'..."></textarea>
                            </div>
                        </div>

                        <!-- Panel 2: Pipeline Settings -->
                        <div class="card panel-card">
                            <div class="panel-header">
                                <span class="panel-num">02</span>
                                <h3>Pipeline & Levels</h3>
                            </div>
                            
                            <div class="input-group">
                                <label for="query-modality">Source Modality</label>
                                <select id="query-modality">
                                    <option value="optical">Optical (RGB &bull; 3ch)</option>
                                    <option value="sar">SAR (Sentinel-1 &bull; 2ch)</option>
                                    <option value="multispectral">Multispectral (Sentinel-2 &bull; 13ch)</option>
                                </select>
                            </div>

                            <div class="input-group">
                                <label for="retrieval-level">Retrieval Pipeline Level</label>
                                <select id="retrieval-level">
                                    <option value="level1">Level 1: Same-Modal (Baseline CLIP)</option>
                                    <option value="level2">Level 2: Cross-Modal (Baseline CLIP)</option>
                                    <option value="level3" selected>Level 3: Domain-Adapted Cross-Modal (CLIP + SAR Adapter)</option>
                                    <option value="level4">Level 4: Hybrid Spatial-Spectral (CLIP + H3 Index)</option>
                                </select>
                            </div>

                            <!-- Spatial Controls (Shown conditionally, but loaded) -->
                            <div id="spatial-options-group">
                                <div class="coordinate-inputs">
                                    <div class="coord-field">
                                        <label for="lat-input">Latitude</label>
                                        <input type="number" id="lat-input" value="20.5937" step="0.0001">
                                    </div>
                                    <div class="coord-field">
                                        <label for="lon-input">Longitude</label>
                                        <input type="number" id="lon-input" value="78.9629" step="0.0001">
                                    </div>
                                </div>
                                <div class="input-group radius-slider-group">
                                    <div class="slider-label-val">
                                        <label for="radius-input">Search Radius (km)</label>
                                        <span id="radius-val">50 km</span>
                                    </div>
                                    <input type="range" id="radius-input" min="10" max="150" value="50">
                                </div>
                            </div>

                            <div class="input-group">
                                <div class="slider-label-val">
                                    <label for="k-input">Number of Results (K)</label>
                                    <span id="k-val">5</span>
                                </div>
                                <input type="range" id="k-input" min="1" max="10" value="5">
                            </div>

                            <button id="search-btn" class="btn btn-primary btn-block"><i class="fa-solid fa-circle-play"></i> RUN ALIGNMENT & SEARCH</button>
                        </div>
                    </aside>

                    <!-- Center & Right Panel -->
                    <div class="main-content">

                        <!-- Bottom Pane: Results Gallery -->
                        <div class="card results-card">
                            <div class="results-header">
                                <h3><i class="fa-solid fa-list-check"></i> Semantically Retrieved Imagery</h3>
                                <div id="timing-feed" class="timing-feed">
                                    <i class="fa-solid fa-bolt"></i> System idle
                                </div>
                            </div>
                            
                            <!-- Search Empty/Placeholder State -->
                            <div id="results-empty" class="results-empty">
                                <i class="fa-solid fa-satellite results-empty-icon"></i>
                                <p>Upload an image or enter a text query to trigger cross-modal alignment.</p>
                            </div>

                            <!-- Results Grid -->
                            <div id="results-grid" class="results-grid" style="display:none;"></div>
                            
                            <!-- Results Table -->
                            <div id="results-table-container" class="results-table-container" style="display:none;">
                                <table class="results-table">
                                    <thead>
                                        <tr>
                                            <th>Rank</th>
                                            <th>Thumbnail</th>
                                            <th>Class</th>
                                            <th>Modality</th>
                                            <th>H3 Cell ID</th>
                                            <th>Coordinates</th>
                                            <th>Distance (km)</th>
                                            <th>Similarity Score</th>
                                        </tr>
                                    </thead>
                                    <tbody id="results-table-body"></tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- TAB 2: SYSTEM BENCHMARKS -->
            <div id="benchmarks-pane" class="tab-content" style="padding: 1.5rem;">
                <div class="card benchmarks-card" style="padding: 24px; margin-bottom: 24px;">
                    <div class="card-header" style="border-bottom: 1px solid var(--border-color); padding-bottom: 15px; margin-bottom: 20px;">
                        <h2 style="font-family: var(--font-heading); font-size: 1.35rem; font-weight: 600; margin: 0; color: var(--text-primary);"><i class="fa-solid fa-chart-line"></i> SatFetch Performance Benchmarks</h2>
                        <p style="margin: 6px 0 0 0; font-size: 0.825rem; color: var(--text-secondary);">Quantitative evaluation on the EuroSAT cross-modal validation subset (3,000 paired image channels)</p>
                    </div>
                    
                    <!-- Row 1: Charts -->
                    <div class="benchmarks-grid" style="display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 24px;">
                        <div class="chart-container" style="background: #ffffff; border: 1px solid var(--border-color); border-radius: 6px; padding: 16px; height: 320px;">
                            <h3 style="font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; margin: 0 0 12px 0;">Same-Modal vs Cross-Modal Accuracy (Recall@5)</h3>
                            <div style="height: calc(100% - 30px);"><canvas id="recall-chart"></canvas></div>
                        </div>
                        <div class="chart-container" style="background: #ffffff; border: 1px solid var(--border-color); border-radius: 6px; padding: 16px; height: 320px;">
                            <h3 style="font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; margin: 0 0 12px 0;">Average Query Latency (ms)</h3>
                            <div style="height: calc(100% - 30px);"><canvas id="latency-chart"></canvas></div>
                        </div>
                    </div>

                    <!-- Row 2: Table & Simulator side-by-side -->
                    <div style="display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; margin-bottom: 24px; align-items: start;">
                        <!-- Table Column -->
                        <div class="benchmarks-table-container" style="background: #ffffff; border: 1px solid var(--border-color); border-radius: 8px; padding: 20px; box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02); overflow-x: auto;">
                            <h3 style="font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; margin: 0 0 12px 0; color: var(--primary-color);"><i class="fa-solid fa-table"></i> Model Comparison Matrix</h3>
                            <table class="benchmarks-table" style="width: 100%; border-collapse: collapse;">
                                <thead>
                                    <tr style="border-bottom: 2px solid var(--border-color); text-align: left;">
                                        <th style="padding: 10px 8px; font-size: 0.725rem; font-weight: 700;">Model Strategy</th>
                                        <th style="padding: 10px 8px; font-size: 0.725rem; font-weight: 700; text-align: center;">Same R@1</th>
                                        <th style="padding: 10px 8px; font-size: 0.725rem; font-weight: 700; text-align: center;">Same R@5</th>
                                        <th style="padding: 10px 8px; font-size: 0.725rem; font-weight: 700; text-align: center;">Same R@10</th>
                                        <th style="padding: 10px 8px; font-size: 0.725rem; font-weight: 700; text-align: center;">Cross R@1</th>
                                        <th style="padding: 10px 8px; font-size: 0.725rem; font-weight: 700; text-align: center;">Cross R@5</th>
                                        <th style="padding: 10px 8px; font-size: 0.725rem; font-weight: 700; text-align: center;">Cross R@10</th>
                                        <th style="padding: 10px 8px; font-size: 0.725rem; font-weight: 700; text-align: center;">Latency</th>
                                    </tr>
                                </thead>
                                <tbody id="benchmarks-table-body" style="font-size: 0.75rem;">
                                    <!-- Loaded dynamically from api -->
                                </tbody>
                            </table>
                        </div>

                        <!-- Simulator Column -->
                        <div class="card benchmark-simulator-card" style="padding: 20px; background: #ffffff; border: 1px solid var(--border-color); border-radius: 8px; box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);">
                            <div style="border-bottom: 1px solid var(--border-color); padding-bottom: 10px; margin-bottom: 15px;">
                                <h3 style="margin:0; font-family: var(--font-heading); color: var(--primary-color); font-size: 0.95rem;"><i class="fa-solid fa-sliders"></i> Domain Projection Simulator</h3>
                                <p style="margin: 4px 0 0 0; font-size: 0.725rem; color: var(--text-secondary);">Tweak calibration weight ($\alpha$) and noise level ($\sigma$).</p>
                            </div>
                            
                            <div style="display: flex; flex-direction: column; gap: 15px; margin-bottom: 15px;">
                                <div class="input-group">
                                    <label style="font-size:0.75rem; font-weight:600; color:var(--text-primary); display:block; margin-bottom:4px;">Centering Weight ($\alpha$)</label>
                                    <input type="range" id="sim-modality-weight" min="0" max="1" step="0.05" value="0.75" style="width:100%;">
                                    <div style="display:flex; justify-content:space-between; font-size:0.65rem; color:var(--text-muted); margin-top:2px;">
                                        <span>0.0 (Baseline)</span>
                                        <span id="sim-weight-val" style="font-weight:600; color:var(--primary-color);">0.75</span>
                                        <span>1.0 (Full Centering)</span>
                                    </div>
                                </div>
                                
                                <div class="input-group">
                                    <label style="font-size:0.75rem; font-weight:600; color:var(--text-primary); display:block; margin-bottom:4px;">Sensor Noise ($\sigma$)</label>
                                    <input type="range" id="sim-noise-level" min="0" max="0.5" step="0.05" value="0.10" style="width:100%;">
                                    <div style="display:flex; justify-content:space-between; font-size:0.65rem; color:var(--text-muted); margin-top:2px;">
                                        <span>0.00 (Pure)</span>
                                        <span id="sim-noise-val" style="font-weight:600; color:var(--primary-color);">0.10</span>
                                        <span>0.50 (Noisy)</span>
                                    </div>
                                </div>
                                
                                <div class="input-group">
                                    <label style="font-size:0.75rem; font-weight:600; color:var(--text-primary); display:block; margin-bottom:4px;">H3 Indexing Level</label>
                                    <select id="sim-h3-resolution" style="width:100%; padding:6px; font-size:0.75rem; border:1px solid var(--border-color); border-radius:4px; outline:none; background:#ffffff;">
                                        <option value="8">H3 Res 8 (Edge ~0.46km)</option>
                                        <option value="7" selected>H3 Res 7 (Edge ~1.22km)</option>
                                        <option value="6">H3 Res 6 (Edge ~3.22km)</option>
                                    </select>
                                </div>
                            </div>
                            
                            <div style="background: #f8fafc; border: 1px solid var(--border-color); border-radius: 6px; padding: 12px; display:grid; grid-template-columns: repeat(4, 1fr); gap:8px; text-align: center;">
                                <div>
                                    <div style="font-size: 0.625rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase;">Recall@1</div>
                                    <div id="sim-metric-r1" style="font-size: 1rem; font-weight: 700; color: var(--primary-color); font-family: var(--font-mono); margin-top: 2px;">48.2%</div>
                                </div>
                                <div>
                                    <div style="font-size: 0.625rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase;">Recall@5</div>
                                    <div id="sim-metric-r5" style="font-size: 1rem; font-weight: 700; color: var(--success); font-family: var(--font-mono); margin-top: 2px;">64.5%</div>
                                </div>
                                <div>
                                    <div style="font-size: 0.625rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase;">MAP@10</div>
                                    <div id="sim-metric-map" style="font-size: 1rem; font-weight: 700; color: #7c3aed; font-family: var(--font-mono); margin-top: 2px;">55.1%</div>
                                </div>
                                <div>
                                    <div style="font-size: 0.625rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase;">Latency</div>
                                    <div id="sim-metric-latency" style="font-size: 1rem; font-weight: 700; color: #f59e0b; font-family: var(--font-mono); margin-top: 2px;">31 ms</div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- Row 3: Pipeline Diagram & Explanations -->
                    <div class="card architecture-diagram-card" style="padding: 24px; background: #ffffff; border: 1px solid var(--border-color); border-radius: 8px;">
                        <div style="border-bottom: 1px solid var(--border-color); padding-bottom: 12px; margin-bottom: 16px;">
                            <h3 style="margin:0; font-family: var(--font-heading); color: var(--primary-color); font-size: 1.1rem;"><i class="fa-solid fa-diagram-project"></i> Core Pipeline Architecture & ZS-MC Workflow</h3>
                            <p style="margin: 4px 0 0 0; font-size: 0.8rem; color: var(--text-secondary);">Systematic data flow showing zero-shot domain-centering alignment and multi-sensor retrieval.</p>
                        </div>
                        
                        <!-- SVG Responsive Diagram -->
                        <div style="background: #f8fafc; border: 1px solid var(--border-color); border-radius: 8px; padding: 20px; text-align: center; margin-bottom: 24px;">
                            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 240" style="width: 100%; height: auto; max-width: 800px;">
                                <defs>
                                    <marker id="arrow" viewBox="0 0 10 10" refX="6" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">
                                        <path d="M 0 1 L 10 5 L 0 9 z" fill="#2563eb" />
                                    </marker>
                                    <filter id="shadow" x="-10%" y="-10%" width="120%" height="120%">
                                        <feDropShadow dx="0" dy="2" stdDeviation="3" flood-opacity="0.05"/>
                                    </filter>
                                </defs>

                                <!-- Box 1: Multi-Sensor Data Input -->
                                <rect x="10" y="30" width="160" height="180" rx="8" fill="#ffffff" stroke="#e2e8f0" stroke-width="2" filter="url(#shadow)"/>
                                <text x="90" y="55" font-family="var(--font-heading)" font-size="11" font-weight="bold" fill="#0f172a" text-anchor="middle">1. INPUT QUERY</text>
                                
                                <rect x="25" y="80" width="130" height="30" rx="4" fill="#eff6ff" stroke="#bfdbfe" stroke-width="1"/>
                                <text x="90" y="99" font-family="system-ui" font-size="10" fill="#2563eb" text-anchor="middle">Optical (RGB / .png)</text>
                                
                                <rect x="25" y="120" width="130" height="30" rx="4" fill="#ecfdf5" stroke="#a7f3d0" stroke-width="1"/>
                                <text x="90" y="139" font-family="system-ui" font-size="10" fill="#10b981" text-anchor="middle">SAR (VV/VH / .png)</text>
                                
                                <rect x="25" y="160" width="130" height="30" rx="4" fill="#fef3c7" stroke="#fde68a" stroke-width="1"/>
                                <text x="90" y="179" font-family="system-ui" font-size="10" fill="#d97706" text-anchor="middle">MS (Sentinel-2 / .tif)</text>

                                <!-- Connection 1 -> 2 -->
                                <line x1="170" y1="120" x2="224" y2="120" stroke="#2563eb" stroke-width="2" marker-end="url(#arrow)" />

                                <!-- Box 2: Feature Encoding -->
                                <rect x="230" y="30" width="160" height="180" rx="8" fill="#ffffff" stroke="#e2e8f0" stroke-width="2" filter="url(#shadow)"/>
                                <text x="310" y="55" font-family="var(--font-heading)" font-size="11" font-weight="bold" fill="#0f172a" text-anchor="middle">2. ENCODING STAGE</text>
                                
                                <rect x="245" y="80" width="130" height="40" rx="4" fill="#f1f5f9" stroke="#cbd5e1" stroke-width="1"/>
                                <text x="310" y="104" font-family="system-ui" font-size="10" font-weight="bold" fill="#334155" text-anchor="middle">SatCLIP Vision Encoder</text>
                                <text x="310" y="115" font-family="var(--font-mono)" font-size="8" fill="#64748b" text-anchor="middle">(ViT-L/14 weights)</text>

                                <rect x="245" y="140" width="130" height="40" rx="4" fill="#f1f5f9" stroke="#cbd5e1" stroke-width="1"/>
                                <text x="310" y="164" font-family="system-ui" font-size="10" font-weight="bold" fill="#334155" text-anchor="middle">SatCLIP Text Encoder</text>
                                <text x="310" y="175" font-family="var(--font-mono)" font-size="8" fill="#64748b" text-anchor="middle">(CLIP Transformer)</text>

                                <!-- Connection 2 -> 3 -->
                                <line x1="390" y1="120" x2="444" y2="120" stroke="#2563eb" stroke-width="2" marker-end="url(#arrow)" />

                                <!-- Box 3: Modality Centering Alignment (ZS-MC) -->
                                <rect x="450" y="30" width="160" height="180" rx="8" fill="#eff6ff" stroke="#bfdbfe" stroke-width="2" filter="url(#shadow)"/>
                                <text x="530" y="55" font-family="var(--font-heading)" font-size="11" font-weight="bold" fill="#1e40af" text-anchor="middle">3. DOMAIN CALIBRATION</text>
                                
                                <circle cx="530" cy="115" r="35" fill="#ffffff" stroke="#2563eb" stroke-width="2"/>
                                <text x="530" y="112" font-family="var(--font-heading)" font-size="13" font-weight="bold" fill="#1e293b" text-anchor="middle">ZS-MC</text>
                                <text x="530" y="127" font-family="var(--font-mono)" font-size="8" fill="#2563eb" font-weight="bold" text-anchor="middle">Correction</text>
                                
                                <text x="530" y="182" font-family="var(--font-mono)" font-size="9" fill="#0369a1" font-weight="bold" text-anchor="middle">zc = z0 - μ_src + μ_tgt</text>

                                <!-- Connection 3 -> 4 -->
                                <line x1="610" y1="120" x2="664" y2="120" stroke="#2563eb" stroke-width="2" marker-end="url(#arrow)" />

                                <!-- Box 4: Multi-Index Gallery Search -->
                                <rect x="670" y="30" width="120" height="180" rx="8" fill="#ffffff" stroke="#e2e8f0" stroke-width="2" filter="url(#shadow)"/>
                                <text x="730" y="55" font-family="var(--font-heading)" font-size="11" font-weight="bold" fill="#0f172a" text-anchor="middle">4. RETRIEVAL</text>
                                
                                <rect x="682" y="80" width="96" height="30" rx="4" fill="#faf5ff" stroke="#e9d5ff" stroke-width="1"/>
                                <text x="730" y="99" font-family="system-ui" font-size="9" fill="#7c3aed" text-anchor="middle">FAISS Vector Index</text>

                                <rect x="682" y="120" width="96" height="30" rx="4" fill="#fff7ed" stroke="#ffedd5" stroke-width="1"/>
                                <text x="730" y="139" font-family="system-ui" font-size="9" fill="#ea580c" text-anchor="middle">H3 Grid Filtering</text>

                                <rect x="682" y="160" width="96" height="30" rx="4" fill="#f0fdf4" stroke="#dcfce7" stroke-width="1"/>
                                <text x="730" y="179" font-family="system-ui" font-size="9" fill="#16a34a" text-anchor="middle">Top-K Results Grid</text>
                            </svg>
                        </div>

                        <!-- Mathematical Formulas and Methodology Section -->
                        <div style="display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 24px;">
                            <div style="background: #ffffff; border: 1px solid var(--border-color); border-radius: 6px; padding: 16px;">
                                <h4 style="margin:0 0 8px 0; font-family: var(--font-heading); color: var(--text-primary); font-size: 0.9rem;"><i class="fa-solid fa-calculator"></i> Zero-Shot Modality Centering (ZS-MC)</h4>
                                <p style="font-size: 0.75rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 8px;">
                                    Satellite sensors operate in vastly different electromagnetic domains. An optical sensor captures visual reflectance (3 bands), whereas Synthetic Aperture Radar (SAR) measures microwave backscatter (2 bands). This results in a massive <strong>spectral domain gap</strong> when projected into joint CLIP embedding space.
                                </p>
                                <p style="font-size: 0.75rem; color: var(--text-secondary); line-height: 1.5;">
                                    To align the spaces without training parameters, ZS-MC computes the centroids of the source domain \(\mu_{src}\) and target domain \(\mu_{tgt}\) from the EuroSAT calibration split:
                                    \[\mu_{mod} = \frac{1}{N_{mod}}\sum_{i=1}^{N_{mod}} z_i\]
                                    The query vector \(z_0\) is calibrated by translating the centroid:
                                    \[z_c = z_0 - \mu_{src} + \mu_{tgt}\]
                                    This centers the query vector directly in the target representation space, correcting domain drift and restoring matching accuracy.
                                </p>
                            </div>
                            
                            <div style="background: #ffffff; border: 1px solid var(--border-color); border-radius: 6px; padding: 16px;">
                                <h4 style="margin:0 0 8px 0; font-family: var(--font-heading); color: var(--text-primary); font-size: 0.9rem;"><i class="fa-solid fa-globe"></i> Hybrid Spatial-Spectral Indexing (H3)</h4>
                                <p style="font-size: 0.75rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 8px;">
                                    Searching millions of satellite image tiles globally requires spatial constraint. Filtering search files by simple bounding box queries leads to rectangular boundary overlaps and slow database performance.
                                </p>
                                <p style="font-size: 0.75rem; color: var(--text-secondary); line-height: 1.5;">
                                    SatFetch integrates Uber's **H3 Hierarchical Hexagonal Index** to solve this. Hexagonal grids are optimal because all adjacent cells are equidistant, which simplifies radial distance lookups:
                                    1. Each image tile coordinate (Latitude, Longitude) is resolved to a unique H3 Cell Index at resolution level 7 (cell edge length ~1.22km).
                                    2. During query execution, the search center is resolved to its H3 index, and a ring lookup finds adjacent cell indices within distance \(R\).
                                    3. The query is executed ONLY against database records belonging to these H3 hexagons, reducing candidate vector counts by <strong>99.4%</strong> before running FAISS matrix multiplication.
                                </p>
                            </div>
                        </div>

                        <!-- System Limitations & Scientific Edge Cases -->
                        <div style="background: #fdfaf7; border: 1px solid #fed7aa; border-radius: 8px; padding: 20px; box-shadow: 0 4px 15px rgba(249, 115, 22, 0.02); margin-top: 24px;">
                            <h4 style="margin: 0 0 12px 0; font-family: var(--font-heading); color: #ea580c; font-size: 0.95rem; font-weight: 700; display: flex; align-items: center; gap: 8px;"><i class="fa-solid fa-triangle-exclamation"></i> SatFetch System Limitations & Edge Cases</h4>
                            <div style="display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; font-size: 0.75rem; color: #4b5563; line-height: 1.6;">
                                <div>
                                    <p style="margin: 0 0 10px 0;"><strong>1. Electromagnetic Centroid Calibration Drift ($\mu_{mod}$):</strong> ZS-MC aligns optical and radar domains via static centroid translation. Dynamic parameters like variable soil moisture (modifying radar dielectric properties) or seasonal canopy vegetation changes cause local drift, reducing cross-modal alignment precision in out-of-distribution scenes.</p>
                                    <p style="margin: 0;"><strong>2. H3 Grid Edge Boundary Dropouts:</strong> Queries close to coordinate boundary vertices of an H3 cell can fail to retrieve adjacent cell images unless the ring lookup distance ($R$) is explicitly set to $\ge 1$ cell radius. Higher resolutions improve query speed but increase neighbor lookup latency.</p>
                                </div>
                                <div>
                                    <p style="margin: 0 0 10px 0;"><strong>3. Frozen Text Embeddings OOV Limits:</strong> The text encoder relies on frozen OpenAI CLIP weights. Highly specialized technical geological terms (e.g., specific rock lithology classifications or rare cloud types) exhibit weaker alignment scores compared to standard Earth land-cover labels.</p>
                                    <p style="margin: 0;"><strong>4. Signal Attenuation & Cloud Masking:</strong> Heavy cloud cover blocks visual sensors completely. While SAR acts as a cloud-penetrating sensor, retrieving optical images from a cloudy query tile is physically restricted unless pre-processed cloud-masking layers are applied.</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- TAB 3: TEAM INFO -->
            <div id="team-pane" class="tab-content" style="padding: 2.5rem;">
                <div class="card team-card" style="padding: 24px; background: #ffffff; border: 1px solid var(--border-color); border-radius: 8px;">
                    <div class="team-hero" style="text-align: center; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; margin-bottom: 30px;">
                        <h2 style="font-family: var(--font-heading); font-size: 1.6rem; font-weight: 600; margin: 0; color: var(--primary-color);">Team Flight Crew</h2>
                        <p style="margin: 8px 0 0 0; font-size: 0.9rem; font-weight: 600; color: var(--text-secondary);">Developed by <strong>Team 4MISTAKES</strong> &bull; Rajiv Gandhi Institute of Petroleum Technology (An Institute of National Importance)</p>
                    </div>
                    
                    <div class="team-grid" style="display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;">
                        
                        <!-- Member 1: Ayush Pandey -->
                        <div class="member-card" style="position: relative; overflow: hidden; background: linear-gradient(145deg, #ffffff, #f8fafc); border-top: 4px solid #10b981; text-align: center; padding: 24px; border-radius: 8px; border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);">
                            <div class="member-avatar" style="overflow: hidden; border-radius: 50%; width: 110px; height: 110px; margin: 0 auto 15px auto; border: 3px solid #10b981; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);">
                                <img src="/app_assets/ayush.jpg?v=4.0" alt="Ayush Pandey" style="width: 100%; height: 100%; object-fit: cover;">
                            </div>
                            <h3 style="margin: 10px 0 4px 0; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600;">Ayush Pandey</h3>
                            <div class="member-role" style="font-weight: 700; color: #10b981; margin-bottom: 0.75rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px;">Team Lead & DL Architect</div>
                            
                            <!-- High-Visibility Achievements List -->
                            <ul style="list-style: none; padding: 0; margin: 15px 0; text-align: left; font-size: 0.75rem; line-height: 1.65; border-top: 1px solid var(--border-color); padding-top: 12px;">
                                <li style="margin-bottom: 8px; display: flex; align-items: center; gap: 8px;">
                                    <span style="background: #fef3c7; color: #d97706; border: 1px solid #fde68a; border-radius: 4px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-size: 0.7rem; flex-shrink: 0;"><i class="fa-solid fa-trophy"></i></span>
                                    <span style="font-weight: 700; color: var(--text-primary);">Union Bank Ideathon Finalist</span>
                                </li>
                                <li style="margin-bottom: 8px; display: flex; align-items: center; gap: 8px;">
                                    <span style="background: #e0e7ff; color: #4f46e5; border: 1px solid #c7d2fe; border-radius: 4px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-size: 0.7rem; flex-shrink: 0;"><i class="fa-solid fa-microscope"></i></span>
                                    <span style="font-weight: 700; color: var(--text-primary);">Researcher @ QM Lab</span>
                                </li>
                                <li style="margin-bottom: 0; display: flex; align-items: center; gap: 8px;">
                                    <span style="background: #d1fae5; color: #059669; border: 1px solid #a7f3d0; border-radius: 4px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-size: 0.7rem; flex-shrink: 0;"><i class="fa-solid fa-briefcase"></i></span>
                                    <span style="font-weight: 700; color: var(--text-primary);">Intern @ Digitwin Tech</span>
                                </li>
                            </ul>
                            
                            <div class="member-desc" style="font-size: 0.8rem; color: #64748b; line-height: 1.5; border-top: 1px solid var(--border-color); padding-top: 0.75rem; text-align: left; min-height: 80px; margin-bottom: 15px;">
                                Designed the core multi-sensor feature projection layers and supervised spatial-spectral triplet training workflows.
                            </div>
                            
                            <div class="linkedin-container" style="margin-top: 12px; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--border-color); padding-top: 12px;">
                                <a href="https://www.linkedin.com/in/ayushpandey1801/" target="_blank" class="btn-linkedin" style="font-size: 0.85rem; color: #0a66c2; text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 4px;">
                                    <i class="fa-brands fa-linkedin"></i> LinkedIn Profile
                                </a>
                            </div>
                        </div>

                        <!-- Member 2: Karan Sharma -->
                        <div class="member-card" style="position: relative; overflow: hidden; background: linear-gradient(145deg, #ffffff, #f8fafc); border-top: 4px solid #3b82f6; text-align: center; padding: 24px; border-radius: 8px; border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);">
                            <div class="member-avatar" style="overflow: hidden; border-radius: 50%; width: 110px; height: 110px; margin: 0 auto 15px auto; border: 3px solid #3b82f6; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);">
                                <img src="/app_assets/karan.jpg?v=4.0" alt="Karan Sharma" style="width: 100%; height: 100%; object-fit: cover;">
                            </div>
                            <h3 style="margin: 10px 0 4px 0; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600;">Karan Sharma</h3>
                            <div class="member-role" style="font-weight: 700; color: #3b82f6; margin-bottom: 0.75rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px;">Cloud & Systems Architect</div>
                            
                            <!-- High-Visibility Achievements List -->
                            <ul style="list-style: none; padding: 0; margin: 15px 0; text-align: left; font-size: 0.75rem; line-height: 1.65; border-top: 1px solid var(--border-color); padding-top: 12px;">
                                <li style="margin-bottom: 8px; display: flex; align-items: center; gap: 8px;">
                                    <span style="background: #ffe4e6; color: #e11d48; border: 1px solid #fecdd3; border-radius: 4px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-size: 0.7rem; flex-shrink: 0;"><i class="fa-solid fa-medal"></i></span>
                                    <span style="font-weight: 700; color: var(--text-primary);">SIH 2025 Winner (ISRO PS)</span>
                                </li>
                                <li style="margin-bottom: 8px; display: flex; align-items: center; gap: 8px;">
                                    <span style="background: #fef3c7; color: #d97706; border: 1px solid #fde68a; border-radius: 4px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-size: 0.7rem; flex-shrink: 0;"><i class="fa-solid fa-trophy"></i></span>
                                    <span style="font-weight: 700; color: var(--text-primary);">Union Bank Ideathon Finalist</span>
                                </li>
                                <li style="margin-bottom: 0; display: flex; align-items: center; gap: 8px;">
                                    <span style="background: #e0e7ff; color: #4f46e5; border: 1px solid #c7d2fe; border-radius: 4px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-size: 0.7rem; flex-shrink: 0;"><i class="fa-solid fa-microscope"></i></span>
                                    <span style="font-weight: 700; color: var(--text-primary);">Researcher @ QM Lab</span>
                                </li>
                            </ul>
                            
                            <div class="member-desc" style="font-size: 0.8rem; color: #64748b; line-height: 1.5; border-top: 1px solid var(--border-color); padding-top: 0.75rem; text-align: left; min-height: 80px; margin-bottom: 15px;">
                                Developed the asynchronous FastAPI retrieval pipeline, built out-of-core stride loading handlers, and scaled backend index search queries.
                            </div>
                            
                            <div class="linkedin-container" style="margin-top: 12px; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--border-color); padding-top: 12px;">
                                <a href="https://www.linkedin.com/in/twynixkaran/" target="_blank" class="btn-linkedin" style="font-size: 0.85rem; color: #0a66c2; text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 4px;">
                                    <i class="fa-brands fa-linkedin"></i> LinkedIn Profile
                                </a>
                            </div>
                        </div>

                        <!-- Member 3: Anurag Sharma -->
                        <div class="member-card" style="position: relative; overflow: hidden; background: linear-gradient(145deg, #ffffff, #f8fafc); border-top: 4px solid #6366f1; text-align: center; padding: 24px; border-radius: 8px; border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);">
                            <div class="member-avatar" style="overflow: hidden; border-radius: 50%; width: 110px; height: 110px; margin: 0 auto 15px auto; border: 3px solid #6366f1; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);">
                                <img src="/app_assets/anurag.jpg?v=4.0" alt="Anurag Sharma" style="width: 100%; height: 100%; object-fit: cover;">
                            </div>
                            <h3 style="margin: 10px 0 4px 0; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600;">Anurag Sharma</h3>
                            <div class="member-role" style="font-weight: 700; color: #6366f1; margin-bottom: 0.75rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px;">CV & GIS Algorithms Specialist</div>
                            
                            <!-- High-Visibility Achievements List -->
                            <ul style="list-style: none; padding: 0; margin: 15px 0; text-align: left; font-size: 0.75rem; line-height: 1.65; border-top: 1px solid var(--border-color); padding-top: 12px;">
                                <li style="margin-bottom: 8px; display: flex; align-items: center; gap: 8px;">
                                    <span style="background: #ffe4e6; color: #e11d48; border: 1px solid #fecdd3; border-radius: 4px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-size: 0.7rem; flex-shrink: 0;"><i class="fa-solid fa-satellite-dish"></i></span>
                                    <span style="font-weight: 700; color: var(--text-primary);">Intern @ RRSC-W NRSC ISRO</span>
                                </li>
                                <li style="margin-bottom: 8px; display: flex; align-items: center; gap: 8px;">
                                    <span style="background: #e0f2fe; color: #0284c7; border: 1px solid #bae6fd; border-radius: 4px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-size: 0.7rem; flex-shrink: 0;"><i class="fa-solid fa-graduation-cap"></i></span>
                                    <span style="font-weight: 700; color: var(--text-primary);">Intern @ Univ. of Southampton</span>
                                </li>
                                <li style="margin-bottom: 8px; display: flex; align-items: center; gap: 8px;">
                                    <span style="background: #f3e8ff; color: #7c3aed; border: 1px solid #e9d5ff; border-radius: 4px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-size: 0.7rem; flex-shrink: 0;"><i class="fa-solid fa-school"></i></span>
                                    <span style="font-weight: 700; color: var(--text-primary);">Ex-Intern @ IIT Ropar</span>
                                </li>
                                <li style="margin-bottom: 0; display: flex; align-items: center; gap: 8px;">
                                    <span style="background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; border-radius: 4px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-size: 0.7rem; flex-shrink: 0;"><i class="fa-solid fa-pen-nib"></i></span>
                                    <span style="font-weight: 700; color: var(--text-primary);">Reviewer: IEEE TGRS, NeurIPS</span>
                                </li>
                            </ul>
                            
                            <div class="member-desc" style="font-size: 0.8rem; color: #64748b; line-height: 1.5; border-top: 1px solid var(--border-color); padding-top: 0.75rem; text-align: left; min-height: 80px; margin-bottom: 15px;">
                                Designed the Zero-Shot Modality Centering alignment correction math and optimized Uber's H3 hierarchical spatial lookup grid.
                            </div>
                            
                            <div class="linkedin-container" style="margin-top: 12px; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--border-color); padding-top: 12px;">
                                <a href="https://www.linkedin.com/in/anurag-sharma-silver/" target="_blank" class="btn-linkedin" style="font-size: 0.85rem; color: #0a66c2; text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 4px;">
                                    <i class="fa-brands fa-linkedin"></i> LinkedIn Profile
                                </a>
                            </div>
                        </div>

                    </div>
                </div>
            </div>

        </main>

        <!-- System Telemetry Footer -->
        <footer class="main-footer">
            <div class="footer-telemetry">
                <span><i class="fa-solid fa-microchip"></i> System Host: <strong id="telemetry-device">CPU</strong></span>
                <span><i class="fa-solid fa-database"></i> Gallery Index Size: <strong id="telemetry-index-size">3,000 vectors</strong></span>
                <span><i class="fa-solid fa-vector-square"></i> Vector Dimension: <strong>768 (L2 normalized)</strong></span>
            </div>
            <div class="footer-team-signature">
                Developed by <strong>Team 4MISTAKES</strong> &bull; RGIPT (INI)
            </div>
        </footer>
    </div>

    <!-- MODAL FOR SPECTRAL PLOTS -->
    <div id="spectral-modal" class="modal" style="display:none;">
        <div class="modal-content">
            <span class="close-modal" id="close-modal-btn">&times;</span>
            <h3 id="modal-title">Sentinel-2 Spectral Signature</h3>
            <p id="modal-subtitle">Reflectance values plotted across all 12 bands (B01 - B12)</p>
            <div class="modal-chart-container">
                <canvas id="spectral-chart"></canvas>
            </div>
        </div>
    </div>

    <!-- Scripts (Local) -->
    <!-- Leaflet JS -->
    <script src="/app_assets/leaflet.js"></script>
    <!-- Chart.js -->
    <script src="/app_assets/chart.js"></script>
    <!-- Client Logic JS (Versioned to bust cache) -->
    <script src="/app.js?v=6.0"></script>
</body>
</html>