File size: 18,240 Bytes
7a5bb5d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2a47d90
 
 
 
 
 
 
7a5bb5d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2a47d90
7a5bb5d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2a47d90
7a5bb5d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Color Palette */
  --bg-app: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-hover: #F1F5F9;
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-tertiary: #94A3B8;
  
  --accent: #0F766E;
  --accent-hover: #0D9488;
  --accent-light: #F0FDFA;
  
  --alert: #D97706;
  --alert-light: #FEF3C7;
  
  --border-light: #E2E8F0;
  --border-medium: #CBD5E1;

  /* Shadows - Premium Soft */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

  /* Geometry */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Fonts */
  --font-ui: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  background-color: var(--bg-app);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
  width: 100%;
}

* { box-sizing: border-box; }
h1, h2, h3, h4, p { margin: 0; }

/* SHARED ANIMATIONS & UTILS */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

@keyframes spin { 100% { transform: rotate(360deg); } }
.loader { width: 18px; height: 18px; border: 2px solid #FFF; border-bottom-color: transparent; border-radius: 50%; display: inline-block; animation: spin 1s linear infinite; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--bg-app);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ========================================================================= */
/* LANDING PAGE                                                              */
/* ========================================================================= */

.landing-container { background: #FFFFFF; display: flex; flex-direction: column; width: 100%; min-height: 100vh; position: relative; }

/* Nav */
.nav-bar { display: flex; justify-content: space-between; align-items: center; padding: 20px 6%; position: absolute; width: 100%; top: 0; z-index: 100; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; color: var(--text-primary); letter-spacing: -0.02em; }
.logo-icon { width: 32px; height: 32px; background: var(--text-primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; }

.nav-actions { display: flex; align-items: center; gap: 24px; }
.btn-text { background: none; border: none; font-family: var(--font-ui); font-weight: 500; font-size: 0.95rem; color: var(--text-secondary); cursor: pointer; transition: color 0.2s; }
.btn-text:hover { color: var(--text-primary); }

.btn-primary { background: var(--text-primary); color: #FFF; border: none; padding: 10px 20px; border-radius: var(--radius-md); font-weight: 500; font-family: var(--font-ui); cursor: pointer; transition: all 0.2s; }
.btn-primary:hover { background: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* Hero */
.hero-section { padding: 160px 6% 120px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 32px; position: relative; overflow: hidden; }
.hero-badge { display: inline-block; padding: 6px 16px; background: var(--accent-light); color: var(--accent); border-radius: var(--radius-full); font-weight: 600; font-size: 0.85rem; border: 1px solid rgba(15,118,110,0.1); }
.hero-title { font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; max-width: 900px; color: var(--text-primary); z-index: 10; padding: 0 20px; }
.hero-description { font-size: 1.25rem; line-height: 1.6; color: var(--text-secondary); max-width: 650px; z-index: 10; }

.hero-buttons { display: flex; gap: 16px; z-index: 10; }
.btn-primary-lg { background: var(--accent); color: #FFF; border: none; padding: 16px 32px; border-radius: var(--radius-full); font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 8px; cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-primary-lg:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 12px 24px -4px rgba(15,118,110,0.2); }
.btn-secondary-lg { background: #FFF; color: var(--text-primary); border: 1px solid var(--border-medium); padding: 16px 32px; border-radius: var(--radius-full); font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.btn-secondary-lg:hover { background: var(--bg-app); border-color: var(--text-primary); }

.hero-background-glow {
  position: absolute; top: 10%; left: 50%; transform: translateX(-50%); width: 80%; height: 800px;
  background: radial-gradient(circle, rgba(15,118,110,0.06) 0%, rgba(255,255,255,0) 70%); z-index: 0; pointer-events: none;
}

/* Features */
.features-section { padding: 80px 6%; background: var(--bg-surface); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; max-width: 1400px; margin: 0 auto; }
.feature-card { display: flex; flex-direction: column; gap: 16px; padding: 16px; }
.feature-icon-wrapper { width: 56px; height: 56px; background: var(--accent-light); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.feature-card h3 { font-size: 1.25rem; font-weight: 600; color: var(--text-primary); }
.feature-card p { font-size: 1rem; color: var(--text-secondary); line-height: 1.6; }

/* How it Works */
.how-it-works-section { padding: 120px 6%; background: var(--bg-app); }
.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-header p { font-size: 1.1rem; color: var(--text-secondary); }

.steps-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; max-width: 1400px; margin: 0 auto; }
.step-card { background: var(--bg-surface); padding: 48px 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--border-light); transition: all 0.3s ease; position: relative; overflow: hidden; }
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.step-numeral { position: absolute; top: 16px; right: 24px; font-size: 5rem; font-weight: 800; color: var(--bg-app); opacity: 0.5; font-family: var(--font-mono); }
.step-card h4 { font-size: 1.25rem; font-weight: 600; margin-bottom: 16px; position: relative; z-index: 10; }
.step-card p { color: var(--text-secondary); line-height: 1.6; position: relative; z-index: 10; }

/* Preview & CTA */
.preview-section { padding: 120px 6% 40px; background: var(--bg-surface); display: flex; justify-content: center; }
.preview-app-window { max-width: 1000px; width: 100%; box-shadow: var(--shadow-lg); border-radius: 12px; border: 1px solid var(--border-medium); overflow: hidden; background: #fff; }
.app-window-header { height: 38px; background: #F1F5F9; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; padding: 0 16px; position: relative; }
.mac-dots { display: flex; gap: 8px; }
.mac-dot { width: 12px; height: 12px; border-radius: 50%; }
.mac-dot.red { background: #FF5F56; } .mac-dot.yellow { background: #FFBD2E; } .mac-dot.green { background: #27C93F; }
.app-title { position: absolute; left: 50%; transform: translateX(-50%); font-family: var(--font-ui); font-size: 0.75rem; color: var(--text-tertiary); font-weight: 500; letter-spacing: 0.05em; }
.app-window-body { height: 500px; padding: 16px; background: var(--bg-app); }
.app-mockup-skeleton { width: 100%; height: 100%; display: flex; gap: 16px; }
.mock-nav { width: 200px; background: #FFF; border-radius: 8px; border: 1px solid var(--border-light); }
.mock-layout { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.mock-top { display: flex; gap: 16px; height: 100px; }
.mock-stat { flex: 1; background: #FFF; border-radius: 8px; border: 1px solid var(--border-light); }
.mock-main { flex: 1; display: flex; gap: 16px; }
.mock-side { width: 250px; background: #FFF; border-radius: 8px; border: 1px solid var(--border-light); }
.mock-center { flex: 1; background: #FFF; border-radius: 8px; border: 1px solid var(--border-light); }

.cta-section { padding: 120px 6%; text-align: center; background: var(--bg-surface); display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta-section h2 { font-size: 3rem; font-weight: 800; letter-spacing: -0.02em; }
.cta-section p { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 24px; }

.landing-footer { background: var(--bg-app); padding: 40px 6%; text-align: center; border-top: 1px solid var(--border-light); }
.footer-content { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; color: var(--text-tertiary); font-size: 0.9rem; }
@media (max-width: 600px) { .footer-content { flex-direction: column; gap: 16px; } }


/* ========================================================================= */
/* DASHBOARD APPLICATION                                                     */
/* ========================================================================= */

.app-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-header {
  height: 64px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.app-logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1rem; color: var(--text-primary); }
.app-badge { font-weight: 500; color: var(--text-tertiary); background: var(--bg-app); padding: 4px 8px; border-radius: 6px; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; }

.header-actions { display: flex; align-items: center; gap: 24px; }
.connection-status { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 0.8rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.status-orb { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px var(--accent); }

.icon-btn, .profile-btn { background: none; border: none; color: var(--text-secondary); cursor: pointer; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.icon-btn:hover { background: var(--bg-app); color: var(--text-primary); }
.profile-btn { background: var(--text-primary); color: #FFF; }
.profile-btn:hover { background: var(--accent); }

.dashboard-content {
  flex: 1;
  padding: 32px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Base Panel Styles */
.panel {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.panel-header { display: flex; justify-content: space-between; align-items: center; }
.panel-title { font-size: 1rem; font-weight: 600; color: var(--text-primary); }

/* Metrics Row (Top) */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1200px) { .metrics-row { grid-template-columns: repeat(2, 1fr); } }

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-medium); }
.stat-icon-wrapper { width: 48px; height: 48px; background: var(--bg-app); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); }
.stat-content { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.stat-label { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-value { font-size: 1.5rem; font-weight: 700; font-family: var(--font-mono); color: var(--text-primary); }

.stat-control { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.stat-control input[type="range"] { flex: 1; accent-color: var(--accent); }
.range-val { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 600; }

/* Main Section: Upload + Log */
.main-interaction-row {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
}
@media (max-width: 1024px) { .main-interaction-row { grid-template-columns: 1fr; } }

/* Upload Component */
.upload-container { display: flex; flex-direction: column; gap: 24px; }
.dropzone {
  flex: 1;
  border: 2px dashed var(--border-medium);
  border-radius: var(--radius-md);
  background: var(--bg-app);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.dropzone input[type="file"] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dropzone:hover, .dropzone.drag-active { border-color: var(--accent); background: var(--accent-light); }
.dropzone-icon { color: var(--text-tertiary); margin-bottom: 16px; transition: transform 0.2s; }
.dropzone:hover .dropzone-icon { transform: translateY(-4px); color: var(--accent); }
.dropzone-text { font-size: 1rem; color: var(--text-primary); margin-bottom: 8px; font-weight: 500; }
.dropzone-primary { color: var(--accent); font-weight: 600; }
.dropzone-secondary { font-size: 0.85rem; color: var(--text-secondary); }

.selected-file-chip { margin-top: 16px; font-family: var(--font-mono); font-size: 0.85rem; background: #FFF; padding: 6px 16px; border-radius: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); z-index: 10; font-weight: 500; }

.btn-action-lg {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--text-primary);
  color: #FFF;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.btn-action-lg:not(:disabled):hover { background: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-action-lg:disabled { opacity: 0.6; cursor: not-allowed; }

/* History Component */
.history-container { display: flex; flex-direction: column; gap: 16px; min-height: 400px; }
.record-count { background: var(--bg-app); padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }
.history-list { display: flex; flex-direction: column; gap: 12px; overflow-y: auto; max-height: 340px; padding-right: 8px; }
.history-row { display: flex; align-items: center; gap: 16px; padding: 12px; border: 1px solid var(--border-light); border-radius: var(--radius-md); transition: all 0.2s; cursor: default; }
.history-row:hover { background: var(--bg-app); border-color: var(--border-medium); }
.history-thumb { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--border-light); }
.history-details { flex: 1; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.history-filename { font-size: 0.95rem; font-weight: 600; font-family: var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-primary); }
.history-time { font-size: 0.8rem; color: var(--text-secondary); }
.history-status { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.status-badge { padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.status-badge.alert { background: var(--alert-light); color: var(--alert); }
.status-badge.clear { background: var(--bg-app); color: var(--text-secondary); }
.history-score { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.empty-state { padding: 48px; text-align: center; color: var(--text-tertiary); font-weight: 500; border: 2px dashed var(--border-light); border-radius: var(--radius-md); margin-top: 24px; }


/* Bottom Component: Visualizations */
.visualization-container { padding: 32px; }
.frames-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .frames-grid { grid-template-columns: 1fr; } }
.frame-card { display: flex; flex-direction: column; gap: 12px; }
.frame-header { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; text-align: center; }
.frame-content { aspect-ratio: 1; background: var(--bg-app); border-radius: var(--radius-md); border: 1px solid var(--border-light); box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.frame-content.dark-mode { background: #0F172A; border-color: #1E293B; }
.frame-content img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
.invert-render { filter: invert(1); }
.feature-overlay { mix-blend-mode: multiply; opacity: 0.8; filter: sepia(1) hue-rotate(130deg) saturate(500%); }