warlord123456
Deploy HF fix MediaPipe Segfault
30a8d46
Raw
History Blame Contribute Delete
33.7 kB
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
:root {
--bg-color: #060a13;
--bg-secondary: #0c1220;
--panel-bg: rgba(14, 20, 35, 0.75);
--panel-bg-solid: #0e1423;
--glass-border: rgba(255, 255, 255, 0.08);
--glass-border-hover: rgba(255, 255, 255, 0.15);
--glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
--primary: #22d3ee;
--primary-dim: #0891b2;
--primary-glow: rgba(34, 211, 238, 0.25);
--secondary: #818cf8;
--secondary-glow: rgba(129, 140, 248, 0.25);
--accent: #a78bfa;
--success: #34d399;
--success-glow: rgba(52, 211, 153, 0.3);
--danger: #fb7185;
--danger-glow: rgba(251, 113, 133, 0.3);
--warning: #fbbf24;
--info: #38bdf8;
--info-glow: rgba(56, 189, 248, 0.3);
--text-main: #f1f5f9;
--text-secondary: #cbd5e1;
--text-muted: #64748b;
--radius-sm: 8px;
--radius-md: 14px;
--radius-lg: 20px;
--radius-xl: 28px;
--transition-fast: 0.15s ease;
--transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
background-color: var(--bg-color);
background-image:
radial-gradient(ellipse at 10% 20%, rgba(34, 211, 238, 0.07), transparent 50%),
radial-gradient(ellipse at 90% 80%, rgba(129, 140, 248, 0.06), transparent 50%),
radial-gradient(ellipse at 50% 50%, rgba(167, 139, 250, 0.03), transparent 60%);
background-attachment: fixed;
color: var(--text-main);
min-height: 100vh;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1.6;
}
/* ========================================
NAVBAR
======================================== */
.navbar {
position: sticky;
top: 0;
z-index: 100;
background: rgba(6, 10, 19, 0.85);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid var(--glass-border);
padding: 0 2rem;
}
.navbar-inner {
max-width: 1280px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
height: 64px;
}
.navbar-brand {
display: flex;
align-items: center;
gap: 0.75rem;
text-decoration: none;
color: var(--text-main);
}
.navbar-logo {
width: 36px;
height: 36px;
background: rgba(34, 211, 238, 0.1);
border: 1px solid rgba(34, 211, 238, 0.3);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
}
.navbar-title {
font-size: 1.15rem;
font-weight: 700;
letter-spacing: -0.3px;
}
.navbar-title span {
color: var(--primary);
}
.navbar-links {
display: flex;
align-items: center;
gap: 0.25rem;
}
.nav-link {
color: var(--text-muted);
text-decoration: none;
font-size: 0.875rem;
font-weight: 500;
padding: 0.5rem 1rem;
border-radius: var(--radius-sm);
transition: all var(--transition-fast);
cursor: pointer;
border: none;
background: none;
font-family: inherit;
}
.nav-link:hover,
.nav-link.active {
color: var(--text-main);
background: rgba(255, 255, 255, 0.06);
}
.nav-link.active {
color: var(--primary);
}
.nav-badge {
display: inline-flex;
align-items: center;
gap: 0.35rem;
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: #000;
font-size: 0.7rem;
font-weight: 700;
padding: 0.25rem 0.6rem;
border-radius: 20px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* ========================================
GLASSMORPHISM PANELS
======================================== */
.glass-panel {
background: var(--panel-bg);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
box-shadow: var(--glass-shadow);
border-radius: var(--radius-lg);
transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.glass-panel:hover {
border-color: var(--glass-border-hover);
}
/* ========================================
DASHBOARD METRIC CARDS
======================================== */
.metric-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1rem;
margin-top: 1rem;
}
.metric-card {
background: rgba(15, 23, 42, 0.4);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: var(--radius-md);
padding: 1.25rem;
display: flex;
flex-direction: column;
justify-content: center;
transition: transform 0.2s ease, border-color 0.2s ease;
position: relative;
overflow: hidden;
}
.metric-card:hover {
transform: translateY(-2px);
border-color: rgba(255, 255, 255, 0.1);
background: rgba(15, 23, 42, 0.6);
}
.metric-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 4px;
height: 100%;
background: var(--primary);
opacity: 0.5;
}
.metric-card.success::before { background: var(--success); }
.metric-card.warning::before { background: var(--warning); }
.metric-card.danger::before { background: var(--danger); }
.metric-card.neutral::before { background: var(--text-muted); }
.metric-label {
font-size: 0.8rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 0.5rem;
}
.metric-value {
font-size: 1.5rem;
font-weight: 700;
color: var(--text-primary);
line-height: 1.2;
}
/* ========================================
SCORE RINGS
======================================== */
.score-ring-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-bottom: 1rem;
}
.score-ring-svg {
transform: rotate(-90deg);
filter: drop-shadow(0 0 8px rgba(0,0,0,0.5));
}
.score-ring-bg {
fill: none;
stroke: rgba(255, 255, 255, 0.05);
}
.score-ring-progress {
fill: none;
stroke-linecap: round;
transition: stroke-dashoffset 1s ease-out;
}
.score-ring-text {
fill: var(--text-primary);
font-family: inherit;
font-weight: 700;
text-anchor: middle;
dominant-baseline: middle;
}
/* ========================================
IMAGE ZOOM MODAL & HOVER EFFECTS
======================================== */
.zoomable-image-container {
position: relative;
cursor: zoom-in;
overflow: hidden;
border-radius: 8px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
transition: transform 0.2s ease, box-shadow 0.2s ease;
background: rgba(0, 0, 0, 0.2);
}
.zoomable-image-container:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}
.zoomable-image-container img {
display: block;
width: 100%;
height: auto;
transition: transform 0.3s ease;
}
.zoomable-image-container:hover img {
transform: scale(1.02);
}
.zoom-overlay {
position: absolute;
inset: 0;
background: rgba(15, 23, 42, 0.4);
backdrop-filter: blur(2px);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.2s ease;
color: white;
}
.zoomable-image-container:hover .zoom-overlay {
opacity: 1;
}
.image-modal-overlay {
position: fixed;
inset: 0;
background-color: rgba(6, 10, 19, 0.9);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
cursor: zoom-out;
padding: 2rem;
animation: fadeIn 0.2s ease-out forwards;
}
.image-modal-content {
width: 100%;
height: 100%;
max-width: 95vw;
max-height: 95vh;
object-fit: contain;
border-radius: 4px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
animation: scaleIn 0.2s ease-out forwards;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes scaleIn {
from { transform: scale(0.95); opacity: 0; }
to { transform: scale(1); opacity: 1; }
}
.close-modal-btn {
position: absolute;
top: 1.5rem;
right: 1.5rem;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
color: white;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
z-index: 10000;
}
.close-modal-btn:hover {
background: rgba(255, 255, 255, 0.2);
transform: scale(1.1);
}
/* ========================================
FILE UPLOAD COMPONENT
======================================== */
/* ========================================
LAYOUT
======================================== */
.container {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
width: 100%;
}
.page-content {
padding-top: 1rem;
}
/* ========================================
HERO SECTION
======================================== */
.hero {
text-align: center;
padding: 4rem 0 2rem;
position: relative;
}
.hero-badge {
display: inline-flex;
align-items: center;
gap: 0.5rem;
background: rgba(34, 211, 238, 0.08);
border: 1px solid rgba(34, 211, 238, 0.2);
color: var(--primary);
font-size: 0.8rem;
font-weight: 600;
padding: 0.4rem 1rem;
border-radius: 20px;
margin-bottom: 1.5rem;
letter-spacing: 0.3px;
}
.hero h1 {
font-size: 3.5rem;
font-weight: 800;
letter-spacing: -1.5px;
line-height: 1.1;
margin-bottom: 1rem;
background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 50%, #f1f5f9 100%);
background-size: 200% auto;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: textShine 4s linear infinite;
}
@keyframes textShine {
0% {
background-position: 0% center;
}
100% {
background-position: 200% center;
}
}
.hero-subtitle {
font-size: 1.15rem;
color: var(--text-muted);
font-weight: 400;
max-width: 600px;
margin: 0 auto 2rem;
line-height: 1.7;
}
/* ========================================
STATS GRID (New Professional Look)
======================================== */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1.5rem;
margin-bottom: 3.5rem;
width: 100%;
}
.stat-card {
display: flex;
flex-direction: column;
gap: 0.75rem;
padding: 1.5rem;
background: rgba(15, 23, 42, 0.6);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: var(--radius-lg);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
transition: transform 0.2s ease, border-color 0.2s ease;
}
.stat-card:hover {
transform: translateY(-2px);
border-color: rgba(34, 211, 238, 0.2);
}
.stat-card-header {
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--text-muted);
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.stat-card-icon {
color: var(--primary);
}
.stat-card-value {
font-size: 1.25rem;
font-weight: 700;
color: var(--text-main);
}
.info-callout-content p strong {
color: var(--text-main);
font-weight: 600;
}
/* Lucide Spin Animation */
.lucide-spin {
animation: lucide-spin 2s linear infinite;
}
@keyframes lucide-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.stat-value {
color: var(--text-main);
font-weight: 600;
}
/* ========================================
UPLOAD ZONE
======================================== */
.upload-zone {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 4rem 2rem;
border: 2px dashed rgba(100, 116, 139, 0.3);
border-radius: var(--radius-xl);
cursor: pointer;
transition: all var(--transition-base);
margin-bottom: 3rem;
position: relative;
overflow: hidden;
}
.upload-zone::before {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(circle at center, rgba(34, 211, 238, 0.03), transparent 70%);
opacity: 0;
transition: opacity var(--transition-base);
}
.upload-zone:hover::before,
.upload-zone.drag-active::before {
opacity: 1;
}
.upload-zone:hover,
.upload-zone.drag-active {
border-color: var(--primary);
background: rgba(34, 211, 238, 0.03);
transform: translateY(-3px);
box-shadow: 0 0 40px var(--primary-glow), 0 20px 40px rgba(0, 0, 0, 0.3);
}
.upload-icon-container {
width: 80px;
height: 80px;
background: rgba(34, 211, 238, 0.08);
border: 1px solid rgba(34, 211, 238, 0.15);
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
transition: all var(--transition-base);
}
.upload-zone:hover .upload-icon-container {
background: rgba(34, 211, 238, 0.12);
border-color: rgba(34, 211, 238, 0.3);
transform: scale(1.05);
}
.upload-icon {
font-size: 2rem;
color: var(--primary);
}
.upload-text {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 0.4rem;
color: var(--text-main);
}
.upload-hint {
color: var(--text-muted);
font-size: 0.85rem;
margin-bottom: 1rem;
}
.upload-formats {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
justify-content: center;
}
.format-tag {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 6px;
padding: 0.2rem 0.6rem;
font-size: 0.7rem;
color: var(--text-muted);
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* ========================================
HOW IT WORKS
======================================== */
.how-it-works {
margin-bottom: 4rem;
}
.section-title {
font-size: 1.1rem;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 1.5px;
text-align: center;
margin-bottom: 2rem;
}
.steps-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1rem;
}
.step-card {
padding: 1.5rem;
text-align: center;
position: relative;
}
.step-number {
width: 36px;
height: 36px;
border-radius: 10px;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 0.85rem;
font-weight: 700;
margin-bottom: 1rem;
}
.step-1 .step-number {
background: rgba(34, 211, 238, 0.12);
color: var(--primary);
}
.step-2 .step-number {
background: rgba(129, 140, 248, 0.12);
color: var(--secondary);
}
.step-3 .step-number {
background: rgba(167, 139, 250, 0.12);
color: var(--accent);
}
.step-4 .step-number {
background: rgba(52, 211, 153, 0.12);
color: var(--success);
}
.step-title {
font-size: 0.95rem;
font-weight: 600;
margin-bottom: 0.5rem;
}
.step-desc {
font-size: 0.8rem;
color: var(--text-muted);
line-height: 1.5;
}
/* ========================================
PROCESSING / PROGRESS
======================================== */
.processing-container {
max-width: 700px;
margin: 2rem auto;
animation: fadeSlideIn 0.6s ease forwards;
}
.processing-header {
text-align: center;
margin-bottom: 2rem;
}
.processing-header h2 {
font-size: 1.8rem;
font-weight: 700;
margin-bottom: 0.5rem;
}
.processing-header p {
color: var(--text-muted);
font-size: 0.95rem;
}
.progress-card {
padding: 2rem;
margin-bottom: 1.5rem;
}
.progress-bar-bg {
width: 100%;
height: 6px;
background: rgba(255, 255, 255, 0.06);
border-radius: 3px;
overflow: hidden;
margin: 1.25rem 0;
}
.progress-bar-fill {
height: 100%;
background: linear-gradient(90deg, var(--primary), var(--secondary));
transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
border-radius: 3px;
position: relative;
}
.progress-bar-fill::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(90deg,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.35) 50%,
rgba(255, 255, 255, 0) 100%);
animation: shimmer 1.8s infinite;
}
@keyframes shimmer {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(100%);
}
}
.progress-info {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 0.85rem;
}
.progress-info span:first-child {
color: var(--text-muted);
}
.progress-info span:last-child {
color: var(--primary);
font-weight: 600;
}
.pipeline-steps {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.pipeline-step {
display: flex;
align-items: center;
gap: 0.85rem;
padding: 0.85rem 1.2rem;
border-radius: var(--radius-md);
background: rgba(255, 255, 255, 0.02);
border: 1px solid transparent;
transition: all var(--transition-base);
font-size: 0.9rem;
}
.pipeline-step.active {
background: rgba(34, 211, 238, 0.05);
border-color: rgba(34, 211, 238, 0.15);
}
.pipeline-step.done {
opacity: 0.5;
}
.pipeline-step-icon {
width: 28px;
height: 28px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.85rem;
flex-shrink: 0;
}
.pipeline-step.active .pipeline-step-icon {
background: rgba(34, 211, 238, 0.15);
animation: pulse 1.5s ease infinite;
}
.pipeline-step.done .pipeline-step-icon {
background: rgba(52, 211, 153, 0.15);
color: var(--success);
}
.pipeline-step.pending .pipeline-step-icon {
background: rgba(255, 255, 255, 0.04);
color: var(--text-muted);
}
@keyframes pulse {
0%,
100% {
box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.3);
}
50% {
box-shadow: 0 0 0 8px rgba(34, 211, 238, 0);
}
}
.pipeline-step-label {
color: var(--text-secondary);
font-weight: 500;
}
.pipeline-step.active .pipeline-step-label {
color: var(--text-main);
}
.pipeline-step.done .pipeline-step-label {
color: var(--text-muted);
}
/* ========================================
REPORT DASHBOARD
======================================== */
.dashboard {
animation: fadeSlideIn 0.7s ease forwards;
}
@keyframes fadeSlideIn {
from {
opacity: 0;
transform: translateY(24px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Verdict */
.verdict-card {
padding: 1.5rem;
text-align: center;
margin-bottom: 0;
position: relative;
box-sizing: border-box;
width: 100%;
}
.verdict-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, var(--danger), #ef4444);
box-shadow: 0 0 20px var(--danger-glow);
}
.verdict-card.authentic::before {
background: linear-gradient(90deg, var(--success), var(--primary));
box-shadow: 0 0 20px var(--success-glow);
}
.verdict-icon {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
.verdict-label {
font-size: 0.65rem;
text-transform: uppercase;
letter-spacing: 1px;
color: var(--text-muted);
margin-bottom: 0.5rem;
font-weight: 600;
line-height: 1.4;
}
.verdict-result {
font-size: 1.25rem;
font-weight: 800;
margin-bottom: 0.75rem;
line-height: 1.25;
overflow-wrap: break-word;
word-break: break-word;
max-width: 100%;
}
.verdict-fake .verdict-result {
color: var(--danger);
}
.verdict-card.authentic .verdict-result {
color: var(--success);
}
.verdict-score {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.25rem;
font-size: 0.9rem;
color: var(--text-secondary);
background: rgba(255, 255, 255, 0.02);
padding: 0.75rem;
border-radius: var(--radius-sm);
margin-bottom: 1rem;
}
.verdict-score strong {
font-size: 1.4rem;
}
.verdict-meta {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 0.6rem;
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.verdict-meta-item {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.75rem;
color: var(--text-muted);
text-align: left;
line-height: 1.2;
}
/* Tabs */
.tab-bar {
display: flex;
flex-wrap: nowrap;
gap: 0.25rem;
margin-bottom: 1.5rem;
background: rgba(255, 255, 255, 0.03);
padding: 0.3rem;
border-radius: var(--radius-md);
border: 1px solid var(--glass-border);
overflow-x: auto;
/* scrollbar-width: none; */ /* Removed to show scrollbar */
}
/* Custom Scrollbar for Tab Bar */
.tab-bar::-webkit-scrollbar {
height: 6px;
}
.tab-bar::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.1);
border-radius: var(--radius-sm);
}
.tab-bar::-webkit-scrollbar-thumb {
background: var(--glass-border);
border-radius: var(--radius-sm);
}
.tab-bar::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.2);
}
.tab-btn {
padding: 0.6rem 0.75rem;
border: none;
background: none;
color: var(--text-muted);
font-family: inherit;
font-size: 0.78rem;
font-weight: 500;
cursor: pointer;
border-radius: var(--radius-sm);
transition: all var(--transition-fast);
display: flex;
align-items: center;
justify-content: center;
gap: 0.3rem;
white-space: nowrap;
flex-shrink: 0;
}
.tab-btn:hover {
color: var(--text-main);
background: rgba(255, 255, 255, 0.04);
}
.tab-btn.active {
color: var(--text-main);
background: rgba(34, 211, 238, 0.1);
border: 1px solid rgba(34, 211, 238, 0.2);
}
/* Analysis panels */
.analysis-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin-bottom: 2rem;
}
.analysis-panel {
padding: 1.75rem;
min-width: 0;
overflow-x: hidden;
}
.result-img {
width: 100%;
max-width: 100%;
height: auto;
border-radius: var(--radius-sm);
display: block;
cursor: zoom-in;
transition: transform var(--transition-fast);
}
.result-img:hover {
transform: scale(1.02);
}
.image-container {
min-width: 0;
overflow: hidden;
}
.image-caption {
font-size: 0.75rem;
color: var(--text-muted);
text-align: center;
margin-top: 0.5rem;
}
.panel-header {
display: flex;
align-items: center;
gap: 0.6rem;
margin-bottom: 1.25rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--glass-border);
}
.panel-icon {
width: 32px;
height: 32px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.95rem;
}
.panel-icon.gradcam {
background: rgba(251, 113, 133, 0.12);
}
.panel-icon.shap {
background: rgba(129, 140, 248, 0.12);
}
.panel-icon.sync {
background: rgba(251, 191, 36, 0.12);
}
.panel-icon.meta {
background: rgba(34, 211, 238, 0.12);
}
.panel-title {
font-size: 1rem;
font-weight: 600;
color: var(--text-main);
}
.panel-subtitle {
font-size: 0.8rem;
color: var(--text-muted);
margin-top: 0.15rem;
}
/* Heatmap Image */
.heatmap-container {
position: relative;
border-radius: var(--radius-md);
overflow: hidden;
border: 1px solid var(--glass-border);
margin-bottom: 1rem;
}
.heatmap-image {
width: 100%;
display: block;
border-radius: var(--radius-md);
cursor: zoom-in;
transition: transform var(--transition-fast);
}
.heatmap-image:hover {
transform: scale(1.02);
}
/* Fullscreen Image Modal */
.image-modal-overlay {
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0, 0, 0, 0.9);
backdrop-filter: blur(5px);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
cursor: zoom-out;
padding: 2rem;
animation: fadeIn 0.2s ease-out;
}
.image-modal-content {
max-width: 95vw;
max-height: 95vh;
object-fit: contain;
border-radius: var(--radius-md);
box-shadow: 0 10px 50px rgba(0,0,0,0.5);
animation: scaleUp 0.2s ease-out;
}
@keyframes scaleUp {
from { transform: scale(0.95); opacity: 0; }
to { transform: scale(1); opacity: 1; }
}
.heatmap-legend {
font-size: 0.8rem;
color: var(--text-muted);
line-height: 1.6;
display: flex;
align-items: flex-start;
gap: 0.5rem;
}
.heatmap-legend-icon {
flex-shrink: 0;
margin-top: 2px;
}
/* Feature List */
.feature-list {
list-style: none;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.feature-item {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1rem;
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.04);
border-radius: var(--radius-sm);
font-size: 0.88rem;
color: var(--text-secondary);
transition: all var(--transition-fast);
}
.feature-item:hover {
background: rgba(255, 255, 255, 0.04);
border-color: rgba(255, 255, 255, 0.08);
}
.feature-dot {
width: 6px;
height: 6px;
border-radius: 50%;
flex-shrink: 0;
}
.feature-dot.high {
background: var(--danger);
box-shadow: 0 0 6px var(--danger-glow);
}
.feature-dot.medium {
background: var(--warning);
}
.feature-dot.low {
background: var(--success);
}
/* Sync Score */
.sync-section {
margin-top: 1.5rem;
}
.sync-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.75rem;
}
.sync-label {
font-size: 0.85rem;
color: var(--text-secondary);
font-weight: 500;
}
.sync-value {
font-size: 1.3rem;
font-weight: 700;
}
.sync-value.danger {
color: var(--danger);
}
.sync-value.warning {
color: var(--warning);
}
.sync-value.success {
color: var(--success);
}
.sync-description {
font-size: 0.8rem;
color: var(--text-muted);
margin-top: 0.75rem;
line-height: 1.5;
}
/* Metadata Table */
.meta-table {
width: 100%;
border-collapse: separate;
border-spacing: 0 0.35rem;
}
.meta-table tr td {
padding: 0.6rem 0.75rem;
font-size: 0.85rem;
}
.meta-table tr td:first-child {
color: var(--text-muted);
font-weight: 500;
white-space: nowrap;
width: 45%;
}
.meta-table tr td:last-child {
color: var(--text-main);
font-weight: 500;
}
.meta-table tr {
background: rgba(255, 255, 255, 0.02);
border-radius: var(--radius-sm);
}
.meta-table tr td:first-child {
border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.meta-table tr td:last-child {
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
/* Action Buttons */
.action-bar {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
margin-top: 1.5rem;
}
.btn {
border: none;
padding: 0.85rem 1.5rem;
border-radius: var(--radius-md);
font-size: 0.95rem;
font-weight: 600;
font-family: inherit;
cursor: pointer;
transition: all var(--transition-base);
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}
.btn-primary {
background: linear-gradient(135deg, var(--primary-dim), var(--secondary));
color: #fff;
box-shadow: 0 4px 20px rgba(34, 211, 238, 0.2);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 30px rgba(34, 211, 238, 0.3);
}
.btn-ghost {
background: rgba(255, 255, 255, 0.04);
color: var(--text-secondary);
border: 1px solid var(--glass-border);
}
.btn-ghost:hover {
background: rgba(255, 255, 255, 0.08);
color: var(--text-main);
border-color: var(--glass-border-hover);
}
/* ========================================
FOOTER
======================================== */
.footer {
text-align: center;
padding: 2rem;
margin-top: 2rem;
color: var(--text-muted);
font-size: 0.8rem;
border-top: 1px solid var(--glass-border);
}
.footer a {
color: var(--primary);
text-decoration: none;
}
/* ========================================
DASHBOARD SPLIT LAYOUT (UX OVERHAUL)
======================================== */
.dashboard-split {
display: grid;
grid-template-columns: 320px 1fr;
gap: 2rem;
max-width: 1440px;
margin: 0 auto;
align-items: flex-start;
}
.dashboard-sidebar {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.dashboard-main {
display: flex;
flex-direction: column;
gap: 1.5rem;
min-width: 0;
overflow-x: hidden;
}
/* Elegant Info Callouts */
.info-callout {
display: flex;
gap: 1rem;
padding: 1.25rem;
background: linear-gradient(to right, rgba(34, 211, 238, 0.05), transparent);
border-left: 3px solid var(--primary);
border-radius: 0 var(--radius-md) var(--radius-md) 0;
margin-top: 1rem;
font-size: 0.85rem;
color: var(--text-secondary);
line-height: 1.5;
overflow: hidden;
min-width: 0;
}
.info-callout-content {
min-width: 0;
overflow-wrap: break-word;
word-break: break-word;
}
.info-icon {
font-size: 1.2rem;
}
/* Advanced Accordions */
.expert-accordion {
background: rgba(255, 255, 255, 0.02);
border: 1px solid var(--glass-border);
border-radius: var(--radius-sm);
padding: 0.75rem 1rem;
cursor: pointer;
transition: var(--transition-fast);
}
.expert-accordion:hover {
background: rgba(255, 255, 255, 0.04);
border-color: var(--glass-border-hover);
}
.expert-accordion summary {
color: var(--text-secondary);
font-weight: 600;
list-style: none;
display: flex;
align-items: center;
justify-content: space-between;
}
.expert-accordion summary::-webkit-details-marker {
display: none;
}
.expert-accordion summary::after {
content: '▼';
font-size: 0.8em;
transition: transform 0.3s ease;
color: var(--text-muted);
}
.expert-accordion[open] summary::after {
transform: rotate(-180deg);
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fade-in-up {
animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
/* ========================================
RESPONSIVE
======================================== */
@media (max-width: 1024px) {
.dashboard-split {
grid-template-columns: 1fr;
}
.dashboard-sidebar {
position: static;
}
}
@media (max-width: 900px) {
.hero h1 {
font-size: 2.4rem;
}
.steps-grid {
grid-template-columns: repeat(2, 1fr);
}
.analysis-grid {
grid-template-columns: 1fr;
}
.action-bar {
grid-template-columns: 1fr;
}
.navbar-links {
display: none;
}
}
@media (max-width: 600px) {
.hero h1 {
font-size: 1.8rem;
}
.stats-bar {
gap: 1rem;
}
.steps-grid {
grid-template-columns: 1fr;
}
.container {
padding: 1rem;
}
}
/* ========================================
MODERN TABS UI
======================================== */
.modern-tab-container {
display: flex;
gap: 0.5rem;
padding: 0.4rem;
background: rgba(14, 20, 35, 0.5);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 12px;
flex-wrap: wrap;
box-shadow: inset 0 2px 10px rgba(0,0,0,0.2);
}
.modern-tab-btn {
display: flex;
align-items: center;
gap: 0.4rem;
padding: 0.5rem 1rem;
font-size: 0.8rem;
font-weight: 500;
color: var(--text-muted);
background: transparent;
border: 1px solid transparent;
border-radius: 8px;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
white-space: nowrap;
font-family: inherit;
}
.modern-tab-btn:hover {
color: var(--text-main);
background: rgba(255, 255, 255, 0.05);
}
.modern-tab-btn.active {
color: #fff;
background: rgba(34, 211, 238, 0.15);
border-color: rgba(34, 211, 238, 0.3);
box-shadow: 0 0 12px rgba(34, 211, 238, 0.15);
font-weight: 600;
}
.modern-tab-btn .tab-icon {
display: flex;
align-items: center;
justify-content: center;
opacity: 0.7;
}
.modern-tab-btn.active .tab-icon {
opacity: 1;
color: var(--primary);
}
.analysis-grid {
width: 100%;
max-width: 100%;
box-sizing: border-box;
}
.analysis-panel {
max-width: 100%;
box-sizing: border-box;
overflow-x: auto;
}
/* ========================================
HOMEPAGE REDESIGN ANIMATIONS & GRIDS
======================================== */
.hero-bg-glow {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 600px;
height: 200px;
background: radial-gradient(ellipse, rgba(34, 211, 238, 0.15), transparent 70%);
filter: blur(80px);
z-index: -1;
animation: pulse-glow 6s infinite alternate ease-in-out;
pointer-events: none;
}
@keyframes pulse-glow {
0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}
.upload-zone {
border: 2px solid transparent;
background: linear-gradient(var(--bg-color), var(--bg-color)) padding-box,
linear-gradient(135deg, rgba(34, 211, 238, 0.5), rgba(129, 140, 248, 0.5)) border-box;
box-shadow: inset 0 0 40px rgba(34, 211, 238, 0.05);
}
.upload-zone:hover, .upload-zone.drag-active {
background: linear-gradient(var(--bg-color), var(--bg-color)) padding-box,
linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
box-shadow: 0 0 40px var(--primary-glow), 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 0 40px rgba(34, 211, 238, 0.1);
transform: translateY(-5px);
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 1.5rem;
width: 100%;
}
.feature-card-modern {
display: flex;
flex-direction: column;
gap: 1rem;
padding: 2rem;
background: rgba(15, 23, 42, 0.4);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: var(--radius-xl);
backdrop-filter: blur(12px);
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.feature-card-modern::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
pointer-events: none;
}
.feature-card-modern:hover {
transform: translateY(-5px);
background: rgba(15, 23, 42, 0.7);
box-shadow: 0 20px 40px rgba(0,0,0,0.4);
border-color: rgba(255,255,255,0.15);
}
.feature-card-icon-wrapper {
width: 50px;
height: 50px;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
}
.fade-in-stagger {
animation: fadeSlideUp 0.6s ease forwards;
opacity: 0;
transform: translateY(20px);
}
@keyframes fadeSlideUp {
to { opacity: 1; transform: translateY(0); }
}