/* -----------------------------------------------------------
   ENTERPRISE UI: Exhibition Mode (Luxury White & Blue)
----------------------------------------------------------- */
:root {
    --bg-pure: #ffffff;
    --bg-soft: #f8fafc;
    --primary-blue: #0056D2;
    --accent-blue: #0284c7;
    --glow-blue: rgba(2, 132, 199, 0.3);
    
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    
    --border-soft: rgba(226, 232, 240, 0.8);
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-md: 0 10px 25px -5px rgba(0, 86, 210, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 86, 210, 0.15);
    
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-soft);
    color: var(--text-dark);
    line-height: 1.6;
    overflow: hidden; /* Mencegah scrollbar muncul di layar pameran */
}

.container { max-width: 1300px; margin: 0 auto; padding: 0 3rem; }

/* -----------------------------------------------------------
   AMBIENT AURORA BACKGROUND (Premium Exhibition Effect)
----------------------------------------------------------- */
.ambient-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -2;
    background: #fdfdfd;
}
.aurora {
    position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5;
    animation: drift 25s infinite ease-in-out alternate;
}
.aurora-1 { width: 45vw; height: 45vw; background: #e0f2fe; top: -10%; left: -10%; }
.aurora-2 { width: 40vw; height: 40vw; background: #bae6fd; bottom: -10%; right: -5%; animation-delay: -8s; }
.aurora-3 { width: 35vw; height: 35vw; background: #f0f9ff; top: 30%; left: 40%; animation-delay: -15s; }

@keyframes drift { 
    0% { transform: scale(1) translate(0, 0); } 
    50% { transform: scale(1.1) translate(3vw, 2vw); }
    100% { transform: scale(0.9) translate(-2vw, 4vw); } 
}

/* -----------------------------------------------------------
   HEADER & LOGO RAMAH.PNG
----------------------------------------------------------- */
.main-header {
    position: fixed; width: 100%; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.header-inner { height: 90px; display: flex; justify-content: space-between; align-items: center; }

/* Konfigurasi Logo */
.logo-container { display: flex; align-items: center; height: 100%; }
.header-logo {
    height: 55px; /* Tinggi optimal untuk logo di header */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
}
.logo-text { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; }

.header-nav { display: flex; align-items: center; gap: 2rem; }
.tech-badge { font-size: 0.9rem; font-weight: 700; color: var(--primary-blue); background: rgba(224, 242, 254, 0.8); padding: 8px 16px; border-radius: 30px; letter-spacing: 0.5px; }
.btn-outline { border: 2px solid var(--text-dark); color: var(--text-dark); text-decoration: none; font-weight: 700; padding: 0.7rem 1.8rem; border-radius: 10px; transition: all 0.3s; }
.btn-outline:hover { background: var(--text-dark); color: white; }

/* -----------------------------------------------------------
   HERO SECTION (Exhibition Layout)
----------------------------------------------------------- */
.hero-split { display: flex; align-items: center; justify-content: space-between; height: 100vh; padding-top: 60px; gap: 5rem; }
.hero-text-area { flex: 1.1; max-width: 650px; }

.badge-pill { display: inline-block; background: white; border: 1px solid var(--border-soft); padding: 10px 20px; border-radius: 30px; font-size: 0.9rem; font-weight: 700; color: var(--primary-blue); box-shadow: var(--shadow-md); letter-spacing: 1px; text-transform: uppercase; }

.main-title { font-family: var(--font-heading); font-size: 4.2rem; font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 1.5rem; }
.text-gradient-blue { background: linear-gradient(135deg, var(--primary-blue) 0%, #0284c7 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-body); line-height: 1.6; font-weight: 400; }

/* Dynamic Story Box */
.feature-showcase {
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px);
    border: 1px solid white; border-radius: 20px;
    padding: 2.2rem; box-shadow: var(--shadow-xl); position: relative;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1); margin-bottom: 2.5rem;
}
.feature-showcase::before { content: ''; position: absolute; left: 0; top: 0; width: 6px; height: 100%; background: linear-gradient(to bottom, var(--primary-blue), var(--accent-blue)); border-radius: 20px 0 0 20px; }

.feature-header { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1rem; }
.feature-icon-wrapper { background: #f0f9ff; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 14px; font-size: 1.8rem; border: 1px solid #e0f2fe; }
.feature-showcase h2 { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; color: var(--text-dark); }
.enterprise-desc { color: var(--text-body); font-size: 1.15rem; line-height: 1.6; font-weight: 500; }

.progress-track { width: 100%; height: 4px; background: #e2e8f0; border-radius: 2px; margin-top: 1.8rem; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary-blue); width: 0%; }

/* Status & Indikator Bawah */
.hero-cta { display: flex; align-items: center; gap: 3rem; }
.slide-indicators { display: flex; gap: 10px; }
.dot { width: 10px; height: 10px; background: #cbd5e1; border-radius: 50%; transition: all 0.5s var(--ease-out-expo); }
.dot.active { background: var(--primary-blue); width: 40px; border-radius: 10px; }

.scan-status { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.pulse-dot { width: 10px; height: 10px; background: #10b981; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

/* -----------------------------------------------------------
   CINEMATIC VISUAL PANEL (Right Side)
----------------------------------------------------------- */
.hero-visual-area { flex: 0.9; display: flex; justify-content: flex-end; perspective: 1200px; }
.glass-panel {
    background: white; border: 8px solid white; border-radius: 28px;
    box-shadow: 0 50px 100px -20px rgba(0, 86, 210, 0.25);
    width: 100%; max-width: 550px; transform: rotateY(-8deg) rotateX(4deg);
    transition: transform 0.8s var(--ease-out-expo);
}
.glass-panel:hover { transform: rotateY(-2deg) rotateX(2deg) translateY(-10px); box-shadow: 0 60px 120px -20px rgba(0, 86, 210, 0.3); }

.panel-header { display: flex; align-items: center; gap: 12px; padding: 12px 12px 20px 12px; }
.mac-dots { display: flex; gap: 8px; }
.mac-dots i { width: 14px; height: 14px; border-radius: 50%; display: block; }
.mac-dots .r { background: #ff5f56; } .mac-dots .y { background: #ffbd2e; } .mac-dots .g { background: #27c93f; }
.panel-title { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.5px; }

.image-wrapper { position: relative; overflow: hidden; border-radius: 16px; background: #0f172a; }
.product-slide { width: 100%; aspect-ratio: 4/5; object-fit: cover; opacity: 0; transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }

/* Efek AI Scanning & Bounding Box */
.scanner-line {
    position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: var(--accent-blue); box-shadow: 0 0 30px 5px rgba(2, 132, 199, 0.6);
    animation: scanAI 4s ease-in-out infinite alternate; z-index: 2;
}
@keyframes scanAI { 0% { top: 10%; opacity: 0.2; } 50% { opacity: 1; } 100% { top: 90%; opacity: 0.2; } }

.ai-bounding-box {
    position: absolute; top: 30%; left: 25%; width: 50%; height: 40%;
    border: 2px dashed #10b981; border-radius: 8px; background: rgba(16, 185, 129, 0.1);
    opacity: 0; transition: opacity 0.5s ease; z-index: 1;
}
.ai-bounding-box::after {
    content: 'Anomali: 98%'; position: absolute; top: -25px; left: -2px;
    background: #10b981; color: white; font-size: 0.7rem; font-weight: bold; padding: 2px 8px; border-radius: 4px;
}

.floating-element { animation: exhibitFloat 8s ease-in-out infinite alternate; }
@keyframes exhibitFloat { 0% { transform: translateY(0) rotateY(-8deg); } 100% { transform: translateY(-20px) rotateY(-4deg); } }

/* Scroll Reveal */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo); }
.reveal-down { opacity: 0; transform: translateY(-30px); transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo); }
.reveal-left { opacity: 0; transform: translateX(50px); transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo); }
.is-visible { opacity: 1; transform: translate(0); }

/* ===========================================================
   8. ADMIN DASHBOARD & COMMAND CENTER STYLES
=========================================================== */
.admin-layout {
    display: flex;
    height: 100vh;
    background-color: var(--bg-soft);
    overflow: hidden;
}

/* Sidebar Enterprise */
.admin-sidebar {
    width: 280px;
    background: var(--bg-pure);
    border-right: 1px solid var(--border-soft);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    z-index: 10;
}
.admin-brand { margin-bottom: 3rem; padding-left: 0.5rem; }
.nav-menu { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.nav-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border-radius: 12px;
    color: var(--text-body); font-weight: 600; font-size: 0.95rem;
    cursor: pointer; transition: all 0.3s ease; border: 1px solid transparent;
}
.nav-item:hover { background: var(--bg-soft); color: var(--text-dark); }
.nav-item.active {
    background: var(--light-blue); color: var(--primary-blue);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 10px rgba(0, 86, 210, 0.05);
}
.nav-item .icon { font-size: 1.2rem; }

/* Main Content Area */
.admin-main { flex: 1; display: flex; flex-direction: column; overflow-y: auto; }
.admin-topbar {
    height: 80px; padding: 0 3rem; display: flex; align-items: center; justify-content: space-between;
    background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft); position: sticky; top: 0; z-index: 5;
}
.topbar-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }
.admin-content-inner { padding: 3rem; }

/* Tab Switching Logic */
.admin-tab { display: none; animation: fadeIn 0.5s var(--ease-out-expo); }
.admin-tab.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Bento Box KPI Cards */
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.kpi-card {
    background: var(--bg-pure); border: 1px solid var(--border-soft);
    padding: 1.8rem; border-radius: 16px; box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.kpi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(0, 86, 210, 0.2); }
.kpi-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; color: var(--text-muted); font-size: 0.9rem; font-weight: 600; }
.kpi-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--light-blue); color: var(--primary-blue); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.kpi-value { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; color: var(--text-dark); line-height: 1.2; }
.kpi-trend { font-size: 0.85rem; color: #10b981; font-weight: 600; margin-top: 0.5rem; display: inline-block; background: #ecfdf5; padding: 2px 8px; border-radius: 20px; }

/* Chart Container */
.chart-container {
    background: var(--bg-pure); border: 1px solid var(--border-soft);
    padding: 2rem; border-radius: 16px; box-shadow: var(--shadow-sm); margin-bottom: 2rem;
}

/* Enterprise Data Table */
.table-container {
    background: var(--bg-pure); border: 1px solid var(--border-soft);
    border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.table-header { padding: 1.5rem 2rem; border-bottom: 1px solid var(--border-soft); display: flex; justify-content: space-between; align-items: center; }
.table-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; }

.enterprise-table { width: 100%; border-collapse: collapse; text-align: left; }
.enterprise-table th { background: #f8fafc; padding: 1rem 2rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); font-weight: 600; border-bottom: 1px solid var(--border-soft); }
.enterprise-table td { padding: 1.2rem 2rem; border-bottom: 1px solid var(--border-soft); font-size: 0.95rem; color: var(--text-dark); vertical-align: middle; }
.enterprise-table tr:last-child td { border-bottom: none; }
.enterprise-table tbody tr { transition: background 0.2s ease; }
.enterprise-table tbody tr:hover { background: #fcfcfc; }

/* Status Badges */
.badge-status { padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; display: inline-block; }
.status-pending { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }
.status-success { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }

/* Forms dalam Panel */
.admin-input { width: 100%; padding: 12px 16px; border: 1px solid var(--border-soft); border-radius: 8px; font-family: var(--font-body); font-size: 0.95rem; transition: all 0.3s ease; }
.admin-input:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.1); outline: none; }