multisense_df / app /frontend /src /index.css
vijay-2132's picture
Clean deployment without large checkpoints
a94bd47
Raw
History Blame Contribute Delete
38.7 kB
.liquid-glass {
background: rgba(255, 255, 255, 0.01);
background-blend-mode: luminosity;
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
border: none;
box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
position: relative;
overflow: hidden;
}
.liquid-glass::before {
content: "";
position: absolute; inset: 0;
border-radius: inherit;
padding: 1.4px;
background: linear-gradient(180deg,
rgba(255, 255, 255, 0.45) 0%,
rgba(255, 255, 255, 0.15) 20%,
rgba(255, 255, 255, 0) 40%,
rgba(255, 255, 255, 0) 60%,
rgba(255, 255, 255, 0.15) 80%,
rgba(255, 255, 255, 0.45) 100%);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
}
.liquid-glass-strong {
background: rgba(255, 255, 255, 0.01);
background-blend-mode: luminosity;
backdrop-filter: blur(50px);
-webkit-backdrop-filter: blur(50px);
border: none;
box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.15);
position: relative;
overflow: hidden;
}
.liquid-glass-strong::before {
content: "";
position: absolute; inset: 0;
border-radius: inherit;
padding: 1.4px;
background: linear-gradient(180deg,
rgba(255, 255, 255, 0.5) 0%,
rgba(255, 255, 255, 0.2) 20%,
rgba(255, 255, 255, 0) 40%,
rgba(255, 255, 255, 0) 60%,
rgba(255, 255, 255, 0.2) 80%,
rgba(255, 255, 255, 0.5) 100%);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
}
/* ============================================================
MultiSense-DF — Complete Design System
Dark Glassmorphism Theme | Purple/Cyan Accents
============================================================ */
/* ---------- CSS Reset & Base ---------- */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
/* Core Palette (Premium Light Theme transformation) */
--bg-primary: #f5f7fc;
--bg-secondary: #ebedf5;
--bg-surface: #ffffff;
--bg-elevated: #ffffff;
--bg-card: rgba(255, 255, 255, 0.85);
/* Accent Colors */
--accent-purple: #4f46e5;
--accent-purple-light: #6366f1;
--accent-purple-dim: rgba(79, 70, 229, 0.08);
--accent-cyan: #0891b2;
--accent-cyan-light: #06b6d4;
--accent-cyan-dim: rgba(8, 145, 178, 0.08);
/* Status Colors */
--color-fake: #e11d48;
--color-fake-dim: rgba(225, 29, 72, 0.08);
--color-fake-glow: rgba(225, 29, 72, 0.25);
--color-real: #10b981;
--color-real-dim: rgba(16, 185, 129, 0.08);
--color-real-glow: rgba(16, 185, 129, 0.25);
/* Text */
--text-primary: #0f172a;
--text-secondary: #334155;
--text-muted: #64748b;
--text-accent: #4f46e5;
/* Borders */
--border-subtle: rgba(0, 0, 0, 0.06);
--border-glass: rgba(0, 0, 0, 0.08);
--border-purple: rgba(79, 70, 229, 0.25);
--border-cyan: rgba(8, 145, 178, 0.25);
/* Fonts */
--font-heading: 'Plus Jakarta Sans', sans-serif;
--font-body: 'Inter', sans-serif;
/* Spacing */
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-5: 1.25rem;
--space-6: 1.5rem;
--space-8: 2rem;
--space-10: 2.5rem;
--space-12: 3rem;
--space-16: 4rem;
/* Radii */
--radius-sm: 6px;
--radius-md: 12px;
--radius-lg: 18px;
--radius-xl: 24px;
--radius-2xl: 32px;
--radius-full: 9999px;
/* Shadows (Light Mode Neumorphic/Glow) */
--shadow-glow-purple: 0 0 30px rgba(79, 70, 229, 0.15), 0 0 60px rgba(79, 70, 229, 0.05);
--shadow-glow-cyan: 0 0 30px rgba(8, 145, 178, 0.15), 0 0 60px rgba(8, 145, 178, 0.05);
--shadow-glow-fake: 0 0 40px rgba(225, 29, 72, 0.2), 0 0 80px rgba(225, 29, 72, 0.08);
--shadow-glow-real: 0 0 40px rgba(16, 185, 129, 0.2), 0 0 80px rgba(16, 185, 129, 0.08);
--shadow-card: 0 10px 30px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.01), inset 0 1px 0 rgba(255, 255, 255, 0.8);
--shadow-elevated: 0 20px 40px rgba(0, 0, 0, 0.05), 0 1px 10px rgba(0, 0, 0, 0.02), inset 0 1px 0 rgba(255, 255, 255, 0.9);
/* Transitions */
--transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
--transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
--transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
--transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
html {
scroll-behavior: smooth;
-webkit-text-size-adjust: 100%;
}
body {
font-family: var(--font-body);
background-color: var(--bg-primary);
color: var(--text-primary);
line-height: 1.6;
font-size: 16px;
min-height: 100vh;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
background: var(--accent-purple);
border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-purple-light); }
/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-heading);
font-style: normal; /* Sans-serif geometric headings look best normal */
line-height: 1.2;
font-weight: 700; /* Bold headers make the typography premium */
color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
p { color: var(--text-secondary); line-height: 1.7; }
a { color: var(--accent-cyan); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--accent-cyan-light); }
/* ---------- Background Mesh ---------- */
.app-bg {
position: fixed;
inset: 0;
z-index: -1;
background:
radial-gradient(ellipse 80% 60% at 20% 0%, rgba(124, 58, 237, 0.08) 0%, transparent 60%),
radial-gradient(ellipse 60% 50% at 80% 100%, rgba(6, 182, 212, 0.06) 0%, transparent 60%),
radial-gradient(ellipse 40% 40% at 60% 40%, rgba(124, 58, 237, 0.03) 0%, transparent 50%),
var(--bg-primary);
}
/* Animated mesh dots */
.app-bg::before {
content: '';
position: absolute;
inset: 0;
background-image:
radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
background-size: 40px 40px;
mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 40%, transparent 100%);
}
/* ---------- Glass Card ---------- */
.glass-card {
background: var(--bg-card);
backdrop-filter: blur(20px) saturate(1.4);
-webkit-backdrop-filter: blur(20px) saturate(1.4);
border: 1px solid var(--border-glass);
border-radius: var(--radius-xl);
box-shadow: var(--shadow-card);
transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.glass-card:hover {
border-color: var(--border-purple);
box-shadow: var(--shadow-card), 0 0 20px rgba(124, 58, 237, 0.08);
}
/* ---------- Buttons ---------- */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--space-2);
padding: var(--space-3) var(--space-6);
border: none;
border-radius: var(--radius-full);
font-family: var(--font-body);
font-size: 0.9375rem;
font-weight: 600;
cursor: pointer;
transition: all var(--transition-bounce);
position: relative;
overflow: hidden;
white-space: nowrap;
letter-spacing: 0.01em;
}
.btn::after {
content: '';
position: absolute;
inset: 0;
background: rgba(255, 255, 255, 0);
transition: background var(--transition-fast);
}
.btn:hover::after { background: rgba(255, 255, 255, 0.08); }
.btn:active { transform: scale(0.97); }
.btn-primary {
background: linear-gradient(to bottom, var(--accent-purple-light), var(--accent-purple));
color: #fff;
box-shadow: 0 4px 10px rgba(79, 70, 229, 0.15), inset 0 1px 0 rgba(255,255,255,0.3);
border-bottom: 3px solid #3730a3 !important;
transition: transform 0.15s ease, box-shadow 0.15s ease, border-bottom-width 0.15s ease;
}
.btn-primary:hover {
box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25), inset 0 1px 0 rgba(255,255,255,0.4);
transform: translateY(-1px);
}
.btn-primary:active {
transform: translateY(2px) !important;
border-bottom-width: 0px !important;
box-shadow: 0 2px 5px rgba(79, 70, 229, 0.15), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-secondary {
background: #ffffff;
color: var(--text-primary);
border: 1px solid #d1d5db;
box-shadow: 0 2px 4px rgba(0,0,0,0.03), inset 0 1px 0 rgba(255,255,255,0.8);
border-bottom: 3px solid #b5b9c2 !important;
transition: transform 0.15s ease, box-shadow 0.15s ease, border-bottom-width 0.15s ease;
}
.btn-secondary:hover {
background: #fdfdfd;
border-color: #9ca3af;
transform: translateY(-1px);
}
.btn-secondary:active {
transform: translateY(2px) !important;
border-bottom-width: 0px !important;
box-shadow: 0 1px 2px rgba(0,0,0,0.03), inset 0 1px 0 rgba(255,255,255,0.5);
}
.btn-demo {
background: linear-gradient(to bottom, #06b6d4, #0891b2);
color: #fff;
border-bottom: 3px solid #155e75 !important;
box-shadow: 0 4px 10px rgba(8, 145, 178, 0.15), inset 0 1px 0 rgba(255,255,255,0.3);
transition: transform 0.15s ease, box-shadow 0.15s ease, border-bottom-width 0.15s ease;
}
.btn-demo:hover {
background: #0891b2;
box-shadow: 0 6px 16px rgba(8, 145, 178, 0.25), inset 0 1px 0 rgba(255,255,255,0.4);
transform: translateY(-1px);
}
.btn-demo:active {
transform: translateY(2px) !important;
border-bottom-width: 0px !important;
box-shadow: 0 2px 5px rgba(8, 145, 178, 0.15), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-ghost {
background: transparent;
color: var(--text-secondary);
border: 1px solid var(--border-subtle);
padding: var(--space-2) var(--space-4);
font-size: 0.875rem;
}
.btn-ghost:hover {
color: var(--text-primary);
border-color: var(--border-glass);
}
/* ---------- Badge ---------- */
.badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 12px;
border-radius: var(--radius-full);
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.badge-purple {
background: var(--accent-purple-dim);
color: var(--accent-purple-light);
border: 1px solid var(--border-purple);
}
/* ---------- Layout ---------- */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 var(--space-6);
}
@media (max-width: 768px) {
.container { padding: 0 var(--space-4); }
}
/* ---------- Page Transitions ---------- */
@keyframes pageIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.page-enter {
animation: pageIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
/* ---------- Gradient Text ---------- */
.gradient-text {
background: linear-gradient(135deg, var(--accent-purple-light), var(--accent-cyan));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* ---------- Divider ---------- */
.divider {
height: 1px;
background: linear-gradient(90deg, transparent, var(--border-glass), transparent);
margin: var(--space-8) 0;
}
/* ---------- Loading Skeleton ---------- */
@keyframes shimmer {
0% { background-position: -200% 0; }
100% { background-position: 200% 0; }
}
.skeleton {
background: linear-gradient(
90deg,
rgba(255,255,255,0.04) 25%,
rgba(255,255,255,0.08) 50%,
rgba(255,255,255,0.04) 75%
);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;
border-radius: var(--radius-md);
}
/* ---------- Spinner ---------- */
@keyframes spin {
to { transform: rotate(360deg); }
}
.spinner {
width: 20px;
height: 20px;
border: 2px solid rgba(255,255,255,0.1);
border-top-color: var(--accent-purple);
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
/* ---------- Pulse ---------- */
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
.pulse { animation: pulse 2s ease-in-out infinite; }
/* ---------- Float ---------- */
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-8px); }
}
/* ---------- Glow Pulse ---------- */
@keyframes glowPulse {
0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.3); }
50% { box-shadow: 0 0 40px rgba(124, 58, 237, 0.6), 0 0 80px rgba(124, 58, 237, 0.2); }
}
/* ---------- Header ---------- */
.header {
position: sticky;
top: 0;
z-index: 100;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
background: rgba(10, 10, 15, 0.85);
border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
display: flex;
align-items: center;
justify-content: space-between;
height: 68px;
}
.logo {
display: flex;
align-items: center;
gap: var(--space-3);
text-decoration: none;
}
.logo-icon {
width: 36px;
height: 36px;
background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
flex-shrink: 0;
}
.logo-text {
font-family: var(--font-heading);
font-weight: 800;
font-size: 1.1rem;
color: var(--text-primary);
letter-spacing: -0.02em;
}
.logo-text span {
color: var(--accent-purple-light);
}
.header-nav {
display: flex;
align-items: center;
gap: var(--space-4);
}
.nav-chip {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 14px;
border-radius: var(--radius-full);
background: rgba(255,255,255,0.04);
border: 1px solid var(--border-subtle);
font-size: 0.8125rem;
color: var(--text-secondary);
font-weight: 500;
}
.status-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--color-real);
animation: pulse 2s infinite;
flex-shrink: 0;
}
.status-dot.offline { background: var(--color-fake); animation: none; }
/* ---------- Hero Section ---------- */
.hero-section {
padding: var(--space-16) 0 var(--space-12);
text-align: center;
position: relative;
}
.hero-eyebrow {
margin-bottom: var(--space-4);
}
.hero-title {
font-family: var(--font-heading);
font-size: clamp(2.5rem, 6vw, 4.5rem);
font-weight: 800;
line-height: 1.1;
letter-spacing: -0.03em;
margin-bottom: var(--space-5);
}
.hero-subtitle {
font-size: clamp(1rem, 2vw, 1.2rem);
color: var(--text-secondary);
max-width: 600px;
margin: 0 auto var(--space-8);
line-height: 1.7;
}
/* ---------- Feature Cards ---------- */
.features-section {
padding: var(--space-12) 0;
}
.features-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: var(--space-5);
}
@media (max-width: 900px) {
.features-grid { grid-template-columns: 1fr; }
}
@media (min-width: 640px) and (max-width: 900px) {
.features-grid { grid-template-columns: repeat(2, 1fr); }
}
.feature-card {
padding: var(--space-8);
position: relative;
overflow: hidden;
transition: transform var(--transition-bounce), box-shadow var(--transition-base);
}
.feature-card:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-elevated), 0 0 30px rgba(124, 58, 237, 0.1);
}
.feature-card::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 2px;
background: var(--gradient);
opacity: 0;
transition: opacity var(--transition-base);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon-wrap {
width: 56px;
height: 56px;
border-radius: var(--radius-lg);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: var(--space-5);
font-size: 1.5rem;
position: relative;
}
.feature-icon-wrap.purple {
background: var(--accent-purple-dim);
border: 1px solid var(--border-purple);
--gradient: linear-gradient(90deg, var(--accent-purple), var(--accent-purple-light));
}
.feature-icon-wrap.cyan {
background: var(--accent-cyan-dim);
border: 1px solid var(--border-cyan);
--gradient: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan-light));
}
.feature-icon-wrap.pink {
background: rgba(244, 63, 94, 0.1);
border: 1px solid rgba(244, 63, 94, 0.3);
--gradient: linear-gradient(90deg, #f43f5e, #fb7185);
}
.feature-card.purple-card {
--gradient: linear-gradient(90deg, var(--accent-purple), var(--accent-purple-light));
}
.feature-card.cyan-card {
--gradient: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan-light));
}
.feature-card.pink-card {
--gradient: linear-gradient(90deg, #f43f5e, #fb7185);
}
.feature-card h3 {
font-size: 1.15rem;
margin-bottom: var(--space-2);
}
.feature-card p {
font-size: 0.9rem;
line-height: 1.7;
}
/* ---------- Upload Zone ---------- */
.upload-zone-wrapper {
max-width: 680px;
margin: 0 auto var(--space-6);
}
.upload-zone {
position: relative;
padding: var(--space-12) var(--space-8);
border-radius: var(--radius-xl);
background: var(--bg-card);
backdrop-filter: blur(20px);
text-align: center;
cursor: pointer;
transition: all var(--transition-base);
overflow: hidden;
border: 2px solid transparent;
background-clip: padding-box;
}
/* Animated gradient border */
.upload-zone::before {
content: '';
position: absolute;
inset: -2px;
border-radius: calc(var(--radius-xl) + 2px);
background: linear-gradient(
var(--border-angle, 0deg),
var(--accent-purple),
var(--accent-cyan),
var(--accent-purple)
);
z-index: -1;
animation: borderRotate 4s linear infinite;
opacity: 0.5;
transition: opacity var(--transition-base);
}
.upload-zone::after {
content: '';
position: absolute;
inset: 1px;
border-radius: var(--radius-xl);
background: var(--bg-surface);
z-index: -1;
}
@keyframes borderRotate {
from { --border-angle: 0deg; }
to { --border-angle: 360deg; }
}
@property --border-angle {
syntax: '<angle>';
initial-value: 0deg;
inherits: false;
}
.upload-zone.drag-over {
transform: scale(1.01);
}
.upload-zone.drag-over::before {
opacity: 1;
animation-duration: 1.5s;
}
.upload-zone.has-file::before {
background: linear-gradient(var(--border-angle, 0deg), var(--color-real), #4ade80, var(--color-real));
}
.upload-icon-container {
width: 80px;
height: 80px;
border-radius: 50%;
background: linear-gradient(135deg, var(--accent-purple-dim), var(--accent-cyan-dim));
border: 1px solid var(--border-glass);
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto var(--space-5);
font-size: 2rem;
transition: all var(--transition-bounce);
animation: float 3s ease-in-out infinite;
}
.upload-zone.drag-over .upload-icon-container {
transform: scale(1.15);
background: linear-gradient(135deg, var(--accent-purple-dim), var(--accent-cyan-dim));
box-shadow: var(--shadow-glow-purple);
animation: none;
}
.upload-zone h3 {
font-size: 1.25rem;
margin-bottom: var(--space-2);
}
.upload-zone p {
font-size: 0.9rem;
color: var(--text-muted);
margin-bottom: var(--space-5);
}
.file-types {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: var(--space-2);
margin-bottom: var(--space-6);
}
.file-type-chip {
padding: 3px 10px;
border-radius: var(--radius-full);
font-size: 0.75rem;
font-weight: 500;
font-family: monospace;
background: rgba(255,255,255,0.05);
border: 1px solid var(--border-subtle);
color: var(--text-muted);
}
.selected-file {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--space-3) var(--space-4);
background: rgba(34, 197, 94, 0.08);
border: 1px solid rgba(34, 197, 94, 0.2);
border-radius: var(--radius-md);
margin-top: var(--space-4);
text-align: left;
}
.selected-file-info {
display: flex;
align-items: center;
gap: var(--space-3);
min-width: 0;
}
.selected-file-icon {
font-size: 1.5rem;
flex-shrink: 0;
}
.selected-file-name {
font-size: 0.875rem;
font-weight: 500;
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.selected-file-size {
font-size: 0.75rem;
color: var(--text-muted);
}
.remove-file-btn {
background: none;
border: none;
cursor: pointer;
color: var(--text-muted);
font-size: 1rem;
padding: var(--space-1);
border-radius: 50%;
display: flex;
transition: all var(--transition-fast);
flex-shrink: 0;
}
.remove-file-btn:hover { color: var(--color-fake); background: rgba(239,68,68,0.1); }
.upload-actions {
display: flex;
gap: var(--space-3);
justify-content: center;
flex-wrap: wrap;
}
/* ---------- Analysis Progress ---------- */
.progress-wrapper {
max-width: 560px;
margin: 0 auto;
padding: var(--space-8);
}
.progress-header {
text-align: center;
margin-bottom: var(--space-8);
}
.progress-header h3 {
font-size: 1.4rem;
margin-bottom: var(--space-2);
}
.progress-steps {
display: flex;
flex-direction: column;
gap: var(--space-3);
}
.progress-step {
display: flex;
align-items: center;
gap: var(--space-4);
padding: var(--space-4) var(--space-5);
border-radius: var(--radius-md);
background: rgba(255,255,255,0.02);
border: 1px solid var(--border-subtle);
transition: all var(--transition-base);
}
.progress-step.active {
background: rgba(124, 58, 237, 0.08);
border-color: var(--border-purple);
box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
}
.progress-step.completed {
background: rgba(34, 197, 94, 0.06);
border-color: rgba(34, 197, 94, 0.2);
}
.step-icon {
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.1rem;
flex-shrink: 0;
transition: all var(--transition-base);
}
.step-icon.waiting {
background: rgba(255,255,255,0.05);
border: 1px solid var(--border-subtle);
color: var(--text-muted);
}
.step-icon.active {
background: var(--accent-purple-dim);
border: 1px solid var(--border-purple);
color: var(--accent-purple-light);
animation: glowPulse 1.5s ease-in-out infinite;
}
.step-icon.completed {
background: rgba(34, 197, 94, 0.15);
border: 1px solid rgba(34, 197, 94, 0.3);
color: var(--color-real);
}
.step-text { flex: 1; }
.step-label {
font-weight: 600;
font-size: 0.9375rem;
color: var(--text-primary);
margin-bottom: 2px;
}
.step-desc {
font-size: 0.8rem;
color: var(--text-muted);
}
.step-status {
font-size: 0.8rem;
font-weight: 600;
flex-shrink: 0;
}
.step-status.active { color: var(--accent-purple-light); }
.step-status.completed { color: var(--color-real); }
.step-status.waiting { color: var(--text-muted); }
/* Overall progress bar */
.overall-progress {
margin-top: var(--space-6);
}
.progress-bar-track {
height: 4px;
background: rgba(255,255,255,0.06);
border-radius: var(--radius-full);
overflow: hidden;
}
.progress-bar-fill {
height: 100%;
border-radius: var(--radius-full);
background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}
.progress-bar-label {
display: flex;
justify-content: space-between;
font-size: 0.8rem;
color: var(--text-muted);
margin-top: var(--space-2);
}
/* ---------- Results Dashboard ---------- */
.results-page {
padding: var(--space-8) 0 var(--space-16);
}
.results-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: var(--space-8);
flex-wrap: wrap;
gap: var(--space-4);
}
.results-filename {
font-size: 0.875rem;
color: var(--text-muted);
display: flex;
align-items: center;
gap: var(--space-2);
}
.results-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--space-5);
}
.results-grid .span-2 {
grid-column: span 2;
}
@media (max-width: 768px) {
.results-grid {
grid-template-columns: 1fr;
}
.results-grid .span-2 {
grid-column: span 1;
}
}
/* ---------- Verdict Banner ---------- */
.verdict-banner {
grid-column: span 2;
padding: var(--space-8) var(--space-10);
border-radius: var(--radius-xl);
text-align: center;
position: relative;
overflow: hidden;
}
@media (max-width: 768px) {
.verdict-banner {
grid-column: span 1;
padding: var(--space-6);
}
}
.verdict-banner.fake {
background: linear-gradient(135deg, rgba(239,68,68,0.08), rgba(239,68,68,0.03));
border: 1px solid rgba(239,68,68,0.25);
}
.verdict-banner.real {
background: linear-gradient(135deg, rgba(34,197,94,0.08), rgba(34,197,94,0.03));
border: 1px solid rgba(34,197,94,0.25);
}
.verdict-banner::before {
content: '';
position: absolute;
top: -50%;
left: 50%;
transform: translateX(-50%);
width: 400px;
height: 300px;
border-radius: 50%;
opacity: 0.06;
pointer-events: none;
}
.verdict-banner.fake::before { background: var(--color-fake); }
.verdict-banner.real::before { background: var(--color-real); }
.verdict-label {
font-family: var(--font-heading);
font-size: clamp(3rem, 8vw, 5.5rem);
font-weight: 800;
letter-spacing: -0.02em;
line-height: 1;
margin-bottom: var(--space-3);
position: relative;
}
.verdict-banner.fake .verdict-label {
color: var(--color-fake);
text-shadow: var(--shadow-glow-fake);
animation: fakePulse 3s ease-in-out infinite;
}
.verdict-banner.real .verdict-label {
color: var(--color-real);
text-shadow: var(--shadow-glow-real);
}
@keyframes fakePulse {
0%, 100% { text-shadow: 0 0 20px rgba(239,68,68,0.4), 0 0 60px rgba(239,68,68,0.15); }
50% { text-shadow: 0 0 40px rgba(239,68,68,0.7), 0 0 100px rgba(239,68,68,0.3); }
}
.verdict-subtitle {
font-size: 1rem;
color: var(--text-secondary);
margin-bottom: var(--space-5);
}
.confidence-display {
display: inline-flex;
align-items: center;
gap: var(--space-3);
padding: var(--space-2) var(--space-5);
border-radius: var(--radius-full);
font-size: 1.5rem;
font-weight: 700;
font-family: var(--font-heading);
}
.verdict-banner.fake .confidence-display {
background: rgba(239,68,68,0.12);
border: 1px solid rgba(239,68,68,0.25);
color: var(--color-fake);
}
.verdict-banner.real .confidence-display {
background: rgba(34,197,94,0.12);
border: 1px solid rgba(34,197,94,0.25);
color: var(--color-real);
}
.confidence-label {
font-size: 0.8rem;
font-weight: 500;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.08em;
}
.verdict-icon {
font-size: 2.5rem;
margin-bottom: var(--space-4);
display: block;
animation: float 3s ease-in-out infinite;
}
/* ---------- Confidence Gauge ---------- */
.gauge-card {
padding: var(--space-6);
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-4);
}
.gauge-title {
font-size: 0.9rem;
font-weight: 600;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 0.08em;
text-align: center;
}
.gauge-svg-wrap {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
}
.gauge-center-text {
position: absolute;
text-align: center;
}
.gauge-percentage {
font-family: var(--font-heading);
font-size: 1.6rem;
font-weight: 700;
line-height: 1;
display: block;
}
.gauge-sub {
font-size: 0.7rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.06em;
}
.gauge-icon {
font-size: 1rem;
margin-bottom: 2px;
}
/* ---------- Contribution Chart ---------- */
.contribution-card {
padding: var(--space-6) var(--space-8);
}
.contribution-card h3 {
font-size: 1rem;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: var(--space-6);
font-weight: 600;
}
.contribution-bars {
display: flex;
flex-direction: column;
gap: var(--space-4);
}
.contribution-row {
display: grid;
grid-template-columns: 80px 1fr 48px;
align-items: center;
gap: var(--space-3);
}
.contribution-label {
font-size: 0.875rem;
font-weight: 600;
color: var(--text-secondary);
}
.contribution-track {
height: 10px;
background: rgba(255,255,255,0.05);
border-radius: var(--radius-full);
overflow: hidden;
position: relative;
}
.contribution-fill {
height: 100%;
border-radius: var(--radius-full);
transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
}
.contribution-fill::after {
content: '';
position: absolute;
top: 0; right: 0;
width: 4px; height: 100%;
border-radius: 50%;
background: rgba(255,255,255,0.7);
}
.contribution-value {
font-size: 0.875rem;
font-weight: 700;
text-align: right;
font-family: var(--font-heading);
}
/* ---------- Sync Profile ---------- */
.sync-card {
padding: var(--space-6) var(--space-8);
}
.sync-card h3 {
font-size: 1rem;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: var(--space-2);
font-weight: 600;
}
.sync-subtitle {
font-size: 0.8rem;
color: var(--text-muted);
margin-bottom: var(--space-5);
}
.sync-chart-wrap {
position: relative;
width: 100%;
height: 140px;
}
.sync-chart-svg {
width: 100%;
height: 100%;
overflow: visible;
}
.sync-y-labels {
display: flex;
flex-direction: column;
justify-content: space-between;
position: absolute;
left: 0;
top: 0;
bottom: 0;
font-size: 0.65rem;
color: var(--text-muted);
pointer-events: none;
}
.sync-threshold-label {
position: absolute;
right: 0;
font-size: 0.7rem;
color: rgba(124, 58, 237, 0.6);
transform: translateY(-50%);
}
/* ---------- GradCAM Viewer ---------- */
.gradcam-card {
padding: var(--space-6) var(--space-8);
}
.gradcam-card h3 {
font-size: 1rem;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: var(--space-2);
font-weight: 600;
}
.gradcam-subtitle {
font-size: 0.8rem;
color: var(--text-muted);
margin-bottom: var(--space-5);
}
.gradcam-image-wrap {
border-radius: var(--radius-md);
overflow: hidden;
border: 1px solid var(--border-glass);
background: rgba(0,0,0,0.3);
min-height: 200px;
display: flex;
align-items: center;
justify-content: center;
}
.gradcam-image {
width: 100%;
height: auto;
display: block;
max-height: 300px;
object-fit: cover;
}
.gradcam-placeholder {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-3);
padding: var(--space-8);
color: var(--text-muted);
text-align: center;
}
.gradcam-placeholder .icon { font-size: 2.5rem; opacity: 0.4; }
.gradcam-placeholder p { font-size: 0.8rem; }
.gradcam-legend {
display: flex;
gap: var(--space-4);
margin-top: var(--space-3);
flex-wrap: wrap;
}
.legend-item {
display: flex;
align-items: center;
gap: var(--space-2);
font-size: 0.75rem;
color: var(--text-muted);
}
.legend-dot {
width: 10px;
height: 10px;
border-radius: 50%;
flex-shrink: 0;
}
/* ---------- Section Headings ---------- */
.section-heading {
text-align: center;
margin-bottom: var(--space-10);
}
.section-heading h2 {
margin-bottom: var(--space-3);
}
.section-heading p {
max-width: 540px;
margin: 0 auto;
font-size: 1rem;
}
/* ---------- Stats Row ---------- */
.stats-row {
display: flex;
justify-content: center;
gap: var(--space-8);
flex-wrap: wrap;
margin: var(--space-8) 0;
}
.stat-item {
text-align: center;
}
.stat-number {
font-family: var(--font-heading);
font-size: 2rem;
font-weight: 800;
background: linear-gradient(135deg, var(--accent-purple-light), var(--accent-cyan));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
display: block;
line-height: 1;
margin-bottom: var(--space-1);
}
.stat-label {
font-size: 0.8rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.08em;
}
/* ---------- Gauges Layout ---------- */
.gauges-section {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: var(--space-5);
}
@media (max-width: 768px) {
.gauges-section {
grid-template-columns: 1fr;
}
}
/* ---------- Mobile Menu ---------- */
@media (max-width: 640px) {
.header-nav .nav-chip { display: none; }
.hero-title { font-size: 2.2rem; }
.verdict-banner { padding: var(--space-5); }
.verdict-label { font-size: 3rem; }
.contribution-row { grid-template-columns: 60px 1fr 40px; }
}
/* ---------- Animate In ---------- */
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes scaleIn {
from { opacity: 0; transform: scale(0.95); }
to { opacity: 1; transform: scale(1); }
}
.animate-in { animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.animate-fade { animation: fadeIn 0.4s ease forwards; }
.animate-scale { animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }
.delay-400 { animation-delay: 0.4s; opacity: 0; }
.delay-500 { animation-delay: 0.5s; opacity: 0; }
.delay-600 { animation-delay: 0.6s; opacity: 0; }
/* ---------- Noise Texture ---------- */
.noise-overlay {
position: fixed;
inset: 0;
z-index: -1;
pointer-events: none;
opacity: 0.025;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
background-repeat: repeat;
background-size: 200px;
}
/* ---------- Info Tag ---------- */
.info-tag {
display: inline-flex;
align-items: center;
gap: var(--space-2);
padding: var(--space-2) var(--space-4);
border-radius: var(--radius-full);
font-size: 0.8125rem;
color: var(--text-muted);
background: rgba(255,255,255,0.03);
border: 1px solid var(--border-subtle);
}
/* ---------- Footer ---------- */
.footer {
padding: var(--space-8) 0;
border-top: 1px solid var(--border-subtle);
text-align: center;
}
.footer p {
font-size: 0.8125rem;
color: var(--text-muted);
}
.footer strong {
color: var(--accent-purple-light);
font-weight: 600;
}
/* ============================================================
MultiSense-DF — 3D Cyber & Tech Animations
============================================================ */
/* Perspective 3D cyber grid */
.cyber-grid-3d {
position: absolute;
inset: 0;
background-image:
linear-gradient(to right, rgba(124, 58, 237, 0.08) 1px, transparent 1px),
linear-gradient(to bottom, rgba(124, 58, 237, 0.08) 1px, transparent 1px);
background-size: 60px 60px;
transform: perspective(600px) rotateX(65deg) translateY(-80px) translateZ(-50px);
transform-origin: top center;
animation: gridScroll 20s linear infinite;
mask-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.95) 75%);
pointer-events: none;
z-index: 1;
}
@keyframes gridScroll {
0% { background-position: 0 0; }
100% { background-position: 0 1200px; }
}
/* 3D Holographic circular radar */
.hologram-container-3d {
position: relative;
width: 280px;
height: 280px;
display: flex;
align-items: center;
justify-content: center;
perspective: 1200px;
transform-style: preserve-3d;
z-index: 2;
}
.hologram-ring {
position: absolute;
border-radius: 50%;
border: 1px dashed rgba(6, 182, 212, 0.45);
box-shadow: 0 0 15px rgba(6, 182, 212, 0.25), inset 0 0 15px rgba(6, 182, 212, 0.15);
transform-style: preserve-3d;
pointer-events: none;
}
.hologram-ring-1 {
width: 100%;
height: 100%;
transform: rotateX(75deg) rotateY(0deg) translateZ(0);
animation: rotateRing1 12s linear infinite;
}
.hologram-ring-2 {
width: 82%;
height: 82%;
border-style: solid;
border-color: rgba(124, 58, 237, 0.45);
box-shadow: 0 0 25px rgba(124, 58, 237, 0.35);
transform: rotateX(75deg) rotateY(12deg) translateZ(-15px);
animation: rotateRing2 9s linear infinite;
}
.hologram-ring-3 {
width: 62%;
height: 62%;
border-width: 1.5px;
border-color: rgba(6, 182, 212, 0.7);
transform: rotateX(75deg) rotateY(-8deg) translateZ(15px);
animation: rotateRing3 6s linear infinite;
}
@keyframes rotateRing1 {
0% { transform: rotateX(75deg) rotateZ(0deg); }
100% { transform: rotateX(75deg) rotateZ(360deg); }
}
@keyframes rotateRing2 {
0% { transform: rotateX(75deg) rotateY(12deg) rotateZ(360deg); }
100% { transform: rotateX(75deg) rotateY(12deg) rotateZ(0deg); }
}
@keyframes rotateRing3 {
0% { transform: rotateX(75deg) rotateY(-8deg) rotateZ(0deg); }
100% { transform: rotateX(75deg) rotateY(-8deg) rotateZ(-360deg); }
}
/* High-tech vertical scanning line */
.scanline-effect {
position: absolute;
top: 0; left: 0; right: 0;
height: 3px;
background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.8), transparent);
box-shadow: 0 0 8px rgba(6, 182, 212, 0.8), 0 0 16px rgba(6, 182, 212, 0.4);
opacity: 0.9;
pointer-events: none;
animation: scanSweep 4s ease-in-out infinite;
z-index: 10;
}
@keyframes scanSweep {
0% { top: 0%; }
50% { top: 100%; }
100% { top: 0%; }
}
/* Dynamic 3D tilt card container */
.tilt-card-3d-wrapper {
perspective: 1200px;
transform-style: preserve-3d;
}
.tilt-card-3d {
transform-style: preserve-3d;
transition: transform 0.15s ease-out, box-shadow var(--transition-base), border-color var(--transition-base);
}
.tilt-card-3d:hover {
border-color: rgba(124, 58, 237, 0.6);
box-shadow: var(--shadow-card), 0 0 35px rgba(124, 58, 237, 0.15);
}
/* Floating HUD widget */
.float-3d {
animation: floatAnim 5s ease-in-out infinite;
}
@keyframes floatAnim {
0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
50% { transform: translateY(-8px) rotateX(1.5deg) rotateY(-1.5deg); }
}
/* HUD Scanning Radar Center Spot */
.hologram-core {
position: absolute;
width: 140px;
height: 140px;
border-radius: 50%;
background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
display: flex;
align-items: center;
justify-content: center;
animation: pulseCore 3s ease-in-out infinite;
z-index: 3;
}
@keyframes pulseCore {
0%, 100% { transform: scale(1); opacity: 0.8; }
50% { transform: scale(1.15); opacity: 1; }
}
.hud-telemetry {
font-family: monospace;
font-size: 10px;
color: var(--accent-cyan-light);
opacity: 0.65;
text-shadow: 0 0 5px rgba(6, 182, 212, 0.5);
pointer-events: none;
}