File size: 11,051 Bytes
c89a139
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>HHeuristics Data Marketplace</title>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
    <!-- Advanced Visualization Libraries -->
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
    <script src="https://d3js.org/d3.v7.min.js"></script>

    <style>
        :root {
            --primary: #2563EB;
            --secondary: #10B981;
            --dark: #1F2937;
            --light: #F3F4F6;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: #F9FAFB;
            color: var(--dark);
            margin: 0;
            padding: 0;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        .hero {
            text-align: center;
            padding: 4rem 0;
            background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
            color: white;
            border-radius: 0 0 2rem 2rem;
            margin-bottom: 3rem;
            box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
        }

        .hero h1 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 1rem;
            letter-spacing: -0.025em;
        }

        .hero p {
            font-size: 1.25rem;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
        }

        .vertical-section {
            background: white;
            border-radius: 1rem;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            border: 1px solid #E5E7EB;
            transition: transform 0.2s;
        }

        .vertical-section:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

        .vertical-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid #F3F4F6;
            padding-bottom: 1rem;
        }

        .vertical-title h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #111827;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .badge {
            font-size: 0.75rem;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .badge-fintech {
            background: #DBEAFE;
            color: #1E40AF;
        }

        .badge-ai {
            background: #E0E7FF;
            color: #3730A3;
        }

        .badge-esg {
            background: #D1FAE5;
            color: #065F46;
        }

        .badge-reg {
            background: #FEE2E2;
            color: #991B1B;
        }

        .badge-supply {
            background: #FEF3C7;
            color: #92400E;
        }

        .truth-section {
            background: #F8FAFC;
            border-radius: 0.5rem;
            padding: 1rem;
            margin-bottom: 1.5rem;
            font-size: 0.875rem;
            color: #4B5563;
        }

        .truth-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 0.5rem;
        }

        .truth-item strong {
            display: block;
            color: #1F2937;
            margin-bottom: 0.25rem;
        }

        /* Visualization Container */
        .viz-container {
            margin: 1.5rem 0;
            padding: 1rem;
            background: #FFFFFF;
            border: 1px solid #E5E7EB;
            border-radius: 0.75rem;
            height: 300px;
            position: relative;
        }

        .viz-title {
            font-size: 0.875rem;
            font-weight: 600;
            color: #6B7280;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1rem;
        }

        .product-card {
            border: 1px solid #E5E7EB;
            border-radius: 0.5rem;
            padding: 1rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            background: white;
        }

        .product-card:hover {
            border-color: var(--primary);
        }

        .product-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }

        .product-type {
            font-size: 0.75rem;
            font-weight: 600;
            color: #6B7280;
            text-transform: uppercase;
        }

        .product-size {
            font-size: 0.75rem;
            color: #10B981;
            font-weight: 600;
            background: #ECFDF5;
            padding: 0.125rem 0.375rem;
            border-radius: 0.25rem;
        }

        .product-name {
            font-weight: 600;
            margin-bottom: 0.25rem;
            color: #111827;
        }

        .product-desc {
            font-size: 0.875rem;
            color: #6B7280;
            margin-bottom: 1rem;
            line-height: 1.4;
        }

        .btn-download {
            display: block;
            width: 100%;
            text-align: center;
            background: var(--primary);
            color: white;
            padding: 0.5rem;
            border-radius: 0.375rem;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.875rem;
            transition: background 0.2s;
        }

        .btn-download:hover {
            background: #1D4ED8;
        }
    </style>
</head>

<body>

    <nav class="navbar">
        <div class="brand">
            ⚡ HHeuristics <span>Marketplace</span>
        </div>
    </nav>

    <div class="container">
        <div class="hero">
            <h1>Institutional-Grade Data</h1>
            <p>Access our 5 proprietary datasets. Segmented by year, quarter, and month for optimal analysis.</p>
        </div>

        <!-- System Status Banner -->
        <div
            style="background: #ECFDF5; border: 1px solid #10B981; border-radius: 8px; padding: 1rem; margin-bottom: 3rem; display: flex; justify-content: space-between; align-items: center;">
            <div style="display: flex; align-items: center; gap: 0.75rem;">
                <div
                    style="background: #10B981; color: white; padding: 0.25rem 0.5rem; border-radius: 4px; font-weight: 700; font-size: 0.875rem;">
                    PREMIUM ENGINE ACTIVE</div>
                <div style="color: #065F46; font-weight: 500;">System Updated: {{ system_status.last_update }}</div>
            </div>
            <div style="color: #065F46; font-weight: 600;">
                New Data Added: <span
                    style="background: white; padding: 0.125rem 0.5rem; border-radius: 4px; border: 1px solid #10B981;">+{{
                    system_status.data_added }}</span>
            </div>
        </div>

        {% for v_name, products in verticals.items() %}
        {% if products %}
        <div class="vertical-section">
            <div class="vertical-header">
                <div class="vertical-title">
                    <h2>
                        {{ v_name }}
                        {% if "Fintech" in v_name %}<span class="badge badge-fintech">Finance</span>{% endif %}
                        {% if "AI" in v_name %}<span class="badge badge-ai">Tech</span>{% endif %}
                        {% if "ESG" in v_name %}<span class="badge badge-esg">Sustainability</span>{% endif %}
                        {% if "Regulatory" in v_name %}<span class="badge badge-reg">Legal</span>{% endif %}
                        {% if "Supply" in v_name %}<span class="badge badge-supply">Logistics</span>{% endif %}
                    </h2>
                </div>
            </div>

            <!-- Truth Section -->
            <div class="truth-section">
                <div class="truth-grid">
                    <div class="truth-item">
                        <strong>How It Works</strong>
                        {{ vertical_info[v_name].description }}
                    </div>
                    <div class="truth-item">
                        <strong>Data Sources</strong>
                        {{ vertical_info[v_name].methodology }}
                    </div>
                    <div class="truth-item">
                        <strong>Update Frequency</strong>
                        {{ vertical_info[v_name].frequency }}
                    </div>
                </div>
            </div>

            <!-- Advanced Visualization Container -->
            <div class="viz-container">
                <div class="viz-title">
                    {% if "Fintech" in v_name %}VelocityTrack™ - Neobank Adoption Velocity{% endif %}
                    {% if "AI" in v_name %}NeuralFrontier™ - Talent Migration Network{% endif %}
                    {% if "ESG" in v_name %}EcoInsight™ - Greenwashing Radar{% endif %}
                    {% if "Regulatory" in v_name %}ComplyPredict™ - Enforcement Risk Heatmap{% endif %}
                    {% if "Supply" in v_name %}Resilience™ - Supply Chain Disruption Gauge{% endif %}
                </div>
                <canvas id="chart-{{ v_name | replace(' ', '-') | lower }}"></canvas>
            </div>

            <div class="product-grid">
                {% for p in products %}
                <div class="product-card">
                    <span class="badge badge-{{ p.type }}">{{ p.type }}</span>
                    <div class="product-name">{{ p.description }}</div>
                    <div class="product-meta">
                        {{ p.size_str }} • CSV Format
                    </div>
                    <div class="price-row">
                        <!-- Price removed as requested -->
                        <a href="{{ p.download_url }}" class="btn" style="width: 100%; text-align: center;">Download
                            Dataset</a>
                    </div>
                </div>
                {% endfor %}
            </div>
        </div>
        {% endif %}
        {% endfor %}

        {% if not verticals.values()|sum(start=[]) %}
        <div style="text-align: center; padding: 4rem; color: var(--text-secondary);">
            <h3>Initializing Data Pipeline...</h3>
            <p>Generating 5 datasets and segmenting files. Please refresh in 30 seconds.</p>
        </div>
        {% endif %}

    </div>

</body>

</html>