Spaces:
Sleeping
Sleeping
| @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%); } | |