/* public/css/style.css - Apple Design High-End Dark Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    --bg-void: #07090f;
    --bg-surface: rgba(14, 18, 30, 0.72);
    --bg-surface-elevated: rgba(20, 26, 42, 0.85);
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-specular: rgba(255, 255, 255, 0.12);
    --accent-indigo: #6366f1;
    --accent-violet: #8b5cf6;
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;
    --accent-amber: #f59e0b;
}

html, body { 
    background-color: var(--bg-void);
    background-image: 
        radial-gradient(at 50% 0%, rgba(99, 102, 241, 0.08) 0px, transparent 65%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.04) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(16, 185, 129, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
    color: #f8fafc; 
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    letter-spacing: -0.012em;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, ::before, ::after {
    box-sizing: border-box;
}

.mono {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums; /* angka sejajar rapi di seluruh dashboard (gaya Apple) */
}

/* Apple Translucent Glass Card */
.glass-card { 
    background: linear-gradient(135deg, rgba(16, 21, 36, 0.72) 0%, rgba(10, 13, 24, 0.88) 100%);
    border: 1px solid var(--border-subtle);
    border-top: 1px solid var(--border-specular);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    box-shadow: 
        0 10px 30px -5px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.07);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 
        0 14px 40px -4px rgba(0, 0, 0, 0.65),
        0 0 20px -2px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
}

/* Glass Modal Dialog */
.glass-modal {
    background: rgba(9, 12, 22, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(32px) saturate(200%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.9),
        0 0 40px -5px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
}

/* Apple Fluid Active Response */
button:active:not(:disabled), 
.apple-press:active {
    transform: scale(0.975);
    transition: transform 90ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Electric Accents */
.accent-badge {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.28);
    color: #a5b4fc;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.15);
}

.accent-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #4f46e5 100%);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
}

.accent-gradient:hover {
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
}

.glow-dot-emerald {
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.8), 0 0 20px rgba(16, 185, 129, 0.4);
}

.glow-dot-rose {
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.8), 0 0 20px rgba(244, 63, 94, 0.4);
}

/* Custom Scrollbar */
.scrollbar-custom::-webkit-scrollbar { 
    width: 6px; 
    height: 6px; 
}

.scrollbar-custom::-webkit-scrollbar-track { 
    background: rgba(7, 10, 18, 0.6); 
}

.scrollbar-custom::-webkit-scrollbar-thumb { 
    background: rgba(255, 255, 255, 0.15); 
    border-radius: 6px; 
}

.scrollbar-custom::-webkit-scrollbar-thumb:hover { 
    background: rgba(255, 255, 255, 0.28); 
}

/* Fluid Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.995);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
